@runtypelabs/sdk 11.10.0 → 11.12.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/index.cjs +73 -8
- package/dist/index.d.cts +1412 -142
- package/dist/index.d.ts +1412 -142
- package/dist/index.mjs +73 -8
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -201,7 +201,7 @@ interface paths {
|
|
|
201
201
|
path?: never;
|
|
202
202
|
cookie?: never;
|
|
203
203
|
};
|
|
204
|
-
requestBody
|
|
204
|
+
requestBody: {
|
|
205
205
|
content: {
|
|
206
206
|
"application/json": {
|
|
207
207
|
/**
|
|
@@ -397,7 +397,7 @@ interface paths {
|
|
|
397
397
|
};
|
|
398
398
|
cookie?: never;
|
|
399
399
|
};
|
|
400
|
-
requestBody
|
|
400
|
+
requestBody: {
|
|
401
401
|
content: {
|
|
402
402
|
"application/json": {
|
|
403
403
|
deployment?: {
|
|
@@ -868,7 +868,7 @@ interface paths {
|
|
|
868
868
|
path?: never;
|
|
869
869
|
cookie?: never;
|
|
870
870
|
};
|
|
871
|
-
requestBody
|
|
871
|
+
requestBody: {
|
|
872
872
|
content: {
|
|
873
873
|
"application/json": {
|
|
874
874
|
/**
|
|
@@ -1019,6 +1019,16 @@ interface paths {
|
|
|
1019
1019
|
profileTemplate?: string;
|
|
1020
1020
|
};
|
|
1021
1021
|
model?: string;
|
|
1022
|
+
output?: {
|
|
1023
|
+
validators?: {
|
|
1024
|
+
maxBounces?: number;
|
|
1025
|
+
schema?: {
|
|
1026
|
+
[key: string]: unknown;
|
|
1027
|
+
};
|
|
1028
|
+
/** @enum {string} */
|
|
1029
|
+
type: "candidate-question" | "requested-json" | "no-action" | "json-schema";
|
|
1030
|
+
}[];
|
|
1031
|
+
};
|
|
1022
1032
|
/** @enum {string} */
|
|
1023
1033
|
piiRedaction?: "default" | "off" | "redact";
|
|
1024
1034
|
presencePenalty?: number;
|
|
@@ -1112,6 +1122,7 @@ interface paths {
|
|
|
1112
1122
|
alwaysAllow?: boolean;
|
|
1113
1123
|
alwaysDeny?: boolean;
|
|
1114
1124
|
};
|
|
1125
|
+
notifyUser?: boolean;
|
|
1115
1126
|
requestReason?: boolean;
|
|
1116
1127
|
require: string[] | boolean;
|
|
1117
1128
|
timeout?: number;
|
|
@@ -1480,7 +1491,7 @@ interface paths {
|
|
|
1480
1491
|
path?: never;
|
|
1481
1492
|
cookie?: never;
|
|
1482
1493
|
};
|
|
1483
|
-
requestBody
|
|
1494
|
+
requestBody: {
|
|
1484
1495
|
content: {
|
|
1485
1496
|
"application/json": {
|
|
1486
1497
|
/** @description The complete set of capabilities (flow, sub-agent and saved-tool attachments) on this agent, in display order. Each entry names its source by name, so the declaration is portable across accounts. Capabilities on the agent but absent here are removed; omit the field to leave them untouched. When present, the capabilities are part of the content hash and of the version this converge snapshots. They are written to the agent itself, so they cannot accompany a non-live deploy. */
|
|
@@ -1574,6 +1585,16 @@ interface paths {
|
|
|
1574
1585
|
profileTemplate?: string;
|
|
1575
1586
|
};
|
|
1576
1587
|
model?: string;
|
|
1588
|
+
output?: {
|
|
1589
|
+
validators?: {
|
|
1590
|
+
maxBounces?: number;
|
|
1591
|
+
schema?: {
|
|
1592
|
+
[key: string]: unknown;
|
|
1593
|
+
};
|
|
1594
|
+
/** @enum {string} */
|
|
1595
|
+
type: "candidate-question" | "requested-json" | "no-action" | "json-schema";
|
|
1596
|
+
}[];
|
|
1597
|
+
};
|
|
1577
1598
|
/** @enum {string} */
|
|
1578
1599
|
piiRedaction?: "default" | "off" | "redact";
|
|
1579
1600
|
presencePenalty?: number;
|
|
@@ -1667,6 +1688,7 @@ interface paths {
|
|
|
1667
1688
|
alwaysAllow?: boolean;
|
|
1668
1689
|
alwaysDeny?: boolean;
|
|
1669
1690
|
};
|
|
1691
|
+
notifyUser?: boolean;
|
|
1670
1692
|
requestReason?: boolean;
|
|
1671
1693
|
require: string[] | boolean;
|
|
1672
1694
|
timeout?: number;
|
|
@@ -1915,7 +1937,7 @@ interface paths {
|
|
|
1915
1937
|
path?: never;
|
|
1916
1938
|
cookie?: never;
|
|
1917
1939
|
};
|
|
1918
|
-
requestBody
|
|
1940
|
+
requestBody: {
|
|
1919
1941
|
content: {
|
|
1920
1942
|
"application/json": {
|
|
1921
1943
|
/** @description Sent as `Authorization: Bearer` on the card request. Never stored or echoed. */
|
|
@@ -2419,6 +2441,16 @@ interface paths {
|
|
|
2419
2441
|
profileTemplate?: string;
|
|
2420
2442
|
};
|
|
2421
2443
|
model?: string;
|
|
2444
|
+
output?: {
|
|
2445
|
+
validators?: {
|
|
2446
|
+
maxBounces?: number;
|
|
2447
|
+
schema?: {
|
|
2448
|
+
[key: string]: unknown;
|
|
2449
|
+
};
|
|
2450
|
+
/** @enum {string} */
|
|
2451
|
+
type: "candidate-question" | "requested-json" | "no-action" | "json-schema";
|
|
2452
|
+
}[];
|
|
2453
|
+
};
|
|
2422
2454
|
/** @enum {string} */
|
|
2423
2455
|
piiRedaction?: "default" | "off" | "redact";
|
|
2424
2456
|
presencePenalty?: number;
|
|
@@ -2512,6 +2544,7 @@ interface paths {
|
|
|
2512
2544
|
alwaysAllow?: boolean;
|
|
2513
2545
|
alwaysDeny?: boolean;
|
|
2514
2546
|
};
|
|
2547
|
+
notifyUser?: boolean;
|
|
2515
2548
|
requestReason?: boolean;
|
|
2516
2549
|
require: string[] | boolean;
|
|
2517
2550
|
timeout?: number;
|
|
@@ -3160,7 +3193,7 @@ interface paths {
|
|
|
3160
3193
|
};
|
|
3161
3194
|
cookie?: never;
|
|
3162
3195
|
};
|
|
3163
|
-
requestBody
|
|
3196
|
+
requestBody: {
|
|
3164
3197
|
content: {
|
|
3165
3198
|
"application/json": {
|
|
3166
3199
|
promotion?: components["schemas"]["AgentDeploymentPromotion"];
|
|
@@ -3521,7 +3554,7 @@ interface paths {
|
|
|
3521
3554
|
};
|
|
3522
3555
|
cookie?: never;
|
|
3523
3556
|
};
|
|
3524
|
-
requestBody
|
|
3557
|
+
requestBody: {
|
|
3525
3558
|
content: {
|
|
3526
3559
|
"application/json": {
|
|
3527
3560
|
/** @description The complete binding set, NAME to value. An empty object clears every binding. */
|
|
@@ -3934,7 +3967,7 @@ interface paths {
|
|
|
3934
3967
|
};
|
|
3935
3968
|
cookie?: never;
|
|
3936
3969
|
};
|
|
3937
|
-
requestBody
|
|
3970
|
+
requestBody: {
|
|
3938
3971
|
content: {
|
|
3939
3972
|
"application/json": components["schemas"]["AgentApproveRequest"];
|
|
3940
3973
|
};
|
|
@@ -4052,7 +4085,7 @@ interface paths {
|
|
|
4052
4085
|
};
|
|
4053
4086
|
cookie?: never;
|
|
4054
4087
|
};
|
|
4055
|
-
requestBody
|
|
4088
|
+
requestBody: {
|
|
4056
4089
|
content: {
|
|
4057
4090
|
"application/json": {
|
|
4058
4091
|
enabled?: boolean;
|
|
@@ -4920,7 +4953,7 @@ interface paths {
|
|
|
4920
4953
|
[name: string]: unknown;
|
|
4921
4954
|
};
|
|
4922
4955
|
content: {
|
|
4923
|
-
"application/json": components["schemas"]["
|
|
4956
|
+
"application/json": components["schemas"]["ExecutionFailedError"];
|
|
4924
4957
|
};
|
|
4925
4958
|
};
|
|
4926
4959
|
/** @description An external agent call failed upstream: rejected credentials, rate limited, an HTTP error, a network failure, or an invalid response */
|
|
@@ -5726,7 +5759,7 @@ interface paths {
|
|
|
5726
5759
|
* Export agent for runtime
|
|
5727
5760
|
* @description Export a fully-resolved, self-contained agent definition that the @runtypelabs/runtime package can consume directly at boot. Capabilities, flows, and nested sub-agents are inlined recursively (up to 3 levels). Skills bound to the agent are snapshotted into `skills`, each with the skill version it resolved to, and the runtime loads them with no host wiring. MCP credential values and external-agent auth credentials are replaced with secret-name references. A configured `decision_judge` tool carries its published question set (questions, model, version, input mapping and current calibration) at `config.questionSet`, resolved once at export so a self-hosted runtime never looks the question set up; a question set that is missing, unpublished, owned by another account, or pinned to an unpublished version is reported in `warnings` with reason `question_set_unresolved` instead of failing the export. An export that would carry a literal credential typed into a tool config or MCP server is refused with `422` and code `raw_credential_in_export`. Requires the `RUNTIME:EXPORT` scope and an Enterprise plan (the `byoc` entitlement); an unentitled account receives `403` with code `BYOC_PLAN_REQUIRED` in every environment.
|
|
5728
5761
|
*
|
|
5729
|
-
* The response carries `hostDependencies`: the runtime seams the exported artifact needs a host to wire before it can run everything it describes. A durable-class step (`wait-until` or `crawl`) anywhere in the agent's executable closure declares a `durable-pause-host` dependency; a detached-capable dynamic subagent pool or a detached inline subagent tool declares a `background-run-coordinator` dependency. The array is empty when nothing needs wiring.
|
|
5762
|
+
* The response carries `hostDependencies`: the runtime seams the exported artifact needs a host to wire before it can run everything it describes. A durable-class step (`wait-until` or `crawl`) anywhere in the agent's executable closure declares a `durable-pause-host` dependency; a detached-capable dynamic subagent pool or a detached inline subagent tool declares a `background-run-coordinator` dependency; an account-owned tool reference (`mcp:` or `builtin:` integration id) the export did not inline declares a `hosted-tool-resolver` dependency; and an enabled record step (`upsert-record`, `update-record`, `get-record`, `list-records`, `retrieve-record`) declares a `record-store` dependency. The array is empty when nothing needs wiring.
|
|
5730
5763
|
*
|
|
5731
5764
|
* The response also carries `warnings`: each referenced sub-agent or flow the export could not embed, with the reason (`not_found`, `claude_managed_unsupported`, `max_depth_exceeded` for nesting deeper than 3 levels, `invalid_flow_config`, `unresolved_tool_ref`, or `unsupported_mcp_auth`), and each configured decision tool whose question set could not be resolved (`question_set_unresolved`). The export still returns `200` and leaves the referencing capability or tool out of the artifact; a decision tool stays in, without `config.questionSet`. The array is empty when every child was embedded.
|
|
5732
5765
|
*
|
|
@@ -6090,7 +6123,7 @@ interface paths {
|
|
|
6090
6123
|
};
|
|
6091
6124
|
cookie?: never;
|
|
6092
6125
|
};
|
|
6093
|
-
requestBody
|
|
6126
|
+
requestBody: {
|
|
6094
6127
|
content: {
|
|
6095
6128
|
"application/json": components["schemas"]["AgentResumeRequest"];
|
|
6096
6129
|
};
|
|
@@ -6836,6 +6869,136 @@ interface paths {
|
|
|
6836
6869
|
patch?: never;
|
|
6837
6870
|
trace?: never;
|
|
6838
6871
|
};
|
|
6872
|
+
"/v1/analytics/end-user-conversations": {
|
|
6873
|
+
parameters: {
|
|
6874
|
+
query?: never;
|
|
6875
|
+
header?: never;
|
|
6876
|
+
path?: never;
|
|
6877
|
+
cookie?: never;
|
|
6878
|
+
};
|
|
6879
|
+
/**
|
|
6880
|
+
* Get product conversations by end user
|
|
6881
|
+
* @description Rank the verified end users of a product by widget conversations (or messages) started in the window. Conversations from visitors without a verified identity are reported as a separate unattributed total. Known limitation: a conversation linked to its end user only through the widget visitor (not stamped with the end user itself, as in product- or tenant-scoped surfaces) loses that link when the visitor is deleted after its idle TTL (default 90 days, configurable via `visitorIdleDays`). Such conversations then move from that end user to the unattributed total, so counts for older windows can drop over time.
|
|
6882
|
+
*/
|
|
6883
|
+
get: {
|
|
6884
|
+
parameters: {
|
|
6885
|
+
query: {
|
|
6886
|
+
productId: string;
|
|
6887
|
+
productTenantId?: string;
|
|
6888
|
+
period?: "billing_period" | "7d" | "30d" | "90d";
|
|
6889
|
+
days?: number;
|
|
6890
|
+
sort?: "conversations" | "messages";
|
|
6891
|
+
limit?: number;
|
|
6892
|
+
};
|
|
6893
|
+
header?: never;
|
|
6894
|
+
path?: never;
|
|
6895
|
+
cookie?: never;
|
|
6896
|
+
};
|
|
6897
|
+
requestBody?: never;
|
|
6898
|
+
responses: {
|
|
6899
|
+
/** @description End-user conversation breakdown */
|
|
6900
|
+
200: {
|
|
6901
|
+
headers: {
|
|
6902
|
+
[name: string]: unknown;
|
|
6903
|
+
};
|
|
6904
|
+
content: {
|
|
6905
|
+
"application/json": {
|
|
6906
|
+
attributed: {
|
|
6907
|
+
conversations: number;
|
|
6908
|
+
endUsers: number;
|
|
6909
|
+
messages: number;
|
|
6910
|
+
};
|
|
6911
|
+
endUsers: {
|
|
6912
|
+
conversations: number;
|
|
6913
|
+
endUser: {
|
|
6914
|
+
email: string | null;
|
|
6915
|
+
externalId: string;
|
|
6916
|
+
id: string;
|
|
6917
|
+
name: string | null;
|
|
6918
|
+
productTenantId: string | null;
|
|
6919
|
+
};
|
|
6920
|
+
firstConversationAt: string;
|
|
6921
|
+
lastConversationAt: string;
|
|
6922
|
+
messages: number;
|
|
6923
|
+
}[];
|
|
6924
|
+
generatedAt: string;
|
|
6925
|
+
period: {
|
|
6926
|
+
days: number;
|
|
6927
|
+
endDate: string;
|
|
6928
|
+
/** @enum {string} */
|
|
6929
|
+
preset?: "billing_period" | "7d" | "30d" | "90d";
|
|
6930
|
+
startDate: string;
|
|
6931
|
+
};
|
|
6932
|
+
scope: {
|
|
6933
|
+
productId: string;
|
|
6934
|
+
productTenantId: string | null;
|
|
6935
|
+
};
|
|
6936
|
+
totals: {
|
|
6937
|
+
conversations: number;
|
|
6938
|
+
messages: number;
|
|
6939
|
+
};
|
|
6940
|
+
unattributed: {
|
|
6941
|
+
conversations: number;
|
|
6942
|
+
messages: number;
|
|
6943
|
+
};
|
|
6944
|
+
};
|
|
6945
|
+
};
|
|
6946
|
+
};
|
|
6947
|
+
/** @description Validation error */
|
|
6948
|
+
400: {
|
|
6949
|
+
headers: {
|
|
6950
|
+
[name: string]: unknown;
|
|
6951
|
+
};
|
|
6952
|
+
content: {
|
|
6953
|
+
"application/json": components["schemas"]["Error"];
|
|
6954
|
+
};
|
|
6955
|
+
};
|
|
6956
|
+
/** @description Unauthorized */
|
|
6957
|
+
401: {
|
|
6958
|
+
headers: {
|
|
6959
|
+
[name: string]: unknown;
|
|
6960
|
+
};
|
|
6961
|
+
content: {
|
|
6962
|
+
"application/json": components["schemas"]["Error"];
|
|
6963
|
+
};
|
|
6964
|
+
};
|
|
6965
|
+
/** @description Insufficient permissions */
|
|
6966
|
+
403: {
|
|
6967
|
+
headers: {
|
|
6968
|
+
[name: string]: unknown;
|
|
6969
|
+
};
|
|
6970
|
+
content: {
|
|
6971
|
+
"application/json": components["schemas"]["Error"];
|
|
6972
|
+
};
|
|
6973
|
+
};
|
|
6974
|
+
/** @description Feature or product not found */
|
|
6975
|
+
404: {
|
|
6976
|
+
headers: {
|
|
6977
|
+
[name: string]: unknown;
|
|
6978
|
+
};
|
|
6979
|
+
content: {
|
|
6980
|
+
"application/json": components["schemas"]["Error"];
|
|
6981
|
+
};
|
|
6982
|
+
};
|
|
6983
|
+
/** @description Internal server error */
|
|
6984
|
+
500: {
|
|
6985
|
+
headers: {
|
|
6986
|
+
[name: string]: unknown;
|
|
6987
|
+
};
|
|
6988
|
+
content: {
|
|
6989
|
+
"application/json": components["schemas"]["Error"];
|
|
6990
|
+
};
|
|
6991
|
+
};
|
|
6992
|
+
};
|
|
6993
|
+
};
|
|
6994
|
+
put?: never;
|
|
6995
|
+
post?: never;
|
|
6996
|
+
delete?: never;
|
|
6997
|
+
options?: never;
|
|
6998
|
+
head?: never;
|
|
6999
|
+
patch?: never;
|
|
7000
|
+
trace?: never;
|
|
7001
|
+
};
|
|
6839
7002
|
"/v1/analytics/end-user-usage": {
|
|
6840
7003
|
parameters: {
|
|
6841
7004
|
query?: never;
|
|
@@ -8358,6 +8521,10 @@ interface paths {
|
|
|
8358
8521
|
recordName: string | null;
|
|
8359
8522
|
resolvedPrompt?: string | null;
|
|
8360
8523
|
retryCount?: number | null;
|
|
8524
|
+
sources?: {
|
|
8525
|
+
title?: string;
|
|
8526
|
+
url: string;
|
|
8527
|
+
}[] | null;
|
|
8361
8528
|
startedAt: string | null;
|
|
8362
8529
|
status: string;
|
|
8363
8530
|
stepConfig?: unknown;
|
|
@@ -8709,7 +8876,7 @@ interface paths {
|
|
|
8709
8876
|
path?: never;
|
|
8710
8877
|
cookie?: never;
|
|
8711
8878
|
};
|
|
8712
|
-
requestBody
|
|
8879
|
+
requestBody: {
|
|
8713
8880
|
content: {
|
|
8714
8881
|
"application/json": {
|
|
8715
8882
|
/** @default [] */
|
|
@@ -11401,7 +11568,7 @@ interface paths {
|
|
|
11401
11568
|
path?: never;
|
|
11402
11569
|
cookie?: never;
|
|
11403
11570
|
};
|
|
11404
|
-
requestBody
|
|
11571
|
+
requestBody: {
|
|
11405
11572
|
content: {
|
|
11406
11573
|
"application/json": {
|
|
11407
11574
|
description?: string | null;
|
|
@@ -11523,7 +11690,7 @@ interface paths {
|
|
|
11523
11690
|
path?: never;
|
|
11524
11691
|
cookie?: never;
|
|
11525
11692
|
};
|
|
11526
|
-
requestBody
|
|
11693
|
+
requestBody: {
|
|
11527
11694
|
content: {
|
|
11528
11695
|
"application/json": {
|
|
11529
11696
|
contentHash?: string;
|
|
@@ -13614,7 +13781,7 @@ interface paths {
|
|
|
13614
13781
|
};
|
|
13615
13782
|
cookie?: never;
|
|
13616
13783
|
};
|
|
13617
|
-
requestBody
|
|
13784
|
+
requestBody: {
|
|
13618
13785
|
content: {
|
|
13619
13786
|
"application/json": {
|
|
13620
13787
|
/** @enum {string} */
|
|
@@ -13925,7 +14092,7 @@ interface paths {
|
|
|
13925
14092
|
path?: never;
|
|
13926
14093
|
cookie?: never;
|
|
13927
14094
|
};
|
|
13928
|
-
requestBody
|
|
14095
|
+
requestBody: {
|
|
13929
14096
|
content: {
|
|
13930
14097
|
"application/json": {
|
|
13931
14098
|
allowDestructive?: boolean;
|
|
@@ -14612,7 +14779,7 @@ interface paths {
|
|
|
14612
14779
|
};
|
|
14613
14780
|
cookie?: never;
|
|
14614
14781
|
};
|
|
14615
|
-
requestBody
|
|
14782
|
+
requestBody: {
|
|
14616
14783
|
content: {
|
|
14617
14784
|
"application/json": {
|
|
14618
14785
|
/** @description Deliver the message only while the task still waits on the question journaled at this seq (the `seq` of its `question` event). Otherwise the call answers 409 `DELEGATE_TASK_QUESTION_ANSWERED` and delivers nothing, so an answer is safe to retry. */
|
|
@@ -14915,7 +15082,7 @@ interface paths {
|
|
|
14915
15082
|
path?: never;
|
|
14916
15083
|
cookie?: never;
|
|
14917
15084
|
};
|
|
14918
|
-
requestBody
|
|
15085
|
+
requestBody: {
|
|
14919
15086
|
content: {
|
|
14920
15087
|
"application/json": {
|
|
14921
15088
|
appVersion: string;
|
|
@@ -15157,7 +15324,7 @@ interface paths {
|
|
|
15157
15324
|
};
|
|
15158
15325
|
cookie?: never;
|
|
15159
15326
|
};
|
|
15160
|
-
requestBody
|
|
15327
|
+
requestBody: {
|
|
15161
15328
|
content: {
|
|
15162
15329
|
"application/json": {
|
|
15163
15330
|
nonce: string;
|
|
@@ -15343,7 +15510,7 @@ interface paths {
|
|
|
15343
15510
|
path?: never;
|
|
15344
15511
|
cookie?: never;
|
|
15345
15512
|
};
|
|
15346
|
-
requestBody
|
|
15513
|
+
requestBody: {
|
|
15347
15514
|
content: {
|
|
15348
15515
|
"application/json": {
|
|
15349
15516
|
agent?: {
|
|
@@ -16392,7 +16559,7 @@ interface paths {
|
|
|
16392
16559
|
[name: string]: unknown;
|
|
16393
16560
|
};
|
|
16394
16561
|
content: {
|
|
16395
|
-
"application/json": components["schemas"]["InternalError"];
|
|
16562
|
+
"application/json": components["schemas"]["InternalError"] | components["schemas"]["ExecutionFailedError"];
|
|
16396
16563
|
};
|
|
16397
16564
|
};
|
|
16398
16565
|
/** @description Asynchronous execution unavailable */
|
|
@@ -16432,7 +16599,7 @@ interface paths {
|
|
|
16432
16599
|
path?: never;
|
|
16433
16600
|
cookie?: never;
|
|
16434
16601
|
};
|
|
16435
|
-
requestBody
|
|
16602
|
+
requestBody: {
|
|
16436
16603
|
content: {
|
|
16437
16604
|
"application/json": {
|
|
16438
16605
|
approvalId: string;
|
|
@@ -16557,7 +16724,7 @@ interface paths {
|
|
|
16557
16724
|
path?: never;
|
|
16558
16725
|
cookie?: never;
|
|
16559
16726
|
};
|
|
16560
|
-
requestBody
|
|
16727
|
+
requestBody: {
|
|
16561
16728
|
content: {
|
|
16562
16729
|
"application/json": {
|
|
16563
16730
|
continuation: {
|
|
@@ -16742,7 +16909,7 @@ interface paths {
|
|
|
16742
16909
|
path?: never;
|
|
16743
16910
|
cookie?: never;
|
|
16744
16911
|
};
|
|
16745
|
-
requestBody
|
|
16912
|
+
requestBody: {
|
|
16746
16913
|
content: {
|
|
16747
16914
|
"application/json": {
|
|
16748
16915
|
/** @description The execution ID to resume */
|
|
@@ -16924,7 +17091,7 @@ interface paths {
|
|
|
16924
17091
|
path?: never;
|
|
16925
17092
|
cookie?: never;
|
|
16926
17093
|
};
|
|
16927
|
-
requestBody
|
|
17094
|
+
requestBody: {
|
|
16928
17095
|
content: {
|
|
16929
17096
|
"application/json": {
|
|
16930
17097
|
/** @description Natural-language documentation question. */
|
|
@@ -17138,7 +17305,7 @@ interface paths {
|
|
|
17138
17305
|
path?: never;
|
|
17139
17306
|
cookie?: never;
|
|
17140
17307
|
};
|
|
17141
|
-
requestBody
|
|
17308
|
+
requestBody: {
|
|
17142
17309
|
content: {
|
|
17143
17310
|
"application/json": components["schemas"]["EndUserAuthConsumeRequest"];
|
|
17144
17311
|
};
|
|
@@ -17256,7 +17423,7 @@ interface paths {
|
|
|
17256
17423
|
path?: never;
|
|
17257
17424
|
cookie?: never;
|
|
17258
17425
|
};
|
|
17259
|
-
requestBody
|
|
17426
|
+
requestBody: {
|
|
17260
17427
|
content: {
|
|
17261
17428
|
"application/json": components["schemas"]["EndUserAuthRefreshRequest"];
|
|
17262
17429
|
};
|
|
@@ -17326,7 +17493,7 @@ interface paths {
|
|
|
17326
17493
|
path?: never;
|
|
17327
17494
|
cookie?: never;
|
|
17328
17495
|
};
|
|
17329
|
-
requestBody
|
|
17496
|
+
requestBody: {
|
|
17330
17497
|
content: {
|
|
17331
17498
|
"application/json": components["schemas"]["EndUserAuthRequestLinkRequest"];
|
|
17332
17499
|
};
|
|
@@ -17399,7 +17566,7 @@ interface paths {
|
|
|
17399
17566
|
};
|
|
17400
17567
|
cookie?: never;
|
|
17401
17568
|
};
|
|
17402
|
-
requestBody
|
|
17569
|
+
requestBody: {
|
|
17403
17570
|
content: {
|
|
17404
17571
|
"application/json": {
|
|
17405
17572
|
/** @description The end user's customer-native Identity-Exchange proof (a JWT). Verified server-side against the builder’s configured identity integrations; the verified subject becomes the end-user identity. Never a body-asserted id. */
|
|
@@ -17502,7 +17669,7 @@ interface paths {
|
|
|
17502
17669
|
path?: never;
|
|
17503
17670
|
cookie?: never;
|
|
17504
17671
|
};
|
|
17505
|
-
requestBody
|
|
17672
|
+
requestBody: {
|
|
17506
17673
|
content: {
|
|
17507
17674
|
"application/json": {
|
|
17508
17675
|
caseSensitive?: boolean;
|
|
@@ -17710,7 +17877,7 @@ interface paths {
|
|
|
17710
17877
|
path?: never;
|
|
17711
17878
|
cookie?: never;
|
|
17712
17879
|
};
|
|
17713
|
-
requestBody
|
|
17880
|
+
requestBody: {
|
|
17714
17881
|
content: {
|
|
17715
17882
|
"application/json": {
|
|
17716
17883
|
evalGroupId: string;
|
|
@@ -17831,7 +17998,7 @@ interface paths {
|
|
|
17831
17998
|
path?: never;
|
|
17832
17999
|
cookie?: never;
|
|
17833
18000
|
};
|
|
17834
|
-
requestBody
|
|
18001
|
+
requestBody: {
|
|
17835
18002
|
content: {
|
|
17836
18003
|
"application/json": {
|
|
17837
18004
|
evalGroupId: string;
|
|
@@ -18041,7 +18208,7 @@ interface paths {
|
|
|
18041
18208
|
path?: never;
|
|
18042
18209
|
cookie?: never;
|
|
18043
18210
|
};
|
|
18044
|
-
requestBody
|
|
18211
|
+
requestBody: {
|
|
18045
18212
|
content: {
|
|
18046
18213
|
"application/json": {
|
|
18047
18214
|
contentHash?: string;
|
|
@@ -18311,7 +18478,7 @@ interface paths {
|
|
|
18311
18478
|
path?: never;
|
|
18312
18479
|
cookie?: never;
|
|
18313
18480
|
};
|
|
18314
|
-
requestBody
|
|
18481
|
+
requestBody: {
|
|
18315
18482
|
content: {
|
|
18316
18483
|
"application/json": components["schemas"]["DecomposeCriteriaRequest"];
|
|
18317
18484
|
};
|
|
@@ -18644,7 +18811,7 @@ interface paths {
|
|
|
18644
18811
|
path?: never;
|
|
18645
18812
|
cookie?: never;
|
|
18646
18813
|
};
|
|
18647
|
-
requestBody
|
|
18814
|
+
requestBody: {
|
|
18648
18815
|
content: {
|
|
18649
18816
|
"application/json": {
|
|
18650
18817
|
agent?: components["schemas"]["EvalAgentSelector"] & unknown;
|
|
@@ -18920,7 +19087,7 @@ interface paths {
|
|
|
18920
19087
|
};
|
|
18921
19088
|
cookie?: never;
|
|
18922
19089
|
};
|
|
18923
|
-
requestBody
|
|
19090
|
+
requestBody: {
|
|
18924
19091
|
content: {
|
|
18925
19092
|
"application/json": {
|
|
18926
19093
|
/**
|
|
@@ -19316,7 +19483,7 @@ interface paths {
|
|
|
19316
19483
|
path?: never;
|
|
19317
19484
|
cookie?: never;
|
|
19318
19485
|
};
|
|
19319
|
-
requestBody
|
|
19486
|
+
requestBody: {
|
|
19320
19487
|
content: {
|
|
19321
19488
|
"application/json": {
|
|
19322
19489
|
agentId?: string;
|
|
@@ -19653,7 +19820,7 @@ interface paths {
|
|
|
19653
19820
|
};
|
|
19654
19821
|
cookie?: never;
|
|
19655
19822
|
};
|
|
19656
|
-
requestBody
|
|
19823
|
+
requestBody: {
|
|
19657
19824
|
content: {
|
|
19658
19825
|
"application/json": {
|
|
19659
19826
|
/** @description Pin a run of this suite as the comparison baseline; null clears the pin. */
|
|
@@ -19776,7 +19943,7 @@ interface paths {
|
|
|
19776
19943
|
};
|
|
19777
19944
|
cookie?: never;
|
|
19778
19945
|
};
|
|
19779
|
-
requestBody
|
|
19946
|
+
requestBody: {
|
|
19780
19947
|
content: {
|
|
19781
19948
|
"application/json": {
|
|
19782
19949
|
cases: {
|
|
@@ -19944,7 +20111,7 @@ interface paths {
|
|
|
19944
20111
|
};
|
|
19945
20112
|
cookie?: never;
|
|
19946
20113
|
};
|
|
19947
|
-
requestBody
|
|
20114
|
+
requestBody: {
|
|
19948
20115
|
content: {
|
|
19949
20116
|
"application/json": {
|
|
19950
20117
|
/** @description Runtime execution id (from a log/trace row) of the agent run to fork from. */
|
|
@@ -20117,7 +20284,7 @@ interface paths {
|
|
|
20117
20284
|
};
|
|
20118
20285
|
cookie?: never;
|
|
20119
20286
|
};
|
|
20120
|
-
requestBody
|
|
20287
|
+
requestBody: {
|
|
20121
20288
|
content: {
|
|
20122
20289
|
"application/json": {
|
|
20123
20290
|
enabled?: boolean;
|
|
@@ -22360,7 +22527,7 @@ interface paths {
|
|
|
22360
22527
|
};
|
|
22361
22528
|
cookie?: never;
|
|
22362
22529
|
};
|
|
22363
|
-
requestBody
|
|
22530
|
+
requestBody: {
|
|
22364
22531
|
content: {
|
|
22365
22532
|
"application/json": {
|
|
22366
22533
|
/**
|
|
@@ -22798,7 +22965,7 @@ interface paths {
|
|
|
22798
22965
|
path?: never;
|
|
22799
22966
|
cookie?: never;
|
|
22800
22967
|
};
|
|
22801
|
-
requestBody
|
|
22968
|
+
requestBody: {
|
|
22802
22969
|
content: {
|
|
22803
22970
|
"application/json": {
|
|
22804
22971
|
description?: string | null;
|
|
@@ -22813,6 +22980,20 @@ interface paths {
|
|
|
22813
22980
|
type: "prompt" | "crawl" | "fetch-url" | "retrieve-record" | "get-record" | "list-records" | "api-call" | "transform-data" | "template" | "conditional" | "loop" | "set-variable" | "upsert-record" | "send-email" | "send-event" | "send-stream" | "update-record" | "search" | "generate-embedding" | "vector-search" | "tool-call" | "wait-until" | "paginate-api" | "store-vector" | "execute-agent" | "store-asset" | "generate-pdf" | "save-memory" | "recall-memory" | "memory-summary" | "extract";
|
|
22814
22981
|
when?: string;
|
|
22815
22982
|
}[];
|
|
22983
|
+
/** @description Inputs the flow expects its caller to supply. Declared names do not raise UNDECLARED_VARIABLE_REFERENCE. */
|
|
22984
|
+
inputs?: {
|
|
22985
|
+
/** @description Short explanation of the value. */
|
|
22986
|
+
description?: string;
|
|
22987
|
+
/** @description Variable name, referenced in steps as {{name}}. */
|
|
22988
|
+
name: string;
|
|
22989
|
+
/** @description Whether callers must supply it. Stored only; not enforced at run time yet. */
|
|
22990
|
+
required?: boolean;
|
|
22991
|
+
/**
|
|
22992
|
+
* @description Expected value type.
|
|
22993
|
+
* @enum {string}
|
|
22994
|
+
*/
|
|
22995
|
+
type?: "string" | "number" | "boolean" | "object" | "array";
|
|
22996
|
+
}[];
|
|
22816
22997
|
name: string;
|
|
22817
22998
|
steps?: {
|
|
22818
22999
|
config?: unknown;
|
|
@@ -22851,6 +23032,20 @@ interface paths {
|
|
|
22851
23032
|
type: string;
|
|
22852
23033
|
}[];
|
|
22853
23034
|
id: string;
|
|
23035
|
+
/** @description Inputs the flow expects its caller to supply. Absent when none are declared. */
|
|
23036
|
+
inputs?: {
|
|
23037
|
+
/** @description Short explanation of the value. */
|
|
23038
|
+
description?: string;
|
|
23039
|
+
/** @description Variable name, referenced in steps as {{name}}. */
|
|
23040
|
+
name: string;
|
|
23041
|
+
/** @description Whether callers must supply it. Stored only; not enforced at run time yet. */
|
|
23042
|
+
required?: boolean;
|
|
23043
|
+
/**
|
|
23044
|
+
* @description Expected value type.
|
|
23045
|
+
* @enum {string}
|
|
23046
|
+
*/
|
|
23047
|
+
type?: "string" | "number" | "boolean" | "object" | "array";
|
|
23048
|
+
}[];
|
|
22854
23049
|
lastModifiedSource: string | null;
|
|
22855
23050
|
lastRunAt?: string | null;
|
|
22856
23051
|
name: string;
|
|
@@ -22929,7 +23124,7 @@ interface paths {
|
|
|
22929
23124
|
path?: never;
|
|
22930
23125
|
cookie?: never;
|
|
22931
23126
|
};
|
|
22932
|
-
requestBody
|
|
23127
|
+
requestBody: {
|
|
22933
23128
|
content: {
|
|
22934
23129
|
"application/json": {
|
|
22935
23130
|
contentHash?: string;
|
|
@@ -23150,6 +23345,20 @@ interface paths {
|
|
|
23150
23345
|
type: string;
|
|
23151
23346
|
}[];
|
|
23152
23347
|
id: string;
|
|
23348
|
+
/** @description Inputs the flow expects its caller to supply. Absent when none are declared. */
|
|
23349
|
+
inputs?: {
|
|
23350
|
+
/** @description Short explanation of the value. */
|
|
23351
|
+
description?: string;
|
|
23352
|
+
/** @description Variable name, referenced in steps as {{name}}. */
|
|
23353
|
+
name: string;
|
|
23354
|
+
/** @description Whether callers must supply it. Stored only; not enforced at run time yet. */
|
|
23355
|
+
required?: boolean;
|
|
23356
|
+
/**
|
|
23357
|
+
* @description Expected value type.
|
|
23358
|
+
* @enum {string}
|
|
23359
|
+
*/
|
|
23360
|
+
type?: "string" | "number" | "boolean" | "object" | "array";
|
|
23361
|
+
}[];
|
|
23153
23362
|
lastModifiedSource: string | null;
|
|
23154
23363
|
lastRunAt?: string | null;
|
|
23155
23364
|
name: string;
|
|
@@ -23230,6 +23439,20 @@ interface paths {
|
|
|
23230
23439
|
type: "prompt" | "crawl" | "fetch-url" | "retrieve-record" | "get-record" | "list-records" | "api-call" | "transform-data" | "template" | "conditional" | "loop" | "set-variable" | "upsert-record" | "send-email" | "send-event" | "send-stream" | "update-record" | "search" | "generate-embedding" | "vector-search" | "tool-call" | "wait-until" | "paginate-api" | "store-vector" | "execute-agent" | "store-asset" | "generate-pdf" | "save-memory" | "recall-memory" | "memory-summary" | "extract";
|
|
23231
23440
|
when?: string;
|
|
23232
23441
|
}[];
|
|
23442
|
+
/** @description Inputs the flow expects its caller to supply. Declared names do not raise UNDECLARED_VARIABLE_REFERENCE. */
|
|
23443
|
+
inputs?: {
|
|
23444
|
+
/** @description Short explanation of the value. */
|
|
23445
|
+
description?: string;
|
|
23446
|
+
/** @description Variable name, referenced in steps as {{name}}. */
|
|
23447
|
+
name: string;
|
|
23448
|
+
/** @description Whether callers must supply it. Stored only; not enforced at run time yet. */
|
|
23449
|
+
required?: boolean;
|
|
23450
|
+
/**
|
|
23451
|
+
* @description Expected value type.
|
|
23452
|
+
* @enum {string}
|
|
23453
|
+
*/
|
|
23454
|
+
type?: "string" | "number" | "boolean" | "object" | "array";
|
|
23455
|
+
}[] | null;
|
|
23233
23456
|
name?: string;
|
|
23234
23457
|
};
|
|
23235
23458
|
};
|
|
@@ -23257,6 +23480,20 @@ interface paths {
|
|
|
23257
23480
|
type: string;
|
|
23258
23481
|
}[];
|
|
23259
23482
|
id: string;
|
|
23483
|
+
/** @description Inputs the flow expects its caller to supply. Absent when none are declared. */
|
|
23484
|
+
inputs?: {
|
|
23485
|
+
/** @description Short explanation of the value. */
|
|
23486
|
+
description?: string;
|
|
23487
|
+
/** @description Variable name, referenced in steps as {{name}}. */
|
|
23488
|
+
name: string;
|
|
23489
|
+
/** @description Whether callers must supply it. Stored only; not enforced at run time yet. */
|
|
23490
|
+
required?: boolean;
|
|
23491
|
+
/**
|
|
23492
|
+
* @description Expected value type.
|
|
23493
|
+
* @enum {string}
|
|
23494
|
+
*/
|
|
23495
|
+
type?: "string" | "number" | "boolean" | "object" | "array";
|
|
23496
|
+
}[];
|
|
23260
23497
|
lastModifiedSource: string | null;
|
|
23261
23498
|
lastRunAt?: string | null;
|
|
23262
23499
|
name: string;
|
|
@@ -23404,7 +23641,7 @@ interface paths {
|
|
|
23404
23641
|
* Export flow for runtime (limited preview)
|
|
23405
23642
|
* @description Export a fully-resolved, self-contained flow definition that the @runtypelabs/runtime package can consume directly at boot. All step configs are inlined; no live DB queries are needed at execution time. A configured `decision_judge` tool carries its published question set (questions, model, version, input mapping and current calibration) at `config.questionSet`, resolved once at export so a self-hosted runtime never looks the question set up; a question set that is missing, unpublished, owned by another account, or pinned to an unpublished version is reported in `warnings` with reason `question_set_unresolved` instead of failing the export. An export that would carry a literal credential typed into a tool config or MCP server is refused with `422` and code `raw_credential_in_export`. Requires the `RUNTIME:EXPORT` scope and an Enterprise plan (the `byoc` entitlement); an unentitled account receives `403` with code `BYOC_PLAN_REQUIRED` in every environment.
|
|
23406
23643
|
*
|
|
23407
|
-
* The response carries `hostDependencies`: the runtime seams the exported artifact needs a host to wire before it can run everything it describes. A durable-class step (`wait-until` or `crawl`) anywhere in the flow's executable closure declares a `durable-pause-host` dependency; a detached-capable dynamic subagent pool or a detached inline subagent tool declares a `background-run-coordinator` dependency. The array is empty when nothing needs wiring, and the export is never refused for a declared dependency.
|
|
23644
|
+
* The response carries `hostDependencies`: the runtime seams the exported artifact needs a host to wire before it can run everything it describes. A durable-class step (`wait-until` or `crawl`) anywhere in the flow's executable closure declares a `durable-pause-host` dependency; a detached-capable dynamic subagent pool or a detached inline subagent tool declares a `background-run-coordinator` dependency; an account-owned tool reference (`mcp:` or `builtin:` integration id) the export did not inline declares a `hosted-tool-resolver` dependency; and an enabled record step (`upsert-record`, `update-record`, `get-record`, `list-records`, `retrieve-record`) declares a `record-store` dependency. The array is empty when nothing needs wiring, and the export is never refused for a declared dependency.
|
|
23408
23645
|
*
|
|
23409
23646
|
* The response also carries `warnings`: each Claude Managed agent the flow references (embedded only as a stub the runtime cannot run), and each child flow or sub-agent that an embedded agent could not include, with the reason, and each configured decision tool whose question set could not be resolved (`question_set_unresolved`). The array is empty when every child was embedded.
|
|
23410
23647
|
*/
|
|
@@ -23633,7 +23870,7 @@ interface paths {
|
|
|
23633
23870
|
};
|
|
23634
23871
|
cookie?: never;
|
|
23635
23872
|
};
|
|
23636
|
-
requestBody
|
|
23873
|
+
requestBody: {
|
|
23637
23874
|
content: {
|
|
23638
23875
|
"application/json": {
|
|
23639
23876
|
recordType: string;
|
|
@@ -23851,6 +24088,10 @@ interface paths {
|
|
|
23851
24088
|
recordName: string | null;
|
|
23852
24089
|
resolvedPrompt?: string | null;
|
|
23853
24090
|
retryCount?: number | null;
|
|
24091
|
+
sources?: {
|
|
24092
|
+
title?: string;
|
|
24093
|
+
url: string;
|
|
24094
|
+
}[] | null;
|
|
23854
24095
|
startedAt: string | null;
|
|
23855
24096
|
status: string;
|
|
23856
24097
|
stepConfig?: unknown;
|
|
@@ -24002,7 +24243,7 @@ interface paths {
|
|
|
24002
24243
|
path?: never;
|
|
24003
24244
|
cookie?: never;
|
|
24004
24245
|
};
|
|
24005
|
-
requestBody
|
|
24246
|
+
requestBody: {
|
|
24006
24247
|
content: {
|
|
24007
24248
|
"application/json": {
|
|
24008
24249
|
/** @description Provider management/client credentials. Sealed at rest, bound to this integration, and never returned by any endpoint. Set a field to rotate it; null clears it. */
|
|
@@ -24599,7 +24840,7 @@ interface paths {
|
|
|
24599
24840
|
};
|
|
24600
24841
|
cookie?: never;
|
|
24601
24842
|
};
|
|
24602
|
-
requestBody
|
|
24843
|
+
requestBody: {
|
|
24603
24844
|
content: {
|
|
24604
24845
|
"application/json": {
|
|
24605
24846
|
/** @description API key for the provider */
|
|
@@ -24834,7 +25075,7 @@ interface paths {
|
|
|
24834
25075
|
path?: never;
|
|
24835
25076
|
cookie?: never;
|
|
24836
25077
|
};
|
|
24837
|
-
requestBody
|
|
25078
|
+
requestBody: {
|
|
24838
25079
|
content: {
|
|
24839
25080
|
"application/json": {
|
|
24840
25081
|
/** @enum {string} */
|
|
@@ -25161,7 +25402,7 @@ interface paths {
|
|
|
25161
25402
|
path?: never;
|
|
25162
25403
|
cookie?: never;
|
|
25163
25404
|
};
|
|
25164
|
-
requestBody
|
|
25405
|
+
requestBody: {
|
|
25165
25406
|
content: {
|
|
25166
25407
|
"application/json": {
|
|
25167
25408
|
apiKey: string;
|
|
@@ -25335,7 +25576,7 @@ interface paths {
|
|
|
25335
25576
|
path?: never;
|
|
25336
25577
|
cookie?: never;
|
|
25337
25578
|
};
|
|
25338
|
-
requestBody
|
|
25579
|
+
requestBody: {
|
|
25339
25580
|
content: {
|
|
25340
25581
|
"application/json": {
|
|
25341
25582
|
appId?: string;
|
|
@@ -25439,7 +25680,7 @@ interface paths {
|
|
|
25439
25680
|
path?: never;
|
|
25440
25681
|
cookie?: never;
|
|
25441
25682
|
};
|
|
25442
|
-
requestBody
|
|
25683
|
+
requestBody: {
|
|
25443
25684
|
content: {
|
|
25444
25685
|
"application/json": {
|
|
25445
25686
|
appName?: string;
|
|
@@ -25546,7 +25787,7 @@ interface paths {
|
|
|
25546
25787
|
path?: never;
|
|
25547
25788
|
cookie?: never;
|
|
25548
25789
|
};
|
|
25549
|
-
requestBody
|
|
25790
|
+
requestBody: {
|
|
25550
25791
|
content: {
|
|
25551
25792
|
"application/json": {
|
|
25552
25793
|
appId?: string;
|
|
@@ -25654,7 +25895,7 @@ interface paths {
|
|
|
25654
25895
|
path?: never;
|
|
25655
25896
|
cookie?: never;
|
|
25656
25897
|
};
|
|
25657
|
-
requestBody
|
|
25898
|
+
requestBody: {
|
|
25658
25899
|
content: {
|
|
25659
25900
|
"application/json": {
|
|
25660
25901
|
botId: string;
|
|
@@ -25812,7 +26053,7 @@ interface paths {
|
|
|
25812
26053
|
path?: never;
|
|
25813
26054
|
cookie?: never;
|
|
25814
26055
|
};
|
|
25815
|
-
requestBody
|
|
26056
|
+
requestBody: {
|
|
25816
26057
|
content: {
|
|
25817
26058
|
"application/json": {
|
|
25818
26059
|
botCommands?: {
|
|
@@ -26468,7 +26709,7 @@ interface paths {
|
|
|
26468
26709
|
path?: never;
|
|
26469
26710
|
cookie?: never;
|
|
26470
26711
|
};
|
|
26471
|
-
requestBody
|
|
26712
|
+
requestBody: {
|
|
26472
26713
|
content: {
|
|
26473
26714
|
"application/json": {
|
|
26474
26715
|
accountId: string;
|
|
@@ -26565,7 +26806,7 @@ interface paths {
|
|
|
26565
26806
|
path?: never;
|
|
26566
26807
|
cookie?: never;
|
|
26567
26808
|
};
|
|
26568
|
-
requestBody
|
|
26809
|
+
requestBody: {
|
|
26569
26810
|
content: {
|
|
26570
26811
|
"application/json": {
|
|
26571
26812
|
accountId?: string;
|
|
@@ -26771,7 +27012,7 @@ interface paths {
|
|
|
26771
27012
|
path?: never;
|
|
26772
27013
|
cookie?: never;
|
|
26773
27014
|
};
|
|
26774
|
-
requestBody
|
|
27015
|
+
requestBody: {
|
|
26775
27016
|
content: {
|
|
26776
27017
|
"application/json": {
|
|
26777
27018
|
accountId: string;
|
|
@@ -27288,7 +27529,7 @@ interface paths {
|
|
|
27288
27529
|
path?: never;
|
|
27289
27530
|
cookie?: never;
|
|
27290
27531
|
};
|
|
27291
|
-
requestBody
|
|
27532
|
+
requestBody: {
|
|
27292
27533
|
content: {
|
|
27293
27534
|
"application/json": {
|
|
27294
27535
|
apiKey: string;
|
|
@@ -27396,7 +27637,7 @@ interface paths {
|
|
|
27396
27637
|
path?: never;
|
|
27397
27638
|
cookie?: never;
|
|
27398
27639
|
};
|
|
27399
|
-
requestBody
|
|
27640
|
+
requestBody: {
|
|
27400
27641
|
content: {
|
|
27401
27642
|
"application/json": {
|
|
27402
27643
|
apiKey: string;
|
|
@@ -29199,6 +29440,106 @@ interface paths {
|
|
|
29199
29440
|
patch?: never;
|
|
29200
29441
|
trace?: never;
|
|
29201
29442
|
};
|
|
29443
|
+
"/v1/logs/trace/compare": {
|
|
29444
|
+
parameters: {
|
|
29445
|
+
query?: never;
|
|
29446
|
+
header?: never;
|
|
29447
|
+
path?: never;
|
|
29448
|
+
cookie?: never;
|
|
29449
|
+
};
|
|
29450
|
+
get?: never;
|
|
29451
|
+
put?: never;
|
|
29452
|
+
/**
|
|
29453
|
+
* Compare traces
|
|
29454
|
+
* @description Structural diff of two executions (tool-sequence alignment, first divergence, per-side totals, shallow argument drift) or of two cohorts given as query filter sets (tool usage, stop reasons and signal rates over at most 50 sampled runs per side).
|
|
29455
|
+
*/
|
|
29456
|
+
post: {
|
|
29457
|
+
parameters: {
|
|
29458
|
+
query?: never;
|
|
29459
|
+
header?: never;
|
|
29460
|
+
path?: never;
|
|
29461
|
+
cookie?: never;
|
|
29462
|
+
};
|
|
29463
|
+
requestBody: {
|
|
29464
|
+
content: {
|
|
29465
|
+
"application/json": components["schemas"]["TraceCompareRequest"];
|
|
29466
|
+
};
|
|
29467
|
+
};
|
|
29468
|
+
responses: {
|
|
29469
|
+
/** @description Comparison */
|
|
29470
|
+
200: {
|
|
29471
|
+
headers: {
|
|
29472
|
+
[name: string]: unknown;
|
|
29473
|
+
};
|
|
29474
|
+
content: {
|
|
29475
|
+
"application/json": {
|
|
29476
|
+
data: components["schemas"]["TraceCompare"];
|
|
29477
|
+
success: boolean;
|
|
29478
|
+
};
|
|
29479
|
+
};
|
|
29480
|
+
};
|
|
29481
|
+
/** @description Unreadable filter, window over the cap, or too many runs to probe; `code` says which */
|
|
29482
|
+
400: {
|
|
29483
|
+
headers: {
|
|
29484
|
+
[name: string]: unknown;
|
|
29485
|
+
};
|
|
29486
|
+
content: {
|
|
29487
|
+
"application/json": components["schemas"]["Error"];
|
|
29488
|
+
};
|
|
29489
|
+
};
|
|
29490
|
+
/** @description Unauthorized */
|
|
29491
|
+
401: {
|
|
29492
|
+
headers: {
|
|
29493
|
+
[name: string]: unknown;
|
|
29494
|
+
};
|
|
29495
|
+
content: {
|
|
29496
|
+
"application/json": components["schemas"]["Error"];
|
|
29497
|
+
};
|
|
29498
|
+
};
|
|
29499
|
+
/** @description API key lacks a read scope (FLOWS:READ, AGENTS:READ or ANALYTICS:READ) */
|
|
29500
|
+
403: {
|
|
29501
|
+
headers: {
|
|
29502
|
+
[name: string]: unknown;
|
|
29503
|
+
};
|
|
29504
|
+
content: {
|
|
29505
|
+
"application/json": components["schemas"]["Error"];
|
|
29506
|
+
};
|
|
29507
|
+
};
|
|
29508
|
+
/** @description No trace for one of the executions */
|
|
29509
|
+
404: {
|
|
29510
|
+
headers: {
|
|
29511
|
+
[name: string]: unknown;
|
|
29512
|
+
};
|
|
29513
|
+
content: {
|
|
29514
|
+
"application/json": components["schemas"]["Error"];
|
|
29515
|
+
};
|
|
29516
|
+
};
|
|
29517
|
+
/** @description Internal server error */
|
|
29518
|
+
500: {
|
|
29519
|
+
headers: {
|
|
29520
|
+
[name: string]: unknown;
|
|
29521
|
+
};
|
|
29522
|
+
content: {
|
|
29523
|
+
"application/json": components["schemas"]["Error"];
|
|
29524
|
+
};
|
|
29525
|
+
};
|
|
29526
|
+
/** @description Log store temporarily unavailable; no entries or counts could be read */
|
|
29527
|
+
503: {
|
|
29528
|
+
headers: {
|
|
29529
|
+
[name: string]: unknown;
|
|
29530
|
+
};
|
|
29531
|
+
content: {
|
|
29532
|
+
"application/json": components["schemas"]["Error"];
|
|
29533
|
+
};
|
|
29534
|
+
};
|
|
29535
|
+
};
|
|
29536
|
+
};
|
|
29537
|
+
delete?: never;
|
|
29538
|
+
options?: never;
|
|
29539
|
+
head?: never;
|
|
29540
|
+
patch?: never;
|
|
29541
|
+
trace?: never;
|
|
29542
|
+
};
|
|
29202
29543
|
"/v1/logs/trace/conversation/{conversationId}": {
|
|
29203
29544
|
parameters: {
|
|
29204
29545
|
query?: never;
|
|
@@ -29605,6 +29946,210 @@ interface paths {
|
|
|
29605
29946
|
patch?: never;
|
|
29606
29947
|
trace?: never;
|
|
29607
29948
|
};
|
|
29949
|
+
"/v1/logs/trace/execution/{executionId}/slice": {
|
|
29950
|
+
parameters: {
|
|
29951
|
+
query?: never;
|
|
29952
|
+
header?: never;
|
|
29953
|
+
path?: never;
|
|
29954
|
+
cookie?: never;
|
|
29955
|
+
};
|
|
29956
|
+
/**
|
|
29957
|
+
* Read a trace slice
|
|
29958
|
+
* @description A bounded window of one trace: by span index range, span kind, tool name, or around the first failed span. Content stays previews-only unless includeContent is set, which loads it for the selected spans under a byte budget and lists every cut.
|
|
29959
|
+
*/
|
|
29960
|
+
get: {
|
|
29961
|
+
parameters: {
|
|
29962
|
+
query?: {
|
|
29963
|
+
/** @description First span index (trace start order) to include. */
|
|
29964
|
+
start?: string;
|
|
29965
|
+
/** @description Span index to stop before. */
|
|
29966
|
+
end?: string;
|
|
29967
|
+
kind?: "model" | "tool" | "step";
|
|
29968
|
+
toolName?: string;
|
|
29969
|
+
/** @description Return the first failed span plus this many spans either side (0-50). Not combinable with start/end. */
|
|
29970
|
+
aroundFirstFailure?: string;
|
|
29971
|
+
/** @description Spans to return, 1-100 (default 25). */
|
|
29972
|
+
limit?: string;
|
|
29973
|
+
/** @description Load full content for the selected spans only, under maxContentBytes. */
|
|
29974
|
+
includeContent?: "true" | "false";
|
|
29975
|
+
/** @description Content byte budget, 1-262144 (default 65536). */
|
|
29976
|
+
maxContentBytes?: string;
|
|
29977
|
+
};
|
|
29978
|
+
header?: never;
|
|
29979
|
+
path: {
|
|
29980
|
+
executionId: string;
|
|
29981
|
+
};
|
|
29982
|
+
cookie?: never;
|
|
29983
|
+
};
|
|
29984
|
+
requestBody?: never;
|
|
29985
|
+
responses: {
|
|
29986
|
+
/** @description Trace slice */
|
|
29987
|
+
200: {
|
|
29988
|
+
headers: {
|
|
29989
|
+
[name: string]: unknown;
|
|
29990
|
+
};
|
|
29991
|
+
content: {
|
|
29992
|
+
"application/json": {
|
|
29993
|
+
data: components["schemas"]["TraceSlice"];
|
|
29994
|
+
success: boolean;
|
|
29995
|
+
};
|
|
29996
|
+
};
|
|
29997
|
+
};
|
|
29998
|
+
/** @description Unreadable filter, window over the cap, or too many runs to probe; `code` says which */
|
|
29999
|
+
400: {
|
|
30000
|
+
headers: {
|
|
30001
|
+
[name: string]: unknown;
|
|
30002
|
+
};
|
|
30003
|
+
content: {
|
|
30004
|
+
"application/json": components["schemas"]["Error"];
|
|
30005
|
+
};
|
|
30006
|
+
};
|
|
30007
|
+
/** @description Unauthorized */
|
|
30008
|
+
401: {
|
|
30009
|
+
headers: {
|
|
30010
|
+
[name: string]: unknown;
|
|
30011
|
+
};
|
|
30012
|
+
content: {
|
|
30013
|
+
"application/json": components["schemas"]["Error"];
|
|
30014
|
+
};
|
|
30015
|
+
};
|
|
30016
|
+
/** @description API key lacks a read scope (FLOWS:READ, AGENTS:READ or ANALYTICS:READ) */
|
|
30017
|
+
403: {
|
|
30018
|
+
headers: {
|
|
30019
|
+
[name: string]: unknown;
|
|
30020
|
+
};
|
|
30021
|
+
content: {
|
|
30022
|
+
"application/json": components["schemas"]["Error"];
|
|
30023
|
+
};
|
|
30024
|
+
};
|
|
30025
|
+
/** @description No trace for this execution */
|
|
30026
|
+
404: {
|
|
30027
|
+
headers: {
|
|
30028
|
+
[name: string]: unknown;
|
|
30029
|
+
};
|
|
30030
|
+
content: {
|
|
30031
|
+
"application/json": components["schemas"]["Error"];
|
|
30032
|
+
};
|
|
30033
|
+
};
|
|
30034
|
+
/** @description Internal server error */
|
|
30035
|
+
500: {
|
|
30036
|
+
headers: {
|
|
30037
|
+
[name: string]: unknown;
|
|
30038
|
+
};
|
|
30039
|
+
content: {
|
|
30040
|
+
"application/json": components["schemas"]["Error"];
|
|
30041
|
+
};
|
|
30042
|
+
};
|
|
30043
|
+
/** @description Log store temporarily unavailable; no entries or counts could be read */
|
|
30044
|
+
503: {
|
|
30045
|
+
headers: {
|
|
30046
|
+
[name: string]: unknown;
|
|
30047
|
+
};
|
|
30048
|
+
content: {
|
|
30049
|
+
"application/json": components["schemas"]["Error"];
|
|
30050
|
+
};
|
|
30051
|
+
};
|
|
30052
|
+
};
|
|
30053
|
+
};
|
|
30054
|
+
put?: never;
|
|
30055
|
+
post?: never;
|
|
30056
|
+
delete?: never;
|
|
30057
|
+
options?: never;
|
|
30058
|
+
head?: never;
|
|
30059
|
+
patch?: never;
|
|
30060
|
+
trace?: never;
|
|
30061
|
+
};
|
|
30062
|
+
"/v1/logs/trace/query": {
|
|
30063
|
+
parameters: {
|
|
30064
|
+
query?: never;
|
|
30065
|
+
header?: never;
|
|
30066
|
+
path?: never;
|
|
30067
|
+
cookie?: never;
|
|
30068
|
+
};
|
|
30069
|
+
get?: never;
|
|
30070
|
+
put?: never;
|
|
30071
|
+
/**
|
|
30072
|
+
* Query traces
|
|
30073
|
+
* @description Filter runs and group them by one or two dimensions into aggregates (count, failure rate, tokens, cost, duration, tool calls, signal fire rate), each with sample execution ids to drill into. Reads trace headers on indexed columns; model and tool-call metrics probe spans and cap the window at 7 days.
|
|
30074
|
+
*/
|
|
30075
|
+
post: {
|
|
30076
|
+
parameters: {
|
|
30077
|
+
query?: never;
|
|
30078
|
+
header?: never;
|
|
30079
|
+
path?: never;
|
|
30080
|
+
cookie?: never;
|
|
30081
|
+
};
|
|
30082
|
+
requestBody: {
|
|
30083
|
+
content: {
|
|
30084
|
+
"application/json": components["schemas"]["TraceQueryRequest"];
|
|
30085
|
+
};
|
|
30086
|
+
};
|
|
30087
|
+
responses: {
|
|
30088
|
+
/** @description Aggregates */
|
|
30089
|
+
200: {
|
|
30090
|
+
headers: {
|
|
30091
|
+
[name: string]: unknown;
|
|
30092
|
+
};
|
|
30093
|
+
content: {
|
|
30094
|
+
"application/json": {
|
|
30095
|
+
data: components["schemas"]["TraceQueryResult"];
|
|
30096
|
+
success: boolean;
|
|
30097
|
+
};
|
|
30098
|
+
};
|
|
30099
|
+
};
|
|
30100
|
+
/** @description Unreadable filter, window over the cap, or too many runs to probe; `code` says which */
|
|
30101
|
+
400: {
|
|
30102
|
+
headers: {
|
|
30103
|
+
[name: string]: unknown;
|
|
30104
|
+
};
|
|
30105
|
+
content: {
|
|
30106
|
+
"application/json": components["schemas"]["Error"];
|
|
30107
|
+
};
|
|
30108
|
+
};
|
|
30109
|
+
/** @description Unauthorized */
|
|
30110
|
+
401: {
|
|
30111
|
+
headers: {
|
|
30112
|
+
[name: string]: unknown;
|
|
30113
|
+
};
|
|
30114
|
+
content: {
|
|
30115
|
+
"application/json": components["schemas"]["Error"];
|
|
30116
|
+
};
|
|
30117
|
+
};
|
|
30118
|
+
/** @description API key lacks a read scope (FLOWS:READ, AGENTS:READ or ANALYTICS:READ) */
|
|
30119
|
+
403: {
|
|
30120
|
+
headers: {
|
|
30121
|
+
[name: string]: unknown;
|
|
30122
|
+
};
|
|
30123
|
+
content: {
|
|
30124
|
+
"application/json": components["schemas"]["Error"];
|
|
30125
|
+
};
|
|
30126
|
+
};
|
|
30127
|
+
/** @description Internal server error */
|
|
30128
|
+
500: {
|
|
30129
|
+
headers: {
|
|
30130
|
+
[name: string]: unknown;
|
|
30131
|
+
};
|
|
30132
|
+
content: {
|
|
30133
|
+
"application/json": components["schemas"]["Error"];
|
|
30134
|
+
};
|
|
30135
|
+
};
|
|
30136
|
+
/** @description Log store temporarily unavailable; no entries or counts could be read */
|
|
30137
|
+
503: {
|
|
30138
|
+
headers: {
|
|
30139
|
+
[name: string]: unknown;
|
|
30140
|
+
};
|
|
30141
|
+
content: {
|
|
30142
|
+
"application/json": components["schemas"]["Error"];
|
|
30143
|
+
};
|
|
30144
|
+
};
|
|
30145
|
+
};
|
|
30146
|
+
};
|
|
30147
|
+
delete?: never;
|
|
30148
|
+
options?: never;
|
|
30149
|
+
head?: never;
|
|
30150
|
+
patch?: never;
|
|
30151
|
+
trace?: never;
|
|
30152
|
+
};
|
|
29608
30153
|
"/v1/messaging/conversations": {
|
|
29609
30154
|
parameters: {
|
|
29610
30155
|
query?: never;
|
|
@@ -29727,7 +30272,7 @@ interface paths {
|
|
|
29727
30272
|
path?: never;
|
|
29728
30273
|
cookie?: never;
|
|
29729
30274
|
};
|
|
29730
|
-
requestBody
|
|
30275
|
+
requestBody: {
|
|
29731
30276
|
content: {
|
|
29732
30277
|
"application/json": {
|
|
29733
30278
|
context?: {
|
|
@@ -30252,7 +30797,7 @@ interface paths {
|
|
|
30252
30797
|
};
|
|
30253
30798
|
cookie?: never;
|
|
30254
30799
|
};
|
|
30255
|
-
requestBody
|
|
30800
|
+
requestBody: {
|
|
30256
30801
|
content: {
|
|
30257
30802
|
"application/json": {
|
|
30258
30803
|
content: string;
|
|
@@ -30484,7 +31029,7 @@ interface paths {
|
|
|
30484
31029
|
};
|
|
30485
31030
|
cookie?: never;
|
|
30486
31031
|
};
|
|
30487
|
-
requestBody
|
|
31032
|
+
requestBody: {
|
|
30488
31033
|
content: {
|
|
30489
31034
|
"application/json": {
|
|
30490
31035
|
content: string;
|
|
@@ -30844,7 +31389,7 @@ interface paths {
|
|
|
30844
31389
|
};
|
|
30845
31390
|
cookie?: never;
|
|
30846
31391
|
};
|
|
30847
|
-
requestBody
|
|
31392
|
+
requestBody: {
|
|
30848
31393
|
content: {
|
|
30849
31394
|
"application/json": {
|
|
30850
31395
|
/** Format: email */
|
|
@@ -31163,7 +31708,7 @@ interface paths {
|
|
|
31163
31708
|
};
|
|
31164
31709
|
cookie?: never;
|
|
31165
31710
|
};
|
|
31166
|
-
requestBody
|
|
31711
|
+
requestBody: {
|
|
31167
31712
|
content: {
|
|
31168
31713
|
"application/json": {
|
|
31169
31714
|
/** Format: email */
|
|
@@ -31289,7 +31834,7 @@ interface paths {
|
|
|
31289
31834
|
};
|
|
31290
31835
|
cookie?: never;
|
|
31291
31836
|
};
|
|
31292
|
-
requestBody
|
|
31837
|
+
requestBody: {
|
|
31293
31838
|
content: {
|
|
31294
31839
|
"application/json": {
|
|
31295
31840
|
imapHost: string;
|
|
@@ -31404,7 +31949,7 @@ interface paths {
|
|
|
31404
31949
|
path?: never;
|
|
31405
31950
|
cookie?: never;
|
|
31406
31951
|
};
|
|
31407
|
-
requestBody
|
|
31952
|
+
requestBody: {
|
|
31408
31953
|
content: {
|
|
31409
31954
|
"application/json": {
|
|
31410
31955
|
botToken: string;
|
|
@@ -31480,7 +32025,7 @@ interface paths {
|
|
|
31480
32025
|
path?: never;
|
|
31481
32026
|
cookie?: never;
|
|
31482
32027
|
};
|
|
31483
|
-
requestBody
|
|
32028
|
+
requestBody: {
|
|
31484
32029
|
content: {
|
|
31485
32030
|
"application/json": {
|
|
31486
32031
|
botToken: string;
|
|
@@ -31674,7 +32219,7 @@ interface paths {
|
|
|
31674
32219
|
};
|
|
31675
32220
|
cookie?: never;
|
|
31676
32221
|
};
|
|
31677
|
-
requestBody
|
|
32222
|
+
requestBody: {
|
|
31678
32223
|
content: {
|
|
31679
32224
|
"application/json": {
|
|
31680
32225
|
credentials?: {
|
|
@@ -31916,7 +32461,7 @@ interface paths {
|
|
|
31916
32461
|
path?: never;
|
|
31917
32462
|
cookie?: never;
|
|
31918
32463
|
};
|
|
31919
|
-
requestBody
|
|
32464
|
+
requestBody: {
|
|
31920
32465
|
content: {
|
|
31921
32466
|
"application/json": {
|
|
31922
32467
|
modelId: string;
|
|
@@ -33128,7 +33673,7 @@ interface paths {
|
|
|
33128
33673
|
};
|
|
33129
33674
|
cookie?: never;
|
|
33130
33675
|
};
|
|
33131
|
-
requestBody
|
|
33676
|
+
requestBody: {
|
|
33132
33677
|
content: {
|
|
33133
33678
|
"application/json": {
|
|
33134
33679
|
isEnabled: boolean;
|
|
@@ -33577,7 +34122,7 @@ interface paths {
|
|
|
33577
34122
|
path?: never;
|
|
33578
34123
|
cookie?: never;
|
|
33579
34124
|
};
|
|
33580
|
-
requestBody
|
|
34125
|
+
requestBody: {
|
|
33581
34126
|
content: {
|
|
33582
34127
|
"application/json": {
|
|
33583
34128
|
canvas?: {
|
|
@@ -33905,7 +34450,7 @@ interface paths {
|
|
|
33905
34450
|
path?: never;
|
|
33906
34451
|
cookie?: never;
|
|
33907
34452
|
};
|
|
33908
|
-
requestBody
|
|
34453
|
+
requestBody: {
|
|
33909
34454
|
content: {
|
|
33910
34455
|
"application/json": {
|
|
33911
34456
|
contentHash?: string;
|
|
@@ -34056,7 +34601,7 @@ interface paths {
|
|
|
34056
34601
|
path?: never;
|
|
34057
34602
|
cookie?: never;
|
|
34058
34603
|
};
|
|
34059
|
-
requestBody
|
|
34604
|
+
requestBody: {
|
|
34060
34605
|
content: {
|
|
34061
34606
|
"application/json": {
|
|
34062
34607
|
/** @description Hash-only probe: the canonical FPO hash the caller holds. Answers `unchanged` when the live graph reconstructs (as pull-fpo does) to this hash, else `definitionRequired`. Only valid without `fpo`. */
|
|
@@ -35081,7 +35626,7 @@ interface paths {
|
|
|
35081
35626
|
};
|
|
35082
35627
|
cookie?: never;
|
|
35083
35628
|
};
|
|
35084
|
-
requestBody
|
|
35629
|
+
requestBody: {
|
|
35085
35630
|
content: {
|
|
35086
35631
|
"application/json": {
|
|
35087
35632
|
agentId?: string;
|
|
@@ -36361,7 +36906,7 @@ interface paths {
|
|
|
36361
36906
|
};
|
|
36362
36907
|
cookie?: never;
|
|
36363
36908
|
};
|
|
36364
|
-
requestBody
|
|
36909
|
+
requestBody: {
|
|
36365
36910
|
content: {
|
|
36366
36911
|
"application/json": {
|
|
36367
36912
|
behavior?: unknown;
|
|
@@ -36492,7 +37037,7 @@ interface paths {
|
|
|
36492
37037
|
};
|
|
36493
37038
|
cookie?: never;
|
|
36494
37039
|
};
|
|
36495
|
-
requestBody
|
|
37040
|
+
requestBody: {
|
|
36496
37041
|
content: {
|
|
36497
37042
|
"application/json": {
|
|
36498
37043
|
contentHash?: string;
|
|
@@ -37047,7 +37592,7 @@ interface paths {
|
|
|
37047
37592
|
};
|
|
37048
37593
|
cookie?: never;
|
|
37049
37594
|
};
|
|
37050
|
-
requestBody
|
|
37595
|
+
requestBody: {
|
|
37051
37596
|
content: {
|
|
37052
37597
|
"application/json": {
|
|
37053
37598
|
eventHint?: string;
|
|
@@ -37125,7 +37670,7 @@ interface paths {
|
|
|
37125
37670
|
};
|
|
37126
37671
|
cookie?: never;
|
|
37127
37672
|
};
|
|
37128
|
-
requestBody
|
|
37673
|
+
requestBody: {
|
|
37129
37674
|
content: {
|
|
37130
37675
|
"application/json": {
|
|
37131
37676
|
capabilityId: string;
|
|
@@ -37222,7 +37767,7 @@ interface paths {
|
|
|
37222
37767
|
};
|
|
37223
37768
|
cookie?: never;
|
|
37224
37769
|
};
|
|
37225
|
-
requestBody
|
|
37770
|
+
requestBody: {
|
|
37226
37771
|
content: {
|
|
37227
37772
|
"application/json": {
|
|
37228
37773
|
capabilityId: string;
|
|
@@ -37982,7 +38527,7 @@ interface paths {
|
|
|
37982
38527
|
};
|
|
37983
38528
|
cookie?: never;
|
|
37984
38529
|
};
|
|
37985
|
-
requestBody
|
|
38530
|
+
requestBody: {
|
|
37986
38531
|
content: {
|
|
37987
38532
|
"application/json": {
|
|
37988
38533
|
cron?: string;
|
|
@@ -38878,7 +39423,7 @@ interface paths {
|
|
|
38878
39423
|
};
|
|
38879
39424
|
cookie?: never;
|
|
38880
39425
|
};
|
|
38881
|
-
requestBody
|
|
39426
|
+
requestBody: {
|
|
38882
39427
|
content: {
|
|
38883
39428
|
"application/json": {
|
|
38884
39429
|
payload?: unknown;
|
|
@@ -38969,7 +39514,7 @@ interface paths {
|
|
|
38969
39514
|
};
|
|
38970
39515
|
cookie?: never;
|
|
38971
39516
|
};
|
|
38972
|
-
requestBody
|
|
39517
|
+
requestBody: {
|
|
38973
39518
|
content: {
|
|
38974
39519
|
"application/json": {
|
|
38975
39520
|
enabled: boolean;
|
|
@@ -39110,7 +39655,7 @@ interface paths {
|
|
|
39110
39655
|
};
|
|
39111
39656
|
cookie?: never;
|
|
39112
39657
|
};
|
|
39113
|
-
requestBody
|
|
39658
|
+
requestBody: {
|
|
39114
39659
|
content: {
|
|
39115
39660
|
"application/json": {
|
|
39116
39661
|
itemId: string;
|
|
@@ -39407,7 +39952,7 @@ interface paths {
|
|
|
39407
39952
|
};
|
|
39408
39953
|
cookie?: never;
|
|
39409
39954
|
};
|
|
39410
|
-
requestBody
|
|
39955
|
+
requestBody: {
|
|
39411
39956
|
content: {
|
|
39412
39957
|
"application/json": {
|
|
39413
39958
|
eventTypePath: string;
|
|
@@ -39560,7 +40105,7 @@ interface paths {
|
|
|
39560
40105
|
};
|
|
39561
40106
|
cookie?: never;
|
|
39562
40107
|
};
|
|
39563
|
-
requestBody
|
|
40108
|
+
requestBody: {
|
|
39564
40109
|
content: {
|
|
39565
40110
|
"application/json": {
|
|
39566
40111
|
/** @enum {string} */
|
|
@@ -40259,7 +40804,7 @@ interface paths {
|
|
|
40259
40804
|
};
|
|
40260
40805
|
cookie?: never;
|
|
40261
40806
|
};
|
|
40262
|
-
requestBody
|
|
40807
|
+
requestBody: {
|
|
40263
40808
|
content: {
|
|
40264
40809
|
"application/json": {
|
|
40265
40810
|
arguments?: {
|
|
@@ -40630,7 +41175,7 @@ interface paths {
|
|
|
40630
41175
|
path?: never;
|
|
40631
41176
|
cookie?: never;
|
|
40632
41177
|
};
|
|
40633
|
-
requestBody
|
|
41178
|
+
requestBody: {
|
|
40634
41179
|
content: {
|
|
40635
41180
|
"application/json": {
|
|
40636
41181
|
/** @default gemini-3.8-flash */
|
|
@@ -41068,7 +41613,7 @@ interface paths {
|
|
|
41068
41613
|
path?: never;
|
|
41069
41614
|
cookie?: never;
|
|
41070
41615
|
};
|
|
41071
|
-
requestBody
|
|
41616
|
+
requestBody: {
|
|
41072
41617
|
content: {
|
|
41073
41618
|
"application/json": {
|
|
41074
41619
|
apiKey: string;
|
|
@@ -41183,7 +41728,7 @@ interface paths {
|
|
|
41183
41728
|
path?: never;
|
|
41184
41729
|
cookie?: never;
|
|
41185
41730
|
};
|
|
41186
|
-
requestBody
|
|
41731
|
+
requestBody: {
|
|
41187
41732
|
content: {
|
|
41188
41733
|
"application/json": {
|
|
41189
41734
|
apiKey: string;
|
|
@@ -41269,7 +41814,7 @@ interface paths {
|
|
|
41269
41814
|
path?: never;
|
|
41270
41815
|
cookie?: never;
|
|
41271
41816
|
};
|
|
41272
|
-
requestBody
|
|
41817
|
+
requestBody: {
|
|
41273
41818
|
content: {
|
|
41274
41819
|
"application/json": {
|
|
41275
41820
|
/** @enum {string} */
|
|
@@ -41805,7 +42350,7 @@ interface paths {
|
|
|
41805
42350
|
};
|
|
41806
42351
|
cookie?: never;
|
|
41807
42352
|
};
|
|
41808
|
-
requestBody
|
|
42353
|
+
requestBody: {
|
|
41809
42354
|
content: {
|
|
41810
42355
|
"application/json": {
|
|
41811
42356
|
models: {
|
|
@@ -42905,7 +43450,7 @@ interface paths {
|
|
|
42905
43450
|
path?: never;
|
|
42906
43451
|
cookie?: never;
|
|
42907
43452
|
};
|
|
42908
|
-
requestBody
|
|
43453
|
+
requestBody: {
|
|
42909
43454
|
content: {
|
|
42910
43455
|
"application/json": {
|
|
42911
43456
|
description?: string | null;
|
|
@@ -43009,7 +43554,7 @@ interface paths {
|
|
|
43009
43554
|
path?: never;
|
|
43010
43555
|
cookie?: never;
|
|
43011
43556
|
};
|
|
43012
|
-
requestBody
|
|
43557
|
+
requestBody: {
|
|
43013
43558
|
content: {
|
|
43014
43559
|
"application/json": {
|
|
43015
43560
|
contentHash?: string;
|
|
@@ -43618,7 +44163,7 @@ interface paths {
|
|
|
43618
44163
|
};
|
|
43619
44164
|
cookie?: never;
|
|
43620
44165
|
};
|
|
43621
|
-
requestBody
|
|
44166
|
+
requestBody: {
|
|
43622
44167
|
content: {
|
|
43623
44168
|
"application/json": {
|
|
43624
44169
|
/** @description The eval run that measured this calibration. It must resolve in this account; the row is then recorded as `eval_suite`. Without it the row is `customer`. */
|
|
@@ -43949,7 +44494,7 @@ interface paths {
|
|
|
43949
44494
|
path?: never;
|
|
43950
44495
|
cookie?: never;
|
|
43951
44496
|
};
|
|
43952
|
-
requestBody
|
|
44497
|
+
requestBody: {
|
|
43953
44498
|
content: {
|
|
43954
44499
|
"application/json": {
|
|
43955
44500
|
messages?: {
|
|
@@ -44103,7 +44648,7 @@ interface paths {
|
|
|
44103
44648
|
path?: never;
|
|
44104
44649
|
cookie?: never;
|
|
44105
44650
|
};
|
|
44106
|
-
requestBody
|
|
44651
|
+
requestBody: {
|
|
44107
44652
|
content: {
|
|
44108
44653
|
"application/json": {
|
|
44109
44654
|
ids: string[];
|
|
@@ -44549,7 +45094,7 @@ interface paths {
|
|
|
44549
45094
|
path?: never;
|
|
44550
45095
|
cookie?: never;
|
|
44551
45096
|
};
|
|
44552
|
-
requestBody
|
|
45097
|
+
requestBody: {
|
|
44553
45098
|
content: {
|
|
44554
45099
|
"application/json": {
|
|
44555
45100
|
type: string;
|
|
@@ -44734,7 +45279,7 @@ interface paths {
|
|
|
44734
45279
|
path?: never;
|
|
44735
45280
|
cookie?: never;
|
|
44736
45281
|
};
|
|
44737
|
-
requestBody
|
|
45282
|
+
requestBody: {
|
|
44738
45283
|
content: {
|
|
44739
45284
|
"multipart/form-data": {
|
|
44740
45285
|
file?: unknown;
|
|
@@ -45384,7 +45929,7 @@ interface paths {
|
|
|
45384
45929
|
};
|
|
45385
45930
|
cookie?: never;
|
|
45386
45931
|
};
|
|
45387
|
-
requestBody
|
|
45932
|
+
requestBody: {
|
|
45388
45933
|
content: {
|
|
45389
45934
|
"application/json": {
|
|
45390
45935
|
resultId: string;
|
|
@@ -45524,6 +46069,10 @@ interface paths {
|
|
|
45524
46069
|
recordName: string | null;
|
|
45525
46070
|
resolvedPrompt?: string | null;
|
|
45526
46071
|
retryCount?: number | null;
|
|
46072
|
+
sources?: {
|
|
46073
|
+
title?: string;
|
|
46074
|
+
url: string;
|
|
46075
|
+
}[] | null;
|
|
45527
46076
|
startedAt: string | null;
|
|
45528
46077
|
status: string;
|
|
45529
46078
|
stepConfig?: unknown;
|
|
@@ -46205,7 +46754,7 @@ interface paths {
|
|
|
46205
46754
|
path?: never;
|
|
46206
46755
|
cookie?: never;
|
|
46207
46756
|
};
|
|
46208
|
-
requestBody
|
|
46757
|
+
requestBody: {
|
|
46209
46758
|
content: {
|
|
46210
46759
|
"application/json": {
|
|
46211
46760
|
limits?: {
|
|
@@ -46447,7 +46996,7 @@ interface paths {
|
|
|
46447
46996
|
path?: never;
|
|
46448
46997
|
cookie?: never;
|
|
46449
46998
|
};
|
|
46450
|
-
requestBody
|
|
46999
|
+
requestBody: {
|
|
46451
47000
|
content: {
|
|
46452
47001
|
"application/json": {
|
|
46453
47002
|
attachments?: {
|
|
@@ -46603,7 +47152,7 @@ interface paths {
|
|
|
46603
47152
|
path?: never;
|
|
46604
47153
|
cookie?: never;
|
|
46605
47154
|
};
|
|
46606
|
-
requestBody
|
|
47155
|
+
requestBody: {
|
|
46607
47156
|
content: {
|
|
46608
47157
|
"application/json": components["schemas"]["RuntimeExtractionRequest"];
|
|
46609
47158
|
};
|
|
@@ -46721,7 +47270,7 @@ interface paths {
|
|
|
46721
47270
|
path?: never;
|
|
46722
47271
|
cookie?: never;
|
|
46723
47272
|
};
|
|
46724
|
-
requestBody
|
|
47273
|
+
requestBody: {
|
|
46725
47274
|
content: {
|
|
46726
47275
|
"application/json": components["schemas"]["RuntimeJudgmentRequest"];
|
|
46727
47276
|
};
|
|
@@ -46854,7 +47403,7 @@ interface paths {
|
|
|
46854
47403
|
path?: never;
|
|
46855
47404
|
cookie?: never;
|
|
46856
47405
|
};
|
|
46857
|
-
requestBody
|
|
47406
|
+
requestBody: {
|
|
46858
47407
|
content: {
|
|
46859
47408
|
"application/json": {
|
|
46860
47409
|
options?: {
|
|
@@ -46991,7 +47540,7 @@ interface paths {
|
|
|
46991
47540
|
path?: never;
|
|
46992
47541
|
cookie?: never;
|
|
46993
47542
|
};
|
|
46994
|
-
requestBody
|
|
47543
|
+
requestBody: {
|
|
46995
47544
|
content: {
|
|
46996
47545
|
"application/json": {
|
|
46997
47546
|
memory: {
|
|
@@ -47124,7 +47673,7 @@ interface paths {
|
|
|
47124
47673
|
path?: never;
|
|
47125
47674
|
cookie?: never;
|
|
47126
47675
|
};
|
|
47127
|
-
requestBody
|
|
47676
|
+
requestBody: {
|
|
47128
47677
|
content: {
|
|
47129
47678
|
"application/json": {
|
|
47130
47679
|
options?: {
|
|
@@ -47249,7 +47798,7 @@ interface paths {
|
|
|
47249
47798
|
path?: never;
|
|
47250
47799
|
cookie?: never;
|
|
47251
47800
|
};
|
|
47252
|
-
requestBody
|
|
47801
|
+
requestBody: {
|
|
47253
47802
|
content: {
|
|
47254
47803
|
"application/json": {
|
|
47255
47804
|
id: string;
|
|
@@ -47565,7 +48114,7 @@ interface paths {
|
|
|
47565
48114
|
path?: never;
|
|
47566
48115
|
cookie?: never;
|
|
47567
48116
|
};
|
|
47568
|
-
requestBody
|
|
48117
|
+
requestBody: {
|
|
47569
48118
|
content: {
|
|
47570
48119
|
"application/json": {
|
|
47571
48120
|
id: string;
|
|
@@ -47714,7 +48263,7 @@ interface paths {
|
|
|
47714
48263
|
path?: never;
|
|
47715
48264
|
cookie?: never;
|
|
47716
48265
|
};
|
|
47717
|
-
requestBody
|
|
48266
|
+
requestBody: {
|
|
47718
48267
|
content: {
|
|
47719
48268
|
"application/json": {
|
|
47720
48269
|
/** @enum {string} */
|
|
@@ -47865,7 +48414,7 @@ interface paths {
|
|
|
47865
48414
|
path?: never;
|
|
47866
48415
|
cookie?: never;
|
|
47867
48416
|
};
|
|
47868
|
-
requestBody
|
|
48417
|
+
requestBody: {
|
|
47869
48418
|
content: {
|
|
47870
48419
|
"application/json": {
|
|
47871
48420
|
maxResults?: number;
|
|
@@ -48203,7 +48752,7 @@ interface paths {
|
|
|
48203
48752
|
path?: never;
|
|
48204
48753
|
cookie?: never;
|
|
48205
48754
|
};
|
|
48206
|
-
requestBody
|
|
48755
|
+
requestBody: {
|
|
48207
48756
|
content: {
|
|
48208
48757
|
"application/json": {
|
|
48209
48758
|
displayName?: string;
|
|
@@ -48689,7 +49238,7 @@ interface paths {
|
|
|
48689
49238
|
path?: never;
|
|
48690
49239
|
cookie?: never;
|
|
48691
49240
|
};
|
|
48692
|
-
requestBody
|
|
49241
|
+
requestBody: {
|
|
48693
49242
|
content: {
|
|
48694
49243
|
"application/gzip": string;
|
|
48695
49244
|
};
|
|
@@ -49021,7 +49570,7 @@ interface paths {
|
|
|
49021
49570
|
};
|
|
49022
49571
|
cookie?: never;
|
|
49023
49572
|
};
|
|
49024
|
-
requestBody
|
|
49573
|
+
requestBody: {
|
|
49025
49574
|
content: {
|
|
49026
49575
|
"application/json": {
|
|
49027
49576
|
displayName?: string;
|
|
@@ -50580,7 +51129,7 @@ interface paths {
|
|
|
50580
51129
|
};
|
|
50581
51130
|
cookie?: never;
|
|
50582
51131
|
};
|
|
50583
|
-
requestBody
|
|
51132
|
+
requestBody: {
|
|
50584
51133
|
content: {
|
|
50585
51134
|
"application/json": {
|
|
50586
51135
|
/** @enum {string} */
|
|
@@ -51484,7 +52033,7 @@ interface paths {
|
|
|
51484
52033
|
path?: never;
|
|
51485
52034
|
cookie?: never;
|
|
51486
52035
|
};
|
|
51487
|
-
requestBody
|
|
52036
|
+
requestBody: {
|
|
51488
52037
|
content: {
|
|
51489
52038
|
"application/json": {
|
|
51490
52039
|
contentHash?: string;
|
|
@@ -52704,7 +53253,7 @@ interface paths {
|
|
|
52704
53253
|
path?: never;
|
|
52705
53254
|
cookie?: never;
|
|
52706
53255
|
};
|
|
52707
|
-
requestBody
|
|
53256
|
+
requestBody: {
|
|
52708
53257
|
content: {
|
|
52709
53258
|
"application/json": {
|
|
52710
53259
|
description?: string;
|
|
@@ -52829,7 +53378,7 @@ interface paths {
|
|
|
52829
53378
|
path?: never;
|
|
52830
53379
|
cookie?: never;
|
|
52831
53380
|
};
|
|
52832
|
-
requestBody
|
|
53381
|
+
requestBody: {
|
|
52833
53382
|
content: {
|
|
52834
53383
|
"application/json": {
|
|
52835
53384
|
keys: string[];
|
|
@@ -52913,7 +53462,7 @@ interface paths {
|
|
|
52913
53462
|
path?: never;
|
|
52914
53463
|
cookie?: never;
|
|
52915
53464
|
};
|
|
52916
|
-
requestBody
|
|
53465
|
+
requestBody: {
|
|
52917
53466
|
content: {
|
|
52918
53467
|
"application/json": {
|
|
52919
53468
|
returnUrl?: string;
|
|
@@ -53046,7 +53595,7 @@ interface paths {
|
|
|
53046
53595
|
path?: never;
|
|
53047
53596
|
cookie?: never;
|
|
53048
53597
|
};
|
|
53049
|
-
requestBody
|
|
53598
|
+
requestBody: {
|
|
53050
53599
|
content: {
|
|
53051
53600
|
"application/json": {
|
|
53052
53601
|
items: {
|
|
@@ -53193,7 +53742,7 @@ interface paths {
|
|
|
53193
53742
|
path?: never;
|
|
53194
53743
|
cookie?: never;
|
|
53195
53744
|
};
|
|
53196
|
-
requestBody
|
|
53745
|
+
requestBody: {
|
|
53197
53746
|
content: {
|
|
53198
53747
|
"application/json": {
|
|
53199
53748
|
context?: {
|
|
@@ -53613,7 +54162,7 @@ interface paths {
|
|
|
53613
54162
|
path?: never;
|
|
53614
54163
|
cookie?: never;
|
|
53615
54164
|
};
|
|
53616
|
-
requestBody
|
|
54165
|
+
requestBody: {
|
|
53617
54166
|
content: {
|
|
53618
54167
|
"application/json": {
|
|
53619
54168
|
/** @description Required for a PHI organization whose set uses a decision model outside Cloudflare Workers AI. Written to the audit log. */
|
|
@@ -53884,7 +54433,7 @@ interface paths {
|
|
|
53884
54433
|
path?: never;
|
|
53885
54434
|
cookie?: never;
|
|
53886
54435
|
};
|
|
53887
|
-
requestBody
|
|
54436
|
+
requestBody: {
|
|
53888
54437
|
content: {
|
|
53889
54438
|
"application/json": {
|
|
53890
54439
|
/** @description A signal set version: `{ unit: "turn", context: { priorTurns }, signals: { <key>: { type, instructions, options?, notable?, ... } }, bands: { act, review } }`. bool and choice signals go to the decision model; text, number, date, duration, list and estimate go to the extraction model. */
|
|
@@ -54321,7 +54870,7 @@ interface paths {
|
|
|
54321
54870
|
};
|
|
54322
54871
|
cookie?: never;
|
|
54323
54872
|
};
|
|
54324
|
-
requestBody
|
|
54873
|
+
requestBody: {
|
|
54325
54874
|
content: {
|
|
54326
54875
|
"application/json": {
|
|
54327
54876
|
/** @description A signal set version: `{ unit: "turn", context: { priorTurns }, signals: { <key>: { type, instructions, options?, notable?, ... } }, bands: { act, review } }`. bool and choice signals go to the decision model; text, number, date, duration, list and estimate go to the extraction model. */
|
|
@@ -54411,7 +54960,7 @@ interface paths {
|
|
|
54411
54960
|
};
|
|
54412
54961
|
cookie?: never;
|
|
54413
54962
|
};
|
|
54414
|
-
requestBody
|
|
54963
|
+
requestBody: {
|
|
54415
54964
|
content: {
|
|
54416
54965
|
"application/json": {
|
|
54417
54966
|
/** @description Required for a PHI organization whose set uses a decision model outside Cloudflare Workers AI, after a human confirms. */
|
|
@@ -54956,7 +55505,7 @@ interface paths {
|
|
|
54956
55505
|
path?: never;
|
|
54957
55506
|
cookie?: never;
|
|
54958
55507
|
};
|
|
54959
|
-
requestBody
|
|
55508
|
+
requestBody: {
|
|
54960
55509
|
content: {
|
|
54961
55510
|
"application/json": {
|
|
54962
55511
|
agentId: string;
|
|
@@ -55152,7 +55701,7 @@ interface paths {
|
|
|
55152
55701
|
path?: never;
|
|
55153
55702
|
cookie?: never;
|
|
55154
55703
|
};
|
|
55155
|
-
requestBody
|
|
55704
|
+
requestBody: {
|
|
55156
55705
|
content: {
|
|
55157
55706
|
"application/json": {
|
|
55158
55707
|
contentHash?: string;
|
|
@@ -55266,7 +55815,7 @@ interface paths {
|
|
|
55266
55815
|
path?: never;
|
|
55267
55816
|
cookie?: never;
|
|
55268
55817
|
};
|
|
55269
|
-
requestBody
|
|
55818
|
+
requestBody: {
|
|
55270
55819
|
content: {
|
|
55271
55820
|
"application/json": {
|
|
55272
55821
|
markdown: string;
|
|
@@ -55349,7 +55898,7 @@ interface paths {
|
|
|
55349
55898
|
path?: never;
|
|
55350
55899
|
cookie?: never;
|
|
55351
55900
|
};
|
|
55352
|
-
requestBody
|
|
55901
|
+
requestBody: {
|
|
55353
55902
|
content: {
|
|
55354
55903
|
"application/json": {
|
|
55355
55904
|
body: string;
|
|
@@ -56695,7 +57244,7 @@ interface paths {
|
|
|
56695
57244
|
path?: never;
|
|
56696
57245
|
cookie?: never;
|
|
56697
57246
|
};
|
|
56698
|
-
requestBody
|
|
57247
|
+
requestBody: {
|
|
56699
57248
|
content: {
|
|
56700
57249
|
"application/json": {
|
|
56701
57250
|
config: {
|
|
@@ -57086,7 +57635,7 @@ interface paths {
|
|
|
57086
57635
|
path?: never;
|
|
57087
57636
|
cookie?: never;
|
|
57088
57637
|
};
|
|
57089
|
-
requestBody
|
|
57638
|
+
requestBody: {
|
|
57090
57639
|
content: {
|
|
57091
57640
|
"application/json": {
|
|
57092
57641
|
contentHash?: string;
|
|
@@ -57401,7 +57950,7 @@ interface paths {
|
|
|
57401
57950
|
path?: never;
|
|
57402
57951
|
cookie?: never;
|
|
57403
57952
|
};
|
|
57404
|
-
requestBody
|
|
57953
|
+
requestBody: {
|
|
57405
57954
|
content: {
|
|
57406
57955
|
"application/json": {
|
|
57407
57956
|
code: string;
|
|
@@ -57629,7 +58178,7 @@ interface paths {
|
|
|
57629
58178
|
path?: never;
|
|
57630
58179
|
cookie?: never;
|
|
57631
58180
|
};
|
|
57632
|
-
requestBody
|
|
58181
|
+
requestBody: {
|
|
57633
58182
|
content: {
|
|
57634
58183
|
"application/json": {
|
|
57635
58184
|
autoDeleteInterval?: number;
|
|
@@ -58229,7 +58778,7 @@ interface paths {
|
|
|
58229
58778
|
};
|
|
58230
58779
|
cookie?: never;
|
|
58231
58780
|
};
|
|
58232
|
-
requestBody
|
|
58781
|
+
requestBody: {
|
|
58233
58782
|
content: {
|
|
58234
58783
|
"application/json": {
|
|
58235
58784
|
context?: {
|
|
@@ -58678,7 +59227,7 @@ interface paths {
|
|
|
58678
59227
|
path?: never;
|
|
58679
59228
|
cookie?: never;
|
|
58680
59229
|
};
|
|
58681
|
-
requestBody
|
|
59230
|
+
requestBody: {
|
|
58682
59231
|
content: {
|
|
58683
59232
|
"application/json": {
|
|
58684
59233
|
/** @enum {string} */
|
|
@@ -59065,7 +59614,7 @@ interface paths {
|
|
|
59065
59614
|
path?: never;
|
|
59066
59615
|
cookie?: never;
|
|
59067
59616
|
};
|
|
59068
|
-
requestBody
|
|
59617
|
+
requestBody: {
|
|
59069
59618
|
content: {
|
|
59070
59619
|
"application/json": {
|
|
59071
59620
|
/** @description Template input variables */
|
|
@@ -59164,7 +59713,7 @@ interface paths {
|
|
|
59164
59713
|
path?: never;
|
|
59165
59714
|
cookie?: never;
|
|
59166
59715
|
};
|
|
59167
|
-
requestBody
|
|
59716
|
+
requestBody: {
|
|
59168
59717
|
content: {
|
|
59169
59718
|
"application/json": {
|
|
59170
59719
|
/** @description List of available variable names */
|
|
@@ -59689,6 +60238,16 @@ interface components {
|
|
|
59689
60238
|
profileTemplate?: string;
|
|
59690
60239
|
};
|
|
59691
60240
|
model?: string;
|
|
60241
|
+
output?: {
|
|
60242
|
+
validators?: {
|
|
60243
|
+
maxBounces?: number;
|
|
60244
|
+
schema?: {
|
|
60245
|
+
[key: string]: unknown;
|
|
60246
|
+
};
|
|
60247
|
+
/** @enum {string} */
|
|
60248
|
+
type: "candidate-question" | "requested-json" | "no-action" | "json-schema";
|
|
60249
|
+
}[];
|
|
60250
|
+
};
|
|
59692
60251
|
/** @enum {string} */
|
|
59693
60252
|
piiRedaction?: "default" | "off" | "redact";
|
|
59694
60253
|
presencePenalty?: number;
|
|
@@ -59782,6 +60341,7 @@ interface components {
|
|
|
59782
60341
|
alwaysAllow?: boolean;
|
|
59783
60342
|
alwaysDeny?: boolean;
|
|
59784
60343
|
};
|
|
60344
|
+
notifyUser?: boolean;
|
|
59785
60345
|
requestReason?: boolean;
|
|
59786
60346
|
require: string[] | boolean;
|
|
59787
60347
|
timeout?: number;
|
|
@@ -60526,6 +61086,16 @@ interface components {
|
|
|
60526
61086
|
profileTemplate?: string;
|
|
60527
61087
|
};
|
|
60528
61088
|
model?: string;
|
|
61089
|
+
output?: {
|
|
61090
|
+
validators?: {
|
|
61091
|
+
maxBounces?: number;
|
|
61092
|
+
schema?: {
|
|
61093
|
+
[key: string]: unknown;
|
|
61094
|
+
};
|
|
61095
|
+
/** @enum {string} */
|
|
61096
|
+
type: "candidate-question" | "requested-json" | "no-action" | "json-schema";
|
|
61097
|
+
}[];
|
|
61098
|
+
};
|
|
60529
61099
|
/** @enum {string} */
|
|
60530
61100
|
piiRedaction?: "default" | "off" | "redact";
|
|
60531
61101
|
presencePenalty?: number;
|
|
@@ -60619,6 +61189,7 @@ interface components {
|
|
|
60619
61189
|
alwaysAllow?: boolean;
|
|
60620
61190
|
alwaysDeny?: boolean;
|
|
60621
61191
|
};
|
|
61192
|
+
notifyUser?: boolean;
|
|
60622
61193
|
requestReason?: boolean;
|
|
60623
61194
|
require: string[] | boolean;
|
|
60624
61195
|
timeout?: number;
|
|
@@ -61684,6 +62255,12 @@ interface components {
|
|
|
61684
62255
|
message: string;
|
|
61685
62256
|
}[];
|
|
61686
62257
|
};
|
|
62258
|
+
ExecutionFailedError: components["schemas"]["Error"] & {
|
|
62259
|
+
/** @description Present only for ephemeral inline-create dispatch. */
|
|
62260
|
+
claudeManagedAgentId?: string;
|
|
62261
|
+
/** @description Text the agent produced before its stream was interrupted and could not be restored. */
|
|
62262
|
+
partialText?: string;
|
|
62263
|
+
};
|
|
61687
62264
|
ExecutionStreamEvent: {
|
|
61688
62265
|
agentId?: string;
|
|
61689
62266
|
agentName?: string;
|
|
@@ -61722,6 +62299,11 @@ interface components {
|
|
|
61722
62299
|
* @enum {string}
|
|
61723
62300
|
*/
|
|
61724
62301
|
outcome?: "completed" | "error" | "aborted";
|
|
62302
|
+
output?: {
|
|
62303
|
+
validation?: {
|
|
62304
|
+
failed: string[];
|
|
62305
|
+
};
|
|
62306
|
+
};
|
|
61725
62307
|
seq: number;
|
|
61726
62308
|
stepErrorCount?: number;
|
|
61727
62309
|
stopReason?: string;
|
|
@@ -61734,8 +62316,13 @@ interface components {
|
|
|
61734
62316
|
output: number;
|
|
61735
62317
|
};
|
|
61736
62318
|
totalTokensUsed?: number;
|
|
62319
|
+
truncatedStepCount?: number;
|
|
61737
62320
|
/** @enum {string} */
|
|
61738
62321
|
type: "execution_complete";
|
|
62322
|
+
warnings?: {
|
|
62323
|
+
code: string;
|
|
62324
|
+
message: string;
|
|
62325
|
+
}[];
|
|
61739
62326
|
} | {
|
|
61740
62327
|
blockReason?: string;
|
|
61741
62328
|
code?: string;
|
|
@@ -61928,6 +62515,7 @@ interface components {
|
|
|
61928
62515
|
};
|
|
61929
62516
|
success?: boolean;
|
|
61930
62517
|
tokensUsed?: number;
|
|
62518
|
+
truncated?: boolean;
|
|
61931
62519
|
/** @enum {string} */
|
|
61932
62520
|
type: "step_complete";
|
|
61933
62521
|
unresolvedVariables?: string[];
|
|
@@ -63539,10 +64127,10 @@ interface components {
|
|
|
63539
64127
|
RuntimeExportWarning: {
|
|
63540
64128
|
childId?: string;
|
|
63541
64129
|
/**
|
|
63542
|
-
* @description What kind of child the warning is about. `question_set` names the question set id in `childId`.
|
|
64130
|
+
* @description What kind of child the warning is about. `question_set` names the question set id in `childId`. `mcp_server` names a registered MCP server the export kept as an `mcp:` reference instead of inlining it (`unsupported_mcp_auth` for OAuth, `not_found` when the server is missing or inactive); only a host that implements `resolveHostedToolRefs` can run its tools.
|
|
63543
64131
|
* @enum {string}
|
|
63544
64132
|
*/
|
|
63545
|
-
childKind: "agent" | "flow" | "question_set";
|
|
64133
|
+
childKind: "agent" | "flow" | "question_set" | "mcp_server";
|
|
63546
64134
|
/**
|
|
63547
64135
|
* @description `child_dropped`: the child is absent from the artifact. `child_stubbed`: the artifact carries a stub the runtime cannot run, or a configured decision tool without its question set.
|
|
63548
64136
|
* @enum {string}
|
|
@@ -63652,6 +64240,32 @@ interface components {
|
|
|
63652
64240
|
/** @enum {string} */
|
|
63653
64241
|
kind: "background-run-coordinator";
|
|
63654
64242
|
reason: string;
|
|
64243
|
+
} | {
|
|
64244
|
+
interface: string;
|
|
64245
|
+
/** @enum {string} */
|
|
64246
|
+
kind: "hosted-tool-resolver";
|
|
64247
|
+
reason: string;
|
|
64248
|
+
tools: {
|
|
64249
|
+
ownerId?: string;
|
|
64250
|
+
/** @enum {string} */
|
|
64251
|
+
ownerKind: "flow" | "agent" | "capability" | "inline-tool";
|
|
64252
|
+
ownerName?: string;
|
|
64253
|
+
stepId?: string;
|
|
64254
|
+
toolId: string;
|
|
64255
|
+
}[];
|
|
64256
|
+
} | {
|
|
64257
|
+
interface: string;
|
|
64258
|
+
/** @enum {string} */
|
|
64259
|
+
kind: "record-store";
|
|
64260
|
+
reason: string;
|
|
64261
|
+
steps: {
|
|
64262
|
+
ownerId?: string;
|
|
64263
|
+
/** @enum {string} */
|
|
64264
|
+
ownerKind: "flow" | "agent" | "capability" | "inline-tool";
|
|
64265
|
+
ownerName?: string;
|
|
64266
|
+
stepId: string;
|
|
64267
|
+
stepType: string;
|
|
64268
|
+
}[];
|
|
63655
64269
|
} | {
|
|
63656
64270
|
interface: string;
|
|
63657
64271
|
kind: string;
|
|
@@ -64220,6 +64834,185 @@ interface components {
|
|
|
64220
64834
|
toolId: string;
|
|
64221
64835
|
updatedAt: string | null;
|
|
64222
64836
|
};
|
|
64837
|
+
TraceCompare: {
|
|
64838
|
+
alignment: {
|
|
64839
|
+
argDrift: number | null;
|
|
64840
|
+
driftedKeys?: string[];
|
|
64841
|
+
leftIndex: number | null;
|
|
64842
|
+
/** @enum {string} */
|
|
64843
|
+
op: "match" | "left_only" | "right_only" | "reordered";
|
|
64844
|
+
rightIndex: number | null;
|
|
64845
|
+
tool: string;
|
|
64846
|
+
}[];
|
|
64847
|
+
divergence: {
|
|
64848
|
+
alignmentIndex: number;
|
|
64849
|
+
description: string;
|
|
64850
|
+
leftIndex: number | null;
|
|
64851
|
+
rightIndex: number | null;
|
|
64852
|
+
} | null;
|
|
64853
|
+
left: {
|
|
64854
|
+
cost: number | null;
|
|
64855
|
+
durationMs: number | null;
|
|
64856
|
+
executionId: string;
|
|
64857
|
+
inputTokens: number | null;
|
|
64858
|
+
outputTokens: number | null;
|
|
64859
|
+
source: string;
|
|
64860
|
+
status: string | null;
|
|
64861
|
+
stopReason: string | null;
|
|
64862
|
+
toolCalls: number;
|
|
64863
|
+
turns: number | null;
|
|
64864
|
+
};
|
|
64865
|
+
/** @enum {string} */
|
|
64866
|
+
mode: "executions";
|
|
64867
|
+
perTool: {
|
|
64868
|
+
argDrift: number | null;
|
|
64869
|
+
leftCalls: number;
|
|
64870
|
+
leftErrors: number;
|
|
64871
|
+
rightCalls: number;
|
|
64872
|
+
rightErrors: number;
|
|
64873
|
+
tool: string;
|
|
64874
|
+
}[];
|
|
64875
|
+
right: {
|
|
64876
|
+
cost: number | null;
|
|
64877
|
+
durationMs: number | null;
|
|
64878
|
+
executionId: string;
|
|
64879
|
+
inputTokens: number | null;
|
|
64880
|
+
outputTokens: number | null;
|
|
64881
|
+
source: string;
|
|
64882
|
+
status: string | null;
|
|
64883
|
+
stopReason: string | null;
|
|
64884
|
+
toolCalls: number;
|
|
64885
|
+
turns: number | null;
|
|
64886
|
+
};
|
|
64887
|
+
truncated: {
|
|
64888
|
+
left: boolean;
|
|
64889
|
+
right: boolean;
|
|
64890
|
+
};
|
|
64891
|
+
} | {
|
|
64892
|
+
left: {
|
|
64893
|
+
executionIds: string[];
|
|
64894
|
+
failureRate: number | null;
|
|
64895
|
+
sampleLimit: number;
|
|
64896
|
+
sampled: number;
|
|
64897
|
+
signalRates: {
|
|
64898
|
+
[key: string]: {
|
|
64899
|
+
filtered: {
|
|
64900
|
+
evaluated: number;
|
|
64901
|
+
fired: number;
|
|
64902
|
+
rate: number | null;
|
|
64903
|
+
};
|
|
64904
|
+
uniform: {
|
|
64905
|
+
evaluated: number;
|
|
64906
|
+
fired: number;
|
|
64907
|
+
rate: number | null;
|
|
64908
|
+
};
|
|
64909
|
+
};
|
|
64910
|
+
};
|
|
64911
|
+
stopReasons: {
|
|
64912
|
+
[key: string]: number;
|
|
64913
|
+
};
|
|
64914
|
+
toolUsage: {
|
|
64915
|
+
calls: number;
|
|
64916
|
+
callsPerRun: number;
|
|
64917
|
+
errors: number;
|
|
64918
|
+
runsUsing: number;
|
|
64919
|
+
shareOfRuns: number;
|
|
64920
|
+
tool: string;
|
|
64921
|
+
}[];
|
|
64922
|
+
};
|
|
64923
|
+
/** @enum {string} */
|
|
64924
|
+
mode: "cohorts";
|
|
64925
|
+
right: {
|
|
64926
|
+
executionIds: string[];
|
|
64927
|
+
failureRate: number | null;
|
|
64928
|
+
sampleLimit: number;
|
|
64929
|
+
sampled: number;
|
|
64930
|
+
signalRates: {
|
|
64931
|
+
[key: string]: {
|
|
64932
|
+
filtered: {
|
|
64933
|
+
evaluated: number;
|
|
64934
|
+
fired: number;
|
|
64935
|
+
rate: number | null;
|
|
64936
|
+
};
|
|
64937
|
+
uniform: {
|
|
64938
|
+
evaluated: number;
|
|
64939
|
+
fired: number;
|
|
64940
|
+
rate: number | null;
|
|
64941
|
+
};
|
|
64942
|
+
};
|
|
64943
|
+
};
|
|
64944
|
+
stopReasons: {
|
|
64945
|
+
[key: string]: number;
|
|
64946
|
+
};
|
|
64947
|
+
toolUsage: {
|
|
64948
|
+
calls: number;
|
|
64949
|
+
callsPerRun: number;
|
|
64950
|
+
errors: number;
|
|
64951
|
+
runsUsing: number;
|
|
64952
|
+
shareOfRuns: number;
|
|
64953
|
+
tool: string;
|
|
64954
|
+
}[];
|
|
64955
|
+
};
|
|
64956
|
+
toolShareDelta: {
|
|
64957
|
+
delta: number;
|
|
64958
|
+
left: number;
|
|
64959
|
+
right: number;
|
|
64960
|
+
tool: string;
|
|
64961
|
+
}[];
|
|
64962
|
+
window: {
|
|
64963
|
+
from: string;
|
|
64964
|
+
to: string;
|
|
64965
|
+
};
|
|
64966
|
+
};
|
|
64967
|
+
TraceCompareRequest: {
|
|
64968
|
+
from?: string;
|
|
64969
|
+
left: {
|
|
64970
|
+
executionId: string;
|
|
64971
|
+
} | {
|
|
64972
|
+
filters: {
|
|
64973
|
+
agentIds?: string[];
|
|
64974
|
+
/** @description Hosted runs carry no agentVersionId on the trace header yet, so this filter matches ingested runs only. */
|
|
64975
|
+
agentVersionIds?: string[];
|
|
64976
|
+
flowIds?: string[];
|
|
64977
|
+
/** @description Count subagent and nested-flow runs too; unscoped reads fold them by default. */
|
|
64978
|
+
includeChildren?: boolean;
|
|
64979
|
+
/** @description Runs with any model call to this model. Reads spans, so the window is capped at 7 days. */
|
|
64980
|
+
model?: string;
|
|
64981
|
+
/** @description Runs where this signal fired: `key` or `key:value`. */
|
|
64982
|
+
signal?: string;
|
|
64983
|
+
/** @enum {string} */
|
|
64984
|
+
source?: "hosted" | "ingested";
|
|
64985
|
+
/** @enum {string} */
|
|
64986
|
+
status?: "running" | "completed" | "failed";
|
|
64987
|
+
stopReason?: string;
|
|
64988
|
+
surfaceId?: string;
|
|
64989
|
+
};
|
|
64990
|
+
};
|
|
64991
|
+
right: {
|
|
64992
|
+
executionId: string;
|
|
64993
|
+
} | {
|
|
64994
|
+
filters: {
|
|
64995
|
+
agentIds?: string[];
|
|
64996
|
+
/** @description Hosted runs carry no agentVersionId on the trace header yet, so this filter matches ingested runs only. */
|
|
64997
|
+
agentVersionIds?: string[];
|
|
64998
|
+
flowIds?: string[];
|
|
64999
|
+
/** @description Count subagent and nested-flow runs too; unscoped reads fold them by default. */
|
|
65000
|
+
includeChildren?: boolean;
|
|
65001
|
+
/** @description Runs with any model call to this model. Reads spans, so the window is capped at 7 days. */
|
|
65002
|
+
model?: string;
|
|
65003
|
+
/** @description Runs where this signal fired: `key` or `key:value`. */
|
|
65004
|
+
signal?: string;
|
|
65005
|
+
/** @enum {string} */
|
|
65006
|
+
source?: "hosted" | "ingested";
|
|
65007
|
+
/** @enum {string} */
|
|
65008
|
+
status?: "running" | "completed" | "failed";
|
|
65009
|
+
stopReason?: string;
|
|
65010
|
+
surfaceId?: string;
|
|
65011
|
+
};
|
|
65012
|
+
};
|
|
65013
|
+
sampleSize?: number;
|
|
65014
|
+
to?: string;
|
|
65015
|
+
};
|
|
64223
65016
|
TraceLogEntry: {
|
|
64224
65017
|
agentId?: string | null;
|
|
64225
65018
|
agentName?: string | null;
|
|
@@ -64363,6 +65156,180 @@ interface components {
|
|
|
64363
65156
|
source: "native" | "external";
|
|
64364
65157
|
surfaceType?: string | null;
|
|
64365
65158
|
};
|
|
65159
|
+
TraceQueryRequest: {
|
|
65160
|
+
agentIds?: string[];
|
|
65161
|
+
/** @description Hosted runs carry no agentVersionId on the trace header yet, so this filter matches ingested runs only. */
|
|
65162
|
+
agentVersionIds?: string[];
|
|
65163
|
+
cursor?: string;
|
|
65164
|
+
flowIds?: string[];
|
|
65165
|
+
/** @description ISO 8601; default 7 days before `to`. */
|
|
65166
|
+
from?: string;
|
|
65167
|
+
groupBy?: ("agent" | "agent_version" | "flow" | "surface" | "model" | "source" | "status" | "stop_reason" | "day")[];
|
|
65168
|
+
/** @description Count subagent and nested-flow runs too; unscoped reads fold them by default. */
|
|
65169
|
+
includeChildren?: boolean;
|
|
65170
|
+
/** @description Tool-call percentiles per group. Reads spans, so the window is capped at 7 days. Default false. */
|
|
65171
|
+
includeToolCalls?: boolean;
|
|
65172
|
+
limit?: number;
|
|
65173
|
+
/** @description Runs with any model call to this model. Reads spans, so the window is capped at 7 days. */
|
|
65174
|
+
model?: string;
|
|
65175
|
+
/** @description Runs where this signal fired: `key` or `key:value`. */
|
|
65176
|
+
signal?: string;
|
|
65177
|
+
/** @description Fire rate of this signal (`key` or `key:value`) per group; uniform and filtered samples are reported apart. */
|
|
65178
|
+
signalRate?: string;
|
|
65179
|
+
/** @enum {string} */
|
|
65180
|
+
source?: "hosted" | "ingested";
|
|
65181
|
+
/** @enum {string} */
|
|
65182
|
+
status?: "running" | "completed" | "failed";
|
|
65183
|
+
stopReason?: string;
|
|
65184
|
+
surfaceId?: string;
|
|
65185
|
+
/** @description ISO 8601; default now. Windows over 30 days are refused. */
|
|
65186
|
+
to?: string;
|
|
65187
|
+
};
|
|
65188
|
+
TraceQueryResult: {
|
|
65189
|
+
groupBy: ("agent" | "agent_version" | "flow" | "surface" | "model" | "source" | "status" | "stop_reason" | "day")[];
|
|
65190
|
+
groups: {
|
|
65191
|
+
cost: {
|
|
65192
|
+
p50: number | null;
|
|
65193
|
+
p95: number | null;
|
|
65194
|
+
pricedRuns: number;
|
|
65195
|
+
sum: number | null;
|
|
65196
|
+
unpricedRuns: number;
|
|
65197
|
+
};
|
|
65198
|
+
count: number;
|
|
65199
|
+
durationMs: {
|
|
65200
|
+
p50: number | null;
|
|
65201
|
+
p95: number | null;
|
|
65202
|
+
};
|
|
65203
|
+
failed: number;
|
|
65204
|
+
failureRate: number | null;
|
|
65205
|
+
key: {
|
|
65206
|
+
[key: string]: string | null;
|
|
65207
|
+
};
|
|
65208
|
+
sampleExecutionIds: string[];
|
|
65209
|
+
signalRate?: {
|
|
65210
|
+
filtered: {
|
|
65211
|
+
evaluated: number;
|
|
65212
|
+
fired: number;
|
|
65213
|
+
rate: number | null;
|
|
65214
|
+
};
|
|
65215
|
+
uniform: {
|
|
65216
|
+
evaluated: number;
|
|
65217
|
+
fired: number;
|
|
65218
|
+
rate: number | null;
|
|
65219
|
+
};
|
|
65220
|
+
};
|
|
65221
|
+
tokens: {
|
|
65222
|
+
p50: number | null;
|
|
65223
|
+
p95: number | null;
|
|
65224
|
+
reportedRuns: number;
|
|
65225
|
+
sum: number | null;
|
|
65226
|
+
};
|
|
65227
|
+
toolCalls: {
|
|
65228
|
+
p50: number | null;
|
|
65229
|
+
p95: number | null;
|
|
65230
|
+
} | null;
|
|
65231
|
+
}[];
|
|
65232
|
+
nextCursor: string | null;
|
|
65233
|
+
totals: {
|
|
65234
|
+
cost: {
|
|
65235
|
+
p50: number | null;
|
|
65236
|
+
p95: number | null;
|
|
65237
|
+
pricedRuns: number;
|
|
65238
|
+
sum: number | null;
|
|
65239
|
+
unpricedRuns: number;
|
|
65240
|
+
};
|
|
65241
|
+
count: number;
|
|
65242
|
+
durationMs: {
|
|
65243
|
+
p50: number | null;
|
|
65244
|
+
p95: number | null;
|
|
65245
|
+
};
|
|
65246
|
+
failed: number;
|
|
65247
|
+
failureRate: number | null;
|
|
65248
|
+
signalRate?: {
|
|
65249
|
+
filtered: {
|
|
65250
|
+
evaluated: number;
|
|
65251
|
+
fired: number;
|
|
65252
|
+
rate: number | null;
|
|
65253
|
+
};
|
|
65254
|
+
uniform: {
|
|
65255
|
+
evaluated: number;
|
|
65256
|
+
fired: number;
|
|
65257
|
+
rate: number | null;
|
|
65258
|
+
};
|
|
65259
|
+
};
|
|
65260
|
+
tokens: {
|
|
65261
|
+
p50: number | null;
|
|
65262
|
+
p95: number | null;
|
|
65263
|
+
reportedRuns: number;
|
|
65264
|
+
sum: number | null;
|
|
65265
|
+
};
|
|
65266
|
+
toolCalls: {
|
|
65267
|
+
p50: number | null;
|
|
65268
|
+
p95: number | null;
|
|
65269
|
+
} | null;
|
|
65270
|
+
};
|
|
65271
|
+
truncated: boolean;
|
|
65272
|
+
warnings: {
|
|
65273
|
+
code: string;
|
|
65274
|
+
message: string;
|
|
65275
|
+
}[];
|
|
65276
|
+
window: {
|
|
65277
|
+
from: string;
|
|
65278
|
+
to: string;
|
|
65279
|
+
};
|
|
65280
|
+
};
|
|
65281
|
+
TraceSlice: {
|
|
65282
|
+
content: {
|
|
65283
|
+
cut: {
|
|
65284
|
+
bytes: number;
|
|
65285
|
+
field: string;
|
|
65286
|
+
returnedBytes: number;
|
|
65287
|
+
spanId: string;
|
|
65288
|
+
}[];
|
|
65289
|
+
limitBytes: number;
|
|
65290
|
+
loaded: boolean;
|
|
65291
|
+
unavailable: string[];
|
|
65292
|
+
usedBytes: number;
|
|
65293
|
+
};
|
|
65294
|
+
executionId: string;
|
|
65295
|
+
matchedSpans: number;
|
|
65296
|
+
selection: {
|
|
65297
|
+
firstFailedIndex: number | null;
|
|
65298
|
+
from: number;
|
|
65299
|
+
/** @enum {string} */
|
|
65300
|
+
mode: "range" | "around_first_failure";
|
|
65301
|
+
to: number;
|
|
65302
|
+
};
|
|
65303
|
+
source: string;
|
|
65304
|
+
spans: {
|
|
65305
|
+
content?: {
|
|
65306
|
+
[key: string]: unknown;
|
|
65307
|
+
};
|
|
65308
|
+
cost: number | null;
|
|
65309
|
+
durationMs: number | null;
|
|
65310
|
+
error: string | null;
|
|
65311
|
+
index: number;
|
|
65312
|
+
inputPreview: string | null;
|
|
65313
|
+
inputTokens: number | null;
|
|
65314
|
+
kind: string | null;
|
|
65315
|
+
model: string | null;
|
|
65316
|
+
name: string;
|
|
65317
|
+
outputPreview: string | null;
|
|
65318
|
+
outputTokens: number | null;
|
|
65319
|
+
parentSpanId: string | null;
|
|
65320
|
+
spanId: string | null;
|
|
65321
|
+
startedAt: string;
|
|
65322
|
+
status: string;
|
|
65323
|
+
stopReason: string | null;
|
|
65324
|
+
toolName: string | null;
|
|
65325
|
+
}[];
|
|
65326
|
+
totalSpans: number;
|
|
65327
|
+
traceId: string;
|
|
65328
|
+
/** @description The trace exceeded the span read ceiling. */
|
|
65329
|
+
traceTruncated: boolean;
|
|
65330
|
+
/** @description More spans matched than were returned. */
|
|
65331
|
+
truncated: boolean;
|
|
65332
|
+
};
|
|
64366
65333
|
TraceTree: {
|
|
64367
65334
|
availability?: {
|
|
64368
65335
|
/** @enum {boolean} */
|
|
@@ -68280,6 +69247,255 @@ export interface ProductionHealthResponse {
|
|
|
68280
69247
|
insights: HealthInsight[];
|
|
68281
69248
|
generatedAt: string;
|
|
68282
69249
|
}
|
|
69250
|
+
type TraceQueryDimension = 'agent' | 'agent_version' | 'flow' | 'surface' | 'model' | 'source' | 'status' | 'stop_reason' | 'day';
|
|
69251
|
+
/** Filters shared by `queryTraces` and one side of a cohort `compareTrace`. */
|
|
69252
|
+
interface TraceQueryFilters {
|
|
69253
|
+
agentIds?: string[];
|
|
69254
|
+
agentVersionIds?: string[];
|
|
69255
|
+
flowIds?: string[];
|
|
69256
|
+
surfaceId?: string;
|
|
69257
|
+
/** Runs with any model call to this model. Reads spans, so the window is capped at 7 days. */
|
|
69258
|
+
model?: string;
|
|
69259
|
+
source?: 'hosted' | 'ingested';
|
|
69260
|
+
status?: 'running' | 'completed' | 'failed';
|
|
69261
|
+
stopReason?: string;
|
|
69262
|
+
/** `key` or `key:value`, the `runs.list` grammar. */
|
|
69263
|
+
signal?: string;
|
|
69264
|
+
includeChildren?: boolean;
|
|
69265
|
+
}
|
|
69266
|
+
interface TraceQueryRequest extends TraceQueryFilters {
|
|
69267
|
+
/** ISO 8601; default 7 days before `to`. Cohort sides take one shared window on `TraceCompareRequest`. */
|
|
69268
|
+
from?: string;
|
|
69269
|
+
/** ISO 8601; default now. */
|
|
69270
|
+
to?: string;
|
|
69271
|
+
/** One or two dimensions. */
|
|
69272
|
+
groupBy?: TraceQueryDimension[];
|
|
69273
|
+
/** Fire rate of this signal (`key` or `key:value`) per group, uniform and filtered kept apart. */
|
|
69274
|
+
signalRate?: string;
|
|
69275
|
+
includeToolCalls?: boolean;
|
|
69276
|
+
limit?: number;
|
|
69277
|
+
cursor?: string;
|
|
69278
|
+
}
|
|
69279
|
+
interface TraceQueryDistribution {
|
|
69280
|
+
sum: number | null;
|
|
69281
|
+
p50: number | null;
|
|
69282
|
+
p95: number | null;
|
|
69283
|
+
}
|
|
69284
|
+
interface TraceQuerySignalRateSample {
|
|
69285
|
+
evaluated: number;
|
|
69286
|
+
fired: number;
|
|
69287
|
+
rate: number | null;
|
|
69288
|
+
}
|
|
69289
|
+
interface TraceQueryMetrics {
|
|
69290
|
+
count: number;
|
|
69291
|
+
failed: number;
|
|
69292
|
+
failureRate: number | null;
|
|
69293
|
+
tokens: TraceQueryDistribution & {
|
|
69294
|
+
reportedRuns: number;
|
|
69295
|
+
};
|
|
69296
|
+
/** A null cost is unknown, never zero: `unpricedRuns` counts what the sum leaves out. */
|
|
69297
|
+
cost: TraceQueryDistribution & {
|
|
69298
|
+
pricedRuns: number;
|
|
69299
|
+
unpricedRuns: number;
|
|
69300
|
+
};
|
|
69301
|
+
durationMs: {
|
|
69302
|
+
p50: number | null;
|
|
69303
|
+
p95: number | null;
|
|
69304
|
+
};
|
|
69305
|
+
toolCalls: {
|
|
69306
|
+
p50: number | null;
|
|
69307
|
+
p95: number | null;
|
|
69308
|
+
} | null;
|
|
69309
|
+
signalRate?: {
|
|
69310
|
+
uniform: TraceQuerySignalRateSample;
|
|
69311
|
+
filtered: TraceQuerySignalRateSample;
|
|
69312
|
+
};
|
|
69313
|
+
}
|
|
69314
|
+
interface TraceQueryGroup extends TraceQueryMetrics {
|
|
69315
|
+
key: Partial<Record<TraceQueryDimension, string | null>>;
|
|
69316
|
+
sampleExecutionIds: string[];
|
|
69317
|
+
}
|
|
69318
|
+
interface TraceQueryWarning {
|
|
69319
|
+
code: string;
|
|
69320
|
+
message: string;
|
|
69321
|
+
}
|
|
69322
|
+
interface TraceQueryResult {
|
|
69323
|
+
groupBy: TraceQueryDimension[];
|
|
69324
|
+
groups: TraceQueryGroup[];
|
|
69325
|
+
totals: TraceQueryMetrics;
|
|
69326
|
+
truncated: boolean;
|
|
69327
|
+
nextCursor: string | null;
|
|
69328
|
+
warnings: TraceQueryWarning[];
|
|
69329
|
+
window: {
|
|
69330
|
+
from: string;
|
|
69331
|
+
to: string;
|
|
69332
|
+
};
|
|
69333
|
+
}
|
|
69334
|
+
type TraceSliceSpanKind = 'model' | 'tool' | 'step';
|
|
69335
|
+
/** Query parameters for `readTraceSlice`; `aroundFirstFailure` does not combine with `start`/`end`. */
|
|
69336
|
+
interface TraceSliceParams {
|
|
69337
|
+
start?: number;
|
|
69338
|
+
end?: number;
|
|
69339
|
+
kind?: TraceSliceSpanKind;
|
|
69340
|
+
toolName?: string;
|
|
69341
|
+
aroundFirstFailure?: number;
|
|
69342
|
+
limit?: number;
|
|
69343
|
+
includeContent?: boolean;
|
|
69344
|
+
maxContentBytes?: number;
|
|
69345
|
+
}
|
|
69346
|
+
interface TraceSliceSpan {
|
|
69347
|
+
index: number;
|
|
69348
|
+
spanId: string | null;
|
|
69349
|
+
parentSpanId: string | null;
|
|
69350
|
+
kind: string | null;
|
|
69351
|
+
name: string;
|
|
69352
|
+
toolName: string | null;
|
|
69353
|
+
status: string;
|
|
69354
|
+
startedAt: string;
|
|
69355
|
+
durationMs: number | null;
|
|
69356
|
+
model: string | null;
|
|
69357
|
+
inputTokens: number | null;
|
|
69358
|
+
outputTokens: number | null;
|
|
69359
|
+
cost: number | null;
|
|
69360
|
+
stopReason: string | null;
|
|
69361
|
+
error: string | null;
|
|
69362
|
+
inputPreview: string | null;
|
|
69363
|
+
outputPreview: string | null;
|
|
69364
|
+
content?: Record<string, unknown>;
|
|
69365
|
+
}
|
|
69366
|
+
interface TraceSlice {
|
|
69367
|
+
executionId: string;
|
|
69368
|
+
traceId: string;
|
|
69369
|
+
source: string;
|
|
69370
|
+
totalSpans: number;
|
|
69371
|
+
matchedSpans: number;
|
|
69372
|
+
selection: {
|
|
69373
|
+
mode: 'range' | 'around_first_failure';
|
|
69374
|
+
from: number;
|
|
69375
|
+
to: number;
|
|
69376
|
+
firstFailedIndex: number | null;
|
|
69377
|
+
};
|
|
69378
|
+
spans: TraceSliceSpan[];
|
|
69379
|
+
/** More spans matched than were returned. */
|
|
69380
|
+
truncated: boolean;
|
|
69381
|
+
/** The trace exceeded the span read ceiling. */
|
|
69382
|
+
traceTruncated: boolean;
|
|
69383
|
+
content: {
|
|
69384
|
+
loaded: boolean;
|
|
69385
|
+
limitBytes: number;
|
|
69386
|
+
usedBytes: number;
|
|
69387
|
+
cut: Array<{
|
|
69388
|
+
spanId: string;
|
|
69389
|
+
field: string;
|
|
69390
|
+
bytes: number;
|
|
69391
|
+
returnedBytes: number;
|
|
69392
|
+
}>;
|
|
69393
|
+
unavailable: string[];
|
|
69394
|
+
};
|
|
69395
|
+
}
|
|
69396
|
+
type TraceCompareSide = {
|
|
69397
|
+
executionId: string;
|
|
69398
|
+
} | {
|
|
69399
|
+
filters: TraceQueryFilters;
|
|
69400
|
+
};
|
|
69401
|
+
interface TraceCompareRequest {
|
|
69402
|
+
left: TraceCompareSide;
|
|
69403
|
+
right: TraceCompareSide;
|
|
69404
|
+
from?: string;
|
|
69405
|
+
to?: string;
|
|
69406
|
+
sampleSize?: number;
|
|
69407
|
+
}
|
|
69408
|
+
type TraceAlignmentOp = 'match' | 'left_only' | 'right_only' | 'reordered';
|
|
69409
|
+
interface TraceCompareExecutionTotals {
|
|
69410
|
+
executionId: string;
|
|
69411
|
+
source: string;
|
|
69412
|
+
status: string | null;
|
|
69413
|
+
stopReason: string | null;
|
|
69414
|
+
inputTokens: number | null;
|
|
69415
|
+
outputTokens: number | null;
|
|
69416
|
+
cost: number | null;
|
|
69417
|
+
durationMs: number | null;
|
|
69418
|
+
turns: number | null;
|
|
69419
|
+
toolCalls: number;
|
|
69420
|
+
}
|
|
69421
|
+
interface TraceCompareExecutions {
|
|
69422
|
+
mode: 'executions';
|
|
69423
|
+
left: TraceCompareExecutionTotals;
|
|
69424
|
+
right: TraceCompareExecutionTotals;
|
|
69425
|
+
alignment: Array<{
|
|
69426
|
+
op: TraceAlignmentOp;
|
|
69427
|
+
tool: string;
|
|
69428
|
+
leftIndex: number | null;
|
|
69429
|
+
rightIndex: number | null;
|
|
69430
|
+
argDrift: number | null;
|
|
69431
|
+
driftedKeys?: string[];
|
|
69432
|
+
}>;
|
|
69433
|
+
divergence: {
|
|
69434
|
+
alignmentIndex: number;
|
|
69435
|
+
leftIndex: number | null;
|
|
69436
|
+
rightIndex: number | null;
|
|
69437
|
+
description: string;
|
|
69438
|
+
} | null;
|
|
69439
|
+
perTool: Array<{
|
|
69440
|
+
tool: string;
|
|
69441
|
+
leftCalls: number;
|
|
69442
|
+
rightCalls: number;
|
|
69443
|
+
leftErrors: number;
|
|
69444
|
+
rightErrors: number;
|
|
69445
|
+
argDrift: number | null;
|
|
69446
|
+
}>;
|
|
69447
|
+
truncated: {
|
|
69448
|
+
left: boolean;
|
|
69449
|
+
right: boolean;
|
|
69450
|
+
};
|
|
69451
|
+
}
|
|
69452
|
+
interface TraceCompareCohortSide {
|
|
69453
|
+
sampled: number;
|
|
69454
|
+
sampleLimit: number;
|
|
69455
|
+
executionIds: string[];
|
|
69456
|
+
failureRate: number | null;
|
|
69457
|
+
stopReasons: Record<string, number>;
|
|
69458
|
+
toolUsage: Array<{
|
|
69459
|
+
tool: string;
|
|
69460
|
+
calls: number;
|
|
69461
|
+
runsUsing: number;
|
|
69462
|
+
shareOfRuns: number;
|
|
69463
|
+
callsPerRun: number;
|
|
69464
|
+
errors: number;
|
|
69465
|
+
}>;
|
|
69466
|
+
signalRates: Record<string, {
|
|
69467
|
+
uniform: TraceQuerySignalRateSample;
|
|
69468
|
+
filtered: TraceQuerySignalRateSample;
|
|
69469
|
+
}>;
|
|
69470
|
+
}
|
|
69471
|
+
interface TraceCompareCohorts {
|
|
69472
|
+
mode: 'cohorts';
|
|
69473
|
+
window: {
|
|
69474
|
+
from: string;
|
|
69475
|
+
to: string;
|
|
69476
|
+
};
|
|
69477
|
+
left: TraceCompareCohortSide;
|
|
69478
|
+
right: TraceCompareCohortSide;
|
|
69479
|
+
toolShareDelta: Array<{
|
|
69480
|
+
tool: string;
|
|
69481
|
+
left: number;
|
|
69482
|
+
right: number;
|
|
69483
|
+
delta: number;
|
|
69484
|
+
}>;
|
|
69485
|
+
}
|
|
69486
|
+
type TraceCompare = TraceCompareExecutions | TraceCompareCohorts;
|
|
69487
|
+
interface TraceQueryResponse {
|
|
69488
|
+
success: boolean;
|
|
69489
|
+
data: TraceQueryResult;
|
|
69490
|
+
}
|
|
69491
|
+
interface TraceSliceResponse {
|
|
69492
|
+
success: boolean;
|
|
69493
|
+
data: TraceSlice;
|
|
69494
|
+
}
|
|
69495
|
+
interface TraceCompareResponse {
|
|
69496
|
+
success: boolean;
|
|
69497
|
+
data: TraceCompare;
|
|
69498
|
+
}
|
|
68283
69499
|
/**
|
|
68284
69500
|
* Agent API key request types.
|
|
68285
69501
|
*
|
|
@@ -71839,6 +73055,22 @@ export declare class LogsEndpoint {
|
|
|
71839
73055
|
* Get the trace tree for a conversation (all executions within it).
|
|
71840
73056
|
*/
|
|
71841
73057
|
traceConversation(conversationId: string): Promise<Record<string, unknown>>;
|
|
73058
|
+
/**
|
|
73059
|
+
* Filter runs and group them by one or two dimensions into aggregates (count, failure rate,
|
|
73060
|
+
* tokens, cost, duration, tool calls, signal fire rate), each with sample execution ids.
|
|
73061
|
+
* Model and tool-call metrics read spans, which caps the window at 7 days.
|
|
73062
|
+
*/
|
|
73063
|
+
queryTraces(request?: TraceQueryRequest): Promise<TraceQueryResponse>;
|
|
73064
|
+
/**
|
|
73065
|
+
* Read a bounded window of one trace: by span index range, span kind, tool name, or around
|
|
73066
|
+
* the first failed span. Content stays previews-only unless `includeContent` is set.
|
|
73067
|
+
*/
|
|
73068
|
+
readTraceSlice(executionId: string, params?: TraceSliceParams): Promise<TraceSliceResponse>;
|
|
73069
|
+
/**
|
|
73070
|
+
* Compare two executions (tool-call alignment and first divergence) or two cohorts of runs
|
|
73071
|
+
* (failure rate, stop reasons, tool usage, signal rates).
|
|
73072
|
+
*/
|
|
73073
|
+
compareTrace(request: TraceCompareRequest): Promise<TraceCompareResponse>;
|
|
71842
73074
|
}
|
|
71843
73075
|
/**
|
|
71844
73076
|
* Agent Versions endpoint handlers
|
|
@@ -75002,6 +76234,15 @@ interface AgentDefinitionConfig {
|
|
|
75002
76234
|
toolArgument: string;
|
|
75003
76235
|
}>;
|
|
75004
76236
|
};
|
|
76237
|
+
/** Settlement validators the loop runs before it settles; a failing one re-prompts up to `maxBounces` times. */
|
|
76238
|
+
output?: {
|
|
76239
|
+
validators?: Array<{
|
|
76240
|
+
type: 'candidate-question' | 'requested-json' | 'no-action' | 'json-schema';
|
|
76241
|
+
maxBounces?: number;
|
|
76242
|
+
/** Required on a `json-schema` validator, rejected on the others. */
|
|
76243
|
+
schema?: Record<string, unknown>;
|
|
76244
|
+
}>;
|
|
76245
|
+
};
|
|
75005
76246
|
}
|
|
75006
76247
|
/**
|
|
75007
76248
|
* `defineAgent` input — the flat authoring shape: identity + presentation
|
|
@@ -77360,6 +78601,32 @@ interface SimulationReportedUsage {
|
|
|
77360
78601
|
cacheCreationInputTokens?: number;
|
|
77361
78602
|
}>;
|
|
77362
78603
|
}
|
|
78604
|
+
/** How completely a local coding harness recorded one turn; evidence coverage, not task success or billing. */
|
|
78605
|
+
interface SimulationHarnessCaptureSummary {
|
|
78606
|
+
version: 1;
|
|
78607
|
+
traceId: string;
|
|
78608
|
+
executionId: string;
|
|
78609
|
+
delivery: 'accepted' | 'partial' | 'failed';
|
|
78610
|
+
dataPolicy: 'metrics' | 'redacted' | 'full';
|
|
78611
|
+
coverage: Record<string, {
|
|
78612
|
+
state: 'available' | 'unavailable' | 'disabled' | 'partial' | 'redacted' | 'truncated';
|
|
78613
|
+
reason?: string;
|
|
78614
|
+
}>;
|
|
78615
|
+
provenance?: {
|
|
78616
|
+
cliVersion?: string;
|
|
78617
|
+
harness: 'claude' | 'codex';
|
|
78618
|
+
backend: 'native' | 'acp';
|
|
78619
|
+
harnessVersion: string;
|
|
78620
|
+
adapterVersion?: string;
|
|
78621
|
+
sdkVersion?: string;
|
|
78622
|
+
protocolVersion: string;
|
|
78623
|
+
profile: 'controlled-mcp' | 'workspace';
|
|
78624
|
+
};
|
|
78625
|
+
observedEvents: number;
|
|
78626
|
+
deliveredEvents: number;
|
|
78627
|
+
droppedEvents: number;
|
|
78628
|
+
unresolvedTools: number;
|
|
78629
|
+
}
|
|
77363
78630
|
/** Known estimates and reporting coverage, without treating a partial sum as complete. */
|
|
77364
78631
|
interface SimulationSelfReportedCost {
|
|
77365
78632
|
knownCostUsd: number | null;
|
|
@@ -77500,6 +78767,8 @@ interface SimulationEpisodeScore {
|
|
|
77500
78767
|
}
|
|
77501
78768
|
/** One tool call of a turn, as the layer facts keep it after the transcript expires. */
|
|
77502
78769
|
interface SimulationToolCallFacts {
|
|
78770
|
+
/** The native tool call id, when the target reported one. */
|
|
78771
|
+
callId?: string;
|
|
77503
78772
|
callIndex: number;
|
|
77504
78773
|
shownName: string;
|
|
77505
78774
|
serverTool: string | null;
|
|
@@ -77512,7 +78781,7 @@ interface SimulationToolCallFacts {
|
|
|
77512
78781
|
retryOf: number | null;
|
|
77513
78782
|
intendedTool: string | null;
|
|
77514
78783
|
intendedSource: 'hint' | 'judge' | null;
|
|
77515
|
-
durationMs: number;
|
|
78784
|
+
durationMs: number | null;
|
|
77516
78785
|
stubbed?: boolean;
|
|
77517
78786
|
readOnly?: boolean;
|
|
77518
78787
|
errorText?: string | null;
|
|
@@ -77539,6 +78808,7 @@ interface SimulationToolCallFacts {
|
|
|
77539
78808
|
}
|
|
77540
78809
|
/** What one turn crossed: surface, capability, implementation, models and tool calls. */
|
|
77541
78810
|
interface SimulationTurnLayerFacts {
|
|
78811
|
+
harnessCapture?: SimulationHarnessCaptureSummary;
|
|
77542
78812
|
reportedUsage?: SimulationReportedUsage;
|
|
77543
78813
|
turnIndex: number;
|
|
77544
78814
|
surface: {
|
|
@@ -79216,5 +80486,5 @@ export declare function isPreservationSensitiveTask(state: Pick<{
|
|
|
79216
80486
|
export declare function getLikelySupportingCandidatePaths(bestCandidatePath: string | undefined, candidatePaths: string[] | undefined): string[];
|
|
79217
80487
|
export declare function getDefaultPlanPath(taskName: string): string;
|
|
79218
80488
|
export declare function sanitizeTaskSlug(taskName: string): string;
|
|
79219
|
-
export type { A2AHandlerOptions, A2ARunInput, A2ATextMessage, AIGrader, ActivateAgentAliasInput, ActivateAgentPromotionInput, AgentAlias, AgentAliasActivation, AgentAliasArchiveFailure, AgentAliasArchived, AgentAliasList, AgentAliasTransport, AgentCapabilityChange, AgentCapabilityDeclaration, AgentDefinition, AgentDefinitionConfig, AgentDeploymentList, AgentDeploymentPromotion, AgentDeploymentReceipt, AgentPromotionManifest, AgentPromotionTransport, AgentPromotionValidation, AgentPullResult, AgentSkillBinding, AgentSkillBindingChange, AgentStreamEvent, ApiKeyRequest, ApiKeyRequestDelivery, ApiKeyRequestEnvironment, ApiKeyRequestHandoff, ApiKeyRequestListParams, ApiKeyRequestRequester, ApiKeyRequestStatus, ApplyGeneratedProposalOptions, ApplyGeneratedProposalResult, ArchiveAgentAliasEverywhereResult, ArchiveAgentAliasInput, AttachRuntimeToolsOptions, BatchClient, BatchListParams, BatchOptions, BatchRequest, BatchResult, BatchScheduleConfig, BatchStatus, BindSignalSetInput, BindSkillInput, BuiltInGraderId, CaseExpected, CheckGrader, ClaimApiKeyRequestInput, ClaimApiKeyRequestResponse, ClientConversation, ClientToken, ClientTokenConfig, ClientTokenDefinition, ClientTokenEnvironment, ClientTokenVersionPin, ClientWidgetTheme, CollectionPullResult, CollectionSchemaChange, ConditionalGetResult, ConditionalStepConfig, ContextErrorHandling, ContextFallback, CreateApiKeyRequestInput, CreateApiKeyRequestResponse, CreateClientTokenRequest, CreateClientTokenResponse, CreateEvalSuiteInput, CreatePromptData, CreateSignalSetInput, DecisionModelCatalog, DecisionModelCatalogEntry, DecomposeCriteriaResult, DefineAgentInput, DefineEvalCaseInput, DefineEvalInput, DefineFlowInput, DefineProductInput, DefineScheduleInput, DefineSkillInput, DefineSurfaceInput, DefineToolInput, DetachedReattach, DetachedReconnectOptions, DispatchClient, DispatchEvent, DispatchOptions, EnsureAgentConverged, EnsureAgentOptions, EnsureAgentPlan, EnsureAgentResult, EnsureClientTokenConverged, EnsureClientTokenOptions, EnsureClientTokenPlan, EnsureClientTokenResult, EnsureCollectionConverged, EnsureCollectionOptions, EnsureCollectionPlan, EnsureCollectionResult, EnsureEvalApplyOptions, EnsureEvalOptions, EnsureEvalPlan, EnsureEvalResult, EnsureFlowConverged, EnsureFlowOptions, EnsureFlowPlan, EnsureFlowResult, EnsureFpoOptions, EnsureFpoResult, EnsureProductConverged, EnsureProductOptions, EnsureProductPlan, EnsureProductResult, EnsureQuestionSetConverged, EnsureQuestionSetOptions, EnsureQuestionSetPlan, EnsureQuestionSetResult, EnsureScheduleConverged, EnsureScheduleOptions, EnsureSchedulePlan, EnsureScheduleResult, EnsureSkillConverged, EnsureSkillOptions, EnsureSkillPlan, EnsureSkillResult, EnsureSurfaceConverged, EnsureSurfaceOptions, EnsureSurfacePlan, EnsureSurfaceResult, EnsureToolConverged, EnsureToolOptions, EnsureToolPlan, EnsureToolResult, ErrorHandlingMode, EvalAgentSelector, EvalAgentTargetResolution, EvalCaseDefinition, EvalCaseInput, EvalCaseProposal, EvalCaseProposalAccepted, EvalCaseProposalListResult, EvalCasesGenerated, EvalClient, EvalDefinition, EvalEndUserIdentity, EvalIdentityDefaults, EvalListParams, EvalMessage, EvalOptions, EvalProposalSource, EvalProposalStatus, EvalProposedCase, EvalPullResult, EvalRecord, EvalRequest, EvalResult, EvalRunCaseScores, EvalRunConfig, EvalRunEvidence, EvalRunScores, EvalStatus, EvalSuiteCase, EvalSuiteCaseInput, EvalSuiteCoverage, EvalSuiteDetail, EvalSuiteLatestRun, EvalSuiteListResult, EvalSuiteRunQueued, EvalSuiteRunResult, EvalSuiteSummary, EvalTarget, EvalTenantIdentity, ExecutionStreamEvent, ExecutionTerminalOutcome, ExportSimulationDesignBriefResponse, ExtractionModelCatalog, ExtractionModelCatalogEntry, FallbackFailEvent, FallbackStartEvent, FallbackSuccessEvent, FallbackTrigger, FallbackTriggerType, FallbacksExhaustedEvent, FallbacksInitiatedEvent, FetchUrlStepConfig, FieldFormat, FlowCompleteEvent, FlowConfig, FlowDefinition, FlowDefinitionStep, FlowErrorEvent, FlowFallback, FlowInlineEvalInput, FlowPausedEvent, FlowPullResult, FlowStartEvent, FlowStreamEvent, FlowSummary, FlowValidationClient, FlowValidationIssue, FlowValidationResult, FpoEntityOutcome, FpoInput, GenerateEmbeddingStepConfig, GenerateEvalCasesInput, GeneratedRuntimeToolGateDecision, GeneratedRuntimeToolGateOptions, GetApiKeyRequestResponse, GetRecordStepConfig, GetSimulationEpisodeResponse, Gradeable, GraderConfig, GraderOutcome, GraderSeverity, HumanVerdict, JudgeAttemptDiagnostic, JudgeDiagnostics, JudgeParseError, ListAgentAliasesOptions, ListAgentDeploymentsOptions, ListConversationsResponse, ListRecordsStepConfig, ListSimulationEpisodesParams, ListSimulationEpisodesResponse, ListSimulationToolExchangesParams, ListSimulationToolExchangesResponse, LoopStepConfig, ManagedDeploymentAccepted, ManagedDeploymentCapability, ManagedDeploymentConfig, ManagedDeploymentCredentialAuthority, ManagedDeploymentDefinition, ManagedDeploymentDesiredSpec, ManagedDeploymentHealth, ManagedDeploymentLanguage, ManagedDeploymentProfileIdentity, ManagedDeploymentResource, ManagedDeploymentRetention, ManagedDeploymentRuntimeProfile, ManagedDeploymentSleepPolicy, ManagedDeploymentUpdateOptions, ManagedDeploymentWriteOptions, ManagedDeploymentWriteRequest, Message, MessageFallback, ModelFallback, ModelOverride, OrganizationAgentAlias, OrganizationAgentAliasList, PersistedGraderOutcome, PrepareAgentPromotionInput, PreviewSimulationVariantRequest, PreviewSimulationVariantResponse, ProductDefinition, ProductPullResult, PromoteAgentInput, PromoteAgentResult, PromptErrorHandling, PromptFallback, PromptListParams, PromptStepConfig, PullFpoResult, QuestionSetDefinition, QuestionSetPullResult, RecordCollectionDefinition, RecordCollectionValidationMode, RecordConfig, RecordFilter, RecordFilterCondition, RecordFilterGroup, RecordFilterOperator, RetrieveRecordStepConfig, RetryFallback, RollbackAgentAliasInput, RunEvalCaseResult, RunEvalInput, RunEvalResult, RunListParams, RunListResponse, RunListRow, AgentSkillBinding$1 as RuntypeAgentSkillBinding, ConditionalStepConfig$1 as RuntypeConditionalStepConfig, RuntypeConfig, FetchUrlStepConfig$1 as RuntypeFetchUrlStepConfig, FlowConfig$1 as RuntypeFlowConfig, GenerateEmbeddingStepConfig$1 as RuntypeGenerateEmbeddingStepConfig, GetRecordStepConfig$1 as RuntypeGetRecordStepConfig, ListRecordsStepConfig$1 as RuntypeListRecordsStepConfig, LoopStepConfig$1 as RuntypeLoopStepConfig, Message$1 as RuntypeMessage, ModelOverride$1 as RuntypeModelOverride, Prompt$1 as RuntypePrompt, PromptStepConfig$1 as RuntypePromptStepConfig, RecordConfig$1 as RuntypeRecordConfig, RetrieveRecordStepConfig$1 as RuntypeRetrieveRecordStepConfig, SearchStepConfig as RuntypeSearchStepConfig, SendEmailStepConfig as RuntypeSendEmailStepConfig, SendEventStepConfig as RuntypeSendEventStepConfig, SendStreamStepConfig as RuntypeSendStreamStepConfig, SetVariableStepConfig as RuntypeSetVariableStepConfig, Skill as RuntypeSkill, SkillBindingWithAgent as RuntypeSkillBindingWithAgent, SkillCapabilities as RuntypeSkillCapabilities, SkillFrontmatter as RuntypeSkillFrontmatter, SkillManifest as RuntypeSkillManifest, SkillProposal as RuntypeSkillProposal, SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, SkillVersion as RuntypeSkillVersion, TransformDataStepConfig as RuntypeTransformDataStepConfig, UpsertFlowConfig as RuntypeUpsertFlowConfig, UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, VectorSearchStepConfig as RuntypeVectorSearchStepConfig, WaitUntilStepConfig as RuntypeWaitUntilStepConfig, ScheduleDefinition, ScheduleDefinitionMessage, ScheduleEnsureTransport, SchedulePullResult, SearchStepConfig$1 as SearchStepConfig, SendEmailStepConfig$1 as SendEmailStepConfig, SendEventStepConfig$1 as SendEventStepConfig, SendStreamStepConfig$1 as SendStreamStepConfig, SetVariableStepConfig$1 as SetVariableStepConfig, SignalBinding, SignalPreviewReport, SignalSet, SignalSetDefinitionInput, SignalSetPreset, SignalSetVersion, SignalStatRow, SignalStatsParams, SimulationDesignBrief, SimulationEpisode, SimulationEpisodeMetrics, SimulationEpisodeScore, SimulationEpisodeStatus, SimulationEpisodeTranscript, SimulationReportedUsage, SimulationSelfReportedCost, SimulationServedBy, SimulationServedByCounts, SimulationTermination, SimulationToolCallFacts, SimulationToolExchange, SimulationToolProfile, SimulationTranscriptMessage, SimulationTurnLayerFacts, SkillDefinition, SkillListPage, SkillListPagination, SkillListParams, SkillManifestInput, SkillMarkdownInput, SkillOrigin, SkillProposalStatus, SkillPullResult, SkillStatus, SkillTrustLevel, SkillVersionStatus, SkillWithVersion, SkillWriteInput, StepCompleteEvent, StepDeltaEvent, StepFallback, StepFieldMeta, StepStartEvent, StepWaitingLocalEvent, StreamCallbacks, StreamConsumeOptions, StreamEvent, StreamEventOf, SurfaceDefinition, SurfaceDefinitionStatus, SurfaceDefinitionType, SurfacePullResult, ToolDefinition, ToolDefinitionType, ToolPullResult, TransformDataStepConfig$1 as TransformDataStepConfig, UnauthenticatedClaimApiKeyRequestInput, UpdateClientTokenRequest, UpdateEvalCaseInput, UpdateEvalSuiteInput, UpdatePromptData, UpdateSimulationTargetRequest, UpdateSimulationVariantRequest, UploadSimulationToolExchangesRequest, UploadedSimulationToolExchange, UpsertFlowConfig$1 as UpsertFlowConfig, UpsertRecordStepConfig$1 as UpsertRecordStepConfig, ValidateAgentPromotionInput, VectorSearchStepConfig$1 as VectorSearchStepConfig, WaitUntilStepConfig$1 as WaitUntilStepConfig, WorkflowCompileDeps, WorkflowCompletionCriteriaConfig, WorkflowConfig, WorkflowConfigFactory, WorkflowHookEntry, WorkflowHookKind, WorkflowHookRef, WorkflowHookSignatures, WorkflowMilestoneConfig, WorkflowPolicyConfig, WorkflowRecoveryConfig, WorkflowSlot };
|
|
80489
|
+
export type { A2AHandlerOptions, A2ARunInput, A2ATextMessage, AIGrader, ActivateAgentAliasInput, ActivateAgentPromotionInput, AgentAlias, AgentAliasActivation, AgentAliasArchiveFailure, AgentAliasArchived, AgentAliasList, AgentAliasTransport, AgentCapabilityChange, AgentCapabilityDeclaration, AgentDefinition, AgentDefinitionConfig, AgentDeploymentList, AgentDeploymentPromotion, AgentDeploymentReceipt, AgentPromotionManifest, AgentPromotionTransport, AgentPromotionValidation, AgentPullResult, AgentSkillBinding, AgentSkillBindingChange, AgentStreamEvent, ApiKeyRequest, ApiKeyRequestDelivery, ApiKeyRequestEnvironment, ApiKeyRequestHandoff, ApiKeyRequestListParams, ApiKeyRequestRequester, ApiKeyRequestStatus, ApplyGeneratedProposalOptions, ApplyGeneratedProposalResult, ArchiveAgentAliasEverywhereResult, ArchiveAgentAliasInput, AttachRuntimeToolsOptions, BatchClient, BatchListParams, BatchOptions, BatchRequest, BatchResult, BatchScheduleConfig, BatchStatus, BindSignalSetInput, BindSkillInput, BuiltInGraderId, CaseExpected, CheckGrader, ClaimApiKeyRequestInput, ClaimApiKeyRequestResponse, ClientConversation, ClientToken, ClientTokenConfig, ClientTokenDefinition, ClientTokenEnvironment, ClientTokenVersionPin, ClientWidgetTheme, CollectionPullResult, CollectionSchemaChange, ConditionalGetResult, ConditionalStepConfig, ContextErrorHandling, ContextFallback, CreateApiKeyRequestInput, CreateApiKeyRequestResponse, CreateClientTokenRequest, CreateClientTokenResponse, CreateEvalSuiteInput, CreatePromptData, CreateSignalSetInput, DecisionModelCatalog, DecisionModelCatalogEntry, DecomposeCriteriaResult, DefineAgentInput, DefineEvalCaseInput, DefineEvalInput, DefineFlowInput, DefineProductInput, DefineScheduleInput, DefineSkillInput, DefineSurfaceInput, DefineToolInput, DetachedReattach, DetachedReconnectOptions, DispatchClient, DispatchEvent, DispatchOptions, EnsureAgentConverged, EnsureAgentOptions, EnsureAgentPlan, EnsureAgentResult, EnsureClientTokenConverged, EnsureClientTokenOptions, EnsureClientTokenPlan, EnsureClientTokenResult, EnsureCollectionConverged, EnsureCollectionOptions, EnsureCollectionPlan, EnsureCollectionResult, EnsureEvalApplyOptions, EnsureEvalOptions, EnsureEvalPlan, EnsureEvalResult, EnsureFlowConverged, EnsureFlowOptions, EnsureFlowPlan, EnsureFlowResult, EnsureFpoOptions, EnsureFpoResult, EnsureProductConverged, EnsureProductOptions, EnsureProductPlan, EnsureProductResult, EnsureQuestionSetConverged, EnsureQuestionSetOptions, EnsureQuestionSetPlan, EnsureQuestionSetResult, EnsureScheduleConverged, EnsureScheduleOptions, EnsureSchedulePlan, EnsureScheduleResult, EnsureSkillConverged, EnsureSkillOptions, EnsureSkillPlan, EnsureSkillResult, EnsureSurfaceConverged, EnsureSurfaceOptions, EnsureSurfacePlan, EnsureSurfaceResult, EnsureToolConverged, EnsureToolOptions, EnsureToolPlan, EnsureToolResult, ErrorHandlingMode, EvalAgentSelector, EvalAgentTargetResolution, EvalCaseDefinition, EvalCaseInput, EvalCaseProposal, EvalCaseProposalAccepted, EvalCaseProposalListResult, EvalCasesGenerated, EvalClient, EvalDefinition, EvalEndUserIdentity, EvalIdentityDefaults, EvalListParams, EvalMessage, EvalOptions, EvalProposalSource, EvalProposalStatus, EvalProposedCase, EvalPullResult, EvalRecord, EvalRequest, EvalResult, EvalRunCaseScores, EvalRunConfig, EvalRunEvidence, EvalRunScores, EvalStatus, EvalSuiteCase, EvalSuiteCaseInput, EvalSuiteCoverage, EvalSuiteDetail, EvalSuiteLatestRun, EvalSuiteListResult, EvalSuiteRunQueued, EvalSuiteRunResult, EvalSuiteSummary, EvalTarget, EvalTenantIdentity, ExecutionStreamEvent, ExecutionTerminalOutcome, ExportSimulationDesignBriefResponse, ExtractionModelCatalog, ExtractionModelCatalogEntry, FallbackFailEvent, FallbackStartEvent, FallbackSuccessEvent, FallbackTrigger, FallbackTriggerType, FallbacksExhaustedEvent, FallbacksInitiatedEvent, FetchUrlStepConfig, FieldFormat, FlowCompleteEvent, FlowConfig, FlowDefinition, FlowDefinitionStep, FlowErrorEvent, FlowFallback, FlowInlineEvalInput, FlowPausedEvent, FlowPullResult, FlowStartEvent, FlowStreamEvent, FlowSummary, FlowValidationClient, FlowValidationIssue, FlowValidationResult, FpoEntityOutcome, FpoInput, GenerateEmbeddingStepConfig, GenerateEvalCasesInput, GeneratedRuntimeToolGateDecision, GeneratedRuntimeToolGateOptions, GetApiKeyRequestResponse, GetRecordStepConfig, GetSimulationEpisodeResponse, Gradeable, GraderConfig, GraderOutcome, GraderSeverity, HumanVerdict, JudgeAttemptDiagnostic, JudgeDiagnostics, JudgeParseError, ListAgentAliasesOptions, ListAgentDeploymentsOptions, ListConversationsResponse, ListRecordsStepConfig, ListSimulationEpisodesParams, ListSimulationEpisodesResponse, ListSimulationToolExchangesParams, ListSimulationToolExchangesResponse, LoopStepConfig, ManagedDeploymentAccepted, ManagedDeploymentCapability, ManagedDeploymentConfig, ManagedDeploymentCredentialAuthority, ManagedDeploymentDefinition, ManagedDeploymentDesiredSpec, ManagedDeploymentHealth, ManagedDeploymentLanguage, ManagedDeploymentProfileIdentity, ManagedDeploymentResource, ManagedDeploymentRetention, ManagedDeploymentRuntimeProfile, ManagedDeploymentSleepPolicy, ManagedDeploymentUpdateOptions, ManagedDeploymentWriteOptions, ManagedDeploymentWriteRequest, Message, MessageFallback, ModelFallback, ModelOverride, OrganizationAgentAlias, OrganizationAgentAliasList, PersistedGraderOutcome, PrepareAgentPromotionInput, PreviewSimulationVariantRequest, PreviewSimulationVariantResponse, ProductDefinition, ProductPullResult, PromoteAgentInput, PromoteAgentResult, PromptErrorHandling, PromptFallback, PromptListParams, PromptStepConfig, PullFpoResult, QuestionSetDefinition, QuestionSetPullResult, RecordCollectionDefinition, RecordCollectionValidationMode, RecordConfig, RecordFilter, RecordFilterCondition, RecordFilterGroup, RecordFilterOperator, RetrieveRecordStepConfig, RetryFallback, RollbackAgentAliasInput, RunEvalCaseResult, RunEvalInput, RunEvalResult, RunListParams, RunListResponse, RunListRow, AgentSkillBinding$1 as RuntypeAgentSkillBinding, ConditionalStepConfig$1 as RuntypeConditionalStepConfig, RuntypeConfig, FetchUrlStepConfig$1 as RuntypeFetchUrlStepConfig, FlowConfig$1 as RuntypeFlowConfig, GenerateEmbeddingStepConfig$1 as RuntypeGenerateEmbeddingStepConfig, GetRecordStepConfig$1 as RuntypeGetRecordStepConfig, ListRecordsStepConfig$1 as RuntypeListRecordsStepConfig, LoopStepConfig$1 as RuntypeLoopStepConfig, Message$1 as RuntypeMessage, ModelOverride$1 as RuntypeModelOverride, Prompt$1 as RuntypePrompt, PromptStepConfig$1 as RuntypePromptStepConfig, RecordConfig$1 as RuntypeRecordConfig, RetrieveRecordStepConfig$1 as RuntypeRetrieveRecordStepConfig, SearchStepConfig as RuntypeSearchStepConfig, SendEmailStepConfig as RuntypeSendEmailStepConfig, SendEventStepConfig as RuntypeSendEventStepConfig, SendStreamStepConfig as RuntypeSendStreamStepConfig, SetVariableStepConfig as RuntypeSetVariableStepConfig, Skill as RuntypeSkill, SkillBindingWithAgent as RuntypeSkillBindingWithAgent, SkillCapabilities as RuntypeSkillCapabilities, SkillFrontmatter as RuntypeSkillFrontmatter, SkillManifest as RuntypeSkillManifest, SkillProposal as RuntypeSkillProposal, SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, SkillVersion as RuntypeSkillVersion, TransformDataStepConfig as RuntypeTransformDataStepConfig, UpsertFlowConfig as RuntypeUpsertFlowConfig, UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, VectorSearchStepConfig as RuntypeVectorSearchStepConfig, WaitUntilStepConfig as RuntypeWaitUntilStepConfig, ScheduleDefinition, ScheduleDefinitionMessage, ScheduleEnsureTransport, SchedulePullResult, SearchStepConfig$1 as SearchStepConfig, SendEmailStepConfig$1 as SendEmailStepConfig, SendEventStepConfig$1 as SendEventStepConfig, SendStreamStepConfig$1 as SendStreamStepConfig, SetVariableStepConfig$1 as SetVariableStepConfig, SignalBinding, SignalPreviewReport, SignalSet, SignalSetDefinitionInput, SignalSetPreset, SignalSetVersion, SignalStatRow, SignalStatsParams, SimulationDesignBrief, SimulationEpisode, SimulationEpisodeMetrics, SimulationEpisodeScore, SimulationEpisodeStatus, SimulationEpisodeTranscript, SimulationHarnessCaptureSummary, SimulationReportedUsage, SimulationSelfReportedCost, SimulationServedBy, SimulationServedByCounts, SimulationTermination, SimulationToolCallFacts, SimulationToolExchange, SimulationToolProfile, SimulationTranscriptMessage, SimulationTurnLayerFacts, SkillDefinition, SkillListPage, SkillListPagination, SkillListParams, SkillManifestInput, SkillMarkdownInput, SkillOrigin, SkillProposalStatus, SkillPullResult, SkillStatus, SkillTrustLevel, SkillVersionStatus, SkillWithVersion, SkillWriteInput, StepCompleteEvent, StepDeltaEvent, StepFallback, StepFieldMeta, StepStartEvent, StepWaitingLocalEvent, StreamCallbacks, StreamConsumeOptions, StreamEvent, StreamEventOf, SurfaceDefinition, SurfaceDefinitionStatus, SurfaceDefinitionType, SurfacePullResult, ToolDefinition, ToolDefinitionType, ToolPullResult, TraceAlignmentOp, TraceCompare, TraceCompareCohortSide, TraceCompareCohorts, TraceCompareExecutionTotals, TraceCompareExecutions, TraceCompareRequest, TraceCompareResponse, TraceCompareSide, TraceQueryDimension, TraceQueryDistribution, TraceQueryFilters, TraceQueryGroup, TraceQueryMetrics, TraceQueryRequest, TraceQueryResponse, TraceQueryResult, TraceQuerySignalRateSample, TraceQueryWarning, TraceSlice, TraceSliceParams, TraceSliceResponse, TraceSliceSpan, TraceSliceSpanKind, TransformDataStepConfig$1 as TransformDataStepConfig, UnauthenticatedClaimApiKeyRequestInput, UpdateClientTokenRequest, UpdateEvalCaseInput, UpdateEvalSuiteInput, UpdatePromptData, UpdateSimulationTargetRequest, UpdateSimulationVariantRequest, UploadSimulationToolExchangesRequest, UploadedSimulationToolExchange, UpsertFlowConfig$1 as UpsertFlowConfig, UpsertRecordStepConfig$1 as UpsertRecordStepConfig, ValidateAgentPromotionInput, VectorSearchStepConfig$1 as VectorSearchStepConfig, WaitUntilStepConfig$1 as WaitUntilStepConfig, WorkflowCompileDeps, WorkflowCompletionCriteriaConfig, WorkflowConfig, WorkflowConfigFactory, WorkflowHookEntry, WorkflowHookKind, WorkflowHookRef, WorkflowHookSignatures, WorkflowMilestoneConfig, WorkflowPolicyConfig, WorkflowRecoveryConfig, WorkflowSlot };
|
|
79220
80490
|
export {}
|