@mastra/client-js 1.17.2-alpha.3 → 1.18.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/CHANGELOG.md +140 -0
- package/dist/_types/@internal_ai-sdk-v5/dist/index.d.ts +27 -15
- package/dist/client.d.ts +7 -3
- package/dist/client.d.ts.map +1 -1
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/reference-client-js-agents.md +26 -1
- package/dist/docs/references/reference-client-js-responses.md +4 -0
- package/dist/index.cjs +251 -47
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +247 -47
- package/dist/index.js.map +1 -1
- package/dist/resources/a2a.d.ts +11 -2
- package/dist/resources/a2a.d.ts.map +1 -1
- package/dist/resources/agent.d.ts +11 -0
- package/dist/resources/agent.d.ts.map +1 -1
- package/dist/resources/memory-thread.d.ts +27 -7
- package/dist/resources/memory-thread.d.ts.map +1 -1
- package/dist/resources/stored-agent.d.ts.map +1 -1
- package/dist/resources/stored-prompt-block.d.ts.map +1 -1
- package/dist/resources/stored-scorer.d.ts.map +1 -1
- package/dist/route-types.generated.d.ts +242 -20
- package/dist/route-types.generated.d.ts.map +1 -1
- package/dist/types.d.ts +43 -10
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/verify-agent-card-signature.d.ts +21 -0
- package/dist/utils/verify-agent-card-signature.d.ts.map +1 -0
- package/package.json +7 -5
|
@@ -3273,6 +3273,124 @@ export interface PostAgentsAgentIdDeclineNetworkToolCall_RouteContract {
|
|
|
3273
3273
|
response: PostAgentsAgentIdDeclineNetworkToolCall_Response;
|
|
3274
3274
|
responseType: 'stream';
|
|
3275
3275
|
}
|
|
3276
|
+
export type PostAgentsAgentIdResumeStreamUntilIdle_PathParams = {
|
|
3277
|
+
/** Unique identifier for the agent */
|
|
3278
|
+
agentId: string;
|
|
3279
|
+
};
|
|
3280
|
+
export type PostAgentsAgentIdResumeStreamUntilIdle_Body = {
|
|
3281
|
+
instructions?: (string | string[] | any | any[]) | undefined;
|
|
3282
|
+
system?: (string | string[] | any | any[]) | undefined;
|
|
3283
|
+
context?: any[] | undefined;
|
|
3284
|
+
memory?: {
|
|
3285
|
+
thread: string | {
|
|
3286
|
+
id: string;
|
|
3287
|
+
[x: string]: unknown;
|
|
3288
|
+
};
|
|
3289
|
+
resource: string;
|
|
3290
|
+
options?: {
|
|
3291
|
+
[key: string]: any;
|
|
3292
|
+
} | undefined;
|
|
3293
|
+
readOnly?: boolean | undefined;
|
|
3294
|
+
} | undefined;
|
|
3295
|
+
runId: string;
|
|
3296
|
+
savePerStep?: boolean | undefined;
|
|
3297
|
+
requestContext?: {
|
|
3298
|
+
[key: string]: any;
|
|
3299
|
+
} | undefined;
|
|
3300
|
+
versions?: {
|
|
3301
|
+
agents?: {
|
|
3302
|
+
[key: string]: {
|
|
3303
|
+
versionId: string;
|
|
3304
|
+
} | {
|
|
3305
|
+
status: 'draft' | 'published';
|
|
3306
|
+
};
|
|
3307
|
+
} | undefined;
|
|
3308
|
+
} | undefined;
|
|
3309
|
+
maxSteps?: number | undefined;
|
|
3310
|
+
stopWhen?: any | undefined;
|
|
3311
|
+
providerOptions?: {
|
|
3312
|
+
anthropic?: {
|
|
3313
|
+
[key: string]: any;
|
|
3314
|
+
} | undefined;
|
|
3315
|
+
google?: {
|
|
3316
|
+
[key: string]: any;
|
|
3317
|
+
} | undefined;
|
|
3318
|
+
openai?: {
|
|
3319
|
+
[key: string]: any;
|
|
3320
|
+
} | undefined;
|
|
3321
|
+
xai?: {
|
|
3322
|
+
[key: string]: any;
|
|
3323
|
+
} | undefined;
|
|
3324
|
+
} | undefined;
|
|
3325
|
+
modelSettings?: any | undefined;
|
|
3326
|
+
activeTools?: string[] | undefined;
|
|
3327
|
+
toolsets?: {
|
|
3328
|
+
[key: string]: any;
|
|
3329
|
+
} | undefined;
|
|
3330
|
+
clientTools?: {
|
|
3331
|
+
[key: string]: any;
|
|
3332
|
+
} | undefined;
|
|
3333
|
+
toolChoice?: (('auto' | 'none' | 'required') | {
|
|
3334
|
+
type: 'tool';
|
|
3335
|
+
toolName: string;
|
|
3336
|
+
}) | undefined;
|
|
3337
|
+
requireToolApproval?: boolean | undefined;
|
|
3338
|
+
scorers?: ({
|
|
3339
|
+
[key: string]: any;
|
|
3340
|
+
} | {
|
|
3341
|
+
[key: string]: {
|
|
3342
|
+
scorer: string;
|
|
3343
|
+
sampling?: any | undefined;
|
|
3344
|
+
};
|
|
3345
|
+
}) | undefined;
|
|
3346
|
+
returnScorerData?: boolean | undefined;
|
|
3347
|
+
tracingOptions?: {
|
|
3348
|
+
metadata?: {
|
|
3349
|
+
[key: string]: unknown;
|
|
3350
|
+
} | undefined;
|
|
3351
|
+
requestContextKeys?: string[] | undefined;
|
|
3352
|
+
traceId?: string | undefined;
|
|
3353
|
+
parentSpanId?: string | undefined;
|
|
3354
|
+
tags?: string[] | undefined;
|
|
3355
|
+
hideInput?: boolean | undefined;
|
|
3356
|
+
hideOutput?: boolean | undefined;
|
|
3357
|
+
} | undefined;
|
|
3358
|
+
output?: any | undefined;
|
|
3359
|
+
structuredOutput?: {
|
|
3360
|
+
schema: {
|
|
3361
|
+
[x: string]: unknown;
|
|
3362
|
+
};
|
|
3363
|
+
model?: (string | any) | undefined;
|
|
3364
|
+
instructions?: string | undefined;
|
|
3365
|
+
jsonPromptInjection?: boolean | undefined;
|
|
3366
|
+
errorStrategy?: ('strict' | 'warn' | 'fallback') | undefined;
|
|
3367
|
+
fallbackValue?: any | undefined;
|
|
3368
|
+
} | undefined;
|
|
3369
|
+
resumeData: unknown;
|
|
3370
|
+
toolCallId?: string | undefined;
|
|
3371
|
+
maxIdleMs?: number | undefined;
|
|
3372
|
+
[x: string]: unknown;
|
|
3373
|
+
};
|
|
3374
|
+
export type PostAgentsAgentIdResumeStreamUntilIdle_Response = any;
|
|
3375
|
+
export type PostAgentsAgentIdResumeStreamUntilIdle_Request = Simplify<(PostAgentsAgentIdResumeStreamUntilIdle_PathParams extends never ? {} : {
|
|
3376
|
+
params: PostAgentsAgentIdResumeStreamUntilIdle_PathParams;
|
|
3377
|
+
}) & (never extends never ? {} : {} extends never ? {
|
|
3378
|
+
query?: never;
|
|
3379
|
+
} : {
|
|
3380
|
+
query: never;
|
|
3381
|
+
}) & (PostAgentsAgentIdResumeStreamUntilIdle_Body extends never ? {} : {} extends PostAgentsAgentIdResumeStreamUntilIdle_Body ? {
|
|
3382
|
+
body?: PostAgentsAgentIdResumeStreamUntilIdle_Body;
|
|
3383
|
+
} : {
|
|
3384
|
+
body: PostAgentsAgentIdResumeStreamUntilIdle_Body;
|
|
3385
|
+
})>;
|
|
3386
|
+
export interface PostAgentsAgentIdResumeStreamUntilIdle_RouteContract {
|
|
3387
|
+
pathParams: PostAgentsAgentIdResumeStreamUntilIdle_PathParams;
|
|
3388
|
+
queryParams: never;
|
|
3389
|
+
body: PostAgentsAgentIdResumeStreamUntilIdle_Body;
|
|
3390
|
+
request: PostAgentsAgentIdResumeStreamUntilIdle_Request;
|
|
3391
|
+
response: PostAgentsAgentIdResumeStreamUntilIdle_Response;
|
|
3392
|
+
responseType: 'stream';
|
|
3393
|
+
}
|
|
3276
3394
|
export type PostAgentsAgentIdNetwork_PathParams = {
|
|
3277
3395
|
/** Unique identifier for the agent */
|
|
3278
3396
|
agentId: string;
|
|
@@ -5381,6 +5499,87 @@ export interface PostWorkflowsWorkflowIdRestartAllActiveWorkflowRunsAsync_RouteC
|
|
|
5381
5499
|
response: PostWorkflowsWorkflowIdRestartAllActiveWorkflowRunsAsync_Response;
|
|
5382
5500
|
responseType: 'json';
|
|
5383
5501
|
}
|
|
5502
|
+
export type PostWorkflowsWorkflowIdRunsRunIdStepsExecute_PathParams = {
|
|
5503
|
+
/** Unique identifier for the workflow */
|
|
5504
|
+
workflowId: string;
|
|
5505
|
+
/** Unique identifier for the workflow run */
|
|
5506
|
+
runId: string;
|
|
5507
|
+
};
|
|
5508
|
+
export type PostWorkflowsWorkflowIdRunsRunIdStepsExecute_Body = {
|
|
5509
|
+
stepId: string;
|
|
5510
|
+
executionPath: number[];
|
|
5511
|
+
stepResults: {
|
|
5512
|
+
[key: string]: any;
|
|
5513
|
+
};
|
|
5514
|
+
state: {
|
|
5515
|
+
[key: string]: any;
|
|
5516
|
+
};
|
|
5517
|
+
requestContext: {
|
|
5518
|
+
[key: string]: any;
|
|
5519
|
+
};
|
|
5520
|
+
input?: any | undefined;
|
|
5521
|
+
resumeData?: any | undefined;
|
|
5522
|
+
retryCount?: number | undefined;
|
|
5523
|
+
foreachIdx?: number | undefined;
|
|
5524
|
+
format?: ('legacy' | 'vnext') | undefined;
|
|
5525
|
+
perStep?: boolean | undefined;
|
|
5526
|
+
validateInputs?: boolean | undefined;
|
|
5527
|
+
};
|
|
5528
|
+
export type PostWorkflowsWorkflowIdRunsRunIdStepsExecute_Response = any;
|
|
5529
|
+
export type PostWorkflowsWorkflowIdRunsRunIdStepsExecute_Request = Simplify<(PostWorkflowsWorkflowIdRunsRunIdStepsExecute_PathParams extends never ? {} : {
|
|
5530
|
+
params: PostWorkflowsWorkflowIdRunsRunIdStepsExecute_PathParams;
|
|
5531
|
+
}) & (never extends never ? {} : {} extends never ? {
|
|
5532
|
+
query?: never;
|
|
5533
|
+
} : {
|
|
5534
|
+
query: never;
|
|
5535
|
+
}) & (PostWorkflowsWorkflowIdRunsRunIdStepsExecute_Body extends never ? {} : {} extends PostWorkflowsWorkflowIdRunsRunIdStepsExecute_Body ? {
|
|
5536
|
+
body?: PostWorkflowsWorkflowIdRunsRunIdStepsExecute_Body;
|
|
5537
|
+
} : {
|
|
5538
|
+
body: PostWorkflowsWorkflowIdRunsRunIdStepsExecute_Body;
|
|
5539
|
+
})>;
|
|
5540
|
+
export interface PostWorkflowsWorkflowIdRunsRunIdStepsExecute_RouteContract {
|
|
5541
|
+
pathParams: PostWorkflowsWorkflowIdRunsRunIdStepsExecute_PathParams;
|
|
5542
|
+
queryParams: never;
|
|
5543
|
+
body: PostWorkflowsWorkflowIdRunsRunIdStepsExecute_Body;
|
|
5544
|
+
request: PostWorkflowsWorkflowIdRunsRunIdStepsExecute_Request;
|
|
5545
|
+
response: PostWorkflowsWorkflowIdRunsRunIdStepsExecute_Response;
|
|
5546
|
+
responseType: 'json';
|
|
5547
|
+
}
|
|
5548
|
+
export type PostWorkflowsEvents_Body = {
|
|
5549
|
+
event: {
|
|
5550
|
+
id: string;
|
|
5551
|
+
type: string;
|
|
5552
|
+
data: unknown;
|
|
5553
|
+
runId: string;
|
|
5554
|
+
createdAt: string;
|
|
5555
|
+
index?: number | undefined;
|
|
5556
|
+
deliveryAttempt?: number | undefined;
|
|
5557
|
+
[x: string]: unknown;
|
|
5558
|
+
};
|
|
5559
|
+
};
|
|
5560
|
+
export type PostWorkflowsEvents_Response = {
|
|
5561
|
+
ok: boolean;
|
|
5562
|
+
retry?: boolean | undefined;
|
|
5563
|
+
};
|
|
5564
|
+
export type PostWorkflowsEvents_Request = Simplify<(never extends never ? {} : {
|
|
5565
|
+
params: never;
|
|
5566
|
+
}) & (never extends never ? {} : {} extends never ? {
|
|
5567
|
+
query?: never;
|
|
5568
|
+
} : {
|
|
5569
|
+
query: never;
|
|
5570
|
+
}) & (PostWorkflowsEvents_Body extends never ? {} : {} extends PostWorkflowsEvents_Body ? {
|
|
5571
|
+
body?: PostWorkflowsEvents_Body;
|
|
5572
|
+
} : {
|
|
5573
|
+
body: PostWorkflowsEvents_Body;
|
|
5574
|
+
})>;
|
|
5575
|
+
export interface PostWorkflowsEvents_RouteContract {
|
|
5576
|
+
pathParams: never;
|
|
5577
|
+
queryParams: never;
|
|
5578
|
+
body: PostWorkflowsEvents_Body;
|
|
5579
|
+
request: PostWorkflowsEvents_Request;
|
|
5580
|
+
response: PostWorkflowsEvents_Response;
|
|
5581
|
+
responseType: 'json';
|
|
5582
|
+
}
|
|
5384
5583
|
export type GetTools_Response = {
|
|
5385
5584
|
[key: string]: {
|
|
5386
5585
|
id: string;
|
|
@@ -7343,7 +7542,7 @@ export type GetObservabilityTraces_QueryParams = {
|
|
|
7343
7542
|
/** When true, excludes the end date from results (uses < instead of <=) */
|
|
7344
7543
|
endExclusive?: boolean | undefined;
|
|
7345
7544
|
} | undefined) | undefined) | any;
|
|
7346
|
-
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;
|
|
7545
|
+
spanType?: (('agent_run' | 'scorer_run' | 'scorer_step' | 'generic' | 'model_generation' | 'model_step' | 'model_inference' | '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' | 'mapping') | undefined) | undefined;
|
|
7347
7546
|
traceId?: (string | undefined) | undefined;
|
|
7348
7547
|
entityType?: (string | undefined) | undefined;
|
|
7349
7548
|
entityId?: ((string | null) | undefined) | undefined;
|
|
@@ -7412,7 +7611,7 @@ export type GetObservabilityTraces_Response = {
|
|
|
7412
7611
|
/** Human-readable span name */
|
|
7413
7612
|
name: string;
|
|
7414
7613
|
/** Span type (e.g., WORKFLOW_RUN, AGENT_RUN, TOOL_CALL, etc.) */
|
|
7415
|
-
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';
|
|
7614
|
+
spanType: 'agent_run' | 'scorer_run' | 'scorer_step' | 'generic' | 'model_generation' | 'model_step' | 'model_inference' | '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' | 'mapping';
|
|
7416
7615
|
/** Whether this is an event (point-in-time) vs a span (duration) */
|
|
7417
7616
|
isEvent: boolean;
|
|
7418
7617
|
/** When the span started */
|
|
@@ -7508,7 +7707,7 @@ export type GetObservabilityBranches_QueryParams = {
|
|
|
7508
7707
|
/** When true, excludes the end date from results (uses < instead of <=) */
|
|
7509
7708
|
endExclusive?: boolean | undefined;
|
|
7510
7709
|
} | undefined) | undefined) | any;
|
|
7511
|
-
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;
|
|
7710
|
+
spanType?: (('agent_run' | 'scorer_run' | 'scorer_step' | 'generic' | 'model_generation' | 'model_step' | 'model_inference' | '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' | 'mapping') | undefined) | undefined;
|
|
7512
7711
|
traceId?: (string | undefined) | undefined;
|
|
7513
7712
|
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;
|
|
7514
7713
|
entityId?: ((string | null) | undefined) | undefined;
|
|
@@ -7565,7 +7764,7 @@ export type GetObservabilityBranches_Response = {
|
|
|
7565
7764
|
/** Human-readable span name */
|
|
7566
7765
|
name: string;
|
|
7567
7766
|
/** Span type (e.g., WORKFLOW_RUN, AGENT_RUN, TOOL_CALL, etc.) */
|
|
7568
|
-
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';
|
|
7767
|
+
spanType: 'agent_run' | 'scorer_run' | 'scorer_step' | 'generic' | 'model_generation' | 'model_step' | 'model_inference' | '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' | 'mapping';
|
|
7569
7768
|
/** Whether this is an event (point-in-time) vs a span (duration) */
|
|
7570
7769
|
isEvent: boolean;
|
|
7571
7770
|
/** When the span started */
|
|
@@ -7661,7 +7860,7 @@ export type GetObservabilityTracesTraceIdBranchesSpanId_Response = {
|
|
|
7661
7860
|
/** Human-readable span name */
|
|
7662
7861
|
name: string;
|
|
7663
7862
|
/** Span type (e.g., WORKFLOW_RUN, AGENT_RUN, TOOL_CALL, etc.) */
|
|
7664
|
-
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';
|
|
7863
|
+
spanType: 'agent_run' | 'scorer_run' | 'scorer_step' | 'generic' | 'model_generation' | 'model_step' | 'model_inference' | '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' | 'mapping';
|
|
7665
7864
|
/** Whether this is an event (point-in-time) vs a span (duration) */
|
|
7666
7865
|
isEvent: boolean;
|
|
7667
7866
|
/** When the span started */
|
|
@@ -7749,7 +7948,7 @@ export type GetObservabilityTracesTraceId_Response = {
|
|
|
7749
7948
|
/** Human-readable span name */
|
|
7750
7949
|
name: string;
|
|
7751
7950
|
/** Span type (e.g., WORKFLOW_RUN, AGENT_RUN, TOOL_CALL, etc.) */
|
|
7752
|
-
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';
|
|
7951
|
+
spanType: 'agent_run' | 'scorer_run' | 'scorer_step' | 'generic' | 'model_generation' | 'model_step' | 'model_inference' | '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' | 'mapping';
|
|
7753
7952
|
/** Whether this is an event (point-in-time) vs a span (duration) */
|
|
7754
7953
|
isEvent: boolean;
|
|
7755
7954
|
/** When the span started */
|
|
@@ -7837,7 +8036,7 @@ export type GetObservabilityTracesTraceIdLight_Response = {
|
|
|
7837
8036
|
/** Human-readable span name */
|
|
7838
8037
|
name: string;
|
|
7839
8038
|
/** Span type (e.g., WORKFLOW_RUN, AGENT_RUN, TOOL_CALL, etc.) */
|
|
7840
|
-
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';
|
|
8039
|
+
spanType: 'agent_run' | 'scorer_run' | 'scorer_step' | 'generic' | 'model_generation' | 'model_step' | 'model_inference' | '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' | 'mapping';
|
|
7841
8040
|
/** Whether this is an event (point-in-time) vs a span (duration) */
|
|
7842
8041
|
isEvent: boolean;
|
|
7843
8042
|
/** When the span started */
|
|
@@ -7888,7 +8087,7 @@ export type GetObservabilityTracesTraceIdSpansSpanId_Response = {
|
|
|
7888
8087
|
/** Human-readable span name */
|
|
7889
8088
|
name: string;
|
|
7890
8089
|
/** Span type (e.g., WORKFLOW_RUN, AGENT_RUN, TOOL_CALL, etc.) */
|
|
7891
|
-
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';
|
|
8090
|
+
spanType: 'agent_run' | 'scorer_run' | 'scorer_step' | 'generic' | 'model_generation' | 'model_step' | 'model_inference' | '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' | 'mapping';
|
|
7892
8091
|
/** Whether this is an event (point-in-time) vs a span (duration) */
|
|
7893
8092
|
isEvent: boolean;
|
|
7894
8093
|
/** When the span started */
|
|
@@ -8077,7 +8276,7 @@ export type GetObservabilityTracesTraceIdSpanIdScores_Response = {
|
|
|
8077
8276
|
entity: {
|
|
8078
8277
|
[key: string]: unknown;
|
|
8079
8278
|
};
|
|
8080
|
-
entityType?: ('AGENT' | 'WORKFLOW' | 'TRAJECTORY' | 'STEP' | '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;
|
|
8279
|
+
entityType?: ('AGENT' | 'WORKFLOW' | 'TRAJECTORY' | 'STEP' | 'agent_run' | 'scorer_run' | 'scorer_step' | 'generic' | 'model_generation' | 'model_step' | 'model_inference' | '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' | 'mapping') | undefined;
|
|
8081
8280
|
structuredOutput?: boolean | undefined;
|
|
8082
8281
|
traceId?: string | undefined;
|
|
8083
8282
|
spanId?: string | undefined;
|
|
@@ -9374,8 +9573,8 @@ export type PostObservabilityMetricsAggregate_Body = {
|
|
|
9374
9573
|
name: string[];
|
|
9375
9574
|
/** Aggregation function */
|
|
9376
9575
|
aggregation: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'count_distinct' | 'last';
|
|
9377
|
-
/** Column to apply count_distinct over (required when aggregation is 'count_distinct'). Restricted to
|
|
9378
|
-
distinctColumn?: ('entityType' | 'entityName' | 'parentEntityType' | 'parentEntityName' | 'rootEntityType' | 'rootEntityName' | 'name' | 'provider' | 'model' | 'environment' | 'executionSource' | 'serviceName') | undefined;
|
|
9576
|
+
/** Column to apply count_distinct over (required when aggregation is 'count_distinct'). Restricted to allowlisted metric dimensions. */
|
|
9577
|
+
distinctColumn?: ('entityType' | 'entityName' | 'parentEntityType' | 'parentEntityName' | 'rootEntityType' | 'rootEntityName' | 'name' | 'provider' | 'model' | 'environment' | 'executionSource' | 'serviceName' | 'threadId' | 'resourceId') | undefined;
|
|
9379
9578
|
filters?: {
|
|
9380
9579
|
/** Filter by timestamp range */
|
|
9381
9580
|
timestamp?: {
|
|
@@ -9470,8 +9669,8 @@ export type PostObservabilityMetricsBreakdown_Body = {
|
|
|
9470
9669
|
groupBy: string[];
|
|
9471
9670
|
/** Aggregation function */
|
|
9472
9671
|
aggregation: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'count_distinct' | 'last';
|
|
9473
|
-
/** Column to apply count_distinct over (required when aggregation is 'count_distinct'). Restricted to
|
|
9474
|
-
distinctColumn?: ('entityType' | 'entityName' | 'parentEntityType' | 'parentEntityName' | 'rootEntityType' | 'rootEntityName' | 'name' | 'provider' | 'model' | 'environment' | 'executionSource' | 'serviceName') | undefined;
|
|
9672
|
+
/** Column to apply count_distinct over (required when aggregation is 'count_distinct'). Restricted to allowlisted metric dimensions. */
|
|
9673
|
+
distinctColumn?: ('entityType' | 'entityName' | 'parentEntityType' | 'parentEntityName' | 'rootEntityType' | 'rootEntityName' | 'name' | 'provider' | 'model' | 'environment' | 'executionSource' | 'serviceName' | 'threadId' | 'resourceId') | undefined;
|
|
9475
9674
|
filters?: {
|
|
9476
9675
|
/** Filter by timestamp range */
|
|
9477
9676
|
timestamp?: {
|
|
@@ -9567,8 +9766,8 @@ export type PostObservabilityMetricsTimeseries_Body = {
|
|
|
9567
9766
|
interval: '1m' | '5m' | '15m' | '1h' | '1d';
|
|
9568
9767
|
/** Aggregation function */
|
|
9569
9768
|
aggregation: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'count_distinct' | 'last';
|
|
9570
|
-
/** Column to apply count_distinct over (required when aggregation is 'count_distinct'). Restricted to
|
|
9571
|
-
distinctColumn?: ('entityType' | 'entityName' | 'parentEntityType' | 'parentEntityName' | 'rootEntityType' | 'rootEntityName' | 'name' | 'provider' | 'model' | 'environment' | 'executionSource' | 'serviceName') | undefined;
|
|
9769
|
+
/** Column to apply count_distinct over (required when aggregation is 'count_distinct'). Restricted to allowlisted metric dimensions. */
|
|
9770
|
+
distinctColumn?: ('entityType' | 'entityName' | 'parentEntityType' | 'parentEntityName' | 'rootEntityType' | 'rootEntityName' | 'name' | 'provider' | 'model' | 'environment' | 'executionSource' | 'serviceName' | 'threadId' | 'resourceId') | undefined;
|
|
9572
9771
|
filters?: {
|
|
9573
9772
|
/** Filter by timestamp range */
|
|
9574
9773
|
timestamp?: {
|
|
@@ -10337,6 +10536,13 @@ export type GetWellKnownAgentIdAgentCardJson_Response = {
|
|
|
10337
10536
|
defaultInputModes: string[];
|
|
10338
10537
|
defaultOutputModes: string[];
|
|
10339
10538
|
supportsAuthenticatedExtendedCard?: boolean | undefined;
|
|
10539
|
+
signatures?: {
|
|
10540
|
+
protected: string;
|
|
10541
|
+
signature: string;
|
|
10542
|
+
header?: {
|
|
10543
|
+
[key: string]: unknown;
|
|
10544
|
+
} | undefined;
|
|
10545
|
+
}[] | undefined;
|
|
10340
10546
|
skills: {
|
|
10341
10547
|
id: string;
|
|
10342
10548
|
name: string;
|
|
@@ -40996,14 +41202,16 @@ export interface GetBackgroundTasksStream_RouteContract {
|
|
|
40996
41202
|
}
|
|
40997
41203
|
export type GetBackgroundTasks_QueryParams = {
|
|
40998
41204
|
agentId?: string | undefined;
|
|
40999
|
-
status?: ('pending' | 'running' | 'completed' | 'failed' | 'cancelled' | 'timed_out') | undefined;
|
|
41205
|
+
status?: ('pending' | 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled' | 'timed_out') | undefined;
|
|
41000
41206
|
runId?: string | undefined;
|
|
41001
41207
|
threadId?: string | undefined;
|
|
41002
41208
|
resourceId?: string | undefined;
|
|
41209
|
+
toolName?: string | undefined;
|
|
41210
|
+
toolCallId?: string | undefined;
|
|
41003
41211
|
fromDate?: Date | undefined;
|
|
41004
41212
|
toDate?: Date | undefined;
|
|
41005
|
-
dateFilterBy?: ('createdAt' | 'startedAt' | 'completedAt') | undefined;
|
|
41006
|
-
orderBy?: ('createdAt' | 'startedAt' | 'completedAt') | undefined;
|
|
41213
|
+
dateFilterBy?: ('createdAt' | 'startedAt' | 'suspendedAt' | 'completedAt') | undefined;
|
|
41214
|
+
orderBy?: ('createdAt' | 'startedAt' | 'suspendedAt' | 'completedAt') | undefined;
|
|
41007
41215
|
orderDirection?: ('asc' | 'desc') | undefined;
|
|
41008
41216
|
page?: number | undefined;
|
|
41009
41217
|
perPage?: number | undefined;
|
|
@@ -41011,7 +41219,7 @@ export type GetBackgroundTasks_QueryParams = {
|
|
|
41011
41219
|
export type GetBackgroundTasks_Response = {
|
|
41012
41220
|
tasks: {
|
|
41013
41221
|
id: string;
|
|
41014
|
-
status: 'pending' | 'running' | 'completed' | 'failed' | 'cancelled' | 'timed_out';
|
|
41222
|
+
status: 'pending' | 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled' | 'timed_out';
|
|
41015
41223
|
toolName: string;
|
|
41016
41224
|
toolCallId: string;
|
|
41017
41225
|
args: {
|
|
@@ -41032,6 +41240,7 @@ export type GetBackgroundTasks_Response = {
|
|
|
41032
41240
|
retryCount: number;
|
|
41033
41241
|
maxRetries: number;
|
|
41034
41242
|
timeoutMs: number;
|
|
41243
|
+
suspendPayload?: unknown | undefined;
|
|
41035
41244
|
}[];
|
|
41036
41245
|
total: number;
|
|
41037
41246
|
};
|
|
@@ -41059,7 +41268,7 @@ export type GetBackgroundTasksBackgroundTaskId_PathParams = {
|
|
|
41059
41268
|
};
|
|
41060
41269
|
export type GetBackgroundTasksBackgroundTaskId_Response = {
|
|
41061
41270
|
id: string;
|
|
41062
|
-
status: 'pending' | 'running' | 'completed' | 'failed' | 'cancelled' | 'timed_out';
|
|
41271
|
+
status: 'pending' | 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled' | 'timed_out';
|
|
41063
41272
|
toolName: string;
|
|
41064
41273
|
toolCallId: string;
|
|
41065
41274
|
args: {
|
|
@@ -41080,6 +41289,7 @@ export type GetBackgroundTasksBackgroundTaskId_Response = {
|
|
|
41080
41289
|
retryCount: number;
|
|
41081
41290
|
maxRetries: number;
|
|
41082
41291
|
timeoutMs: number;
|
|
41292
|
+
suspendPayload?: unknown | undefined;
|
|
41083
41293
|
};
|
|
41084
41294
|
export type GetBackgroundTasksBackgroundTaskId_Request = Simplify<(GetBackgroundTasksBackgroundTaskId_PathParams extends never ? {} : {
|
|
41085
41295
|
params: GetBackgroundTasksBackgroundTaskId_PathParams;
|
|
@@ -41539,6 +41749,7 @@ export interface RouteTypes {
|
|
|
41539
41749
|
'POST /agents/:agentId/decline-tool-call-generate': PostAgentsAgentIdDeclineToolCallGenerate_RouteContract;
|
|
41540
41750
|
'POST /agents/:agentId/approve-network-tool-call': PostAgentsAgentIdApproveNetworkToolCall_RouteContract;
|
|
41541
41751
|
'POST /agents/:agentId/decline-network-tool-call': PostAgentsAgentIdDeclineNetworkToolCall_RouteContract;
|
|
41752
|
+
'POST /agents/:agentId/resume-stream-until-idle': PostAgentsAgentIdResumeStreamUntilIdle_RouteContract;
|
|
41542
41753
|
'POST /agents/:agentId/network': PostAgentsAgentIdNetwork_RouteContract;
|
|
41543
41754
|
'POST /agents/:agentId/model': PostAgentsAgentIdModel_RouteContract;
|
|
41544
41755
|
'POST /agents/:agentId/model/reset': PostAgentsAgentIdModelReset_RouteContract;
|
|
@@ -41584,6 +41795,8 @@ export interface RouteTypes {
|
|
|
41584
41795
|
'POST /workflows/:workflowId/restart-async': PostWorkflowsWorkflowIdRestartAsync_RouteContract;
|
|
41585
41796
|
'POST /workflows/:workflowId/restart-all-active-workflow-runs': PostWorkflowsWorkflowIdRestartAllActiveWorkflowRuns_RouteContract;
|
|
41586
41797
|
'POST /workflows/:workflowId/restart-all-active-workflow-runs-async': PostWorkflowsWorkflowIdRestartAllActiveWorkflowRunsAsync_RouteContract;
|
|
41798
|
+
'POST /workflows/:workflowId/runs/:runId/steps/execute': PostWorkflowsWorkflowIdRunsRunIdStepsExecute_RouteContract;
|
|
41799
|
+
'POST /workflows/events': PostWorkflowsEvents_RouteContract;
|
|
41587
41800
|
'GET /tools': GetTools_RouteContract;
|
|
41588
41801
|
'GET /tools/:toolId': GetToolsToolId_RouteContract;
|
|
41589
41802
|
'POST /tools/:toolId/execute': PostToolsToolIdExecute_RouteContract;
|
|
@@ -41954,6 +42167,9 @@ export interface Client {
|
|
|
41954
42167
|
'/agents/:agentId/resume-stream': {
|
|
41955
42168
|
POST: PostAgentsAgentIdResumeStream_RouteContract;
|
|
41956
42169
|
};
|
|
42170
|
+
'/agents/:agentId/resume-stream-until-idle': {
|
|
42171
|
+
POST: PostAgentsAgentIdResumeStreamUntilIdle_RouteContract;
|
|
42172
|
+
};
|
|
41957
42173
|
'/agents/:agentId/skills/:skillName': {
|
|
41958
42174
|
GET: GetAgentsAgentIdSkillsSkillName_RouteContract;
|
|
41959
42175
|
};
|
|
@@ -42598,6 +42814,9 @@ export interface Client {
|
|
|
42598
42814
|
'/workflows/:workflowId/runs/:runId/cancel': {
|
|
42599
42815
|
POST: PostWorkflowsWorkflowIdRunsRunIdCancel_RouteContract;
|
|
42600
42816
|
};
|
|
42817
|
+
'/workflows/:workflowId/runs/:runId/steps/execute': {
|
|
42818
|
+
POST: PostWorkflowsWorkflowIdRunsRunIdStepsExecute_RouteContract;
|
|
42819
|
+
};
|
|
42601
42820
|
'/workflows/:workflowId/start': {
|
|
42602
42821
|
POST: PostWorkflowsWorkflowIdStart_RouteContract;
|
|
42603
42822
|
};
|
|
@@ -42619,6 +42838,9 @@ export interface Client {
|
|
|
42619
42838
|
'/workflows/:workflowId/time-travel-stream': {
|
|
42620
42839
|
POST: PostWorkflowsWorkflowIdTimeTravelStream_RouteContract;
|
|
42621
42840
|
};
|
|
42841
|
+
'/workflows/events': {
|
|
42842
|
+
POST: PostWorkflowsEvents_RouteContract;
|
|
42843
|
+
};
|
|
42622
42844
|
'/workspaces': {
|
|
42623
42845
|
GET: GetWorkspaces_RouteContract;
|
|
42624
42846
|
};
|