@mastra/client-js 1.47.0-alpha.9 → 1.48.0-alpha.0
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 +12 -8
- 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 +50 -25
- 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 +50 -25
- package/dist/index.js.map +1 -1
- package/dist/resources/memory-thread.d.ts +5 -0
- package/dist/resources/memory-thread.d.ts.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 +44 -8
- package/dist/route-types.generated.d.ts.map +1 -1
- package/dist/types.d.ts +9 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +7 -7
|
@@ -2,6 +2,11 @@ import type { RequestContext } from '@mastra/core/di';
|
|
|
2
2
|
import type { RouteResponse } from '../route-types.generated.js';
|
|
3
3
|
import type { ClientOptions, UpdateMemoryThreadParams, ListMemoryThreadMessagesParams, ListMemoryThreadMessagesResponse, CloneMemoryThreadParams, CloneMemoryThreadResponse, TransferMemoryThreadParams } from '../types.js';
|
|
4
4
|
import { BaseResource } from './base.js';
|
|
5
|
+
/**
|
|
6
|
+
* Serializes the message-listing filters both memory message routes accept. The network route
|
|
7
|
+
* takes the same filters under a different path, so the two callers share one serializer.
|
|
8
|
+
*/
|
|
9
|
+
export declare const memoryMessagesQuery: ({ agentId, resourceId, page, perPage, orderBy, filter, include, includeSystemReminders, }: ListMemoryThreadMessagesParams) => URLSearchParams;
|
|
5
10
|
/**
|
|
6
11
|
* MemoryThread resource for interacting with memory threads.
|
|
7
12
|
*
|
|
@@ -1 +1 @@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cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;KAAO,GACrF,OAAO,CAAC,aAAa,CAAC,kCAAkC,CAAC,CAAC,CAO5D;IAED;;;;OAIG;IACH,YAAY,CACV,MAAM,GAAE,8BAA8B,GAAG;QACvC,cAAc,CAAC,EAAE,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KAClD,GACL,OAAO,CAAC,gCAAgC,CAAC,CAI3C;IAED;;;;;;;;OAQG;IACH,cAAc,CACZ,UAAU,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,EAAE,EACjE,IAAI,GACA;QAAE,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,cAAc,CAAC,EAAE,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;KAAE,GAC3E,cAAc,GACd,MAAM,CAAC,MAAM,EAAE,GAAG,CAAM,GAC3B,OAAO,CAAC,aAAa,CAAC,8BAA8B,CAAC,CAAC,CAQxD;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,GAAE,uBAA4B,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAS9E;IAED;;;;;;;OAOG;IACH,QAAQ,CAAC,MAAM,EAAE,0BAA0B,GAAG,OAAO,CAAC,aAAa,CAAC,yCAAyC,CAAC,CAAC,CAS9G;CACF"}
|
|
@@ -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":"","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,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,KAAK,EACV,WAAW,EACX,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,uBAAuB,EACvB,iBAAiB,EACjB,kBAAkB,EAClB,uBAAuB,EACvB,2BAA2B,EAC3B,uBAAuB,EACvB,2BAA2B,EAC3B,gBAAgB,EAChB,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EACjB,OAAO,EACP,cAAc,EACd,UAAU,EACV,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,EAClB,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,cAAc,EACd,qBAAqB,EACrB,eAAe,EACf,mBAAmB,EACnB,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB,EACrB,yBAAyB,EACzB,qBAAqB,EACrB,yBAAyB,EACzB,sBAAsB,EACtB,0BAA0B,EAC1B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Ac,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,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,KAAK,EACV,WAAW,EACX,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,uBAAuB,EACvB,iBAAiB,EACjB,kBAAkB,EAClB,uBAAuB,EACvB,2BAA2B,EAC3B,uBAAuB,EACvB,2BAA2B,EAC3B,gBAAgB,EAChB,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EACjB,OAAO,EACP,cAAc,EACd,UAAU,EACV,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,EAClB,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,cAAc,EACd,qBAAqB,EACrB,eAAe,EACf,mBAAmB,EACnB,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB,EACrB,yBAAyB,EACzB,qBAAqB,EACrB,yBAAyB,EACzB,sBAAsB,EACtB,0BAA0B,EAC1B,uBAAuB,EACvB,2BAA2B,EAC3B,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACtB,kBAAkB,EAClB,sBAAsB,EACtB,8BAA8B,EAC9B,cAAc,EACd,wBAAwB,EACxB,4BAA4B,EAC5B,wBAAwB,EACxB,4BAA4B,EAC5B,yBAAyB,EACzB,6BAA6B,EAC7B,0BAA0B,EAC1B,8BAA8B,EAC9B,sBAAsB,EACtB,0BAA0B,EAC1B,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AMD;;OAEG;IACH,cAAc,CAAC,MAAM,GAAE,kBAAuB,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAG/E;IAED;;OAEG;IACH,kBAAkB,CAAC,MAAM,EAAE,sBAAsB,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAGtF;IAED;;OAEG;IACH,oBAAoB,CAAC,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAG5F;IAED;;OAEG;IACH,cAAc,IAAI,OAAO,CAAC,sBAAsB,CAAC,CAEhD;IAED;;OAEG;IACH,cAAc,CAAC,MAAM,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;
|
|
@@ -2633,6 +2633,7 @@ type Shared_Type_63 = {
|
|
|
2633
2633
|
} | null) | undefined;
|
|
2634
2634
|
};
|
|
2635
2635
|
type Shared_Type_64 = {
|
|
2636
|
+
id?: string | undefined;
|
|
2636
2637
|
name: string;
|
|
2637
2638
|
description?: string | undefined;
|
|
2638
2639
|
inputSchema: unknown;
|
|
@@ -3024,7 +3025,7 @@ type Shared_Type_79 = {
|
|
|
3024
3025
|
/** List of asset file paths */
|
|
3025
3026
|
assets?: string[] | undefined;
|
|
3026
3027
|
/** Full file tree structure for the skill */
|
|
3027
|
-
files?:
|
|
3028
|
+
files?: Shared_Auxiliary_746[] | undefined;
|
|
3028
3029
|
/** Additional metadata for the skill */
|
|
3029
3030
|
metadata?: {
|
|
3030
3031
|
[key: string]: unknown;
|
|
@@ -6528,6 +6529,10 @@ export type GetMemoryThreadsThreadIdMessages_QueryParams = {
|
|
|
6528
6529
|
export type GetMemoryThreadsThreadIdMessages_Response = {
|
|
6529
6530
|
messages: unknown[];
|
|
6530
6531
|
uiMessages: unknown[] | null;
|
|
6532
|
+
total?: number | undefined;
|
|
6533
|
+
page?: number | undefined;
|
|
6534
|
+
perPage?: (number | false) | undefined;
|
|
6535
|
+
hasMore?: boolean | undefined;
|
|
6531
6536
|
};
|
|
6532
6537
|
export type GetMemoryThreadsThreadIdMessages_Request = Simplify<(GetMemoryThreadsThreadIdMessages_PathParams extends never ? {} : {
|
|
6533
6538
|
params: GetMemoryThreadsThreadIdMessages_PathParams;
|
|
@@ -7647,7 +7652,7 @@ export type GetObservabilityTracesTraceIdSpanIdScores_Response = {
|
|
|
7647
7652
|
entity: {
|
|
7648
7653
|
[key: string]: unknown;
|
|
7649
7654
|
};
|
|
7650
|
-
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;
|
|
7655
|
+
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;
|
|
7651
7656
|
structuredOutput?: boolean | undefined;
|
|
7652
7657
|
traceId?: string | undefined;
|
|
7653
7658
|
spanId?: string | undefined;
|
|
@@ -7713,6 +7718,11 @@ export type PostObservabilityTracesQuery_Body = {
|
|
|
7713
7718
|
/** Number of items per page */
|
|
7714
7719
|
perPage?: number | undefined;
|
|
7715
7720
|
} | undefined;
|
|
7721
|
+
mode?: 'delta' | undefined;
|
|
7722
|
+
/** Opaque cursor value for incremental polling */
|
|
7723
|
+
after?: string | undefined;
|
|
7724
|
+
/** Maximum number of updates to return in one delta poll */
|
|
7725
|
+
limit?: number | undefined;
|
|
7716
7726
|
};
|
|
7717
7727
|
export type PostObservabilityTracesQuery_Response = {
|
|
7718
7728
|
traces: Shared_Type_62[];
|
|
@@ -7722,6 +7732,14 @@ export type PostObservabilityTracesQuery_Response = {
|
|
|
7722
7732
|
} | {
|
|
7723
7733
|
traces: Shared_Type_62[];
|
|
7724
7734
|
pagination: Shared_Type_55;
|
|
7735
|
+
/** Opaque cursor value for incremental polling */
|
|
7736
|
+
deltaCursor?: string | undefined;
|
|
7737
|
+
} | {
|
|
7738
|
+
traces: Shared_Type_62[];
|
|
7739
|
+
/** Incremental polling metadata */
|
|
7740
|
+
delta: Shared_Type_56;
|
|
7741
|
+
/** Opaque cursor value for incremental polling */
|
|
7742
|
+
deltaCursor: string;
|
|
7725
7743
|
} | {
|
|
7726
7744
|
groups: {
|
|
7727
7745
|
threadId: string;
|
|
@@ -10837,6 +10855,7 @@ export type GetMcpV0Servers_Response = {
|
|
|
10837
10855
|
release_date: string;
|
|
10838
10856
|
is_latest: boolean;
|
|
10839
10857
|
};
|
|
10858
|
+
transports?: ('streamable-http' | 'sse')[] | undefined;
|
|
10840
10859
|
}[];
|
|
10841
10860
|
total_count: number;
|
|
10842
10861
|
next: string | null;
|
|
@@ -10879,6 +10898,7 @@ export type GetMcpV0ServersId_Response = {
|
|
|
10879
10898
|
package_canonical?: string | undefined;
|
|
10880
10899
|
packages?: unknown[] | undefined;
|
|
10881
10900
|
remotes?: unknown[] | undefined;
|
|
10901
|
+
transports?: ('streamable-http' | 'sse')[] | undefined;
|
|
10882
10902
|
};
|
|
10883
10903
|
export type GetMcpV0ServersId_Request = Simplify<(GetMcpV0ServersId_PathParams extends never ? {} : {
|
|
10884
10904
|
params: GetMcpV0ServersId_PathParams;
|
|
@@ -14805,6 +14825,10 @@ export type GetDatasets_QueryParams = {
|
|
|
14805
14825
|
targetType?: ('agent' | 'workflow' | 'scorer' | 'processor') | undefined;
|
|
14806
14826
|
/** Only return datasets attached to at least one of these target IDs */
|
|
14807
14827
|
targetIds?: string[] | undefined;
|
|
14828
|
+
orderBy?: ({
|
|
14829
|
+
field: 'createdAt' | 'updatedAt' | 'name';
|
|
14830
|
+
direction: 'ASC' | 'DESC';
|
|
14831
|
+
} | undefined) | undefined;
|
|
14808
14832
|
};
|
|
14809
14833
|
export type GetDatasets_Response = {
|
|
14810
14834
|
datasets: Shared_Type_80[];
|
|
@@ -14992,6 +15016,10 @@ export type GetDatasetsDatasetIdItems_QueryParams = {
|
|
|
14992
15016
|
perPage?: number | undefined;
|
|
14993
15017
|
version?: number | undefined;
|
|
14994
15018
|
search?: string | undefined;
|
|
15019
|
+
orderBy?: ({
|
|
15020
|
+
field: 'createdAt' | 'updatedAt';
|
|
15021
|
+
direction: 'ASC' | 'DESC';
|
|
15022
|
+
} | undefined) | undefined;
|
|
14995
15023
|
};
|
|
14996
15024
|
export type GetDatasetsDatasetIdItems_Response = {
|
|
14997
15025
|
items: Shared_Type_83[];
|
|
@@ -15374,6 +15402,10 @@ export type GetExperiments_QueryParams = {
|
|
|
15374
15402
|
targetType?: ('agent' | 'workflow' | 'scorer' | 'processor') | undefined;
|
|
15375
15403
|
/** Only return experiments run against this target ID */
|
|
15376
15404
|
targetId?: string | undefined;
|
|
15405
|
+
orderBy?: ({
|
|
15406
|
+
field: 'createdAt' | 'status';
|
|
15407
|
+
direction: 'ASC' | 'DESC';
|
|
15408
|
+
} | undefined) | undefined;
|
|
15377
15409
|
};
|
|
15378
15410
|
export type GetExperiments_Response = {
|
|
15379
15411
|
experiments: Shared_Type_85[];
|
|
@@ -15800,6 +15832,10 @@ export type GetDatasetsDatasetIdExperimentsExperimentIdResults_QueryParams = {
|
|
|
15800
15832
|
perPage?: number | undefined;
|
|
15801
15833
|
/** Only return results that have all of these tags */
|
|
15802
15834
|
tags?: string[] | undefined;
|
|
15835
|
+
orderBy?: ({
|
|
15836
|
+
field: 'startedAt' | 'createdAt';
|
|
15837
|
+
direction: 'ASC' | 'DESC';
|
|
15838
|
+
} | undefined) | undefined;
|
|
15803
15839
|
};
|
|
15804
15840
|
export type GetDatasetsDatasetIdExperimentsExperimentIdResults_Response = {
|
|
15805
15841
|
results: Shared_Type_87[];
|