@mastra/client-js 1.47.0-alpha.10 → 1.47.0-alpha.11
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.
- package/dist/client.d.ts +10 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/docs/SKILL.md +2 -2
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/reference-client-js-observability.md +27 -0
- package/dist/docs/references/reference-observability-tracing-trace-query.md +78 -8
- package/dist/index.cjs +20 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +20 -7
- package/dist/index.js.map +1 -1
- package/dist/resources/observability.d.ts +27 -4
- package/dist/resources/observability.d.ts.map +1 -1
- package/dist/route-types.generated.d.ts +37 -8
- package/dist/route-types.generated.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -37,19 +37,33 @@ export interface LegacyGetTracesResponse {
|
|
|
37
37
|
pagination: PaginationInfo;
|
|
38
38
|
}
|
|
39
39
|
export type ListScoresBySpanParams = SpanIds & PaginationArgs;
|
|
40
|
-
type QueryTracesBaseInput = Omit<TraceQueryRequest, 'group' | 'where' | 'page' | 'pagination'> & {
|
|
40
|
+
type QueryTracesBaseInput = Omit<TraceQueryRequest, 'group' | 'where' | 'page' | 'pagination' | 'mode' | 'after' | 'limit'> & {
|
|
41
41
|
where?: TraceQueryPredicate;
|
|
42
42
|
group?: never;
|
|
43
43
|
};
|
|
44
|
-
type QueryTracesKeysetInput = QueryTracesBaseInput & {
|
|
44
|
+
export type QueryTracesKeysetInput = QueryTracesBaseInput & {
|
|
45
45
|
page?: TraceQueryRequest['page'];
|
|
46
46
|
pagination?: never;
|
|
47
|
+
mode?: never;
|
|
48
|
+
after?: never;
|
|
49
|
+
limit?: never;
|
|
47
50
|
};
|
|
48
|
-
type QueryTracesPaginatedInput = QueryTracesBaseInput & {
|
|
51
|
+
export type QueryTracesPaginatedInput = QueryTracesBaseInput & {
|
|
49
52
|
page?: never;
|
|
50
53
|
pagination: NonNullable<TraceQueryRequest['pagination']>;
|
|
54
|
+
mode?: never;
|
|
55
|
+
after?: never;
|
|
56
|
+
limit?: never;
|
|
51
57
|
};
|
|
52
|
-
export type
|
|
58
|
+
export type QueryTracesDeltaInput = Omit<QueryTracesBaseInput, 'orderBy'> & {
|
|
59
|
+
mode: 'delta';
|
|
60
|
+
after?: string;
|
|
61
|
+
limit?: number;
|
|
62
|
+
page?: never;
|
|
63
|
+
pagination?: never;
|
|
64
|
+
orderBy?: never;
|
|
65
|
+
};
|
|
66
|
+
export type QueryTracesInput = QueryTracesKeysetInput | QueryTracesPaginatedInput | QueryTracesDeltaInput;
|
|
53
67
|
export type QueryTraceThreadsInput = QueryThreadsInput;
|
|
54
68
|
export type QueryTraceThreadsResult = QueryThreadsResult;
|
|
55
69
|
/** Client resource for interacting with the Mastra observability API (traces, logs, scores, feedback, and metrics). */
|
|
@@ -108,6 +122,15 @@ export declare class Observability extends BaseResource {
|
|
|
108
122
|
* @param params - Advanced trace query, including its required time range
|
|
109
123
|
* @returns Matching lightweight traces
|
|
110
124
|
*/
|
|
125
|
+
queryTraces(params: QueryTracesDeltaInput): Promise<Extract<TraceQueryResponse, {
|
|
126
|
+
delta: unknown;
|
|
127
|
+
}>>;
|
|
128
|
+
queryTraces(params: QueryTracesPaginatedInput): Promise<Extract<TraceQueryResponse, {
|
|
129
|
+
pagination: unknown;
|
|
130
|
+
}>>;
|
|
131
|
+
queryTraces(params: QueryTracesKeysetInput): Promise<Extract<TraceQueryResponse, {
|
|
132
|
+
page: unknown;
|
|
133
|
+
}>>;
|
|
111
134
|
queryTraces(params: QueryTracesInput): Promise<TraceQueryResponse>;
|
|
112
135
|
/** Returns canonical and observed fields available to the advanced trace-query grammar. */
|
|
113
136
|
getTraceQueryFields(params: GetTraceQueryFieldsArgs, options?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"observability.d.ts","sourceRoot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C5B,kBAAkB,EAClB,sBAAsB,EACtB,sBAAsB,EACtB,0BAA0B,EAC1B,wBAAwB,EACxB,4BAA4B,EAC5B,sBAAsB,EACtB,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,WAAW,EACX,eAAe,EAChB,MAAM,gCAAgC,CAAC;AAMxC;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,SAAS,CAAC,EAAE;QACV,KAAK,CAAC,EAAE,IAAI,CAAC;QACb,GAAG,CAAC,EAAE,IAAI,CAAC;KACZ,CAAC;IACF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;GAGG;AACH,MAAM,WAAW,wBAAwB;IACvC,OAAO,CAAC,EAAE;QACR,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,QAAQ,CAAC,EAAE,QAAQ,CAAC;QACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,UAAU,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;KACnC,CAAC;IACF,UAAU,CAAC,EAAE,oBAAoB,CAAC;CACnC;AAED;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,UAAU,EAAE,cAAc,CAAC;CAC5B;AAED,MAAM,MAAM,sBAAsB,GAAG,OAAO,GAAG,cAAc,CAAC;AAE9D,KAAK,oBAAoB,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"observability.d.ts","sourceRoot":"","sources":["../../src/resources/observability.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AACvG,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAEpE,OAAO,EAAE,YAAY,EA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M,GAAE,kBAAuB,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAG/E;IAED;;OAEG;IACH,eAAe,IAAI,OAAO,CAAC,uBAAuB,CAAC,CAElD;IAED;;OAEG;IACH,eAAe,IAAI,OAAO,CAAC,uBAAuB,CAAC,CAElD;IAED;;OAEG;IACH,OAAO,CAAC,MAAM,GAAE,WAAgB,GAAG,OAAO,CAAC,eAAe,CAAC,CAG1D;CACF"}
|
|
@@ -145,12 +145,12 @@ type InputShared_Auxiliary_737 = {
|
|
|
145
145
|
content?: string | undefined;
|
|
146
146
|
children?: InputShared_Auxiliary_737[] | undefined;
|
|
147
147
|
};
|
|
148
|
-
type
|
|
148
|
+
type Shared_Auxiliary_746 = {
|
|
149
149
|
id?: string | undefined;
|
|
150
150
|
name: string;
|
|
151
151
|
type: 'file' | 'folder';
|
|
152
152
|
content?: string | undefined;
|
|
153
|
-
children?:
|
|
153
|
+
children?: Shared_Auxiliary_746[] | undefined;
|
|
154
154
|
};
|
|
155
155
|
type InputShared_Type_0 = {
|
|
156
156
|
thread: string | {
|
|
@@ -350,8 +350,8 @@ type InputShared_Type_13 = {
|
|
|
350
350
|
/** When true, excludes the end date from results (uses < instead of <=) */
|
|
351
351
|
endExclusive?: boolean | undefined;
|
|
352
352
|
};
|
|
353
|
-
type InputShared_Type_14 = 'agent_run' | 'scorer_run' | 'scorer_step' | 'generic' | 'model_generation' | 'model_step' | 'model_inference' | 'model_chunk' | 'mcp_tool_call' | 'processor_run' | 'tool_call' | 'client_tool_call' | 'provider_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' | 'mapping' | 'skill_resolution' | 'skill_action' | 'agent_signal';
|
|
354
|
-
type InputShared_Type_15 = 'agent' | 'scorer' | 'rag_ingestion' | 'trajectory' | 'input_processor' | 'input_step_processor' | 'output_processor' | 'output_step_processor' | 'tool_result_processor' | 'workflow_step' | 'tool' | 'workflow_run' | 'memory';
|
|
353
|
+
type InputShared_Type_14 = 'agent_run' | 'scorer_run' | 'scorer_step' | 'generic' | 'model_generation' | 'model_step' | 'model_inference' | 'model_chunk' | 'mcp_tool_call' | 'mcp_server_request' | 'processor_run' | 'tool_call' | 'client_tool_call' | 'provider_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' | 'mapping' | 'skill_resolution' | 'skill_action' | 'agent_signal';
|
|
354
|
+
type InputShared_Type_15 = 'agent' | 'scorer' | 'rag_ingestion' | 'trajectory' | 'input_processor' | 'input_step_processor' | 'output_processor' | 'output_step_processor' | 'tool_result_processor' | 'workflow_step' | 'tool' | 'mcp_server' | 'workflow_run' | 'memory';
|
|
355
355
|
type InputShared_Type_16 = {
|
|
356
356
|
/** Filter by timestamp range */
|
|
357
357
|
timestamp?: InputShared_Type_13 | undefined;
|
|
@@ -2403,8 +2403,8 @@ type Shared_Type_56 = {
|
|
|
2403
2403
|
/** True when more matching updates remain after this response */
|
|
2404
2404
|
hasMore: boolean;
|
|
2405
2405
|
};
|
|
2406
|
-
type Shared_Type_57 = 'agent_run' | 'scorer_run' | 'scorer_step' | 'generic' | 'model_generation' | 'model_step' | 'model_inference' | 'model_chunk' | 'mcp_tool_call' | 'processor_run' | 'tool_call' | 'client_tool_call' | 'provider_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' | 'mapping' | 'skill_resolution' | 'skill_action' | 'agent_signal';
|
|
2407
|
-
type Shared_Type_58 = 'agent' | 'scorer' | 'rag_ingestion' | 'trajectory' | 'input_processor' | 'input_step_processor' | 'output_processor' | 'output_step_processor' | 'tool_result_processor' | 'workflow_step' | 'tool' | 'workflow_run' | 'memory';
|
|
2406
|
+
type Shared_Type_57 = 'agent_run' | 'scorer_run' | 'scorer_step' | 'generic' | 'model_generation' | 'model_step' | 'model_inference' | 'model_chunk' | 'mcp_tool_call' | 'mcp_server_request' | 'processor_run' | 'tool_call' | 'client_tool_call' | 'provider_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' | 'mapping' | 'skill_resolution' | 'skill_action' | 'agent_signal';
|
|
2407
|
+
type Shared_Type_58 = 'agent' | 'scorer' | 'rag_ingestion' | 'trajectory' | 'input_processor' | 'input_step_processor' | 'output_processor' | 'output_step_processor' | 'tool_result_processor' | 'workflow_step' | 'tool' | 'mcp_server' | 'workflow_run' | 'memory';
|
|
2408
2408
|
type Shared_Type_59 = {
|
|
2409
2409
|
/** Unique trace identifier */
|
|
2410
2410
|
traceId: string;
|
|
@@ -3024,7 +3024,7 @@ type Shared_Type_79 = {
|
|
|
3024
3024
|
/** List of asset file paths */
|
|
3025
3025
|
assets?: string[] | undefined;
|
|
3026
3026
|
/** Full file tree structure for the skill */
|
|
3027
|
-
files?:
|
|
3027
|
+
files?: Shared_Auxiliary_746[] | undefined;
|
|
3028
3028
|
/** Additional metadata for the skill */
|
|
3029
3029
|
metadata?: {
|
|
3030
3030
|
[key: string]: unknown;
|
|
@@ -7651,7 +7651,7 @@ export type GetObservabilityTracesTraceIdSpanIdScores_Response = {
|
|
|
7651
7651
|
entity: {
|
|
7652
7652
|
[key: string]: unknown;
|
|
7653
7653
|
};
|
|
7654
|
-
entityType?: ('AGENT' | 'WORKFLOW' | 'TRAJECTORY' | 'STEP' | 'EXTERNAL' | 'agent_run' | 'scorer_run' | 'scorer_step' | 'generic' | 'model_generation' | 'model_step' | 'model_inference' | 'model_chunk' | 'mcp_tool_call' | 'processor_run' | 'tool_call' | 'client_tool_call' | 'provider_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' | 'mapping' | 'skill_resolution' | 'skill_action' | 'agent_signal') | undefined;
|
|
7654
|
+
entityType?: ('AGENT' | 'WORKFLOW' | 'TRAJECTORY' | 'STEP' | 'EXTERNAL' | 'agent_run' | 'scorer_run' | 'scorer_step' | 'generic' | 'model_generation' | 'model_step' | 'model_inference' | 'model_chunk' | 'mcp_tool_call' | 'mcp_server_request' | 'processor_run' | 'tool_call' | 'client_tool_call' | 'provider_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' | 'mapping' | 'skill_resolution' | 'skill_action' | 'agent_signal') | undefined;
|
|
7655
7655
|
structuredOutput?: boolean | undefined;
|
|
7656
7656
|
traceId?: string | undefined;
|
|
7657
7657
|
spanId?: string | undefined;
|
|
@@ -7717,6 +7717,11 @@ export type PostObservabilityTracesQuery_Body = {
|
|
|
7717
7717
|
/** Number of items per page */
|
|
7718
7718
|
perPage?: number | undefined;
|
|
7719
7719
|
} | undefined;
|
|
7720
|
+
mode?: 'delta' | undefined;
|
|
7721
|
+
/** Opaque cursor value for incremental polling */
|
|
7722
|
+
after?: string | undefined;
|
|
7723
|
+
/** Maximum number of updates to return in one delta poll */
|
|
7724
|
+
limit?: number | undefined;
|
|
7720
7725
|
};
|
|
7721
7726
|
export type PostObservabilityTracesQuery_Response = {
|
|
7722
7727
|
traces: Shared_Type_62[];
|
|
@@ -7726,6 +7731,14 @@ export type PostObservabilityTracesQuery_Response = {
|
|
|
7726
7731
|
} | {
|
|
7727
7732
|
traces: Shared_Type_62[];
|
|
7728
7733
|
pagination: Shared_Type_55;
|
|
7734
|
+
/** Opaque cursor value for incremental polling */
|
|
7735
|
+
deltaCursor?: string | undefined;
|
|
7736
|
+
} | {
|
|
7737
|
+
traces: Shared_Type_62[];
|
|
7738
|
+
/** Incremental polling metadata */
|
|
7739
|
+
delta: Shared_Type_56;
|
|
7740
|
+
/** Opaque cursor value for incremental polling */
|
|
7741
|
+
deltaCursor: string;
|
|
7729
7742
|
} | {
|
|
7730
7743
|
groups: {
|
|
7731
7744
|
threadId: string;
|
|
@@ -14809,6 +14822,10 @@ export type GetDatasets_QueryParams = {
|
|
|
14809
14822
|
targetType?: ('agent' | 'workflow' | 'scorer' | 'processor') | undefined;
|
|
14810
14823
|
/** Only return datasets attached to at least one of these target IDs */
|
|
14811
14824
|
targetIds?: string[] | undefined;
|
|
14825
|
+
orderBy?: ({
|
|
14826
|
+
field: 'createdAt' | 'updatedAt' | 'name';
|
|
14827
|
+
direction: 'ASC' | 'DESC';
|
|
14828
|
+
} | undefined) | undefined;
|
|
14812
14829
|
};
|
|
14813
14830
|
export type GetDatasets_Response = {
|
|
14814
14831
|
datasets: Shared_Type_80[];
|
|
@@ -14996,6 +15013,10 @@ export type GetDatasetsDatasetIdItems_QueryParams = {
|
|
|
14996
15013
|
perPage?: number | undefined;
|
|
14997
15014
|
version?: number | undefined;
|
|
14998
15015
|
search?: string | undefined;
|
|
15016
|
+
orderBy?: ({
|
|
15017
|
+
field: 'createdAt' | 'updatedAt';
|
|
15018
|
+
direction: 'ASC' | 'DESC';
|
|
15019
|
+
} | undefined) | undefined;
|
|
14999
15020
|
};
|
|
15000
15021
|
export type GetDatasetsDatasetIdItems_Response = {
|
|
15001
15022
|
items: Shared_Type_83[];
|
|
@@ -15378,6 +15399,10 @@ export type GetExperiments_QueryParams = {
|
|
|
15378
15399
|
targetType?: ('agent' | 'workflow' | 'scorer' | 'processor') | undefined;
|
|
15379
15400
|
/** Only return experiments run against this target ID */
|
|
15380
15401
|
targetId?: string | undefined;
|
|
15402
|
+
orderBy?: ({
|
|
15403
|
+
field: 'createdAt' | 'status';
|
|
15404
|
+
direction: 'ASC' | 'DESC';
|
|
15405
|
+
} | undefined) | undefined;
|
|
15381
15406
|
};
|
|
15382
15407
|
export type GetExperiments_Response = {
|
|
15383
15408
|
experiments: Shared_Type_85[];
|
|
@@ -15804,6 +15829,10 @@ export type GetDatasetsDatasetIdExperimentsExperimentIdResults_QueryParams = {
|
|
|
15804
15829
|
perPage?: number | undefined;
|
|
15805
15830
|
/** Only return results that have all of these tags */
|
|
15806
15831
|
tags?: string[] | undefined;
|
|
15832
|
+
orderBy?: ({
|
|
15833
|
+
field: 'startedAt' | 'createdAt';
|
|
15834
|
+
direction: 'ASC' | 'DESC';
|
|
15835
|
+
} | undefined) | undefined;
|
|
15807
15836
|
};
|
|
15808
15837
|
export type GetDatasetsDatasetIdExperimentsExperimentIdResults_Response = {
|
|
15809
15838
|
results: Shared_Type_87[];
|