@mastra/client-js 1.17.0-alpha.2 → 1.17.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import type { ListScoresResponse, Trajectory } from '@mastra/core/evals';
2
2
  import type { SpanType } from '@mastra/core/observability';
3
- import type { TraceRecord, GetTraceLightResponse, GetSpanResponse, ListTracesArgs, ListTracesResponse, SpanIds, PaginationArgs, SpanRecord, PaginationInfo, ScoreTracesRequest, ScoreTracesResponse, ListLogsArgs, ListLogsResponse, ListScoresArgs, ListScoresResponse as ListScoresResponseNew, CreateScoreBody, CreateScoreResponse, GetScoreAggregateArgs, GetScoreAggregateResponse, GetScoreBreakdownArgs, GetScoreBreakdownResponse, GetScoreTimeSeriesArgs, GetScoreTimeSeriesResponse, GetScorePercentilesArgs, GetScorePercentilesResponse, ListFeedbackArgs, ListFeedbackResponse, CreateFeedbackBody, CreateFeedbackResponse, GetFeedbackAggregateArgs, GetFeedbackAggregateResponse, GetFeedbackBreakdownArgs, GetFeedbackBreakdownResponse, GetFeedbackTimeSeriesArgs, GetFeedbackTimeSeriesResponse, GetFeedbackPercentilesArgs, GetFeedbackPercentilesResponse, GetMetricAggregateArgs, GetMetricAggregateResponse, GetMetricBreakdownArgs, GetMetricBreakdownResponse, GetMetricTimeSeriesArgs, GetMetricTimeSeriesResponse, GetMetricPercentilesArgs, GetMetricPercentilesResponse, GetMetricNamesArgs, GetMetricNamesResponse, GetMetricLabelKeysArgs, GetMetricLabelKeysResponse, GetMetricLabelValuesArgs, GetMetricLabelValuesResponse, GetEntityTypesResponse, GetEntityNamesArgs, GetEntityNamesResponse, GetServiceNamesResponse, GetEnvironmentsResponse, GetTagsArgs, GetTagsResponse } from '@mastra/core/storage';
3
+ import type { TraceRecord, GetTraceLightResponse, GetSpanResponse, ListTracesArgs, ListTracesResponse, ListBranchesArgs, ListBranchesResponse, GetBranchArgs, GetBranchResponse, SpanIds, PaginationArgs, SpanRecord, PaginationInfo, ScoreTracesRequest, ScoreTracesResponse, ListLogsArgs, ListLogsResponse, ListScoresArgs, ListScoresResponse as ListScoresResponseNew, CreateScoreBody, CreateScoreResponse, GetScoreAggregateArgs, GetScoreAggregateResponse, GetScoreBreakdownArgs, GetScoreBreakdownResponse, GetScoreTimeSeriesArgs, GetScoreTimeSeriesResponse, GetScorePercentilesArgs, GetScorePercentilesResponse, ListFeedbackArgs, ListFeedbackResponse, CreateFeedbackBody, CreateFeedbackResponse, GetFeedbackAggregateArgs, GetFeedbackAggregateResponse, GetFeedbackBreakdownArgs, GetFeedbackBreakdownResponse, GetFeedbackTimeSeriesArgs, GetFeedbackTimeSeriesResponse, GetFeedbackPercentilesArgs, GetFeedbackPercentilesResponse, GetMetricAggregateArgs, GetMetricAggregateResponse, GetMetricBreakdownArgs, GetMetricBreakdownResponse, GetMetricTimeSeriesArgs, GetMetricTimeSeriesResponse, GetMetricPercentilesArgs, GetMetricPercentilesResponse, GetMetricNamesArgs, GetMetricNamesResponse, GetMetricLabelKeysArgs, GetMetricLabelKeysResponse, GetMetricLabelValuesArgs, GetMetricLabelValuesResponse, GetEntityTypesResponse, GetEntityNamesArgs, GetEntityNamesResponse, GetServiceNamesResponse, GetEnvironmentsResponse, GetTagsArgs, GetTagsResponse } from '@mastra/core/storage';
4
4
  import type { ClientOptions } from '../types.js';
5
5
  import { BaseResource } from './base.js';
6
6
  /**
@@ -87,6 +87,28 @@ export declare class Observability extends BaseResource {
87
87
  * @returns Promise containing paginated traces and pagination info
88
88
  */
89
89
  listTraces(params?: ListTracesArgs): Promise<ListTracesResponse>;
90
+ /**
91
+ * Retrieves a paginated list of trace branches with optional filtering and sorting.
92
+ *
93
+ * Each row is a single branch-anchor span (e.g., AGENT_RUN, WORKFLOW_RUN, TOOL_CALL),
94
+ * including ones nested under a different root entity. Use this to list every run of
95
+ * a given agent/workflow/tool regardless of how it was triggered. Pairs with
96
+ * {@link getBranch} to expand a single branch into its subtree.
97
+ *
98
+ * @param params - Parameters for pagination, filtering, and ordering
99
+ * @returns Promise containing paginated branch-anchor spans and pagination info
100
+ */
101
+ listBranches(params?: ListBranchesArgs): Promise<ListBranchesResponse>;
102
+ /**
103
+ * Retrieves the subtree of spans rooted at a given span.
104
+ *
105
+ * @param params - Parameters containing trace ID, span ID, and optional depth.
106
+ * When `depth` is omitted the full descendant subtree is returned; with a finite
107
+ * `depth` only that many levels below the anchor are returned (depth: 0 → only the
108
+ * anchor span; depth: 1 → anchor plus immediate children; etc).
109
+ * @returns Promise containing the branch (anchor span plus descendants)
110
+ */
111
+ getBranch(params: GetBranchArgs): Promise<GetBranchResponse>;
90
112
  /**
91
113
  * Retrieves scores by trace ID and span ID
92
114
  * @param params - Parameters containing trace ID, span ID, and pagination options
@@ -1 +1 @@
1
- {"version":3,"file":"observability.d.ts","sourceRoot":"","sources":["../../src/resources/observability.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,KAAK,EACV,WAAW,EACX,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,OAAO,EACP,cAAc,EACd,UAAU,EACV,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EAEnB,YAAY,EACZ,gBAAgB,EAEhB,cAAc,EACd,kBAAkB,IAAI,qBAAqB,EAC3C,eAAe,EACf,mBAAmB,EACnB,qBAAqB,EACrB,yBAAyB,EACzB,qBAAqB,EACrB,yBAAyB,EACzB,sBAAsB,EACtB,0BAA0B,EAC1B,uBAAuB,EACvB,2BAA2B,EAE3B,gBAAgB,EAChB,oBAAoB,EACpB,kBAAkB,EAClB,sBAAsB,EACtB,wBAAwB,EACxB,4BAA4B,EAC5B,wBAAwB,EACxB,4BAA4B,EAC5B,yBAAyB,EACzB,6BAA6B,EAC7B,0BAA0B,EAC1B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IACH,cAAc,CAAC,MAAM,GAAE,kBAAuB,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAKhF;;OAEG;IACH,eAAe,IAAI,OAAO,CAAC,uBAAuB,CAAC;IAInD;;OAEG;IACH,eAAe,IAAI,OAAO,CAAC,uBAAuB,CAAC;IAInD;;OAEG;IACH,OAAO,CAAC,MAAM,GAAE,WAAgB,GAAG,OAAO,CAAC,eAAe,CAAC;CAI5D"}
1
+ {"version":3,"file":"observability.d.ts","sourceRoot":"","sources":["../../src/resources/observability.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,KAAK,EACV,WAAW,EACX,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,gBAAgB,EAChB,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EACjB,OAAO,EACP,cAAc,EACd,UAAU,EACV,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EAEnB,YAAY,EACZ,gBAAgB,EAEhB,cAAc,EACd,kBAAkB,IAAI,qBAAqB,EAC3C,eAAe,EACf,mBAAmB,EACnB,qBAAqB,EACrB,yBAAyB,EACzB,qBAAqB,EACrB,yBAAyB,EACzB,sBAAsB,EACtB,0BAA0B,EAC1B,uBAAuB,EACvB,2BAA2B,EAE3B,gBAAgB,EAChB,oBAAoB,EACpB,kBAAkB,EAClB,sBAAsB,EACtB,wBAAwB,EACxB,4BAA4B,EAC5B,wBAAwB,EACxB,4BAA4B,EAC5B,yBAAyB,EACzB,6BAA6B,EAC7B,0BAA0B,EAC1B,8BAA8B,EAE9B,sBAAsB,EACtB,0BAA0B,EAC1B,sBAAsB,EACtB,0BAA0B,EAC1B,uBAAuB,EACvB,2BAA2B,EAC3B,wBAAwB,EACxB,4BAA4B,EAE5B,kBAAkB,EAClB,sBAAsB,EACtB,sBAA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AIjD;;OAEG;IACH,cAAc,CAAC,MAAM,GAAE,kBAAuB,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAKhF;;OAEG;IACH,eAAe,IAAI,OAAO,CAAC,uBAAuB,CAAC;IAInD;;OAEG;IACH,eAAe,IAAI,OAAO,CAAC,uBAAuB,CAAC;IAInD;;OAEG;IACH,OAAO,CAAC,MAAM,GAAE,WAAgB,GAAG,OAAO,CAAC,eAAe,CAAC;CAI5D"}
@@ -7475,6 +7475,253 @@ export interface GetObservabilityTraces_RouteContract {
7475
7475
  response: GetObservabilityTraces_Response;
7476
7476
  responseType: 'json';
7477
7477
  }
7478
+ export type GetObservabilityBranches_QueryParams = {
7479
+ startedAt?: (({
7480
+ /** Start of date range (inclusive by default) */
7481
+ start?: Date | undefined;
7482
+ /** End of date range (inclusive by default) */
7483
+ end?: Date | undefined;
7484
+ /** When true, excludes the start date from results (uses > instead of >=) */
7485
+ startExclusive?: boolean | undefined;
7486
+ /** When true, excludes the end date from results (uses < instead of <=) */
7487
+ endExclusive?: boolean | undefined;
7488
+ } | undefined) | undefined) | any;
7489
+ endedAt?: (({
7490
+ /** Start of date range (inclusive by default) */
7491
+ start?: Date | undefined;
7492
+ /** End of date range (inclusive by default) */
7493
+ end?: Date | undefined;
7494
+ /** When true, excludes the start date from results (uses > instead of >=) */
7495
+ startExclusive?: boolean | undefined;
7496
+ /** When true, excludes the end date from results (uses < instead of <=) */
7497
+ endExclusive?: boolean | undefined;
7498
+ } | undefined) | undefined) | any;
7499
+ spanType?: (('agent_run' | 'scorer_run' | 'scorer_step' | 'generic' | 'model_generation' | 'model_step' | 'model_chunk' | 'mcp_tool_call' | 'processor_run' | 'tool_call' | 'workflow_run' | 'workflow_step' | 'workflow_conditional' | 'workflow_conditional_eval' | 'workflow_parallel' | 'workflow_loop' | 'workflow_sleep' | 'workflow_wait_event' | 'memory_operation' | 'workspace_action' | 'rag_ingestion' | 'rag_embedding' | 'rag_vector_operation' | 'rag_action' | 'graph_action') | undefined) | undefined;
7500
+ traceId?: (string | undefined) | undefined;
7501
+ entityType?: ((('agent' | 'scorer' | 'rag_ingestion' | 'trajectory' | 'input_processor' | 'input_step_processor' | 'output_processor' | 'output_step_processor' | 'workflow_step' | 'tool' | 'workflow_run' | 'memory') | null) | undefined) | undefined;
7502
+ entityId?: ((string | null) | undefined) | undefined;
7503
+ entityName?: ((string | null) | undefined) | undefined;
7504
+ parentEntityType?: ((('agent' | 'scorer' | 'rag_ingestion' | 'trajectory' | 'input_processor' | 'input_step_processor' | 'output_processor' | 'output_step_processor' | 'workflow_step' | 'tool' | 'workflow_run' | 'memory') | null) | undefined) | undefined;
7505
+ parentEntityId?: ((string | null) | undefined) | undefined;
7506
+ parentEntityName?: ((string | null) | undefined) | undefined;
7507
+ rootEntityType?: ((('agent' | 'scorer' | 'rag_ingestion' | 'trajectory' | 'input_processor' | 'input_step_processor' | 'output_processor' | 'output_step_processor' | 'workflow_step' | 'tool' | 'workflow_run' | 'memory') | null) | undefined) | undefined;
7508
+ rootEntityId?: ((string | null) | undefined) | undefined;
7509
+ rootEntityName?: ((string | null) | undefined) | undefined;
7510
+ userId?: ((string | null) | undefined) | undefined;
7511
+ organizationId?: ((string | null) | undefined) | undefined;
7512
+ resourceId?: ((string | null) | undefined) | undefined;
7513
+ runId?: ((string | null) | undefined) | undefined;
7514
+ sessionId?: ((string | null) | undefined) | undefined;
7515
+ threadId?: ((string | null) | undefined) | undefined;
7516
+ requestId?: ((string | null) | undefined) | undefined;
7517
+ environment?: ((string | null) | undefined) | undefined;
7518
+ serviceName?: ((string | null) | undefined) | undefined;
7519
+ scope?: ((({
7520
+ [key: string]: unknown;
7521
+ } | null) | undefined) | undefined) | any;
7522
+ entityVersionId?: ((string | null) | undefined) | undefined;
7523
+ parentEntityVersionId?: ((string | null) | undefined) | undefined;
7524
+ rootEntityVersionId?: ((string | null) | undefined) | undefined;
7525
+ experimentId?: ((string | null) | undefined) | undefined;
7526
+ source?: ((string | null) | undefined) | undefined;
7527
+ metadata?: ((({
7528
+ [key: string]: unknown;
7529
+ } | null) | undefined) | undefined) | any;
7530
+ tags?: (((string[] | null) | undefined) | undefined) | any;
7531
+ status?: (('success' | 'error' | 'running') | undefined) | undefined;
7532
+ page?: (number | undefined) | undefined;
7533
+ perPage?: (number | undefined) | undefined;
7534
+ field?: ('startedAt' | 'endedAt') | undefined;
7535
+ direction?: ('ASC' | 'DESC') | undefined;
7536
+ };
7537
+ export type GetObservabilityBranches_Response = {
7538
+ pagination: {
7539
+ /** Total number of items available */
7540
+ total: number;
7541
+ /** Current page */
7542
+ page: number;
7543
+ /** Number of items per page, or false if pagination is disabled */
7544
+ perPage: number | false;
7545
+ /** True if more pages are available */
7546
+ hasMore: boolean;
7547
+ };
7548
+ branches: {
7549
+ /** Unique trace identifier */
7550
+ traceId: string;
7551
+ /** Unique span identifier within a trace */
7552
+ spanId: string;
7553
+ /** Human-readable span name */
7554
+ name: string;
7555
+ /** Span type (e.g., WORKFLOW_RUN, AGENT_RUN, TOOL_CALL, etc.) */
7556
+ spanType: 'agent_run' | 'scorer_run' | 'scorer_step' | 'generic' | 'model_generation' | 'model_step' | 'model_chunk' | 'mcp_tool_call' | 'processor_run' | 'tool_call' | 'workflow_run' | 'workflow_step' | 'workflow_conditional' | 'workflow_conditional_eval' | 'workflow_parallel' | 'workflow_loop' | 'workflow_sleep' | 'workflow_wait_event' | 'memory_operation' | 'workspace_action' | 'rag_ingestion' | 'rag_embedding' | 'rag_vector_operation' | 'rag_action' | 'graph_action';
7557
+ /** Whether this is an event (point-in-time) vs a span (duration) */
7558
+ isEvent: boolean;
7559
+ /** When the span started */
7560
+ startedAt: Date;
7561
+ parentSpanId?: (string | null) | undefined;
7562
+ entityType?: (('agent' | 'scorer' | 'rag_ingestion' | 'trajectory' | 'input_processor' | 'input_step_processor' | 'output_processor' | 'output_step_processor' | 'workflow_step' | 'tool' | 'workflow_run' | 'memory') | null) | undefined;
7563
+ entityId?: (string | null) | undefined;
7564
+ entityName?: (string | null) | undefined;
7565
+ parentEntityType?: (('agent' | 'scorer' | 'rag_ingestion' | 'trajectory' | 'input_processor' | 'input_step_processor' | 'output_processor' | 'output_step_processor' | 'workflow_step' | 'tool' | 'workflow_run' | 'memory') | null) | undefined;
7566
+ parentEntityId?: (string | null) | undefined;
7567
+ parentEntityName?: (string | null) | undefined;
7568
+ rootEntityType?: (('agent' | 'scorer' | 'rag_ingestion' | 'trajectory' | 'input_processor' | 'input_step_processor' | 'output_processor' | 'output_step_processor' | 'workflow_step' | 'tool' | 'workflow_run' | 'memory') | null) | undefined;
7569
+ rootEntityId?: (string | null) | undefined;
7570
+ rootEntityName?: (string | null) | undefined;
7571
+ userId?: (string | null) | undefined;
7572
+ organizationId?: (string | null) | undefined;
7573
+ resourceId?: (string | null) | undefined;
7574
+ runId?: (string | null) | undefined;
7575
+ sessionId?: (string | null) | undefined;
7576
+ threadId?: (string | null) | undefined;
7577
+ requestId?: (string | null) | undefined;
7578
+ environment?: (string | null) | undefined;
7579
+ serviceName?: (string | null) | undefined;
7580
+ scope?: ({
7581
+ [key: string]: unknown;
7582
+ } | null) | undefined;
7583
+ entityVersionId?: (string | null) | undefined;
7584
+ parentEntityVersionId?: (string | null) | undefined;
7585
+ rootEntityVersionId?: (string | null) | undefined;
7586
+ /** Experiment or eval run identifier */
7587
+ experimentId?: (string | null) | undefined;
7588
+ source?: (string | null) | undefined;
7589
+ metadata?: ({
7590
+ [key: string]: unknown;
7591
+ } | null) | undefined;
7592
+ tags?: (string[] | null) | undefined;
7593
+ attributes?: ({
7594
+ [key: string]: unknown;
7595
+ } | null) | undefined;
7596
+ links?: (unknown[] | null) | undefined;
7597
+ input?: (unknown | null) | undefined;
7598
+ output?: (unknown | null) | undefined;
7599
+ error?: (unknown | null) | undefined;
7600
+ endedAt?: (Date | null) | undefined;
7601
+ /** Request context data */
7602
+ requestContext?: ({
7603
+ [key: string]: unknown;
7604
+ } | null) | undefined;
7605
+ /** Database record creation time */
7606
+ createdAt: Date;
7607
+ updatedAt: Date | null;
7608
+ /** Current status of the trace */
7609
+ status: 'success' | 'error' | 'running';
7610
+ }[];
7611
+ };
7612
+ export type GetObservabilityBranches_Request = Simplify<(never extends never ? {} : {
7613
+ params: never;
7614
+ }) & (GetObservabilityBranches_QueryParams extends never ? {} : {} extends GetObservabilityBranches_QueryParams ? {
7615
+ query?: GetObservabilityBranches_QueryParams;
7616
+ } : {
7617
+ query: GetObservabilityBranches_QueryParams;
7618
+ }) & (never extends never ? {} : {} extends never ? {
7619
+ body?: never;
7620
+ } : {
7621
+ body: never;
7622
+ })>;
7623
+ export interface GetObservabilityBranches_RouteContract {
7624
+ pathParams: never;
7625
+ queryParams: GetObservabilityBranches_QueryParams;
7626
+ body: never;
7627
+ request: GetObservabilityBranches_Request;
7628
+ response: GetObservabilityBranches_Response;
7629
+ responseType: 'json';
7630
+ }
7631
+ export type GetObservabilityTracesTraceIdBranchesSpanId_PathParams = {
7632
+ /** Unique trace identifier */
7633
+ traceId: string;
7634
+ /** Unique span identifier within a trace */
7635
+ spanId: string;
7636
+ };
7637
+ export type GetObservabilityTracesTraceIdBranchesSpanId_QueryParams = {
7638
+ /** Maximum descendant levels below the anchor span (omit for full subtree) */
7639
+ depth?: number | undefined;
7640
+ };
7641
+ export type GetObservabilityTracesTraceIdBranchesSpanId_Response = {
7642
+ /** Unique trace identifier */
7643
+ traceId: string;
7644
+ spans: {
7645
+ /** Unique trace identifier */
7646
+ traceId: string;
7647
+ /** Unique span identifier within a trace */
7648
+ spanId: string;
7649
+ /** Human-readable span name */
7650
+ name: string;
7651
+ /** Span type (e.g., WORKFLOW_RUN, AGENT_RUN, TOOL_CALL, etc.) */
7652
+ spanType: 'agent_run' | 'scorer_run' | 'scorer_step' | 'generic' | 'model_generation' | 'model_step' | 'model_chunk' | 'mcp_tool_call' | 'processor_run' | 'tool_call' | 'workflow_run' | 'workflow_step' | 'workflow_conditional' | 'workflow_conditional_eval' | 'workflow_parallel' | 'workflow_loop' | 'workflow_sleep' | 'workflow_wait_event' | 'memory_operation' | 'workspace_action' | 'rag_ingestion' | 'rag_embedding' | 'rag_vector_operation' | 'rag_action' | 'graph_action';
7653
+ /** Whether this is an event (point-in-time) vs a span (duration) */
7654
+ isEvent: boolean;
7655
+ /** When the span started */
7656
+ startedAt: Date;
7657
+ parentSpanId?: (string | null) | undefined;
7658
+ entityType?: (('agent' | 'scorer' | 'rag_ingestion' | 'trajectory' | 'input_processor' | 'input_step_processor' | 'output_processor' | 'output_step_processor' | 'workflow_step' | 'tool' | 'workflow_run' | 'memory') | null) | undefined;
7659
+ entityId?: (string | null) | undefined;
7660
+ entityName?: (string | null) | undefined;
7661
+ parentEntityType?: (('agent' | 'scorer' | 'rag_ingestion' | 'trajectory' | 'input_processor' | 'input_step_processor' | 'output_processor' | 'output_step_processor' | 'workflow_step' | 'tool' | 'workflow_run' | 'memory') | null) | undefined;
7662
+ parentEntityId?: (string | null) | undefined;
7663
+ parentEntityName?: (string | null) | undefined;
7664
+ rootEntityType?: (('agent' | 'scorer' | 'rag_ingestion' | 'trajectory' | 'input_processor' | 'input_step_processor' | 'output_processor' | 'output_step_processor' | 'workflow_step' | 'tool' | 'workflow_run' | 'memory') | null) | undefined;
7665
+ rootEntityId?: (string | null) | undefined;
7666
+ rootEntityName?: (string | null) | undefined;
7667
+ userId?: (string | null) | undefined;
7668
+ organizationId?: (string | null) | undefined;
7669
+ resourceId?: (string | null) | undefined;
7670
+ runId?: (string | null) | undefined;
7671
+ sessionId?: (string | null) | undefined;
7672
+ threadId?: (string | null) | undefined;
7673
+ requestId?: (string | null) | undefined;
7674
+ environment?: (string | null) | undefined;
7675
+ serviceName?: (string | null) | undefined;
7676
+ scope?: ({
7677
+ [key: string]: unknown;
7678
+ } | null) | undefined;
7679
+ entityVersionId?: (string | null) | undefined;
7680
+ parentEntityVersionId?: (string | null) | undefined;
7681
+ rootEntityVersionId?: (string | null) | undefined;
7682
+ /** Experiment or eval run identifier */
7683
+ experimentId?: (string | null) | undefined;
7684
+ source?: (string | null) | undefined;
7685
+ metadata?: ({
7686
+ [key: string]: unknown;
7687
+ } | null) | undefined;
7688
+ tags?: (string[] | null) | undefined;
7689
+ attributes?: ({
7690
+ [key: string]: unknown;
7691
+ } | null) | undefined;
7692
+ links?: (unknown[] | null) | undefined;
7693
+ input?: (unknown | null) | undefined;
7694
+ output?: (unknown | null) | undefined;
7695
+ error?: (unknown | null) | undefined;
7696
+ endedAt?: (Date | null) | undefined;
7697
+ /** Request context data */
7698
+ requestContext?: ({
7699
+ [key: string]: unknown;
7700
+ } | null) | undefined;
7701
+ /** Database record creation time */
7702
+ createdAt: Date;
7703
+ updatedAt: Date | null;
7704
+ }[];
7705
+ };
7706
+ export type GetObservabilityTracesTraceIdBranchesSpanId_Request = Simplify<(GetObservabilityTracesTraceIdBranchesSpanId_PathParams extends never ? {} : {
7707
+ params: GetObservabilityTracesTraceIdBranchesSpanId_PathParams;
7708
+ }) & (GetObservabilityTracesTraceIdBranchesSpanId_QueryParams extends never ? {} : {} extends GetObservabilityTracesTraceIdBranchesSpanId_QueryParams ? {
7709
+ query?: GetObservabilityTracesTraceIdBranchesSpanId_QueryParams;
7710
+ } : {
7711
+ query: GetObservabilityTracesTraceIdBranchesSpanId_QueryParams;
7712
+ }) & (never extends never ? {} : {} extends never ? {
7713
+ body?: never;
7714
+ } : {
7715
+ body: never;
7716
+ })>;
7717
+ export interface GetObservabilityTracesTraceIdBranchesSpanId_RouteContract {
7718
+ pathParams: GetObservabilityTracesTraceIdBranchesSpanId_PathParams;
7719
+ queryParams: GetObservabilityTracesTraceIdBranchesSpanId_QueryParams;
7720
+ body: never;
7721
+ request: GetObservabilityTracesTraceIdBranchesSpanId_Request;
7722
+ response: GetObservabilityTracesTraceIdBranchesSpanId_Response;
7723
+ responseType: 'json';
7724
+ }
7478
7725
  export type GetObservabilityTracesTraceId_PathParams = {
7479
7726
  /** Unique trace identifier */
7480
7727
  traceId: string;
@@ -12393,6 +12640,9 @@ export type GetMcpServerIdTools_Response = {
12393
12640
  inputSchema: unknown;
12394
12641
  outputSchema?: unknown | undefined;
12395
12642
  toolType?: string | undefined;
12643
+ _meta?: {
12644
+ [key: string]: unknown;
12645
+ } | undefined;
12396
12646
  }[];
12397
12647
  };
12398
12648
  export type GetMcpServerIdTools_Request = Simplify<(GetMcpServerIdTools_PathParams extends never ? {} : {
@@ -12426,6 +12676,9 @@ export type GetMcpServerIdToolsToolId_Response = {
12426
12676
  inputSchema: unknown;
12427
12677
  outputSchema?: unknown | undefined;
12428
12678
  toolType?: string | undefined;
12679
+ _meta?: {
12680
+ [key: string]: unknown;
12681
+ } | undefined;
12429
12682
  };
12430
12683
  export type GetMcpServerIdToolsToolId_Request = Simplify<(GetMcpServerIdToolsToolId_PathParams extends never ? {} : {
12431
12684
  params: GetMcpServerIdToolsToolId_PathParams;
@@ -12477,6 +12730,74 @@ export interface PostMcpServerIdToolsToolIdExecute_RouteContract {
12477
12730
  response: PostMcpServerIdToolsToolIdExecute_Response;
12478
12731
  responseType: 'json';
12479
12732
  }
12733
+ export type GetMcpServerIdResources_PathParams = {
12734
+ /** MCP server ID */
12735
+ serverId: string;
12736
+ };
12737
+ export type GetMcpServerIdResources_Response = {
12738
+ resources: {
12739
+ uri: string;
12740
+ name: string;
12741
+ description?: string | undefined;
12742
+ mimeType?: string | undefined;
12743
+ _meta?: {
12744
+ [key: string]: unknown;
12745
+ } | undefined;
12746
+ }[];
12747
+ };
12748
+ export type GetMcpServerIdResources_Request = Simplify<(GetMcpServerIdResources_PathParams extends never ? {} : {
12749
+ params: GetMcpServerIdResources_PathParams;
12750
+ }) & (never extends never ? {} : {} extends never ? {
12751
+ query?: never;
12752
+ } : {
12753
+ query: never;
12754
+ }) & (never extends never ? {} : {} extends never ? {
12755
+ body?: never;
12756
+ } : {
12757
+ body: never;
12758
+ })>;
12759
+ export interface GetMcpServerIdResources_RouteContract {
12760
+ pathParams: GetMcpServerIdResources_PathParams;
12761
+ queryParams: never;
12762
+ body: never;
12763
+ request: GetMcpServerIdResources_Request;
12764
+ response: GetMcpServerIdResources_Response;
12765
+ responseType: 'json';
12766
+ }
12767
+ export type PostMcpServerIdResourcesRead_PathParams = {
12768
+ /** MCP server ID */
12769
+ serverId: string;
12770
+ };
12771
+ export type PostMcpServerIdResourcesRead_Body = {
12772
+ /** Resource URI to read */
12773
+ uri: string;
12774
+ };
12775
+ export type PostMcpServerIdResourcesRead_Response = {
12776
+ contents: {
12777
+ uri: string;
12778
+ text?: string | undefined;
12779
+ blob?: string | undefined;
12780
+ }[];
12781
+ };
12782
+ export type PostMcpServerIdResourcesRead_Request = Simplify<(PostMcpServerIdResourcesRead_PathParams extends never ? {} : {
12783
+ params: PostMcpServerIdResourcesRead_PathParams;
12784
+ }) & (never extends never ? {} : {} extends never ? {
12785
+ query?: never;
12786
+ } : {
12787
+ query: never;
12788
+ }) & (PostMcpServerIdResourcesRead_Body extends never ? {} : {} extends PostMcpServerIdResourcesRead_Body ? {
12789
+ body?: PostMcpServerIdResourcesRead_Body;
12790
+ } : {
12791
+ body: PostMcpServerIdResourcesRead_Body;
12792
+ })>;
12793
+ export interface PostMcpServerIdResourcesRead_RouteContract {
12794
+ pathParams: PostMcpServerIdResourcesRead_PathParams;
12795
+ queryParams: never;
12796
+ body: PostMcpServerIdResourcesRead_Body;
12797
+ request: PostMcpServerIdResourcesRead_Request;
12798
+ response: PostMcpServerIdResourcesRead_Response;
12799
+ responseType: 'json';
12800
+ }
12480
12801
  export type AllMcpServerIdMcp_PathParams = {
12481
12802
  /** MCP server ID */
12482
12803
  serverId: string;
@@ -40726,6 +41047,8 @@ export interface GetBackgroundTasksBackgroundTaskId_RouteContract {
40726
41047
  export type GetSchedules_QueryParams = {
40727
41048
  workflowId?: string | undefined;
40728
41049
  status?: ('active' | 'paused') | undefined;
41050
+ ownerType?: string | undefined;
41051
+ ownerId?: string | undefined;
40729
41052
  };
40730
41053
  export type GetSchedules_Response = {
40731
41054
  schedules: {
@@ -40755,6 +41078,8 @@ export type GetSchedules_Response = {
40755
41078
  metadata?: {
40756
41079
  [key: string]: unknown;
40757
41080
  } | undefined;
41081
+ ownerType?: string | undefined;
41082
+ ownerId?: string | undefined;
40758
41083
  createdAt: number;
40759
41084
  updatedAt: number;
40760
41085
  }[];
@@ -40808,6 +41133,8 @@ export type GetSchedulesScheduleId_Response = {
40808
41133
  metadata?: {
40809
41134
  [key: string]: unknown;
40810
41135
  } | undefined;
41136
+ ownerType?: string | undefined;
41137
+ ownerId?: string | undefined;
40811
41138
  createdAt: number;
40812
41139
  updatedAt: number;
40813
41140
  };
@@ -40840,12 +41167,18 @@ export type GetSchedulesScheduleIdTriggers_QueryParams = {
40840
41167
  };
40841
41168
  export type GetSchedulesScheduleIdTriggers_Response = {
40842
41169
  triggers: {
41170
+ id?: string | undefined;
40843
41171
  scheduleId: string;
40844
- runId: string;
41172
+ runId: string | null;
40845
41173
  scheduledFireAt: number;
40846
41174
  actualFireAt: number;
40847
- status: 'published' | 'failed';
41175
+ outcome: 'published' | 'failed' | 'skipped' | 'acked' | 'alerted' | 'deferred' | 'appended-from-queue' | 'dropped-stale' | 'dropped-superseded' | 'dropped-busy';
40848
41176
  error?: string | undefined;
41177
+ triggerKind?: ('schedule-fire' | 'queue-drain') | undefined;
41178
+ parentTriggerId?: string | undefined;
41179
+ metadata?: {
41180
+ [key: string]: unknown;
41181
+ } | undefined;
40849
41182
  run?: {
40850
41183
  status: 'running' | 'success' | 'failed' | 'tripwire' | 'suspended' | 'waiting' | 'pending' | 'canceled' | 'bailed' | 'paused';
40851
41184
  startedAt?: number | undefined;
@@ -40904,6 +41237,8 @@ export type PostSchedulesScheduleIdPause_Response = {
40904
41237
  metadata?: {
40905
41238
  [key: string]: unknown;
40906
41239
  } | undefined;
41240
+ ownerType?: string | undefined;
41241
+ ownerId?: string | undefined;
40907
41242
  createdAt: number;
40908
41243
  updatedAt: number;
40909
41244
  };
@@ -40956,6 +41291,8 @@ export type PostSchedulesScheduleIdResume_Response = {
40956
41291
  metadata?: {
40957
41292
  [key: string]: unknown;
40958
41293
  } | undefined;
41294
+ ownerType?: string | undefined;
41295
+ ownerId?: string | undefined;
40959
41296
  createdAt: number;
40960
41297
  updatedAt: number;
40961
41298
  };
@@ -41236,6 +41573,8 @@ export interface RouteTypes {
41236
41573
  'GET /scores/entity/:entityType/:entityId': GetScoresEntityEntityTypeEntityId_RouteContract;
41237
41574
  'POST /scores': PostScores_RouteContract;
41238
41575
  'GET /observability/traces': GetObservabilityTraces_RouteContract;
41576
+ 'GET /observability/branches': GetObservabilityBranches_RouteContract;
41577
+ 'GET /observability/traces/:traceId/branches/:spanId': GetObservabilityTracesTraceIdBranchesSpanId_RouteContract;
41239
41578
  'GET /observability/traces/:traceId': GetObservabilityTracesTraceId_RouteContract;
41240
41579
  'GET /observability/traces/:traceId/light': GetObservabilityTracesTraceIdLight_RouteContract;
41241
41580
  'GET /observability/traces/:traceId/spans/:spanId': GetObservabilityTracesTraceIdSpansSpanId_RouteContract;
@@ -41326,6 +41665,8 @@ export interface RouteTypes {
41326
41665
  'GET /mcp/:serverId/tools': GetMcpServerIdTools_RouteContract;
41327
41666
  'GET /mcp/:serverId/tools/:toolId': GetMcpServerIdToolsToolId_RouteContract;
41328
41667
  'POST /mcp/:serverId/tools/:toolId/execute': PostMcpServerIdToolsToolIdExecute_RouteContract;
41668
+ 'GET /mcp/:serverId/resources': GetMcpServerIdResources_RouteContract;
41669
+ 'POST /mcp/:serverId/resources/read': PostMcpServerIdResourcesRead_RouteContract;
41329
41670
  'ALL /mcp/:serverId/mcp': AllMcpServerIdMcp_RouteContract;
41330
41671
  'ALL /mcp/:serverId/sse': AllMcpServerIdSse_RouteContract;
41331
41672
  'POST /mcp/:serverId/messages': PostMcpServerIdMessages_RouteContract;
@@ -41729,6 +42070,12 @@ export interface Client {
41729
42070
  '/mcp/:serverId/messages': {
41730
42071
  POST: PostMcpServerIdMessages_RouteContract;
41731
42072
  };
42073
+ '/mcp/:serverId/resources': {
42074
+ GET: GetMcpServerIdResources_RouteContract;
42075
+ };
42076
+ '/mcp/:serverId/resources/read': {
42077
+ POST: PostMcpServerIdResourcesRead_RouteContract;
42078
+ };
41732
42079
  '/mcp/:serverId/sse': {
41733
42080
  ALL: AllMcpServerIdSse_RouteContract;
41734
42081
  };
@@ -41808,6 +42155,9 @@ export interface Client {
41808
42155
  GET: GetMemoryThreadsThreadIdWorkingMemory_RouteContract;
41809
42156
  POST: PostMemoryThreadsThreadIdWorkingMemory_RouteContract;
41810
42157
  };
42158
+ '/observability/branches': {
42159
+ GET: GetObservabilityBranches_RouteContract;
42160
+ };
41811
42161
  '/observability/discovery/entity-names': {
41812
42162
  GET: GetObservabilityDiscoveryEntityNames_RouteContract;
41813
42163
  };
@@ -41891,6 +42241,9 @@ export interface Client {
41891
42241
  '/observability/traces/:traceId/:spanId/scores': {
41892
42242
  GET: GetObservabilityTracesTraceIdSpanIdScores_RouteContract;
41893
42243
  };
42244
+ '/observability/traces/:traceId/branches/:spanId': {
42245
+ GET: GetObservabilityTracesTraceIdBranchesSpanId_RouteContract;
42246
+ };
41894
42247
  '/observability/traces/:traceId/light': {
41895
42248
  GET: GetObservabilityTracesTraceIdLight_RouteContract;
41896
42249
  };