@runtypelabs/sdk 10.2.3 → 10.3.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 +8 -2
- package/dist/index.d.cts +1374 -212
- package/dist/index.d.ts +1374 -212
- package/dist/index.mjs +7 -2
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -809,6 +809,8 @@ interface paths {
|
|
|
809
809
|
url: string;
|
|
810
810
|
}[];
|
|
811
811
|
model?: string;
|
|
812
|
+
/** @description Scheduled and batch runs only. When true, files the agent writes to /mnt/session/outputs/ are stored as runtype-asset:// handles and the session is resumed for one delivery turn that lists them (for example, to attach them with send_email). */
|
|
813
|
+
outputHandoff?: boolean;
|
|
812
814
|
/** @enum {string} */
|
|
813
815
|
setupMode: "create" | "connect";
|
|
814
816
|
systemPrompt?: string;
|
|
@@ -1035,6 +1037,7 @@ interface paths {
|
|
|
1035
1037
|
[key: string]: unknown;
|
|
1036
1038
|
};
|
|
1037
1039
|
description: string;
|
|
1040
|
+
hiddenParameterNames?: string[];
|
|
1038
1041
|
idempotent?: boolean;
|
|
1039
1042
|
name: string;
|
|
1040
1043
|
parametersSchema: {
|
|
@@ -1551,6 +1554,7 @@ interface paths {
|
|
|
1551
1554
|
[key: string]: unknown;
|
|
1552
1555
|
};
|
|
1553
1556
|
description: string;
|
|
1557
|
+
hiddenParameterNames?: string[];
|
|
1554
1558
|
idempotent?: boolean;
|
|
1555
1559
|
name: string;
|
|
1556
1560
|
parametersSchema: {
|
|
@@ -2115,6 +2119,8 @@ interface paths {
|
|
|
2115
2119
|
url: string;
|
|
2116
2120
|
}[];
|
|
2117
2121
|
model?: string;
|
|
2122
|
+
/** @description Scheduled and batch runs only. When true, files the agent writes to /mnt/session/outputs/ are stored as runtype-asset:// handles and the session is resumed for one delivery turn that lists them (for example, to attach them with send_email). */
|
|
2123
|
+
outputHandoff?: boolean;
|
|
2118
2124
|
/** @enum {string} */
|
|
2119
2125
|
setupMode?: "create" | "connect";
|
|
2120
2126
|
systemPrompt?: string;
|
|
@@ -2341,6 +2347,7 @@ interface paths {
|
|
|
2341
2347
|
[key: string]: unknown;
|
|
2342
2348
|
};
|
|
2343
2349
|
description: string;
|
|
2350
|
+
hiddenParameterNames?: string[];
|
|
2344
2351
|
idempotent?: boolean;
|
|
2345
2352
|
name: string;
|
|
2346
2353
|
parametersSchema: {
|
|
@@ -4350,7 +4357,8 @@ interface paths {
|
|
|
4350
4357
|
};
|
|
4351
4358
|
/**
|
|
4352
4359
|
* List agent executions
|
|
4353
|
-
* @
|
|
4360
|
+
* @deprecated
|
|
4361
|
+
* @description Deprecated: use `GET /v1/runs?agentId={id}`, the single run list for every agent and flow run, including runs dispatched with `storeResults: false` that write no row here. This endpoint stays available and unchanged. It reads the control-plane `agent_executions` table only. List execution history for an agent with cursor pagination. Rows include `finalOutput` by default; pass `view=compact` for the lighter projection that omits it and previews long strings. Supports cross-agent subagent drill-down via parentExecutionId or executionId filters.
|
|
4354
4362
|
*/
|
|
4355
4363
|
get: {
|
|
4356
4364
|
parameters: {
|
|
@@ -9684,14 +9692,22 @@ interface paths {
|
|
|
9684
9692
|
"application/json": {
|
|
9685
9693
|
durableRecovery?: boolean;
|
|
9686
9694
|
flowId?: string;
|
|
9687
|
-
|
|
9695
|
+
/** @description Customer-native auth proof for the Identity Exchange, as a bare token string or the `{ provider, token }` object `/v1/client/chat` accepts. The integration is selected by the verified issuer, not by `provider`: in the object form `provider` is a consistency hint (a hint that disagrees with the matched integration is rejected), and the bare string carries no hint. A Runtype-hosted `rt_eu_` token is sent as the bare string. */
|
|
9696
|
+
identityProof?: string | {
|
|
9697
|
+
provider: string;
|
|
9698
|
+
token: string;
|
|
9699
|
+
};
|
|
9688
9700
|
token: string;
|
|
9689
9701
|
visitorHistory?: boolean;
|
|
9690
9702
|
visitorToken?: string;
|
|
9691
9703
|
} | {
|
|
9692
9704
|
durableRecovery?: boolean;
|
|
9693
9705
|
flowId?: string;
|
|
9694
|
-
|
|
9706
|
+
/** @description Customer-native auth proof for the Identity Exchange, as a bare token string or the `{ provider, token }` object `/v1/client/chat` accepts. The integration is selected by the verified issuer, not by `provider`: in the object form `provider` is a consistency hint (a hint that disagrees with the matched integration is rejected), and the bare string carries no hint. A Runtype-hosted `rt_eu_` token is sent as the bare string. */
|
|
9707
|
+
identityProof?: string | {
|
|
9708
|
+
provider: string;
|
|
9709
|
+
token: string;
|
|
9710
|
+
};
|
|
9695
9711
|
sessionId: string;
|
|
9696
9712
|
token: string;
|
|
9697
9713
|
visitorHistory?: boolean;
|
|
@@ -9700,7 +9716,11 @@ interface paths {
|
|
|
9700
9716
|
conversationId: string;
|
|
9701
9717
|
durableRecovery?: boolean;
|
|
9702
9718
|
flowId?: string;
|
|
9703
|
-
|
|
9719
|
+
/** @description Customer-native auth proof for the Identity Exchange, as a bare token string or the `{ provider, token }` object `/v1/client/chat` accepts. The integration is selected by the verified issuer, not by `provider`: in the object form `provider` is a consistency hint (a hint that disagrees with the matched integration is rejected), and the bare string carries no hint. A Runtype-hosted `rt_eu_` token is sent as the bare string. */
|
|
9720
|
+
identityProof?: string | {
|
|
9721
|
+
provider: string;
|
|
9722
|
+
token: string;
|
|
9723
|
+
};
|
|
9704
9724
|
token: string;
|
|
9705
9725
|
visitorHistory?: boolean;
|
|
9706
9726
|
visitorToken: string;
|
|
@@ -9708,7 +9728,11 @@ interface paths {
|
|
|
9708
9728
|
conversationId: string;
|
|
9709
9729
|
durableRecovery?: boolean;
|
|
9710
9730
|
flowId?: string;
|
|
9711
|
-
|
|
9731
|
+
/** @description Customer-native auth proof for the Identity Exchange, as a bare token string or the `{ provider, token }` object `/v1/client/chat` accepts. The integration is selected by the verified issuer, not by `provider`: in the object form `provider` is a consistency hint (a hint that disagrees with the matched integration is rejected), and the bare string carries no hint. A Runtype-hosted `rt_eu_` token is sent as the bare string. */
|
|
9732
|
+
identityProof: string | {
|
|
9733
|
+
provider: string;
|
|
9734
|
+
token: string;
|
|
9735
|
+
};
|
|
9712
9736
|
token: string;
|
|
9713
9737
|
visitorHistory?: boolean;
|
|
9714
9738
|
visitorToken?: string;
|
|
@@ -25194,8 +25218,12 @@ interface paths {
|
|
|
25194
25218
|
surfaceId?: string;
|
|
25195
25219
|
/** @description Filter by conversation ID */
|
|
25196
25220
|
conversationId?: string;
|
|
25197
|
-
/** @description
|
|
25221
|
+
/** @description Case-insensitive substring search over a span's message, name, operation, tool name or error class; a live-tier row matches on its message. */
|
|
25198
25222
|
search?: string;
|
|
25223
|
+
/** @description Comma-separated statuses (running,completed,failed,queued,cancelled,unknown). An unknown value is rejected with 400. A row is unknown while its activity has not finished, else failed at level error and completed otherwise; running, queued and cancelled match no row today. */
|
|
25224
|
+
status?: string;
|
|
25225
|
+
/** @description Comma-separated entry types (flow,step,tool,batch,system,agent,model,schedule,audit). An unknown value is rejected with 400. Matches the type each row is rendered with, so step selects step spans only and flow selects flow runs without their steps. Combined with category by AND. */
|
|
25226
|
+
type?: string;
|
|
25199
25227
|
/** @description Max results per page (default 500, max 1000) */
|
|
25200
25228
|
limit?: string;
|
|
25201
25229
|
/** @description Pagination cursor */
|
|
@@ -25423,8 +25451,12 @@ interface paths {
|
|
|
25423
25451
|
surfaceId?: string;
|
|
25424
25452
|
/** @description Filter by conversation ID */
|
|
25425
25453
|
conversationId?: string;
|
|
25426
|
-
/** @description
|
|
25454
|
+
/** @description Case-insensitive substring search over a span's message, name, operation, tool name or error class; a live-tier row matches on its message. */
|
|
25427
25455
|
search?: string;
|
|
25456
|
+
/** @description Comma-separated statuses (running,completed,failed,queued,cancelled,unknown). An unknown value is rejected with 400. A row is unknown while its activity has not finished, else failed at level error and completed otherwise; running, queued and cancelled match no row today. */
|
|
25457
|
+
status?: string;
|
|
25458
|
+
/** @description Comma-separated entry types (flow,step,tool,batch,system,agent,model,schedule,audit). An unknown value is rejected with 400. Matches the type each row is rendered with, so step selects step spans only and flow selects flow runs without their steps. Combined with category by AND. */
|
|
25459
|
+
type?: string;
|
|
25428
25460
|
/** @description Max results per page (default 500, max 1000) */
|
|
25429
25461
|
limit?: string;
|
|
25430
25462
|
/** @description Pagination cursor */
|
|
@@ -30781,6 +30813,10 @@ interface paths {
|
|
|
30781
30813
|
batchExecutionId: string | null;
|
|
30782
30814
|
/** @description Budget exhausted. Absent means the overlay did not answer, which is not false and not null. */
|
|
30783
30815
|
budgetExhausted?: boolean | null;
|
|
30816
|
+
/** @description Prompt-cache reads summed over the run's model calls (a subset of inputTokens). Returned by GET /v1/runs/{executionId} only; null means no model call reported one. */
|
|
30817
|
+
cacheReadTokens?: number | null;
|
|
30818
|
+
/** @description Prompt-cache writes summed over the run's model calls (a subset of inputTokens). Returned by GET /v1/runs/{executionId} only; null means no model call reported one. */
|
|
30819
|
+
cacheWriteTokens?: number | null;
|
|
30784
30820
|
/** @description Cancel request. Absent means the overlay did not answer, which is not false and not null. */
|
|
30785
30821
|
cancelRequestedAt?: string | null;
|
|
30786
30822
|
/** @description How many runs name this one as their parent. The unscoped feed returns roots only, so this is the size of the fold underneath a row; read the children with parentExecutionId=<executionId>. It is populated on a resource-scoped page too, where nothing is folded, so a surface can still offer the same expansion. WHICH children are counted depends on the arm that served the row: the span store counts every child, agent and nested-flow alike, while the legacy control-plane fallback counts agent children only, so on that arm a parent whose only child is a nested flow reports 0. That is deliberate — the fallback arm cannot enumerate a nested-flow child either, so counting one would advertise a fold that opens on nothing. It counts only children the CALLER may read: a credential holding one execution family (AGENTS:READ or FLOWS:READ alone) counts the children of that family and no others, so a count never discloses a run the same credential could not list. NULL means the arm cannot count children at all, which is not zero. */
|
|
@@ -30838,6 +30874,8 @@ interface paths {
|
|
|
30838
30874
|
pendingApproval?: unknown;
|
|
30839
30875
|
/** @description Live progress document. Absent means the overlay did not answer, which is not false and not null. */
|
|
30840
30876
|
progress?: unknown;
|
|
30877
|
+
/** @description Reasoning tokens summed over the run's model calls (a subset of outputTokens). Returned by GET /v1/runs/{executionId} only; null means no model call reported one. */
|
|
30878
|
+
reasoningTokens?: number | null;
|
|
30841
30879
|
/** @description Record this run processed. */
|
|
30842
30880
|
recordId: string | null;
|
|
30843
30881
|
/** @description Retention removed the spans; the run still lists and reads as completed. */
|
|
@@ -31845,6 +31883,7 @@ interface paths {
|
|
|
31845
31883
|
"application/json": {
|
|
31846
31884
|
behavior?: unknown;
|
|
31847
31885
|
config?: unknown;
|
|
31886
|
+
/** @description Inbound config. Slack, Telegram and iMessage accept channelResponseMode (mention, the default; always; or judge, which asks the platform response-gate judgment whether to reply and waits for a mention when the judgment fails), responseRules (free text up to 2000 characters the judgment reads), eagerness (conservative, balanced or eager), onUncertain (silent or reply), responseGateShadow (opt-in: judge and record without changing behavior in mention or always mode), keywords, channelOverrides (per-channel channelResponseMode and eagerness) and contextBackfill ({ mode: window (default), judged (only the messages the judgment finds relevant, falling back to window on failure) or none, maxMessages up to 20, maxAgeMinutes up to 1440 }). */
|
|
31848
31887
|
inbound?: {
|
|
31849
31888
|
[key: string]: unknown;
|
|
31850
31889
|
};
|
|
@@ -32314,6 +32353,7 @@ interface paths {
|
|
|
32314
32353
|
"application/json": {
|
|
32315
32354
|
behavior?: unknown;
|
|
32316
32355
|
config?: unknown;
|
|
32356
|
+
/** @description Inbound config. Slack, Telegram and iMessage accept channelResponseMode (mention, the default; always; or judge, which asks the platform response-gate judgment whether to reply and waits for a mention when the judgment fails), responseRules (free text up to 2000 characters the judgment reads), eagerness (conservative, balanced or eager), onUncertain (silent or reply), responseGateShadow (opt-in: judge and record without changing behavior in mention or always mode), keywords, channelOverrides (per-channel channelResponseMode and eagerness) and contextBackfill ({ mode: window (default), judged (only the messages the judgment finds relevant, falling back to window on failure) or none, maxMessages up to 20, maxAgeMinutes up to 1440 }). */
|
|
32317
32357
|
inbound?: {
|
|
32318
32358
|
[key: string]: unknown;
|
|
32319
32359
|
};
|
|
@@ -38177,6 +38217,764 @@ interface paths {
|
|
|
38177
38217
|
patch?: never;
|
|
38178
38218
|
trace?: never;
|
|
38179
38219
|
};
|
|
38220
|
+
"/v1/question-sets": {
|
|
38221
|
+
parameters: {
|
|
38222
|
+
query?: never;
|
|
38223
|
+
header?: never;
|
|
38224
|
+
path?: never;
|
|
38225
|
+
cookie?: never;
|
|
38226
|
+
};
|
|
38227
|
+
/**
|
|
38228
|
+
* List question sets
|
|
38229
|
+
* @description List the organization's question sets with cursor pagination, newest first.
|
|
38230
|
+
*/
|
|
38231
|
+
get: {
|
|
38232
|
+
parameters: {
|
|
38233
|
+
query?: {
|
|
38234
|
+
limit?: string;
|
|
38235
|
+
cursor?: string;
|
|
38236
|
+
direction?: "next" | "prev";
|
|
38237
|
+
includeCount?: string;
|
|
38238
|
+
};
|
|
38239
|
+
header?: never;
|
|
38240
|
+
path?: never;
|
|
38241
|
+
cookie?: never;
|
|
38242
|
+
};
|
|
38243
|
+
requestBody?: never;
|
|
38244
|
+
responses: {
|
|
38245
|
+
/** @description Paginated question sets */
|
|
38246
|
+
200: {
|
|
38247
|
+
headers: {
|
|
38248
|
+
[name: string]: unknown;
|
|
38249
|
+
};
|
|
38250
|
+
content: {
|
|
38251
|
+
"application/json": {
|
|
38252
|
+
data: components["schemas"]["QuestionSetListItem"][];
|
|
38253
|
+
pagination: components["schemas"]["Pagination"];
|
|
38254
|
+
};
|
|
38255
|
+
};
|
|
38256
|
+
};
|
|
38257
|
+
/** @description Invalid request */
|
|
38258
|
+
400: {
|
|
38259
|
+
headers: {
|
|
38260
|
+
[name: string]: unknown;
|
|
38261
|
+
};
|
|
38262
|
+
content: {
|
|
38263
|
+
"application/json": components["schemas"]["QuestionSetError"];
|
|
38264
|
+
};
|
|
38265
|
+
};
|
|
38266
|
+
/** @description Unauthorized */
|
|
38267
|
+
401: {
|
|
38268
|
+
headers: {
|
|
38269
|
+
[name: string]: unknown;
|
|
38270
|
+
};
|
|
38271
|
+
content: {
|
|
38272
|
+
"application/json": components["schemas"]["Error"];
|
|
38273
|
+
};
|
|
38274
|
+
};
|
|
38275
|
+
/** @description Insufficient permissions, or no organization context */
|
|
38276
|
+
403: {
|
|
38277
|
+
headers: {
|
|
38278
|
+
[name: string]: unknown;
|
|
38279
|
+
};
|
|
38280
|
+
content: {
|
|
38281
|
+
"application/json": components["schemas"]["Error"];
|
|
38282
|
+
};
|
|
38283
|
+
};
|
|
38284
|
+
/** @description Not found */
|
|
38285
|
+
404: {
|
|
38286
|
+
headers: {
|
|
38287
|
+
[name: string]: unknown;
|
|
38288
|
+
};
|
|
38289
|
+
content: {
|
|
38290
|
+
"application/json": components["schemas"]["QuestionSetError"];
|
|
38291
|
+
};
|
|
38292
|
+
};
|
|
38293
|
+
};
|
|
38294
|
+
};
|
|
38295
|
+
put?: never;
|
|
38296
|
+
/**
|
|
38297
|
+
* Create a question set
|
|
38298
|
+
* @description Create a question set with its first version as a draft. Publish the version before a tool, step or grader can reference it.
|
|
38299
|
+
*/
|
|
38300
|
+
post: {
|
|
38301
|
+
parameters: {
|
|
38302
|
+
query?: never;
|
|
38303
|
+
header?: never;
|
|
38304
|
+
path?: never;
|
|
38305
|
+
cookie?: never;
|
|
38306
|
+
};
|
|
38307
|
+
requestBody?: {
|
|
38308
|
+
content: {
|
|
38309
|
+
"application/json": {
|
|
38310
|
+
description?: string | null;
|
|
38311
|
+
inputMapping?: {
|
|
38312
|
+
[key: string]: string;
|
|
38313
|
+
} | null;
|
|
38314
|
+
model?: string | null;
|
|
38315
|
+
name: string;
|
|
38316
|
+
/** @description Judgment questions keyed by question id. Each is `{ type: "boolean" | "choice" | "score", instructions, criteria }`. The id is never sent to the model, so instructions and criteria carry the meaning. */
|
|
38317
|
+
questions: {
|
|
38318
|
+
[key: string]: unknown;
|
|
38319
|
+
};
|
|
38320
|
+
/** @description Stable handle, unique in the organization: lowercase letters, digits, `-` and `_`, up to 64. */
|
|
38321
|
+
slug: string;
|
|
38322
|
+
};
|
|
38323
|
+
};
|
|
38324
|
+
};
|
|
38325
|
+
responses: {
|
|
38326
|
+
/** @description Created */
|
|
38327
|
+
201: {
|
|
38328
|
+
headers: {
|
|
38329
|
+
[name: string]: unknown;
|
|
38330
|
+
};
|
|
38331
|
+
content: {
|
|
38332
|
+
"application/json": {
|
|
38333
|
+
questionSet: components["schemas"]["QuestionSet"];
|
|
38334
|
+
version: components["schemas"]["QuestionSetVersion"];
|
|
38335
|
+
};
|
|
38336
|
+
};
|
|
38337
|
+
};
|
|
38338
|
+
/** @description Invalid request */
|
|
38339
|
+
400: {
|
|
38340
|
+
headers: {
|
|
38341
|
+
[name: string]: unknown;
|
|
38342
|
+
};
|
|
38343
|
+
content: {
|
|
38344
|
+
"application/json": components["schemas"]["QuestionSetError"];
|
|
38345
|
+
};
|
|
38346
|
+
};
|
|
38347
|
+
/** @description Unauthorized */
|
|
38348
|
+
401: {
|
|
38349
|
+
headers: {
|
|
38350
|
+
[name: string]: unknown;
|
|
38351
|
+
};
|
|
38352
|
+
content: {
|
|
38353
|
+
"application/json": components["schemas"]["Error"];
|
|
38354
|
+
};
|
|
38355
|
+
};
|
|
38356
|
+
/** @description Insufficient permissions, or no organization context */
|
|
38357
|
+
403: {
|
|
38358
|
+
headers: {
|
|
38359
|
+
[name: string]: unknown;
|
|
38360
|
+
};
|
|
38361
|
+
content: {
|
|
38362
|
+
"application/json": components["schemas"]["Error"];
|
|
38363
|
+
};
|
|
38364
|
+
};
|
|
38365
|
+
/** @description Not found */
|
|
38366
|
+
404: {
|
|
38367
|
+
headers: {
|
|
38368
|
+
[name: string]: unknown;
|
|
38369
|
+
};
|
|
38370
|
+
content: {
|
|
38371
|
+
"application/json": components["schemas"]["QuestionSetError"];
|
|
38372
|
+
};
|
|
38373
|
+
};
|
|
38374
|
+
/** @description Conflict */
|
|
38375
|
+
409: {
|
|
38376
|
+
headers: {
|
|
38377
|
+
[name: string]: unknown;
|
|
38378
|
+
};
|
|
38379
|
+
content: {
|
|
38380
|
+
"application/json": components["schemas"]["QuestionSetError"];
|
|
38381
|
+
};
|
|
38382
|
+
};
|
|
38383
|
+
};
|
|
38384
|
+
};
|
|
38385
|
+
delete?: never;
|
|
38386
|
+
options?: never;
|
|
38387
|
+
head?: never;
|
|
38388
|
+
patch?: never;
|
|
38389
|
+
trace?: never;
|
|
38390
|
+
};
|
|
38391
|
+
"/v1/question-sets/{id}": {
|
|
38392
|
+
parameters: {
|
|
38393
|
+
query?: never;
|
|
38394
|
+
header?: never;
|
|
38395
|
+
path?: never;
|
|
38396
|
+
cookie?: never;
|
|
38397
|
+
};
|
|
38398
|
+
/**
|
|
38399
|
+
* Get a question set
|
|
38400
|
+
* @description A question set with its versions, newest first.
|
|
38401
|
+
*/
|
|
38402
|
+
get: {
|
|
38403
|
+
parameters: {
|
|
38404
|
+
query?: never;
|
|
38405
|
+
header?: never;
|
|
38406
|
+
path: {
|
|
38407
|
+
id: string;
|
|
38408
|
+
};
|
|
38409
|
+
cookie?: never;
|
|
38410
|
+
};
|
|
38411
|
+
requestBody?: never;
|
|
38412
|
+
responses: {
|
|
38413
|
+
/** @description Question set */
|
|
38414
|
+
200: {
|
|
38415
|
+
headers: {
|
|
38416
|
+
[name: string]: unknown;
|
|
38417
|
+
};
|
|
38418
|
+
content: {
|
|
38419
|
+
"application/json": {
|
|
38420
|
+
questionSet: components["schemas"]["QuestionSet"];
|
|
38421
|
+
versions: components["schemas"]["QuestionSetVersion"][];
|
|
38422
|
+
};
|
|
38423
|
+
};
|
|
38424
|
+
};
|
|
38425
|
+
/** @description Invalid request */
|
|
38426
|
+
400: {
|
|
38427
|
+
headers: {
|
|
38428
|
+
[name: string]: unknown;
|
|
38429
|
+
};
|
|
38430
|
+
content: {
|
|
38431
|
+
"application/json": components["schemas"]["QuestionSetError"];
|
|
38432
|
+
};
|
|
38433
|
+
};
|
|
38434
|
+
/** @description Unauthorized */
|
|
38435
|
+
401: {
|
|
38436
|
+
headers: {
|
|
38437
|
+
[name: string]: unknown;
|
|
38438
|
+
};
|
|
38439
|
+
content: {
|
|
38440
|
+
"application/json": components["schemas"]["Error"];
|
|
38441
|
+
};
|
|
38442
|
+
};
|
|
38443
|
+
/** @description Insufficient permissions, or no organization context */
|
|
38444
|
+
403: {
|
|
38445
|
+
headers: {
|
|
38446
|
+
[name: string]: unknown;
|
|
38447
|
+
};
|
|
38448
|
+
content: {
|
|
38449
|
+
"application/json": components["schemas"]["Error"];
|
|
38450
|
+
};
|
|
38451
|
+
};
|
|
38452
|
+
/** @description Not found */
|
|
38453
|
+
404: {
|
|
38454
|
+
headers: {
|
|
38455
|
+
[name: string]: unknown;
|
|
38456
|
+
};
|
|
38457
|
+
content: {
|
|
38458
|
+
"application/json": components["schemas"]["QuestionSetError"];
|
|
38459
|
+
};
|
|
38460
|
+
};
|
|
38461
|
+
};
|
|
38462
|
+
};
|
|
38463
|
+
/**
|
|
38464
|
+
* Update a question set
|
|
38465
|
+
* @description Update the name or description, and append a new draft version when `questions`, `inputMapping` or `model` is present. Fields left out of a new version carry over from the latest version. No existing version is changed, and the slug is fixed.
|
|
38466
|
+
*/
|
|
38467
|
+
put: {
|
|
38468
|
+
parameters: {
|
|
38469
|
+
query?: never;
|
|
38470
|
+
header?: never;
|
|
38471
|
+
path: {
|
|
38472
|
+
id: string;
|
|
38473
|
+
};
|
|
38474
|
+
cookie?: never;
|
|
38475
|
+
};
|
|
38476
|
+
requestBody?: {
|
|
38477
|
+
content: {
|
|
38478
|
+
"application/json": {
|
|
38479
|
+
description?: string | null;
|
|
38480
|
+
inputMapping?: {
|
|
38481
|
+
[key: string]: string;
|
|
38482
|
+
} | null;
|
|
38483
|
+
model?: string | null;
|
|
38484
|
+
name?: string;
|
|
38485
|
+
/** @description Judgment questions keyed by question id. Each is `{ type: "boolean" | "choice" | "score", instructions, criteria }`. The id is never sent to the model, so instructions and criteria carry the meaning. */
|
|
38486
|
+
questions?: {
|
|
38487
|
+
[key: string]: unknown;
|
|
38488
|
+
};
|
|
38489
|
+
};
|
|
38490
|
+
};
|
|
38491
|
+
};
|
|
38492
|
+
responses: {
|
|
38493
|
+
/** @description Updated */
|
|
38494
|
+
200: {
|
|
38495
|
+
headers: {
|
|
38496
|
+
[name: string]: unknown;
|
|
38497
|
+
};
|
|
38498
|
+
content: {
|
|
38499
|
+
"application/json": {
|
|
38500
|
+
questionSet: components["schemas"]["QuestionSet"];
|
|
38501
|
+
version: components["schemas"]["QuestionSetVersion"] & (Record<string, never> | null);
|
|
38502
|
+
};
|
|
38503
|
+
};
|
|
38504
|
+
};
|
|
38505
|
+
/** @description Invalid request */
|
|
38506
|
+
400: {
|
|
38507
|
+
headers: {
|
|
38508
|
+
[name: string]: unknown;
|
|
38509
|
+
};
|
|
38510
|
+
content: {
|
|
38511
|
+
"application/json": components["schemas"]["QuestionSetError"];
|
|
38512
|
+
};
|
|
38513
|
+
};
|
|
38514
|
+
/** @description Unauthorized */
|
|
38515
|
+
401: {
|
|
38516
|
+
headers: {
|
|
38517
|
+
[name: string]: unknown;
|
|
38518
|
+
};
|
|
38519
|
+
content: {
|
|
38520
|
+
"application/json": components["schemas"]["Error"];
|
|
38521
|
+
};
|
|
38522
|
+
};
|
|
38523
|
+
/** @description Insufficient permissions, or no organization context */
|
|
38524
|
+
403: {
|
|
38525
|
+
headers: {
|
|
38526
|
+
[name: string]: unknown;
|
|
38527
|
+
};
|
|
38528
|
+
content: {
|
|
38529
|
+
"application/json": components["schemas"]["Error"];
|
|
38530
|
+
};
|
|
38531
|
+
};
|
|
38532
|
+
/** @description Not found */
|
|
38533
|
+
404: {
|
|
38534
|
+
headers: {
|
|
38535
|
+
[name: string]: unknown;
|
|
38536
|
+
};
|
|
38537
|
+
content: {
|
|
38538
|
+
"application/json": components["schemas"]["QuestionSetError"];
|
|
38539
|
+
};
|
|
38540
|
+
};
|
|
38541
|
+
/** @description Conflict */
|
|
38542
|
+
409: {
|
|
38543
|
+
headers: {
|
|
38544
|
+
[name: string]: unknown;
|
|
38545
|
+
};
|
|
38546
|
+
content: {
|
|
38547
|
+
"application/json": components["schemas"]["QuestionSetError"];
|
|
38548
|
+
};
|
|
38549
|
+
};
|
|
38550
|
+
};
|
|
38551
|
+
};
|
|
38552
|
+
post?: never;
|
|
38553
|
+
delete?: never;
|
|
38554
|
+
options?: never;
|
|
38555
|
+
head?: never;
|
|
38556
|
+
patch?: never;
|
|
38557
|
+
trace?: never;
|
|
38558
|
+
};
|
|
38559
|
+
"/v1/question-sets/{id}/resolved": {
|
|
38560
|
+
parameters: {
|
|
38561
|
+
query?: never;
|
|
38562
|
+
header?: never;
|
|
38563
|
+
path?: never;
|
|
38564
|
+
cookie?: never;
|
|
38565
|
+
};
|
|
38566
|
+
/**
|
|
38567
|
+
* Resolve a question set
|
|
38568
|
+
* @description The question set exactly as an execution receives it: the current published version (or the published `version` named), with its current calibration. A draft-only set answers 404 QUESTION_SET_UNRESOLVED.
|
|
38569
|
+
*/
|
|
38570
|
+
get: {
|
|
38571
|
+
parameters: {
|
|
38572
|
+
query?: {
|
|
38573
|
+
version?: number;
|
|
38574
|
+
};
|
|
38575
|
+
header?: never;
|
|
38576
|
+
path: {
|
|
38577
|
+
id: string;
|
|
38578
|
+
};
|
|
38579
|
+
cookie?: never;
|
|
38580
|
+
};
|
|
38581
|
+
requestBody?: never;
|
|
38582
|
+
responses: {
|
|
38583
|
+
/** @description Resolved */
|
|
38584
|
+
200: {
|
|
38585
|
+
headers: {
|
|
38586
|
+
[name: string]: unknown;
|
|
38587
|
+
};
|
|
38588
|
+
content: {
|
|
38589
|
+
"application/json": components["schemas"]["ResolvedQuestionSet"];
|
|
38590
|
+
};
|
|
38591
|
+
};
|
|
38592
|
+
/** @description Invalid request */
|
|
38593
|
+
400: {
|
|
38594
|
+
headers: {
|
|
38595
|
+
[name: string]: unknown;
|
|
38596
|
+
};
|
|
38597
|
+
content: {
|
|
38598
|
+
"application/json": components["schemas"]["QuestionSetError"];
|
|
38599
|
+
};
|
|
38600
|
+
};
|
|
38601
|
+
/** @description Unauthorized */
|
|
38602
|
+
401: {
|
|
38603
|
+
headers: {
|
|
38604
|
+
[name: string]: unknown;
|
|
38605
|
+
};
|
|
38606
|
+
content: {
|
|
38607
|
+
"application/json": components["schemas"]["Error"];
|
|
38608
|
+
};
|
|
38609
|
+
};
|
|
38610
|
+
/** @description Insufficient permissions, or no organization context */
|
|
38611
|
+
403: {
|
|
38612
|
+
headers: {
|
|
38613
|
+
[name: string]: unknown;
|
|
38614
|
+
};
|
|
38615
|
+
content: {
|
|
38616
|
+
"application/json": components["schemas"]["Error"];
|
|
38617
|
+
};
|
|
38618
|
+
};
|
|
38619
|
+
/** @description Not found */
|
|
38620
|
+
404: {
|
|
38621
|
+
headers: {
|
|
38622
|
+
[name: string]: unknown;
|
|
38623
|
+
};
|
|
38624
|
+
content: {
|
|
38625
|
+
"application/json": components["schemas"]["QuestionSetError"];
|
|
38626
|
+
};
|
|
38627
|
+
};
|
|
38628
|
+
};
|
|
38629
|
+
};
|
|
38630
|
+
put?: never;
|
|
38631
|
+
post?: never;
|
|
38632
|
+
delete?: never;
|
|
38633
|
+
options?: never;
|
|
38634
|
+
head?: never;
|
|
38635
|
+
patch?: never;
|
|
38636
|
+
trace?: never;
|
|
38637
|
+
};
|
|
38638
|
+
"/v1/question-sets/{id}/versions": {
|
|
38639
|
+
parameters: {
|
|
38640
|
+
query?: never;
|
|
38641
|
+
header?: never;
|
|
38642
|
+
path?: never;
|
|
38643
|
+
cookie?: never;
|
|
38644
|
+
};
|
|
38645
|
+
/**
|
|
38646
|
+
* List a question set's versions
|
|
38647
|
+
* @description Every version, newest first.
|
|
38648
|
+
*/
|
|
38649
|
+
get: {
|
|
38650
|
+
parameters: {
|
|
38651
|
+
query?: never;
|
|
38652
|
+
header?: never;
|
|
38653
|
+
path: {
|
|
38654
|
+
id: string;
|
|
38655
|
+
};
|
|
38656
|
+
cookie?: never;
|
|
38657
|
+
};
|
|
38658
|
+
requestBody?: never;
|
|
38659
|
+
responses: {
|
|
38660
|
+
/** @description Versions */
|
|
38661
|
+
200: {
|
|
38662
|
+
headers: {
|
|
38663
|
+
[name: string]: unknown;
|
|
38664
|
+
};
|
|
38665
|
+
content: {
|
|
38666
|
+
"application/json": {
|
|
38667
|
+
data: components["schemas"]["QuestionSetVersion"][];
|
|
38668
|
+
};
|
|
38669
|
+
};
|
|
38670
|
+
};
|
|
38671
|
+
/** @description Invalid request */
|
|
38672
|
+
400: {
|
|
38673
|
+
headers: {
|
|
38674
|
+
[name: string]: unknown;
|
|
38675
|
+
};
|
|
38676
|
+
content: {
|
|
38677
|
+
"application/json": components["schemas"]["QuestionSetError"];
|
|
38678
|
+
};
|
|
38679
|
+
};
|
|
38680
|
+
/** @description Unauthorized */
|
|
38681
|
+
401: {
|
|
38682
|
+
headers: {
|
|
38683
|
+
[name: string]: unknown;
|
|
38684
|
+
};
|
|
38685
|
+
content: {
|
|
38686
|
+
"application/json": components["schemas"]["Error"];
|
|
38687
|
+
};
|
|
38688
|
+
};
|
|
38689
|
+
/** @description Insufficient permissions, or no organization context */
|
|
38690
|
+
403: {
|
|
38691
|
+
headers: {
|
|
38692
|
+
[name: string]: unknown;
|
|
38693
|
+
};
|
|
38694
|
+
content: {
|
|
38695
|
+
"application/json": components["schemas"]["Error"];
|
|
38696
|
+
};
|
|
38697
|
+
};
|
|
38698
|
+
/** @description Not found */
|
|
38699
|
+
404: {
|
|
38700
|
+
headers: {
|
|
38701
|
+
[name: string]: unknown;
|
|
38702
|
+
};
|
|
38703
|
+
content: {
|
|
38704
|
+
"application/json": components["schemas"]["QuestionSetError"];
|
|
38705
|
+
};
|
|
38706
|
+
};
|
|
38707
|
+
};
|
|
38708
|
+
};
|
|
38709
|
+
put?: never;
|
|
38710
|
+
post?: never;
|
|
38711
|
+
delete?: never;
|
|
38712
|
+
options?: never;
|
|
38713
|
+
head?: never;
|
|
38714
|
+
patch?: never;
|
|
38715
|
+
trace?: never;
|
|
38716
|
+
};
|
|
38717
|
+
"/v1/question-sets/{id}/versions/{versionNumber}/calibrations": {
|
|
38718
|
+
parameters: {
|
|
38719
|
+
query?: never;
|
|
38720
|
+
header?: never;
|
|
38721
|
+
path?: never;
|
|
38722
|
+
cookie?: never;
|
|
38723
|
+
};
|
|
38724
|
+
/**
|
|
38725
|
+
* List a question set version's calibrations
|
|
38726
|
+
* @description The calibration history of one version, newest first, with cursor pagination.
|
|
38727
|
+
*/
|
|
38728
|
+
get: {
|
|
38729
|
+
parameters: {
|
|
38730
|
+
query?: {
|
|
38731
|
+
/** @description 1-200, default 50. */
|
|
38732
|
+
limit?: string;
|
|
38733
|
+
/** @description `pagination.nextCursor` from a previous page. */
|
|
38734
|
+
cursor?: string;
|
|
38735
|
+
};
|
|
38736
|
+
header?: never;
|
|
38737
|
+
path: {
|
|
38738
|
+
id: string;
|
|
38739
|
+
versionNumber: number;
|
|
38740
|
+
};
|
|
38741
|
+
cookie?: never;
|
|
38742
|
+
};
|
|
38743
|
+
requestBody?: never;
|
|
38744
|
+
responses: {
|
|
38745
|
+
/** @description Calibrations */
|
|
38746
|
+
200: {
|
|
38747
|
+
headers: {
|
|
38748
|
+
[name: string]: unknown;
|
|
38749
|
+
};
|
|
38750
|
+
content: {
|
|
38751
|
+
"application/json": {
|
|
38752
|
+
data: components["schemas"]["JudgmentCalibrationRecord"][];
|
|
38753
|
+
pagination: components["schemas"]["Pagination"];
|
|
38754
|
+
};
|
|
38755
|
+
};
|
|
38756
|
+
};
|
|
38757
|
+
/** @description Invalid request */
|
|
38758
|
+
400: {
|
|
38759
|
+
headers: {
|
|
38760
|
+
[name: string]: unknown;
|
|
38761
|
+
};
|
|
38762
|
+
content: {
|
|
38763
|
+
"application/json": components["schemas"]["QuestionSetError"];
|
|
38764
|
+
};
|
|
38765
|
+
};
|
|
38766
|
+
/** @description Unauthorized */
|
|
38767
|
+
401: {
|
|
38768
|
+
headers: {
|
|
38769
|
+
[name: string]: unknown;
|
|
38770
|
+
};
|
|
38771
|
+
content: {
|
|
38772
|
+
"application/json": components["schemas"]["Error"];
|
|
38773
|
+
};
|
|
38774
|
+
};
|
|
38775
|
+
/** @description Insufficient permissions, or no organization context */
|
|
38776
|
+
403: {
|
|
38777
|
+
headers: {
|
|
38778
|
+
[name: string]: unknown;
|
|
38779
|
+
};
|
|
38780
|
+
content: {
|
|
38781
|
+
"application/json": components["schemas"]["Error"];
|
|
38782
|
+
};
|
|
38783
|
+
};
|
|
38784
|
+
/** @description Not found */
|
|
38785
|
+
404: {
|
|
38786
|
+
headers: {
|
|
38787
|
+
[name: string]: unknown;
|
|
38788
|
+
};
|
|
38789
|
+
content: {
|
|
38790
|
+
"application/json": components["schemas"]["QuestionSetError"];
|
|
38791
|
+
};
|
|
38792
|
+
};
|
|
38793
|
+
};
|
|
38794
|
+
};
|
|
38795
|
+
put?: never;
|
|
38796
|
+
/**
|
|
38797
|
+
* Record a calibration for a question set version
|
|
38798
|
+
* @description Append a calibration measurement to a published version and make it the current one. Calibrations are never edited or deleted, so every past decision keeps the calibration it was taken under.
|
|
38799
|
+
*/
|
|
38800
|
+
post: {
|
|
38801
|
+
parameters: {
|
|
38802
|
+
query?: never;
|
|
38803
|
+
header?: never;
|
|
38804
|
+
path: {
|
|
38805
|
+
id: string;
|
|
38806
|
+
versionNumber: number;
|
|
38807
|
+
};
|
|
38808
|
+
cookie?: never;
|
|
38809
|
+
};
|
|
38810
|
+
requestBody?: {
|
|
38811
|
+
content: {
|
|
38812
|
+
"application/json": {
|
|
38813
|
+
/** @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`. */
|
|
38814
|
+
evalRunId?: string;
|
|
38815
|
+
record: {
|
|
38816
|
+
labeledSetRef: string;
|
|
38817
|
+
measuredModel: string;
|
|
38818
|
+
perQuestion: {
|
|
38819
|
+
[key: string]: {
|
|
38820
|
+
ece: number;
|
|
38821
|
+
handledRate: number;
|
|
38822
|
+
heldOutAccuracy: number;
|
|
38823
|
+
targetAccuracy: number;
|
|
38824
|
+
threshold: number;
|
|
38825
|
+
};
|
|
38826
|
+
};
|
|
38827
|
+
};
|
|
38828
|
+
};
|
|
38829
|
+
};
|
|
38830
|
+
};
|
|
38831
|
+
responses: {
|
|
38832
|
+
/** @description Recorded */
|
|
38833
|
+
201: {
|
|
38834
|
+
headers: {
|
|
38835
|
+
[name: string]: unknown;
|
|
38836
|
+
};
|
|
38837
|
+
content: {
|
|
38838
|
+
"application/json": {
|
|
38839
|
+
calibration: components["schemas"]["JudgmentCalibrationRecord"];
|
|
38840
|
+
version: components["schemas"]["QuestionSetVersion"];
|
|
38841
|
+
};
|
|
38842
|
+
};
|
|
38843
|
+
};
|
|
38844
|
+
/** @description Invalid request */
|
|
38845
|
+
400: {
|
|
38846
|
+
headers: {
|
|
38847
|
+
[name: string]: unknown;
|
|
38848
|
+
};
|
|
38849
|
+
content: {
|
|
38850
|
+
"application/json": components["schemas"]["QuestionSetError"];
|
|
38851
|
+
};
|
|
38852
|
+
};
|
|
38853
|
+
/** @description Unauthorized */
|
|
38854
|
+
401: {
|
|
38855
|
+
headers: {
|
|
38856
|
+
[name: string]: unknown;
|
|
38857
|
+
};
|
|
38858
|
+
content: {
|
|
38859
|
+
"application/json": components["schemas"]["Error"];
|
|
38860
|
+
};
|
|
38861
|
+
};
|
|
38862
|
+
/** @description Insufficient permissions, or no organization context */
|
|
38863
|
+
403: {
|
|
38864
|
+
headers: {
|
|
38865
|
+
[name: string]: unknown;
|
|
38866
|
+
};
|
|
38867
|
+
content: {
|
|
38868
|
+
"application/json": components["schemas"]["Error"];
|
|
38869
|
+
};
|
|
38870
|
+
};
|
|
38871
|
+
/** @description Not found */
|
|
38872
|
+
404: {
|
|
38873
|
+
headers: {
|
|
38874
|
+
[name: string]: unknown;
|
|
38875
|
+
};
|
|
38876
|
+
content: {
|
|
38877
|
+
"application/json": components["schemas"]["QuestionSetError"];
|
|
38878
|
+
};
|
|
38879
|
+
};
|
|
38880
|
+
/** @description Conflict */
|
|
38881
|
+
409: {
|
|
38882
|
+
headers: {
|
|
38883
|
+
[name: string]: unknown;
|
|
38884
|
+
};
|
|
38885
|
+
content: {
|
|
38886
|
+
"application/json": components["schemas"]["QuestionSetError"];
|
|
38887
|
+
};
|
|
38888
|
+
};
|
|
38889
|
+
};
|
|
38890
|
+
};
|
|
38891
|
+
delete?: never;
|
|
38892
|
+
options?: never;
|
|
38893
|
+
head?: never;
|
|
38894
|
+
patch?: never;
|
|
38895
|
+
trace?: never;
|
|
38896
|
+
};
|
|
38897
|
+
"/v1/question-sets/{id}/versions/{versionNumber}/publish": {
|
|
38898
|
+
parameters: {
|
|
38899
|
+
query?: never;
|
|
38900
|
+
header?: never;
|
|
38901
|
+
path?: never;
|
|
38902
|
+
cookie?: never;
|
|
38903
|
+
};
|
|
38904
|
+
get?: never;
|
|
38905
|
+
put?: never;
|
|
38906
|
+
/**
|
|
38907
|
+
* Publish a question set version
|
|
38908
|
+
* @description Freeze the version and make it the one executions resolve when they name no version. Publishing an already-published version moves the current pointer back to it.
|
|
38909
|
+
*/
|
|
38910
|
+
post: {
|
|
38911
|
+
parameters: {
|
|
38912
|
+
query?: never;
|
|
38913
|
+
header?: never;
|
|
38914
|
+
path: {
|
|
38915
|
+
id: string;
|
|
38916
|
+
versionNumber: number;
|
|
38917
|
+
};
|
|
38918
|
+
cookie?: never;
|
|
38919
|
+
};
|
|
38920
|
+
requestBody?: never;
|
|
38921
|
+
responses: {
|
|
38922
|
+
/** @description Published */
|
|
38923
|
+
200: {
|
|
38924
|
+
headers: {
|
|
38925
|
+
[name: string]: unknown;
|
|
38926
|
+
};
|
|
38927
|
+
content: {
|
|
38928
|
+
"application/json": {
|
|
38929
|
+
questionSet: components["schemas"]["QuestionSet"];
|
|
38930
|
+
version: components["schemas"]["QuestionSetVersion"];
|
|
38931
|
+
};
|
|
38932
|
+
};
|
|
38933
|
+
};
|
|
38934
|
+
/** @description Invalid request */
|
|
38935
|
+
400: {
|
|
38936
|
+
headers: {
|
|
38937
|
+
[name: string]: unknown;
|
|
38938
|
+
};
|
|
38939
|
+
content: {
|
|
38940
|
+
"application/json": components["schemas"]["QuestionSetError"];
|
|
38941
|
+
};
|
|
38942
|
+
};
|
|
38943
|
+
/** @description Unauthorized */
|
|
38944
|
+
401: {
|
|
38945
|
+
headers: {
|
|
38946
|
+
[name: string]: unknown;
|
|
38947
|
+
};
|
|
38948
|
+
content: {
|
|
38949
|
+
"application/json": components["schemas"]["Error"];
|
|
38950
|
+
};
|
|
38951
|
+
};
|
|
38952
|
+
/** @description Insufficient permissions, or no organization context */
|
|
38953
|
+
403: {
|
|
38954
|
+
headers: {
|
|
38955
|
+
[name: string]: unknown;
|
|
38956
|
+
};
|
|
38957
|
+
content: {
|
|
38958
|
+
"application/json": components["schemas"]["Error"];
|
|
38959
|
+
};
|
|
38960
|
+
};
|
|
38961
|
+
/** @description Not found */
|
|
38962
|
+
404: {
|
|
38963
|
+
headers: {
|
|
38964
|
+
[name: string]: unknown;
|
|
38965
|
+
};
|
|
38966
|
+
content: {
|
|
38967
|
+
"application/json": components["schemas"]["QuestionSetError"];
|
|
38968
|
+
};
|
|
38969
|
+
};
|
|
38970
|
+
};
|
|
38971
|
+
};
|
|
38972
|
+
delete?: never;
|
|
38973
|
+
options?: never;
|
|
38974
|
+
head?: never;
|
|
38975
|
+
patch?: never;
|
|
38976
|
+
trace?: never;
|
|
38977
|
+
};
|
|
38180
38978
|
"/v1/records": {
|
|
38181
38979
|
parameters: {
|
|
38182
38980
|
query?: never;
|
|
@@ -40039,7 +40837,7 @@ interface paths {
|
|
|
40039
40837
|
};
|
|
40040
40838
|
/**
|
|
40041
40839
|
* List runs
|
|
40042
|
-
* @description Every agent and flow run in the span store, newest start first, including runs that write no control-plane row. The UNSCOPED feed is ROOT runs only: a subagent or nested-flow run folds under its parent, `childCount` says how many are folded there, and `parentExecutionId=<id>` reads them. Pass `includeChildren=true` for the flat enumeration. Any resource-scoped filter (`agentId`, `flowId`, `conversationId`, `surfaceId`, `recordId`, `batchExecutionId`, `parentExecutionId`, `rootExecutionId`, `executionId`) is already an explicit selection and never folds, so an agent that only ever runs as a subagent still lists under `agentId`. Each row carries `origin` (dashboard | api | internal | null), read from the caller's authenticated principal, and `test` as its derived alias for `origin === "dashboard"`; any entrance that resolves a principal stamps origin, including the Runtype MCP server tools and Code Mode (`api`) and the hosted `/v1/mcp` proxy (`internal`). A lane with no principal answers null for both by design: schedule, webhook, messaging, A2A, an agent exposed as an MCP surface, subagent, nested flow, a client-token product surface, an ingested run, and any row whose header predates the field. `overlay=live` adds live control-plane fields; the overlay never adds, drops or reorders a row.
|
|
40840
|
+
* @description Every agent and flow run in the span store, newest start first, including runs that write no control-plane row. The UNSCOPED feed is ROOT runs only: a subagent or nested-flow run folds under its parent, `childCount` says how many are folded there, and `parentExecutionId=<id>` reads them. Pass `includeChildren=true` for the flat enumeration. Any resource-scoped filter (`agentId`, `flowId`, `conversationId`, `surfaceId`, `recordId`, `batchExecutionId`, `parentExecutionId`, `rootExecutionId`, `executionId`) is already an explicit selection and never folds, so an agent that only ever runs as a subagent still lists under `agentId`. Each row carries `origin` (dashboard | api | internal | null), read from the caller's authenticated principal, and `test` as its derived alias for `origin === "dashboard"`; any entrance that resolves a principal stamps origin, including the Runtype MCP server tools and Code Mode (`api`) and the hosted `/v1/mcp` proxy (`internal`). A lane with no principal answers null for both by design: schedule, webhook, messaging, A2A, an agent exposed as an MCP surface, subagent, nested flow, a client-token product surface, an ingested run, and any row whose header predates the field. `overlay=live` adds live control-plane fields; the overlay never adds, drops or reorders a row. A cursor minted by the retired control-plane list lane (`cp.` prefix) restarts at page one and answers `pagination.cursorReset: true`.
|
|
40043
40841
|
*/
|
|
40044
40842
|
get: {
|
|
40045
40843
|
parameters: {
|
|
@@ -40098,6 +40896,8 @@ interface paths {
|
|
|
40098
40896
|
"application/json": {
|
|
40099
40897
|
data: components["schemas"]["RunListRow"][];
|
|
40100
40898
|
pagination: {
|
|
40899
|
+
/** @description True when the supplied cursor could not be honoured and the read restarted at page one. A paging client must stop rather than follow the fresh cursor. Absent otherwise. */
|
|
40900
|
+
cursorReset?: boolean;
|
|
40101
40901
|
hasMore: boolean;
|
|
40102
40902
|
hasPrev: boolean;
|
|
40103
40903
|
limit: number;
|
|
@@ -40138,22 +40938,6 @@ interface paths {
|
|
|
40138
40938
|
"application/json": components["schemas"]["Error"];
|
|
40139
40939
|
};
|
|
40140
40940
|
};
|
|
40141
|
-
/** @description No plane can answer: store run reads are off for this organization and the request names a predicate the control plane cannot express */
|
|
40142
|
-
404: {
|
|
40143
|
-
headers: {
|
|
40144
|
-
[name: string]: unknown;
|
|
40145
|
-
};
|
|
40146
|
-
content: {
|
|
40147
|
-
"application/json": {
|
|
40148
|
-
/**
|
|
40149
|
-
* @description Neither plane can serve this page, so the caller shows "no run history" rather than a failed read. Matching on the sentence is never the contract.
|
|
40150
|
-
* @enum {string}
|
|
40151
|
-
*/
|
|
40152
|
-
code: "run_history_unavailable";
|
|
40153
|
-
error: string;
|
|
40154
|
-
};
|
|
40155
|
-
};
|
|
40156
|
-
};
|
|
40157
40941
|
/** @description Internal server error */
|
|
40158
40942
|
500: {
|
|
40159
40943
|
headers: {
|
|
@@ -45282,8 +46066,227 @@ interface paths {
|
|
|
45282
46066
|
"application/json": components["schemas"]["Error"];
|
|
45283
46067
|
};
|
|
45284
46068
|
};
|
|
45285
|
-
/** @description Not found */
|
|
45286
|
-
404: {
|
|
46069
|
+
/** @description Not found */
|
|
46070
|
+
404: {
|
|
46071
|
+
headers: {
|
|
46072
|
+
[name: string]: unknown;
|
|
46073
|
+
};
|
|
46074
|
+
content: {
|
|
46075
|
+
"application/json": components["schemas"]["Error"];
|
|
46076
|
+
};
|
|
46077
|
+
};
|
|
46078
|
+
};
|
|
46079
|
+
};
|
|
46080
|
+
put?: never;
|
|
46081
|
+
post?: never;
|
|
46082
|
+
delete?: never;
|
|
46083
|
+
options?: never;
|
|
46084
|
+
head?: never;
|
|
46085
|
+
patch?: never;
|
|
46086
|
+
trace?: never;
|
|
46087
|
+
};
|
|
46088
|
+
"/v1/skills/{id}/versions/{versionId}/publish": {
|
|
46089
|
+
parameters: {
|
|
46090
|
+
query?: never;
|
|
46091
|
+
header?: never;
|
|
46092
|
+
path?: never;
|
|
46093
|
+
cookie?: never;
|
|
46094
|
+
};
|
|
46095
|
+
get?: never;
|
|
46096
|
+
put?: never;
|
|
46097
|
+
/** Publish a skill version */
|
|
46098
|
+
post: {
|
|
46099
|
+
parameters: {
|
|
46100
|
+
query?: never;
|
|
46101
|
+
header?: never;
|
|
46102
|
+
path: {
|
|
46103
|
+
id: string;
|
|
46104
|
+
versionId: string;
|
|
46105
|
+
};
|
|
46106
|
+
cookie?: never;
|
|
46107
|
+
};
|
|
46108
|
+
requestBody?: never;
|
|
46109
|
+
responses: {
|
|
46110
|
+
/** @description Published */
|
|
46111
|
+
200: {
|
|
46112
|
+
headers: {
|
|
46113
|
+
[name: string]: unknown;
|
|
46114
|
+
};
|
|
46115
|
+
content: {
|
|
46116
|
+
"application/json": {
|
|
46117
|
+
success: boolean;
|
|
46118
|
+
};
|
|
46119
|
+
};
|
|
46120
|
+
};
|
|
46121
|
+
/** @description Unauthorized */
|
|
46122
|
+
401: {
|
|
46123
|
+
headers: {
|
|
46124
|
+
[name: string]: unknown;
|
|
46125
|
+
};
|
|
46126
|
+
content: {
|
|
46127
|
+
"application/json": components["schemas"]["Error"];
|
|
46128
|
+
};
|
|
46129
|
+
};
|
|
46130
|
+
/** @description Insufficient permissions */
|
|
46131
|
+
403: {
|
|
46132
|
+
headers: {
|
|
46133
|
+
[name: string]: unknown;
|
|
46134
|
+
};
|
|
46135
|
+
content: {
|
|
46136
|
+
"application/json": components["schemas"]["Error"];
|
|
46137
|
+
};
|
|
46138
|
+
};
|
|
46139
|
+
/** @description Not found */
|
|
46140
|
+
404: {
|
|
46141
|
+
headers: {
|
|
46142
|
+
[name: string]: unknown;
|
|
46143
|
+
};
|
|
46144
|
+
content: {
|
|
46145
|
+
"application/json": components["schemas"]["Error"];
|
|
46146
|
+
};
|
|
46147
|
+
};
|
|
46148
|
+
};
|
|
46149
|
+
};
|
|
46150
|
+
delete?: never;
|
|
46151
|
+
options?: never;
|
|
46152
|
+
head?: never;
|
|
46153
|
+
patch?: never;
|
|
46154
|
+
trace?: never;
|
|
46155
|
+
};
|
|
46156
|
+
"/v1/surfaces": {
|
|
46157
|
+
parameters: {
|
|
46158
|
+
query?: never;
|
|
46159
|
+
header?: never;
|
|
46160
|
+
path?: never;
|
|
46161
|
+
cookie?: never;
|
|
46162
|
+
};
|
|
46163
|
+
/**
|
|
46164
|
+
* List surfaces
|
|
46165
|
+
* @description List product surfaces across the authenticated user/org's products with cursor-based pagination. Supports filtering by product, type, and status. Slack inbound config is returned only for Slack surfaces and only includes safe-to-expose keys.
|
|
46166
|
+
*/
|
|
46167
|
+
get: {
|
|
46168
|
+
parameters: {
|
|
46169
|
+
query?: {
|
|
46170
|
+
limit?: string;
|
|
46171
|
+
cursor?: string;
|
|
46172
|
+
productId?: string;
|
|
46173
|
+
type?: string;
|
|
46174
|
+
status?: string;
|
|
46175
|
+
};
|
|
46176
|
+
header?: never;
|
|
46177
|
+
path?: never;
|
|
46178
|
+
cookie?: never;
|
|
46179
|
+
};
|
|
46180
|
+
requestBody?: never;
|
|
46181
|
+
responses: {
|
|
46182
|
+
/** @description Paginated list of surfaces */
|
|
46183
|
+
200: {
|
|
46184
|
+
headers: {
|
|
46185
|
+
[name: string]: unknown;
|
|
46186
|
+
};
|
|
46187
|
+
content: {
|
|
46188
|
+
"application/json": {
|
|
46189
|
+
data: {
|
|
46190
|
+
createdAt: string;
|
|
46191
|
+
/** @description Canonical public URL of this surface (MCP, API, A2A, AG-UI, webhook, chat). Null for surface types reached through their own channels (Slack, email, schedule, ...). Clients should use this instead of constructing the URL themselves. */
|
|
46192
|
+
endpoint: string | null;
|
|
46193
|
+
id: string;
|
|
46194
|
+
inbound: {
|
|
46195
|
+
appId?: string;
|
|
46196
|
+
/** @description Per-channel channelResponseMode and eagerness, keyed by channel ID. */
|
|
46197
|
+
channelOverrides?: {
|
|
46198
|
+
[key: string]: {
|
|
46199
|
+
/** @enum {string} */
|
|
46200
|
+
channelResponseMode?: "mention" | "judge" | "always";
|
|
46201
|
+
/** @enum {string} */
|
|
46202
|
+
eagerness?: "conservative" | "balanced" | "eager";
|
|
46203
|
+
};
|
|
46204
|
+
};
|
|
46205
|
+
/**
|
|
46206
|
+
* @description When the bot answers an unmentioned channel message: mention (default for new surfaces), always, or judge (asks the platform response-gate judgment whether to reply; a failed judgment waits for a mention).
|
|
46207
|
+
* @enum {string}
|
|
46208
|
+
*/
|
|
46209
|
+
channelResponseMode?: "mention" | "judge" | "always";
|
|
46210
|
+
/** @description How skipped channel messages reach the conversation when the bot answers: window (default) adds up to maxMessages (default and ceiling 20) from the last maxAgeMinutes (default 360, ceiling 1440) as context; judged adds, within the same bounds, only the messages the platform response-gate judgment finds needed to understand the answered message, and falls back to window when the judgment fails; none adds nothing. */
|
|
46211
|
+
contextBackfill?: {
|
|
46212
|
+
maxAgeMinutes?: number;
|
|
46213
|
+
maxMessages?: number;
|
|
46214
|
+
/** @enum {string} */
|
|
46215
|
+
mode?: "judged" | "window" | "none";
|
|
46216
|
+
};
|
|
46217
|
+
continueThreads?: boolean;
|
|
46218
|
+
/**
|
|
46219
|
+
* @description How readily judge mode replies: conservative, balanced (default) or eager. Each selects a pair of reply and silence thresholds.
|
|
46220
|
+
* @enum {string}
|
|
46221
|
+
*/
|
|
46222
|
+
eagerness?: "conservative" | "balanced" | "eager";
|
|
46223
|
+
integrationId?: string;
|
|
46224
|
+
/** @description Whole-word, case-insensitive filter on unmentioned messages in always and judge mode; judge mode applies it before the judgment. */
|
|
46225
|
+
keywords?: {
|
|
46226
|
+
ignore?: string[];
|
|
46227
|
+
require?: string[];
|
|
46228
|
+
};
|
|
46229
|
+
listenChannels?: string[];
|
|
46230
|
+
listenDms?: boolean;
|
|
46231
|
+
/**
|
|
46232
|
+
* @description What judge mode does when the judgment lands between the two thresholds: silent (default) or reply.
|
|
46233
|
+
* @enum {string}
|
|
46234
|
+
*/
|
|
46235
|
+
onUncertain?: "silent" | "reply";
|
|
46236
|
+
/** @description Opt-in. In mention or always mode, also judge each unmentioned channel message and record the decision and probability without changing what the bot does. */
|
|
46237
|
+
responseGateShadow?: boolean;
|
|
46238
|
+
/** @description Free text (up to 2000 characters) the judge-mode judgment reads as the rules for when the bot should speak, for example "answer questions about resetting Acme account passwords". */
|
|
46239
|
+
responseRules?: string;
|
|
46240
|
+
teamId?: string;
|
|
46241
|
+
teamName?: string;
|
|
46242
|
+
/**
|
|
46243
|
+
* @deprecated
|
|
46244
|
+
* @description Deprecated; use channelResponseMode. true reads as mention, false as always.
|
|
46245
|
+
*/
|
|
46246
|
+
triggerOnMention?: boolean;
|
|
46247
|
+
} | null;
|
|
46248
|
+
name: string;
|
|
46249
|
+
productId: string;
|
|
46250
|
+
/** @description Name of the product this surface belongs to. Non-nullable: the list query inner-joins products (so a surface with no product cannot appear) and products.name is NOT NULL. Present so a cross-product picker can disambiguate two surfaces that share a name. */
|
|
46251
|
+
productName: string;
|
|
46252
|
+
status: string;
|
|
46253
|
+
type: string;
|
|
46254
|
+
updatedAt: string;
|
|
46255
|
+
webhookHealth: components["schemas"]["WebhookHealth"];
|
|
46256
|
+
}[];
|
|
46257
|
+
pagination: components["schemas"]["Pagination"];
|
|
46258
|
+
};
|
|
46259
|
+
};
|
|
46260
|
+
};
|
|
46261
|
+
/** @description Invalid parameters */
|
|
46262
|
+
400: {
|
|
46263
|
+
headers: {
|
|
46264
|
+
[name: string]: unknown;
|
|
46265
|
+
};
|
|
46266
|
+
content: {
|
|
46267
|
+
"application/json": components["schemas"]["Error"];
|
|
46268
|
+
};
|
|
46269
|
+
};
|
|
46270
|
+
/** @description Unauthorized */
|
|
46271
|
+
401: {
|
|
46272
|
+
headers: {
|
|
46273
|
+
[name: string]: unknown;
|
|
46274
|
+
};
|
|
46275
|
+
content: {
|
|
46276
|
+
"application/json": components["schemas"]["Error"];
|
|
46277
|
+
};
|
|
46278
|
+
};
|
|
46279
|
+
/** @description Insufficient permissions */
|
|
46280
|
+
403: {
|
|
46281
|
+
headers: {
|
|
46282
|
+
[name: string]: unknown;
|
|
46283
|
+
};
|
|
46284
|
+
content: {
|
|
46285
|
+
"application/json": components["schemas"]["Error"];
|
|
46286
|
+
};
|
|
46287
|
+
};
|
|
46288
|
+
/** @description Internal server error */
|
|
46289
|
+
500: {
|
|
45287
46290
|
headers: {
|
|
45288
46291
|
[name: string]: unknown;
|
|
45289
46292
|
};
|
|
@@ -45301,75 +46304,7 @@ interface paths {
|
|
|
45301
46304
|
patch?: never;
|
|
45302
46305
|
trace?: never;
|
|
45303
46306
|
};
|
|
45304
|
-
"/v1/
|
|
45305
|
-
parameters: {
|
|
45306
|
-
query?: never;
|
|
45307
|
-
header?: never;
|
|
45308
|
-
path?: never;
|
|
45309
|
-
cookie?: never;
|
|
45310
|
-
};
|
|
45311
|
-
get?: never;
|
|
45312
|
-
put?: never;
|
|
45313
|
-
/** Publish a skill version */
|
|
45314
|
-
post: {
|
|
45315
|
-
parameters: {
|
|
45316
|
-
query?: never;
|
|
45317
|
-
header?: never;
|
|
45318
|
-
path: {
|
|
45319
|
-
id: string;
|
|
45320
|
-
versionId: string;
|
|
45321
|
-
};
|
|
45322
|
-
cookie?: never;
|
|
45323
|
-
};
|
|
45324
|
-
requestBody?: never;
|
|
45325
|
-
responses: {
|
|
45326
|
-
/** @description Published */
|
|
45327
|
-
200: {
|
|
45328
|
-
headers: {
|
|
45329
|
-
[name: string]: unknown;
|
|
45330
|
-
};
|
|
45331
|
-
content: {
|
|
45332
|
-
"application/json": {
|
|
45333
|
-
success: boolean;
|
|
45334
|
-
};
|
|
45335
|
-
};
|
|
45336
|
-
};
|
|
45337
|
-
/** @description Unauthorized */
|
|
45338
|
-
401: {
|
|
45339
|
-
headers: {
|
|
45340
|
-
[name: string]: unknown;
|
|
45341
|
-
};
|
|
45342
|
-
content: {
|
|
45343
|
-
"application/json": components["schemas"]["Error"];
|
|
45344
|
-
};
|
|
45345
|
-
};
|
|
45346
|
-
/** @description Insufficient permissions */
|
|
45347
|
-
403: {
|
|
45348
|
-
headers: {
|
|
45349
|
-
[name: string]: unknown;
|
|
45350
|
-
};
|
|
45351
|
-
content: {
|
|
45352
|
-
"application/json": components["schemas"]["Error"];
|
|
45353
|
-
};
|
|
45354
|
-
};
|
|
45355
|
-
/** @description Not found */
|
|
45356
|
-
404: {
|
|
45357
|
-
headers: {
|
|
45358
|
-
[name: string]: unknown;
|
|
45359
|
-
};
|
|
45360
|
-
content: {
|
|
45361
|
-
"application/json": components["schemas"]["Error"];
|
|
45362
|
-
};
|
|
45363
|
-
};
|
|
45364
|
-
};
|
|
45365
|
-
};
|
|
45366
|
-
delete?: never;
|
|
45367
|
-
options?: never;
|
|
45368
|
-
head?: never;
|
|
45369
|
-
patch?: never;
|
|
45370
|
-
trace?: never;
|
|
45371
|
-
};
|
|
45372
|
-
"/v1/surfaces": {
|
|
46307
|
+
"/v1/surfaces/{surfaceId}": {
|
|
45373
46308
|
parameters: {
|
|
45374
46309
|
query?: never;
|
|
45375
46310
|
header?: never;
|
|
@@ -45377,60 +46312,86 @@ interface paths {
|
|
|
45377
46312
|
cookie?: never;
|
|
45378
46313
|
};
|
|
45379
46314
|
/**
|
|
45380
|
-
*
|
|
45381
|
-
* @description
|
|
46315
|
+
* Get surface details
|
|
46316
|
+
* @description Get an authorized surface by its globally unique ID, including items and keys.
|
|
45382
46317
|
*/
|
|
45383
46318
|
get: {
|
|
45384
46319
|
parameters: {
|
|
45385
|
-
query?:
|
|
45386
|
-
limit?: string;
|
|
45387
|
-
cursor?: string;
|
|
45388
|
-
productId?: string;
|
|
45389
|
-
type?: string;
|
|
45390
|
-
status?: string;
|
|
45391
|
-
};
|
|
46320
|
+
query?: never;
|
|
45392
46321
|
header?: never;
|
|
45393
|
-
path
|
|
46322
|
+
path: {
|
|
46323
|
+
surfaceId: string;
|
|
46324
|
+
};
|
|
45394
46325
|
cookie?: never;
|
|
45395
46326
|
};
|
|
45396
46327
|
requestBody?: never;
|
|
45397
46328
|
responses: {
|
|
45398
|
-
/** @description
|
|
46329
|
+
/** @description Surface details */
|
|
45399
46330
|
200: {
|
|
45400
46331
|
headers: {
|
|
45401
46332
|
[name: string]: unknown;
|
|
45402
46333
|
};
|
|
45403
46334
|
content: {
|
|
45404
46335
|
"application/json": {
|
|
45405
|
-
|
|
46336
|
+
behavior?: unknown;
|
|
46337
|
+
createdAt: string;
|
|
46338
|
+
/** @description Canonical public URL of this surface (MCP, API, A2A, AG-UI, webhook, chat). Null for surface types reached through their own channels (Slack, email, schedule, ...). Clients should use this instead of constructing the URL themselves. */
|
|
46339
|
+
endpoint: string | null;
|
|
46340
|
+
id: string;
|
|
46341
|
+
inbound?: unknown;
|
|
46342
|
+
items: {
|
|
46343
|
+
agentId: string | null;
|
|
46344
|
+
agentType: string | null;
|
|
46345
|
+
cachedSkills: unknown[] | null;
|
|
46346
|
+
capabilityId: string;
|
|
46347
|
+
capabilityName: string | null;
|
|
46348
|
+
config?: unknown;
|
|
45406
46349
|
createdAt: string;
|
|
45407
|
-
|
|
45408
|
-
|
|
46350
|
+
displayOrder: number | null;
|
|
46351
|
+
enabled: boolean;
|
|
46352
|
+
endpointSlug: string | null;
|
|
46353
|
+
exposedDescription: string | null;
|
|
46354
|
+
exposedName: string | null;
|
|
46355
|
+
flowId: string | null;
|
|
46356
|
+
id: string;
|
|
46357
|
+
isEntryPoint: boolean;
|
|
46358
|
+
parametersSchema?: unknown;
|
|
46359
|
+
}[];
|
|
46360
|
+
keys: {
|
|
46361
|
+
canReveal: boolean;
|
|
46362
|
+
createdAt: string;
|
|
46363
|
+
environment: string;
|
|
46364
|
+
expiresAt: string | null;
|
|
46365
|
+
id: string;
|
|
46366
|
+
isActive: boolean;
|
|
46367
|
+
isDevelopment: boolean;
|
|
46368
|
+
keyHint: string | null;
|
|
46369
|
+
keyPrefix: string;
|
|
46370
|
+
lastUsedAt: string | null;
|
|
46371
|
+
name: string | null;
|
|
46372
|
+
rateLimitPerDay: number | null;
|
|
46373
|
+
rateLimitPerMinute: number | null;
|
|
46374
|
+
scopeTargetIds: string[] | null;
|
|
46375
|
+
scopes: string[];
|
|
46376
|
+
usageCount: number | null;
|
|
46377
|
+
}[];
|
|
46378
|
+
name: string;
|
|
46379
|
+
outbound?: unknown;
|
|
46380
|
+
productId: string;
|
|
46381
|
+
scopeTargets: {
|
|
46382
|
+
capabilityId?: string;
|
|
45409
46383
|
id: string;
|
|
45410
|
-
inbound: {
|
|
45411
|
-
appId?: string;
|
|
45412
|
-
continueThreads?: boolean;
|
|
45413
|
-
integrationId?: string;
|
|
45414
|
-
listenChannels?: string[];
|
|
45415
|
-
listenDms?: boolean;
|
|
45416
|
-
teamId?: string;
|
|
45417
|
-
teamName?: string;
|
|
45418
|
-
triggerOnMention?: boolean;
|
|
45419
|
-
} | null;
|
|
45420
46384
|
name: string;
|
|
45421
|
-
|
|
45422
|
-
/** @description Name of the product this surface belongs to. Non-nullable: the list query inner-joins products (so a surface with no product cannot appear) and products.name is NOT NULL. Present so a cross-product picker can disambiguate two surfaces that share a name. */
|
|
45423
|
-
productName: string;
|
|
45424
|
-
status: string;
|
|
45425
|
-
type: string;
|
|
45426
|
-
updatedAt: string;
|
|
45427
|
-
webhookHealth: components["schemas"]["WebhookHealth"];
|
|
46385
|
+
surfaceItemId?: string;
|
|
45428
46386
|
}[];
|
|
45429
|
-
|
|
46387
|
+
status: string;
|
|
46388
|
+
type: string;
|
|
46389
|
+
updatedAt: string;
|
|
46390
|
+
webhookHealth: components["schemas"]["WebhookHealth"];
|
|
45430
46391
|
};
|
|
45431
46392
|
};
|
|
45432
46393
|
};
|
|
45433
|
-
/** @description Invalid
|
|
46394
|
+
/** @description Invalid surface ID */
|
|
45434
46395
|
400: {
|
|
45435
46396
|
headers: {
|
|
45436
46397
|
[name: string]: unknown;
|
|
@@ -45457,6 +46418,15 @@ interface paths {
|
|
|
45457
46418
|
"application/json": components["schemas"]["Error"];
|
|
45458
46419
|
};
|
|
45459
46420
|
};
|
|
46421
|
+
/** @description Surface not found */
|
|
46422
|
+
404: {
|
|
46423
|
+
headers: {
|
|
46424
|
+
[name: string]: unknown;
|
|
46425
|
+
};
|
|
46426
|
+
content: {
|
|
46427
|
+
"application/json": components["schemas"]["Error"];
|
|
46428
|
+
};
|
|
46429
|
+
};
|
|
45460
46430
|
/** @description Internal server error */
|
|
45461
46431
|
500: {
|
|
45462
46432
|
headers: {
|
|
@@ -45476,7 +46446,7 @@ interface paths {
|
|
|
45476
46446
|
patch?: never;
|
|
45477
46447
|
trace?: never;
|
|
45478
46448
|
};
|
|
45479
|
-
"/v1/surfaces/{surfaceId}": {
|
|
46449
|
+
"/v1/surfaces/{surfaceId}/channel-context": {
|
|
45480
46450
|
parameters: {
|
|
45481
46451
|
query?: never;
|
|
45482
46452
|
header?: never;
|
|
@@ -45484,12 +46454,15 @@ interface paths {
|
|
|
45484
46454
|
cookie?: never;
|
|
45485
46455
|
};
|
|
45486
46456
|
/**
|
|
45487
|
-
*
|
|
45488
|
-
* @description
|
|
46457
|
+
* Read a channel context window
|
|
46458
|
+
* @description Read the recent channel messages a Slack, Telegram or iMessage surface holds for one channel or group (at most 20, newest 24 hours, oldest first), each with the response gate decision recorded for it, and the next-turn labels recorded on those decisions. Skipped messages create no conversation, so this is where their decisions are read.
|
|
45489
46459
|
*/
|
|
45490
46460
|
get: {
|
|
45491
46461
|
parameters: {
|
|
45492
|
-
query
|
|
46462
|
+
query: {
|
|
46463
|
+
/** @description Slack channel ID, Telegram chat ID, or iMessage group ID. */
|
|
46464
|
+
channelId: string;
|
|
46465
|
+
};
|
|
45493
46466
|
header?: never;
|
|
45494
46467
|
path: {
|
|
45495
46468
|
surfaceId: string;
|
|
@@ -45498,72 +46471,24 @@ interface paths {
|
|
|
45498
46471
|
};
|
|
45499
46472
|
requestBody?: never;
|
|
45500
46473
|
responses: {
|
|
45501
|
-
/** @description
|
|
46474
|
+
/** @description The channel window with its gate decisions and labels */
|
|
45502
46475
|
200: {
|
|
45503
46476
|
headers: {
|
|
45504
46477
|
[name: string]: unknown;
|
|
45505
46478
|
};
|
|
45506
46479
|
content: {
|
|
45507
46480
|
"application/json": {
|
|
45508
|
-
|
|
45509
|
-
|
|
45510
|
-
|
|
45511
|
-
|
|
45512
|
-
|
|
45513
|
-
|
|
45514
|
-
|
|
45515
|
-
agentId: string | null;
|
|
45516
|
-
agentType: string | null;
|
|
45517
|
-
cachedSkills: unknown[] | null;
|
|
45518
|
-
capabilityId: string;
|
|
45519
|
-
capabilityName: string | null;
|
|
45520
|
-
config?: unknown;
|
|
45521
|
-
createdAt: string;
|
|
45522
|
-
displayOrder: number | null;
|
|
45523
|
-
enabled: boolean;
|
|
45524
|
-
endpointSlug: string | null;
|
|
45525
|
-
exposedDescription: string | null;
|
|
45526
|
-
exposedName: string | null;
|
|
45527
|
-
flowId: string | null;
|
|
45528
|
-
id: string;
|
|
45529
|
-
isEntryPoint: boolean;
|
|
45530
|
-
parametersSchema?: unknown;
|
|
45531
|
-
}[];
|
|
45532
|
-
keys: {
|
|
45533
|
-
canReveal: boolean;
|
|
45534
|
-
createdAt: string;
|
|
45535
|
-
environment: string;
|
|
45536
|
-
expiresAt: string | null;
|
|
45537
|
-
id: string;
|
|
45538
|
-
isActive: boolean;
|
|
45539
|
-
isDevelopment: boolean;
|
|
45540
|
-
keyHint: string | null;
|
|
45541
|
-
keyPrefix: string;
|
|
45542
|
-
lastUsedAt: string | null;
|
|
45543
|
-
name: string | null;
|
|
45544
|
-
rateLimitPerDay: number | null;
|
|
45545
|
-
rateLimitPerMinute: number | null;
|
|
45546
|
-
scopeTargetIds: string[] | null;
|
|
45547
|
-
scopes: string[];
|
|
45548
|
-
usageCount: number | null;
|
|
45549
|
-
}[];
|
|
45550
|
-
name: string;
|
|
45551
|
-
outbound?: unknown;
|
|
45552
|
-
productId: string;
|
|
45553
|
-
scopeTargets: {
|
|
45554
|
-
capabilityId?: string;
|
|
45555
|
-
id: string;
|
|
45556
|
-
name: string;
|
|
45557
|
-
surfaceItemId?: string;
|
|
45558
|
-
}[];
|
|
45559
|
-
status: string;
|
|
45560
|
-
type: string;
|
|
45561
|
-
updatedAt: string;
|
|
45562
|
-
webhookHealth: components["schemas"]["WebhookHealth"];
|
|
46481
|
+
channelId: string;
|
|
46482
|
+
/** @description Labels on decisions the channel still retains (newest 50 messages, 24 hours), oldest first. Empty until a next turn produces one. */
|
|
46483
|
+
labels: components["schemas"]["ChannelContextLabel"][];
|
|
46484
|
+
messages: components["schemas"]["ChannelContextMessage"][];
|
|
46485
|
+
/** @enum {string} */
|
|
46486
|
+
provider: "slack" | "telegram" | "imessage";
|
|
46487
|
+
surfaceId: string;
|
|
45563
46488
|
};
|
|
45564
46489
|
};
|
|
45565
46490
|
};
|
|
45566
|
-
/** @description Invalid surface ID */
|
|
46491
|
+
/** @description Invalid surface ID, or a surface type without a channel context */
|
|
45567
46492
|
400: {
|
|
45568
46493
|
headers: {
|
|
45569
46494
|
[name: string]: unknown;
|
|
@@ -45599,15 +46524,6 @@ interface paths {
|
|
|
45599
46524
|
"application/json": components["schemas"]["Error"];
|
|
45600
46525
|
};
|
|
45601
46526
|
};
|
|
45602
|
-
/** @description Internal server error */
|
|
45603
|
-
500: {
|
|
45604
|
-
headers: {
|
|
45605
|
-
[name: string]: unknown;
|
|
45606
|
-
};
|
|
45607
|
-
content: {
|
|
45608
|
-
"application/json": components["schemas"]["Error"];
|
|
45609
|
-
};
|
|
45610
|
-
};
|
|
45611
46527
|
};
|
|
45612
46528
|
};
|
|
45613
46529
|
put?: never;
|
|
@@ -45735,7 +46651,7 @@ interface paths {
|
|
|
45735
46651
|
};
|
|
45736
46652
|
/**
|
|
45737
46653
|
* Inspect OTLP admission, queryability, and durable recovery debt
|
|
45738
|
-
* @description Owner-scoped delivery receipts retained for 30 days. Lag is acceptance to
|
|
46654
|
+
* @description Owner-scoped delivery receipts retained for 30 days. Lag is acceptance to confirmation (a positive hot receipt read, or a successful raw send), not a production SLO guarantee. Idle is not proof of sink health. No transcripts or retained payloads are returned. Requires ANALYTICS:READ or AGENTS:READ; TELEMETRY:WRITE alone is append-only.
|
|
45739
46655
|
*/
|
|
45740
46656
|
get: operations["getOtlpIngestHealth"];
|
|
45741
46657
|
put?: never;
|
|
@@ -47491,18 +48407,22 @@ interface paths {
|
|
|
47491
48407
|
parameters: {
|
|
47492
48408
|
[key: string]: unknown;
|
|
47493
48409
|
};
|
|
48410
|
+
/** @description Built-in tools only: the instance config an agent's toolConfigs entry would carry, validated against the tool's configSchema. Rejected for a saved tool. */
|
|
48411
|
+
toolConfig?: {
|
|
48412
|
+
[key: string]: unknown;
|
|
48413
|
+
};
|
|
47494
48414
|
toolId?: string;
|
|
47495
48415
|
};
|
|
47496
48416
|
};
|
|
47497
48417
|
};
|
|
47498
48418
|
responses: {
|
|
47499
|
-
/** @description Tool execution result
|
|
48419
|
+
/** @description Tool execution result: BuiltinToolExecuteResult for a builtin: or platform: id, ExecuteToolResult for a saved non-flow tool, an SSE stream for a flow tool */
|
|
47500
48420
|
200: {
|
|
47501
48421
|
headers: {
|
|
47502
48422
|
[name: string]: unknown;
|
|
47503
48423
|
};
|
|
47504
48424
|
content: {
|
|
47505
|
-
"application/json": {
|
|
48425
|
+
"application/json": components["schemas"]["BuiltinToolExecuteResult"] | {
|
|
47506
48426
|
error?: string;
|
|
47507
48427
|
executionId: string;
|
|
47508
48428
|
executionTimeMs: number;
|
|
@@ -47512,13 +48432,13 @@ interface paths {
|
|
|
47512
48432
|
};
|
|
47513
48433
|
};
|
|
47514
48434
|
};
|
|
47515
|
-
/** @description
|
|
48435
|
+
/** @description Invalid request, tool config, or judgment input */
|
|
47516
48436
|
400: {
|
|
47517
48437
|
headers: {
|
|
47518
48438
|
[name: string]: unknown;
|
|
47519
48439
|
};
|
|
47520
48440
|
content: {
|
|
47521
|
-
"application/json": components["schemas"]["
|
|
48441
|
+
"application/json": components["schemas"]["ToolExecuteError"];
|
|
47522
48442
|
};
|
|
47523
48443
|
};
|
|
47524
48444
|
/** @description Unauthorized */
|
|
@@ -47539,13 +48459,22 @@ interface paths {
|
|
|
47539
48459
|
"application/json": components["schemas"]["Error"];
|
|
47540
48460
|
};
|
|
47541
48461
|
};
|
|
47542
|
-
/** @description Tool not found */
|
|
48462
|
+
/** @description Tool not found, or a judgment question set that does not resolve */
|
|
47543
48463
|
404: {
|
|
47544
48464
|
headers: {
|
|
47545
48465
|
[name: string]: unknown;
|
|
47546
48466
|
};
|
|
47547
48467
|
content: {
|
|
47548
|
-
"application/json": components["schemas"]["
|
|
48468
|
+
"application/json": components["schemas"]["ToolExecuteError"];
|
|
48469
|
+
};
|
|
48470
|
+
};
|
|
48471
|
+
/** @description A judgment the gateway cannot serve: an unlisted model or no gateway credential */
|
|
48472
|
+
422: {
|
|
48473
|
+
headers: {
|
|
48474
|
+
[name: string]: unknown;
|
|
48475
|
+
};
|
|
48476
|
+
content: {
|
|
48477
|
+
"application/json": components["schemas"]["ToolExecuteError"];
|
|
47549
48478
|
};
|
|
47550
48479
|
};
|
|
47551
48480
|
/** @description Internal server error */
|
|
@@ -47595,13 +48524,13 @@ interface paths {
|
|
|
47595
48524
|
};
|
|
47596
48525
|
};
|
|
47597
48526
|
responses: {
|
|
47598
|
-
/** @description Tool execution result
|
|
48527
|
+
/** @description Tool execution result, forwarded from the execute endpoint */
|
|
47599
48528
|
200: {
|
|
47600
48529
|
headers: {
|
|
47601
48530
|
[name: string]: unknown;
|
|
47602
48531
|
};
|
|
47603
48532
|
content: {
|
|
47604
|
-
"application/json": {
|
|
48533
|
+
"application/json": components["schemas"]["BuiltinToolExecuteResult"] | {
|
|
47605
48534
|
error?: string;
|
|
47606
48535
|
executionId: string;
|
|
47607
48536
|
executionTimeMs: number;
|
|
@@ -47611,6 +48540,15 @@ interface paths {
|
|
|
47611
48540
|
};
|
|
47612
48541
|
};
|
|
47613
48542
|
};
|
|
48543
|
+
/** @description Invalid request, tool config, or judgment input */
|
|
48544
|
+
400: {
|
|
48545
|
+
headers: {
|
|
48546
|
+
[name: string]: unknown;
|
|
48547
|
+
};
|
|
48548
|
+
content: {
|
|
48549
|
+
"application/json": components["schemas"]["ToolExecuteError"];
|
|
48550
|
+
};
|
|
48551
|
+
};
|
|
47614
48552
|
/** @description Unauthorized */
|
|
47615
48553
|
401: {
|
|
47616
48554
|
headers: {
|
|
@@ -47629,6 +48567,24 @@ interface paths {
|
|
|
47629
48567
|
"application/json": components["schemas"]["Error"];
|
|
47630
48568
|
};
|
|
47631
48569
|
};
|
|
48570
|
+
/** @description Tool not found, or a judgment question set that does not resolve */
|
|
48571
|
+
404: {
|
|
48572
|
+
headers: {
|
|
48573
|
+
[name: string]: unknown;
|
|
48574
|
+
};
|
|
48575
|
+
content: {
|
|
48576
|
+
"application/json": components["schemas"]["ToolExecuteError"];
|
|
48577
|
+
};
|
|
48578
|
+
};
|
|
48579
|
+
/** @description A judgment the gateway cannot serve: an unlisted model or no gateway credential */
|
|
48580
|
+
422: {
|
|
48581
|
+
headers: {
|
|
48582
|
+
[name: string]: unknown;
|
|
48583
|
+
};
|
|
48584
|
+
content: {
|
|
48585
|
+
"application/json": components["schemas"]["ToolExecuteError"];
|
|
48586
|
+
};
|
|
48587
|
+
};
|
|
47632
48588
|
/** @description Internal server error */
|
|
47633
48589
|
500: {
|
|
47634
48590
|
headers: {
|
|
@@ -48857,6 +49813,7 @@ interface components {
|
|
|
48857
49813
|
[key: string]: unknown;
|
|
48858
49814
|
};
|
|
48859
49815
|
description: string;
|
|
49816
|
+
hiddenParameterNames?: string[];
|
|
48860
49817
|
idempotent?: boolean;
|
|
48861
49818
|
name: string;
|
|
48862
49819
|
parametersSchema: {
|
|
@@ -49021,6 +49978,15 @@ interface components {
|
|
|
49021
49978
|
} & {
|
|
49022
49979
|
[key: string]: unknown;
|
|
49023
49980
|
};
|
|
49981
|
+
BuiltinToolExecuteResult: {
|
|
49982
|
+
/** @description Execution metadata for the caller, never part of a model-facing tool result. builtin:typesafe_judge sets metadata.judgment: requestedModel, resolvedModelId, keySource, questionSetId and questionSetVersion (configured mode), usage { inputTokens, outputTokens, reported }, and estimatedCostUsd (provider rates, before margin). */
|
|
49983
|
+
metadata?: {
|
|
49984
|
+
[key: string]: unknown;
|
|
49985
|
+
};
|
|
49986
|
+
result?: unknown;
|
|
49987
|
+
toolId: string;
|
|
49988
|
+
toolName: string;
|
|
49989
|
+
};
|
|
49024
49990
|
CaptureExecutionPreview: {
|
|
49025
49991
|
/** @description The recorded tool-call actions in invocation order — the fork-picker rows. */
|
|
49026
49992
|
actions: components["schemas"]["CaptureExecutionPreviewAction"][];
|
|
@@ -49048,6 +50014,53 @@ interface components {
|
|
|
49048
50014
|
/** @description True when every recorded tool output was captured in full. False when any output was truncated at capture — the case still saves, but tool outputs are partial ("⚠ tool outputs weren’t fully captured"). */
|
|
49049
50015
|
replayable: boolean;
|
|
49050
50016
|
};
|
|
50017
|
+
ChannelContextDecision: {
|
|
50018
|
+
/** @description Whether the assistant ran for this message. */
|
|
50019
|
+
activated: boolean;
|
|
50020
|
+
/**
|
|
50021
|
+
* @description The response gate decision. not_judged means no judgment answered: the mode never asks one, or the judgment failed and the message waited for a mention.
|
|
50022
|
+
* @enum {string}
|
|
50023
|
+
*/
|
|
50024
|
+
decision: "not_judged" | "reply" | "silent" | "band";
|
|
50025
|
+
/**
|
|
50026
|
+
* @description Why the judgment did not answer, when one was asked and failed. error: the model call failed for a reason other than a provider server error, for example a missing credential or a rejected request. upstream: the model provider returned a server error. timeout: the model budget ran out. unanswered: the model gave no decision. no_assistant: the surface has no product to describe. preparation: the pre-model loads failed or ran out of time. circuit_open: repeated upstream failures paused judgments, so none was asked. Absent on a decision that answered, and on decisions recorded before this field existed.
|
|
50027
|
+
* @enum {string}
|
|
50028
|
+
*/
|
|
50029
|
+
failure?: "error" | "upstream" | "timeout" | "unanswered" | "no_assistant" | "preparation" | "circuit_open";
|
|
50030
|
+
/** @description The judged shouldReply probability; absent when not_judged. */
|
|
50031
|
+
probability?: number;
|
|
50032
|
+
} | null;
|
|
50033
|
+
ChannelContextLabel: {
|
|
50034
|
+
decision: components["schemas"]["ChannelContextDecision"];
|
|
50035
|
+
/** @description The labeled message, whose decision the label judges. */
|
|
50036
|
+
externalMessageId: string;
|
|
50037
|
+
/**
|
|
50038
|
+
* @description gate_false_negative: the assistant stayed silent and a person mentioned it soon after. gate_false_positive: the assistant replied and a person pushed back. backfill_false_negative: after a judged context backfill, a person said the answer was already above.
|
|
50039
|
+
* @enum {string}
|
|
50040
|
+
*/
|
|
50041
|
+
label: "gate_false_negative" | "gate_false_positive" | "backfill_false_negative";
|
|
50042
|
+
/** @description ISO timestamp the label was recorded. */
|
|
50043
|
+
labeledAt: string;
|
|
50044
|
+
/**
|
|
50045
|
+
* @description The next-turn signal that produced the label.
|
|
50046
|
+
* @enum {string}
|
|
50047
|
+
*/
|
|
50048
|
+
source: "mention_after_silence" | "not_you_reply" | "negative_reaction" | "reply_deleted" | "already_said_reply";
|
|
50049
|
+
};
|
|
50050
|
+
ChannelContextMessage: {
|
|
50051
|
+
authorId: string;
|
|
50052
|
+
/** @enum {string} */
|
|
50053
|
+
authorKind: "user" | "assistant" | "bot";
|
|
50054
|
+
decision: components["schemas"]["ChannelContextDecision"];
|
|
50055
|
+
externalMessageId: string;
|
|
50056
|
+
hasAttachment: boolean;
|
|
50057
|
+
mentionsAssistant: boolean;
|
|
50058
|
+
/** @description Message text, truncated to 1,000 characters. */
|
|
50059
|
+
text: string;
|
|
50060
|
+
threadId?: string;
|
|
50061
|
+
/** @description ISO timestamp of the provider message. */
|
|
50062
|
+
timestamp: string;
|
|
50063
|
+
};
|
|
49051
50064
|
ClientInputDeliveryReceipt: {
|
|
49052
50065
|
deliveryId: string;
|
|
49053
50066
|
executionId: string;
|
|
@@ -49982,6 +50995,9 @@ interface components {
|
|
|
49982
50995
|
/** @enum {string} */
|
|
49983
50996
|
type: "turn_start";
|
|
49984
50997
|
} | {
|
|
50998
|
+
attributes?: {
|
|
50999
|
+
[key: string]: string | number | boolean;
|
|
51000
|
+
};
|
|
49985
51001
|
completedAt?: string;
|
|
49986
51002
|
content?: string;
|
|
49987
51003
|
cost?: number;
|
|
@@ -50048,6 +51064,9 @@ interface components {
|
|
|
50048
51064
|
/** @enum {string} */
|
|
50049
51065
|
type: "model_call_start";
|
|
50050
51066
|
} | {
|
|
51067
|
+
attributes?: {
|
|
51068
|
+
[key: string]: string | number | boolean;
|
|
51069
|
+
};
|
|
50051
51070
|
completedAt?: string;
|
|
50052
51071
|
cost?: number;
|
|
50053
51072
|
durationMs?: number;
|
|
@@ -50071,6 +51090,7 @@ interface components {
|
|
|
50071
51090
|
cacheWrite?: number;
|
|
50072
51091
|
input: number;
|
|
50073
51092
|
output: number;
|
|
51093
|
+
reasoning?: number;
|
|
50074
51094
|
};
|
|
50075
51095
|
turnId?: string;
|
|
50076
51096
|
/** @enum {string} */
|
|
@@ -50646,6 +51666,23 @@ interface components {
|
|
|
50646
51666
|
/** @enum {string} */
|
|
50647
51667
|
status: "pending" | "applied" | "settled" | "not_applied";
|
|
50648
51668
|
};
|
|
51669
|
+
JudgmentCalibrationRecord: {
|
|
51670
|
+
createdAt: string;
|
|
51671
|
+
createdByUserId: string | null;
|
|
51672
|
+
evalRunId: string | null;
|
|
51673
|
+
id: string;
|
|
51674
|
+
measuredModel: string;
|
|
51675
|
+
questionSetVersionId: string;
|
|
51676
|
+
/** @description The calibration record as posted. */
|
|
51677
|
+
record: {
|
|
51678
|
+
[key: string]: unknown;
|
|
51679
|
+
};
|
|
51680
|
+
/**
|
|
51681
|
+
* @description Derived: `eval_suite` only when the posted `evalRunId` resolved to an eval run in this account.
|
|
51682
|
+
* @enum {string}
|
|
51683
|
+
*/
|
|
51684
|
+
source: "eval_suite" | "customer";
|
|
51685
|
+
};
|
|
50649
51686
|
ManagedAgentRunOutput: {
|
|
50650
51687
|
anthropicFileId: string;
|
|
50651
51688
|
/** @description Asset-storage key the bytes were persisted to. */
|
|
@@ -50831,6 +51868,45 @@ interface components {
|
|
|
50831
51868
|
productId: string;
|
|
50832
51869
|
updatedAt: string | null;
|
|
50833
51870
|
};
|
|
51871
|
+
QuestionSet: {
|
|
51872
|
+
createdAt: string;
|
|
51873
|
+
createdByUserId: string | null;
|
|
51874
|
+
/** @description The published version executions resolve when they name no version; null until a publish. */
|
|
51875
|
+
currentVersionId: string | null;
|
|
51876
|
+
description: string | null;
|
|
51877
|
+
id: string;
|
|
51878
|
+
name: string;
|
|
51879
|
+
organizationId: string;
|
|
51880
|
+
slug: string;
|
|
51881
|
+
updatedAt: string;
|
|
51882
|
+
};
|
|
51883
|
+
QuestionSetError: components["schemas"]["Error"] & {
|
|
51884
|
+
/** @description Stable code, e.g. QUESTION_SET_INVALID or QUESTION_SET_UNRESOLVED. */
|
|
51885
|
+
code?: string;
|
|
51886
|
+
};
|
|
51887
|
+
QuestionSetListItem: components["schemas"]["QuestionSet"] & {
|
|
51888
|
+
currentVersionNumber: number | null;
|
|
51889
|
+
latestVersionNumber: number;
|
|
51890
|
+
};
|
|
51891
|
+
QuestionSetVersion: {
|
|
51892
|
+
createdAt: string;
|
|
51893
|
+
createdByUserId: string | null;
|
|
51894
|
+
currentCalibrationId: string | null;
|
|
51895
|
+
id: string;
|
|
51896
|
+
inputMapping: {
|
|
51897
|
+
[key: string]: string;
|
|
51898
|
+
} | null;
|
|
51899
|
+
/** @description Requested judgment model id; null uses the platform default. */
|
|
51900
|
+
model: string | null;
|
|
51901
|
+
/** @description Set once, at the first publish; a published version never changes. */
|
|
51902
|
+
publishedAt: string | null;
|
|
51903
|
+
questionSetId: string;
|
|
51904
|
+
/** @description Judgment questions keyed by question id. Each is `{ type: "boolean" | "choice" | "score", instructions, criteria }`. The id is never sent to the model, so instructions and criteria carry the meaning. */
|
|
51905
|
+
questions: {
|
|
51906
|
+
[key: string]: unknown;
|
|
51907
|
+
};
|
|
51908
|
+
versionNumber: number;
|
|
51909
|
+
};
|
|
50834
51910
|
RecordFilterCondition: {
|
|
50835
51911
|
field: string;
|
|
50836
51912
|
/** @enum {string} */
|
|
@@ -50851,6 +51927,29 @@ interface components {
|
|
|
50851
51927
|
recordName?: string;
|
|
50852
51928
|
schemaVersion: number;
|
|
50853
51929
|
};
|
|
51930
|
+
ResolvedQuestionSet: {
|
|
51931
|
+
calibration: {
|
|
51932
|
+
createdAt: string;
|
|
51933
|
+
id: string;
|
|
51934
|
+
measuredModel: string;
|
|
51935
|
+
record: {
|
|
51936
|
+
[key: string]: unknown;
|
|
51937
|
+
};
|
|
51938
|
+
/** @enum {string} */
|
|
51939
|
+
source: "eval_suite" | "customer";
|
|
51940
|
+
} | null;
|
|
51941
|
+
id: string;
|
|
51942
|
+
inputMapping: {
|
|
51943
|
+
[key: string]: string;
|
|
51944
|
+
} | null;
|
|
51945
|
+
model: string | null;
|
|
51946
|
+
/** @description Judgment questions keyed by question id. Each is `{ type: "boolean" | "choice" | "score", instructions, criteria }`. The id is never sent to the model, so instructions and criteria carry the meaning. */
|
|
51947
|
+
questions: {
|
|
51948
|
+
[key: string]: unknown;
|
|
51949
|
+
};
|
|
51950
|
+
slug: string;
|
|
51951
|
+
version: number;
|
|
51952
|
+
};
|
|
50854
51953
|
RunEvalResponse: {
|
|
50855
51954
|
/** @description The release alias the run resolved through, when it resolved through one. */
|
|
50856
51955
|
agentTargetAlias?: string | null;
|
|
@@ -50937,6 +52036,10 @@ interface components {
|
|
|
50937
52036
|
batchExecutionId: string | null;
|
|
50938
52037
|
/** @description Budget exhausted. Absent means the overlay did not answer, which is not false and not null. */
|
|
50939
52038
|
budgetExhausted?: boolean | null;
|
|
52039
|
+
/** @description Prompt-cache reads summed over the run's model calls (a subset of inputTokens). Returned by GET /v1/runs/{executionId} only; null means no model call reported one. */
|
|
52040
|
+
cacheReadTokens?: number | null;
|
|
52041
|
+
/** @description Prompt-cache writes summed over the run's model calls (a subset of inputTokens). Returned by GET /v1/runs/{executionId} only; null means no model call reported one. */
|
|
52042
|
+
cacheWriteTokens?: number | null;
|
|
50940
52043
|
/** @description Cancel request. Absent means the overlay did not answer, which is not false and not null. */
|
|
50941
52044
|
cancelRequestedAt?: string | null;
|
|
50942
52045
|
/** @description How many runs name this one as their parent. The unscoped feed returns roots only, so this is the size of the fold underneath a row; read the children with parentExecutionId=<executionId>. It is populated on a resource-scoped page too, where nothing is folded, so a surface can still offer the same expansion. WHICH children are counted depends on the arm that served the row: the span store counts every child, agent and nested-flow alike, while the legacy control-plane fallback counts agent children only, so on that arm a parent whose only child is a nested flow reports 0. That is deliberate — the fallback arm cannot enumerate a nested-flow child either, so counting one would advertise a fold that opens on nothing. It counts only children the CALLER may read: a credential holding one execution family (AGENTS:READ or FLOWS:READ alone) counts the children of that family and no others, so a count never discloses a run the same credential could not list. NULL means the arm cannot count children at all, which is not zero. */
|
|
@@ -50994,6 +52097,8 @@ interface components {
|
|
|
50994
52097
|
pendingApproval?: unknown;
|
|
50995
52098
|
/** @description Live progress document. Absent means the overlay did not answer, which is not false and not null. */
|
|
50996
52099
|
progress?: unknown;
|
|
52100
|
+
/** @description Reasoning tokens summed over the run's model calls (a subset of outputTokens). Returned by GET /v1/runs/{executionId} only; null means no model call reported one. */
|
|
52101
|
+
reasoningTokens?: number | null;
|
|
50997
52102
|
/** @description Record this run processed. */
|
|
50998
52103
|
recordId: string | null;
|
|
50999
52104
|
/** @description Retention removed the spans; the run still lists and reads as completed. */
|
|
@@ -51260,6 +52365,13 @@ interface components {
|
|
|
51260
52365
|
result: "plan";
|
|
51261
52366
|
toolId?: string;
|
|
51262
52367
|
};
|
|
52368
|
+
ToolExecuteError: components["schemas"]["Error"] & {
|
|
52369
|
+
/** @description Stable code for a caller-fixable failure, e.g. JUDGMENT_QUESTIONS_INVALID or QUESTION_SET_UNRESOLVED. */
|
|
52370
|
+
code?: string;
|
|
52371
|
+
details?: {
|
|
52372
|
+
[key: string]: unknown;
|
|
52373
|
+
};
|
|
52374
|
+
};
|
|
51263
52375
|
ToolPullResponse: {
|
|
51264
52376
|
contentHash: string;
|
|
51265
52377
|
definition: {
|
|
@@ -51351,6 +52463,7 @@ interface components {
|
|
|
51351
52463
|
providerRateLimitHeaders?: {
|
|
51352
52464
|
[key: string]: string;
|
|
51353
52465
|
} | null;
|
|
52466
|
+
reasoningTokens?: number | null;
|
|
51354
52467
|
recordId?: string | null;
|
|
51355
52468
|
recordName?: string | null;
|
|
51356
52469
|
requestId?: string | null;
|
|
@@ -51588,6 +52701,7 @@ interface operations {
|
|
|
51588
52701
|
repairs: number;
|
|
51589
52702
|
waiting: number;
|
|
51590
52703
|
};
|
|
52704
|
+
/** @description Hot tier: confirmed by a positive receipt read, not a stream acknowledgment. */
|
|
51591
52705
|
hot: {
|
|
51592
52706
|
confirmed: number;
|
|
51593
52707
|
maximumConfirmedLagMs: number | null;
|
|
@@ -51595,6 +52709,7 @@ interface operations {
|
|
|
51595
52709
|
repairs: number;
|
|
51596
52710
|
waiting: number;
|
|
51597
52711
|
};
|
|
52712
|
+
/** @description Raw storage tier: confirmed when its send succeeds (at-least-once, no read-back). `waiting` counts rows whose send has not yet succeeded. */
|
|
51598
52713
|
raw: {
|
|
51599
52714
|
confirmed: number;
|
|
51600
52715
|
maximumConfirmedLagMs: number | null;
|
|
@@ -51617,7 +52732,7 @@ interface operations {
|
|
|
51617
52732
|
trace: {
|
|
51618
52733
|
acceptedAt: string;
|
|
51619
52734
|
completeness: string;
|
|
51620
|
-
/** @description Receipt counts for this trace only; confirmations require positive
|
|
52735
|
+
/** @description Receipt counts for this trace only; hot confirmations require a positive receipt read, raw confirmations a successful send. */
|
|
51621
52736
|
delivery: {
|
|
51622
52737
|
accepted: number;
|
|
51623
52738
|
/** @description Deprecated: the canonical storage tier is retired and every field is permanently zero. It is emitted only so already-published SDKs, which model it as required, keep parsing; it is removed in a following release. */
|
|
@@ -53808,14 +54923,40 @@ interface UpdateToolRequest {
|
|
|
53808
54923
|
interface ExecuteToolRequest {
|
|
53809
54924
|
toolId: string;
|
|
53810
54925
|
parameters: JsonObject;
|
|
54926
|
+
/** Built-in tools only: the instance config, validated against the tool's configSchema. */
|
|
54927
|
+
toolConfig?: JsonObject;
|
|
53811
54928
|
}
|
|
53812
|
-
|
|
54929
|
+
/**
|
|
54930
|
+
* `POST /v1/tools/{id}/execute` (and `/test`) for a saved non-flow tool
|
|
54931
|
+
* (OpenAPI `ExecuteToolResult`).
|
|
54932
|
+
*/
|
|
54933
|
+
interface SavedToolExecuteResponse {
|
|
53813
54934
|
executionId: string;
|
|
53814
|
-
|
|
53815
|
-
|
|
54935
|
+
status: 'pending' | 'success' | 'failed' | 'waiting_for_local';
|
|
54936
|
+
result?: JsonValue;
|
|
54937
|
+
error?: string;
|
|
54938
|
+
/** @deprecated The API never sends this field; read `error`. */
|
|
53816
54939
|
errorMessage?: string;
|
|
53817
54940
|
executionTimeMs: number;
|
|
53818
54941
|
}
|
|
54942
|
+
/**
|
|
54943
|
+
* `POST /v1/tools/{id}/execute` (and `/test`) for a `builtin:` or `platform:`
|
|
54944
|
+
* tool (OpenAPI `BuiltinToolExecuteResult`).
|
|
54945
|
+
*/
|
|
54946
|
+
interface BuiltinToolExecuteResponse {
|
|
54947
|
+
toolId: string;
|
|
54948
|
+
toolName: string;
|
|
54949
|
+
result?: JsonValue;
|
|
54950
|
+
/** Built-in execution metadata a model never sees, e.g. `metadata.judgment`. */
|
|
54951
|
+
metadata?: JsonObject;
|
|
54952
|
+
}
|
|
54953
|
+
/**
|
|
54954
|
+
* The tool execute response: a built-in result for a `builtin:` or
|
|
54955
|
+
* `platform:` id, a saved-tool result otherwise. Narrow with
|
|
54956
|
+
* `isBuiltinToolExecuteResponse` before reading shape-specific fields.
|
|
54957
|
+
*/
|
|
54958
|
+
type ExecuteToolResponse = SavedToolExecuteResponse | BuiltinToolExecuteResponse;
|
|
54959
|
+
declare function isBuiltinToolExecuteResponse(response: ExecuteToolResponse): response is BuiltinToolExecuteResponse;
|
|
53819
54960
|
type SandboxDeployRetention = '10m' | '1h' | '24h' | 'unlimited';
|
|
53820
54961
|
type SandboxDeploySleepPolicy = {
|
|
53821
54962
|
mode: 'never';
|
|
@@ -53927,6 +55068,12 @@ interface RuntimeTool {
|
|
|
53927
55068
|
* re-decides, rather than silently re-fired.
|
|
53928
55069
|
*/
|
|
53929
55070
|
idempotent?: boolean;
|
|
55071
|
+
/**
|
|
55072
|
+
* Parameters the runtime fills from execution variables (or `_record.metadata`)
|
|
55073
|
+
* and strips from the schema the model sees. Names starting with `_internal`
|
|
55074
|
+
* are rejected at save time.
|
|
55075
|
+
*/
|
|
55076
|
+
hiddenParameterNames?: string[];
|
|
53930
55077
|
}
|
|
53931
55078
|
type RuntimeToolConfig = RuntimeFlowToolConfig | RuntimeCustomToolConfig | RuntimeExternalToolConfig | RuntimeLocalToolConfig | RuntimeSubagentToolConfig;
|
|
53932
55079
|
interface RuntimeLocalToolConfig {
|
|
@@ -54289,7 +55436,12 @@ interface LogQueryParams {
|
|
|
54289
55436
|
executionId?: string;
|
|
54290
55437
|
surfaceId?: string;
|
|
54291
55438
|
conversationId?: string;
|
|
55439
|
+
/** Substring match on a span's message, name, operation, tool name or error class. */
|
|
54292
55440
|
search?: string;
|
|
55441
|
+
/** Comma-separated statuses (completed,failed,unknown,running,queued,cancelled). */
|
|
55442
|
+
status?: string;
|
|
55443
|
+
/** Comma-separated entry types (flow,step,tool,batch,system,agent,model,schedule,audit). */
|
|
55444
|
+
type?: string;
|
|
54293
55445
|
limit?: number;
|
|
54294
55446
|
cursor?: string;
|
|
54295
55447
|
order?: 'asc' | 'desc';
|
|
@@ -57936,6 +59088,12 @@ interface RunListRow {
|
|
|
57936
59088
|
spanCount: number | null;
|
|
57937
59089
|
inputTokens: number | null;
|
|
57938
59090
|
outputTokens: number | null;
|
|
59091
|
+
/** Prompt-cache reads over the run's model calls (subset of inputTokens); `GET /v1/runs/{id}` only. */
|
|
59092
|
+
cacheReadTokens?: number | null;
|
|
59093
|
+
/** Prompt-cache writes over the run's model calls (subset of inputTokens); `GET /v1/runs/{id}` only. */
|
|
59094
|
+
cacheWriteTokens?: number | null;
|
|
59095
|
+
/** Reasoning tokens over the run's model calls (subset of outputTokens); `GET /v1/runs/{id}` only. */
|
|
59096
|
+
reasoningTokens?: number | null;
|
|
57939
59097
|
totalCost: string | null;
|
|
57940
59098
|
selfReportedCost: string | null;
|
|
57941
59099
|
/**
|
|
@@ -58026,6 +59184,8 @@ interface RunListResponse {
|
|
|
58026
59184
|
hasMore: boolean;
|
|
58027
59185
|
hasPrev: boolean;
|
|
58028
59186
|
limit: number;
|
|
59187
|
+
/** True when the supplied cursor was rejected and the read restarted at page one; stop paging. */
|
|
59188
|
+
cursorReset?: boolean;
|
|
58029
59189
|
};
|
|
58030
59190
|
window: {
|
|
58031
59191
|
from: string;
|
|
@@ -61408,6 +62568,8 @@ interface AgentRuntimeToolDefinition {
|
|
|
61408
62568
|
toolType: 'flow' | 'custom' | 'external' | 'local' | 'subagent';
|
|
61409
62569
|
parametersSchema: Record<string, unknown>;
|
|
61410
62570
|
config?: Record<string, unknown>;
|
|
62571
|
+
/** Parameters filled from execution variables and hidden from the model's schema. */
|
|
62572
|
+
hiddenParameterNames?: string[];
|
|
61411
62573
|
}
|
|
61412
62574
|
/**
|
|
61413
62575
|
* Agent execute request
|
|
@@ -64345,4 +65507,4 @@ declare function getLikelySupportingCandidatePaths(bestCandidatePath: string | u
|
|
|
64345
65507
|
declare function getDefaultPlanPath(taskName: string): string;
|
|
64346
65508
|
declare function sanitizeTaskSlug(taskName: string): string;
|
|
64347
65509
|
|
|
64348
|
-
export { type AIGrader, type ActivateAgentAliasInput, type ActivateAgentPromotionInput, type Agent, type AgentAdmissionOptions, type AgentAlias, type AgentAliasActivation, type AgentAliasArchiveFailure, type AgentAliasArchived, AgentAliasDependencyError, type AgentAliasList, AgentAliasNotFoundError, AgentAliasPreviewLimitError, AgentAliasRevisionMismatchError, AgentAliasRevisionRequiredError, type AgentAliasTransport, AgentAliasesNamespace, type AgentApprovalCompleteEvent, type AgentApprovalStartEvent, type AgentCompleteEvent, type AgentDefinition, type AgentDefinitionConfig, type AgentDeploymentList, type AgentDeploymentPromotion, type AgentDeploymentReceipt, AgentDeploymentsNamespace, AgentDriftError, type AgentElicitation, type AgentElicitationRequest, AgentEnsureConflictError, type AgentErrorEvent, type AgentEvent, type AgentEventType, type AgentExecuteRequest, type AgentExecuteResponse, type AgentIterationCompleteEvent, type AgentIterationStartEvent, type AgentMediaEvent, type AgentMessage, type AgentPausedEvent, type AgentPingEvent, AgentPromotionError, type AgentPromotionManifest, type AgentPromotionTransport, type AgentPromotionValidation, type AgentPullResult, type AgentReflectionEvent, type AgentRunInsightsResponse, type AgentRuntimeToolDefinition, type AgentStartEvent, type AgentStreamCallbacks, type AgentStreamEvent, type AgentSubagentConfig, type AgentToolCompleteEvent, type AgentToolDeltaEvent, type AgentToolInputCompleteEvent, type AgentToolInputDeltaEvent, type AgentToolStartEvent, type AgentTurnCompleteEvent, type AgentTurnDeltaEvent, type AgentTurnStartEvent, type AgentVersionDetail, type AgentVersionListItem, type AgentVersionPublishResponse, AgentVersionsEndpoint, type AgentVersionsListResponse, AgentsEndpoint, AgentsNamespace, AnalyticsEndpoint, type ApiClient, type ApiKey, type ApiKeyRequest, type ApiKeyRequestDelivery, type ApiKeyRequestEnvironment, type ApiKeyRequestHandoff, type ApiKeyRequestListParams, type ApiKeyRequestRequester, type ApiKeyRequestStatus, ApiKeyRequestsEndpoint, ApiKeysEndpoint, type ApiResponse, type ApplyGeneratedProposalOptions, type ApplyGeneratedProposalResult, type ArchiveAgentAliasEverywhereResult, type ArchiveAgentAliasInput, type AssetReferenceContentPart, type AsyncExecutionHandle, type AsyncExecutionStatus, type AttachRuntimeToolsOptions, type BaseAgentEvent, BatchBuilder, type BatchClient, type BatchListParams, type BatchOptions, type BatchRequest, type BatchResult, type BatchScheduleConfig, type BatchStatus, BatchesNamespace, BillingEndpoint, type BillingSpendAnalyticsParams, type BindSkillInput, type BuiltInGraderId, type BuiltInTool, type BulkEditCondition, type BulkEditRequest, type BulkEditResponse, type BulkEditResult, type CanonicalDispatchMessageContent, type CanonicalDispatchRequest, type CaseExpected, type CatalogClientToolRef, ChatEndpoint, type CheckGrader, type ClaimApiKeyRequestInput, type ClaimApiKeyRequestResponse, type ClaudeManagedEvalOverrideValues, ClientBatchBuilder, type ClientConfig, type ClientConversation, ClientEvalBuilder, ClientFlowBuilder, type ClientToken, type ClientTokenConfig, type ClientTokenEnvironment, type ClientTokenVersionPin, ClientTokensEndpoint, type ClientToolDefinition, type ClientToolEntry, type ClientWidgetTheme, type CollectionMeta, CollectionsEndpoint, type ConditionalGetResult, type ConditionalStepConfig$1 as ConditionalStepConfig, type ContextErrorHandling, type ContextFallback, ContextTemplatesEndpoint, type Conversation, type ConversationListItem, type ConversationListParams, type ConversationMessage, type ConversationSource, ConversationsEndpoint, type ConversationsListResponse, type CreateApiKeyRequest, type CreateApiKeyRequestInput, type CreateApiKeyRequestResponse, type CreateClientTokenRequest, type CreateClientTokenResponse, type CreateCollectionRequest, type CreateConversationRequest, type CreateEvalSuiteInput, type CreateFlowRequest, type CreateModelConfigRequest, type CreatePromptData, type CreatePromptRequest, type CreateProviderKeyRequest, type CreateRecordRequest, type CreateScheduleRequest, type CreateSecretRequest, type CreateToolRequest, type CurrentBilledSpendResponse, type CurrentBilledSpendSource, type CustomMCPServer, type CustomMCPServerAuth, type CustomToolConfig, DEFAULT_MAX_DETACHED_RECONNECTS, DEFAULT_RECOVERY_AFTER_EMPTY_SESSIONS, DEFAULT_STALL_STOP_AFTER, type DecomposeCriteriaResult, type DefineAgentInput, type DefineEvalCaseInput, type DefineEvalInput, type DefineFlowInput, type DefineProductInput, type DefineSkillInput, type DefineSurfaceInput, type DefineToolInput, type DeployCfSandboxRequest, type DeployCfSandboxResponse, type DeploySandboxRequest, type DeploySandboxResponse, type DetachedReattach, type DetachedReconnectOptions, type DiscoveredModel, type DispatchAgentInput, type DispatchApprovalContinuationResponse, type DispatchApproveRequest, type DispatchApproveResponse, type DispatchClient, type DispatchContinuationRequest, type DispatchContinuationResponse, type DispatchDetachedApprovalResponse, type DispatchDetachedToolOutputResponse, DispatchEndpoint, type DispatchEnvironment, type DispatchEvent, type DispatchFlowInput, type DispatchMessageContent, type DispatchOptions$1 as DispatchOptions, type DispatchRequest, type DispatchResponse, type DispatchResumeJsonResponse, type DispatchResumeRequest, type DispatchResumeResponse, ENSURE_RELEASE_DEPLOY_CONFLICT_MESSAGE, type EndUserUsageQuery, type EndUserUsageResponse, type EnsureAgentConverged, type EnsureAgentOptions, type EnsureAgentPlan, type EnsureAgentResult, type EnsureEvalResult, type EnsureFlowConverged, type EnsureFlowOptions, type EnsureFlowPlan, type EnsureFlowResult, type EnsureFpoOptions, type EnsureFpoResult, type EnsureProductConverged, type EnsureProductOptions, type EnsureProductPlan, type EnsureProductResult, type EnsureSkillConverged, type EnsureSkillOptions, type EnsureSkillPlan, type EnsureSkillResult, type EnsureSurfaceConverged, type EnsureSurfaceOptions, type EnsureSurfacePlan, type EnsureSurfaceResult, type EnsureToolConverged, type EnsureToolOptions, type EnsureToolPlan, type EnsureToolResult, type ErrorHandlingMode, type EvalAgentSelector, type EvalAgentTargetResolution, EvalBuilder, type EvalCaseDefinition, type EvalCaseInput, type EvalCaseProposal, type EvalCaseProposalAccepted, type EvalCaseProposalListResult, type EvalCasesGenerated, type EvalClient, type EvalDefinition, EvalEndpoint, type EvalListParams, type EvalMessage, type EvalOptions, type EvalOverrideValues, type EvalProposalSource, type EvalProposalStatus, type EvalProposedCase, type EvalPullResult, type EvalRecord, type EvalRequest, type EvalResult, type EvalRunCaseScores, type EvalRunConfig, type EvalRunEvidence, type EvalRunScores, EvalRunner, type EvalStatus, type EvalSuiteCase, type EvalSuiteCaseInput, type EvalSuiteCoverage, type EvalSuiteDetail, type EvalSuiteLatestRun, type EvalSuiteListResult, type EvalSuiteRunQueued, type EvalSuiteRunResult, type EvalSuiteSummary, EvalSuitesNamespace, type EvalTarget, EvalsNamespace, type ExecuteToolRequest, type ExecuteToolResponse, type ExecutionCounts, type ExecutionStreamEvent, ExecutionsEndpoint, ExecutionsNamespace, type ExternalAgentContext, type ExternalToolConfig, type FallbackFailEvent, type FallbackStartEvent, type FallbackSuccessEvent, type FallbackTrigger, type FallbackTriggerType, type FallbacksExhaustedEvent, type FallbacksInitiatedEvent, type FetchUrlStepConfig$1 as FetchUrlStepConfig, type FieldFormat, type FileContentPart, type Flow, type FlowAttachment, FlowBuilder, type FlowCompleteEvent, type FlowConfig$1 as FlowConfig, type FlowDefinition, type FlowDefinitionStep, FlowDriftError, FlowEnsureConflictError, type FlowErrorEvent, type FlowFallback, type FlowInlineEvalInput, type FlowListItem, type FlowPausedEvent, type FlowPullResult, FlowResult, type FlowStartEvent, type FlowStep, type FlowStepDefinition, type FlowStepType, FlowStepsEndpoint, type FlowStreamEvent, type FlowSummary, type FlowToolConfig, type FlowValidationClient, type FlowValidationIssue, type FlowValidationResult, type FlowVersionDetail, type FlowVersionListItem, type FlowVersionPublishResponse, FlowVersionsEndpoint, type FlowVersionsListResponse, FlowsEndpoint, FlowsNamespace, type FpoEntityOutcome, type FpoInput, type GenerateEmbeddingStepConfig$1 as GenerateEmbeddingStepConfig, type GenerateEvalCasesInput, type GeneratedRuntimeToolGateDecision, type GeneratedRuntimeToolGateOptions, type GetApiKeyRequestResponse, type GetRecordStepConfig$1 as GetRecordStepConfig, type Gradeable, type GraderConfig, type GraderOutcome, type GraderSeverity, type HealthInsight, type HumanVerdict, type ImageContentPart, type InferCollectionSchemaResponse, type InputDeliveryReceipt, type Integration, type IntegrationTool, IntegrationsEndpoint, type IntegrationsListResponse, type JSONSchema, type JsonArray, type JsonObject, type JsonPrimitive, type JsonValue, LEDGER_ARTIFACT_LINE_PREFIX, LIVE_AGENT_ALIAS, type ListAgentAliasesOptions, type ListAgentDeploymentsOptions, type ListCollectionsResponse, type ListConversationsResponse, type ListParams, type ListRecordsStepConfig$1 as ListRecordsStepConfig, type LocalToolConfig, type LocalToolDefinition, type LocalToolExecutionCompleteEvent, type LocalToolExecutionLoopSnapshotSlice, type LocalToolExecutionStartEvent, type LogEntry, type LogQueryParams, type LogQueryResponse, type LogQueryResult, type LogSearchedWindow, type LogStatsParams, type LogStatsResponse, type LogStatsResult, LogsEndpoint, type LoopStepConfig$1 as LoopStepConfig, type Message$1 as Message, type MessageContent, type MessageFallback, type Metadata, type MetricDelta, type ModelConfig, ModelConfigsEndpoint, type ModelFallback, type ModelOverride, type ModelUsageDetail, type ModelUsageQueryParams, type ModelUsageResponse, type ModelUsageSummary, type ModelUsageTimeSeries, type OrganizationAgentAlias, type OrganizationAgentAliasList, type PaginationResponse, type PersistedGraderOutcome, type PrepareAgentPromotionInput, type ProductDefinition, ProductDriftError, ProductEnsureConflictError, type ProductPullResult, type ProductionHealthQuery, type ProductionHealthResponse, ProductsNamespace, type PromoteAgentInput, type PromoteAgentResult, type Prompt$1 as Prompt, type PromptErrorHandling, type PromptFallback, type PromptListParams, type PromptStepConfig$1 as PromptStepConfig, PromptsEndpoint, PromptsNamespace, type ProviderApiKey, type ProviderKeyModel, ProviderKeysEndpoint, type PullFpoResult, RUNTYPE_CLIENT_KIND, type ReasoningConfig, type ReasoningContentPart, type ReasoningValue, type RecordCollection, type RecordCollectionWithHistory, type RecordCollections, type RecordConfig$1 as RecordConfig, type RecordCostAggregation, type RecordCostModelBreakdown, type RecordFilter, type RecordFilterCondition, type RecordFilterGroup, type RecordFilterOperator, type RecordListItem, type RecordListParams, type RecordStepResult, type RecordStepResultsParams, type RecordStepResultsResponse, type RecordWriteResponse, RecordsEndpoint, type RetrieveRecordStepConfig$1 as RetrieveRecordStepConfig, type RetryFallback, type RollbackAgentAliasInput, type RunEvalCaseResult, type RunEvalInput, type RunEvalResult, type RunListParams, type RunListResponse, type RunListRow, type RunTaskContextBudgetBreakdown, type RunTaskContextCompactionEvent, type RunTaskContextCompactionStrategy, type RunTaskContextNoticeEvent, type RunTaskContextSummaryEntry, type RunTaskContinuation, type RunTaskOffloadRecorder, type RunTaskOnContextCompaction, type RunTaskOnContextNotice, type RunTaskOnSession, type RunTaskOptions, type RunTaskResult, type RunTaskResumeState, type RunTaskSessionSummary, type RunTaskState, type RunTaskStateSlice, type RunTaskStatus, type RunTaskToolTraceSlice, RunsNamespace, type RuntimeCustomToolConfig, type RuntimeExternalToolConfig, type RuntimeFlowToolConfig, type RuntimeLocalToolConfig, type RuntimeSubagentToolConfig, type RuntimeTool, type RuntimeToolConfig, Runtype, type AgentSkillBinding as RuntypeAgentSkillBinding, RuntypeApiError, RuntypeClient, type ConditionalStepConfig as RuntypeConditionalStepConfig, type RuntypeConfig, type FetchUrlStepConfig as RuntypeFetchUrlStepConfig, RuntypeFlowBuilder, type FlowConfig as RuntypeFlowConfig, type GenerateEmbeddingStepConfig as RuntypeGenerateEmbeddingStepConfig, type GetRecordStepConfig as RuntypeGetRecordStepConfig, type ListRecordsStepConfig as RuntypeListRecordsStepConfig, type LoopStepConfig as RuntypeLoopStepConfig, type Message as RuntypeMessage, type ModelOverride$1 as RuntypeModelOverride, type Prompt as RuntypePrompt, type PromptStepConfig as RuntypePromptStepConfig, type RuntypeRecord, type RecordConfig as RuntypeRecordConfig, type RetrieveRecordStepConfig as RuntypeRetrieveRecordStepConfig, type SearchStepConfig as RuntypeSearchStepConfig, type SendEmailStepConfig as RuntypeSendEmailStepConfig, type SendEventStepConfig as RuntypeSendEventStepConfig, type SendStreamStepConfig as RuntypeSendStreamStepConfig, type SetVariableStepConfig as RuntypeSetVariableStepConfig, type Skill as RuntypeSkill, type SkillBindingWithAgent as RuntypeSkillBindingWithAgent, type SkillCapabilities as RuntypeSkillCapabilities, type SkillFrontmatter as RuntypeSkillFrontmatter, type SkillManifest as RuntypeSkillManifest, type SkillProposal as RuntypeSkillProposal, type SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, type SkillVersion as RuntypeSkillVersion, type TransformDataStepConfig as RuntypeTransformDataStepConfig, type UpsertFlowConfig as RuntypeUpsertFlowConfig, type UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, type VectorSearchStepConfig as RuntypeVectorSearchStepConfig, type WaitUntilStepConfig as RuntypeWaitUntilStepConfig, SDK_USER_AGENT, SDK_VERSION, STEP_FIELD_REGISTRY, STEP_TYPE_TO_METHOD, type SandboxDeployEffectivePolicy, type SandboxDeployRetention, type SandboxDeploySleepPolicy, type Schedule, type ScheduleExecutionOptions, type ScheduleListParams, type ScheduleMessage, type ScheduleMessageSet, type ScheduleMessages, type ScheduleMutationResponse, type ScheduleRun, type ScheduleRunNowResponse, type ScheduleStatusResponse, type ScheduleTarget, type ScheduleTrigger, SchedulesEndpoint, type SearchStepConfig$1 as SearchStepConfig, type Secret, type SecretCheckResponse, type SecretDeleteResponse, type SecretSetupUrlRequest, type SecretSetupUrlResponse, SecretsEndpoint, type SelectOrganizationProviderCredentialRequest, type SelectOrganizationProviderCredentialResponse, type SendEmailStepConfig$1 as SendEmailStepConfig, type SendEventStepConfig$1 as SendEventStepConfig, type SendStreamStepConfig$1 as SendStreamStepConfig, type SetVariableStepConfig$1 as SetVariableStepConfig, type SkillDefinition, SkillDriftError, SkillEnsureConflictError, type SkillListPage, type SkillListPagination, type SkillListParams, type SkillManifestInput, type SkillMarkdownInput, type SkillOrigin, type SkillProposalStatus, SkillProposalsNamespace, type SkillPullResult, type SkillStatus, type SkillTrustLevel, type SkillVersionStatus, type SkillWithVersion, type SkillWriteInput, SkillsNamespace, type SlackAppStatusResponse, type SlackInstallRequest, type SlackManifestRequest, type SlackManifestResponse, type SlackOAuthStartRequest, type SlackOAuthStartResponse, type StepCompleteEvent, type StepDeltaEvent, type StepFallback, type StepFieldMeta, type StepStartEvent, type StepWaitingLocalEvent, type StreamCallbacks, type StreamConsumeOptions, type StreamEvent, type StreamEventOf, type SubagentToolConfig, type Surface, type SurfaceDefinition, type SurfaceDefinitionStatus, type SurfaceDefinitionType, SurfaceDriftError, SurfaceEnsureConflictError, type SurfaceListParams, type SurfacePullResult, SurfacesEndpoint, SurfacesNamespace, type TextContentPart, type Tool, type ToolApprovalGrant, ToolApprovalGrantsEndpoint, type ToolConfig, type ToolDefinition, type ToolDefinitionType, ToolDriftError, ToolEnsureConflictError, type ToolPullResult, type ToolWithValidation, type ToolsConfig, ToolsEndpoint, ToolsNamespace, type TransformDataStepConfig$1 as TransformDataStepConfig, type TypedCreateRecordRequest, type TypedRecordListItem, type TypedRecordWriteResponse, TypedRecordsScope, type TypedRuntypeRecord, UNIFIED_EVENTS_QUERY, type UpdateClientTokenRequest, type UpdateCollectionRequest, type UpdateCollectionResponse, type UpdateConversationRequest, type UpdateEvalCaseInput, type UpdateEvalSuiteInput, type UpdateFlowRequest, type UpdatePromptData, type UpdateProviderKeyRequest, type UpdateScheduleRequest, type UpdateSecretRequest, type UpdateToolRequest, type UpdatedAgent, type UpdatedFlow, type UpsertFlowConfig$1 as UpsertFlowConfig, type UpsertOptions, type UpsertRecordStepConfig$1 as UpsertRecordStepConfig, type UserProfile, UsersEndpoint, type ValidateAgentPromotionInput, type ValidateExistingRecordsResponse, type VectorSearchStepConfig$1 as VectorSearchStepConfig, type VersionPublishOptions, type VersionType, type WaitUntilStepConfig$1 as WaitUntilStepConfig, type WorkflowCompileDeps, type WorkflowCompletionCriteriaConfig, type WorkflowConfig, type WorkflowConfigFactory, type WorkflowContext, type WorkflowDefinition, type WorkflowHookEntry, type WorkflowHookKind, type WorkflowHookRef, type WorkflowHookSignatures, type WorkflowMilestoneConfig, type WorkflowPhase, type WorkflowPolicyConfig, type WorkflowRecoveryConfig, type WorkflowSlot, type WorkflowStallPolicy, activateAgentPromotion, agentAliasErrorCode, applyGeneratedRuntimeToolProposalToDispatchRequest, attachRuntimeToolsToDispatchRequest, buildAgentAdmissionHeaders, buildEmptySessionNudge, buildExecutionEventsPath, buildGeneratedRuntimeToolGateOutput, buildLedgerOffloadReference, buildObservationMaskMarker, buildPolicyGuidance, buildSendViewOffloadMarker, calledTool, combineAbortSignals, compileWorkflowConfig, completed, computeAgentContentHash, computeEvalContentHash, computeFlowContentHash, computeFpoContentHash, computeProductContentHash, computeSkillContentHash, computeSurfaceContentHash, computeToolContentHash, contains, cost, createAgentEventTranslator, createClient, createExternalTool, createFlowEventTranslator, defaultWorkflow, defaultWorkflowConfig, defineAgent, defineEval, defineFlow, defineFpo, definePlaybook, defineProduct, defineSkill, defineSurface, defineTool, deployWorkflow, ensureDefaultWorkflowHooks, ensureEval, ensureFpo, evaluateGeneratedRuntimeToolProposal, extractDeclaredToolResultChars, gameWorkflow, getDefaultPlanPath, getLikelySupportingCandidatePaths, interpolateWorkflowTemplate, isCatalogClientToolRef, isDiscoveryToolName, isMarathonArtifactPath, isPreservationSensitiveTask, isUnifiedEventType, isWorkflowHookRef, jsonField, judge, judges, latency, length, listWorkflowHooks, matchesExpected, maxToolCalls, noError, normalizeAgentDefinition, normalizeCandidatePath, normalizeFpoDefinition, normalizeProductDefinition, normalizeSkillDefinition, normalizeSurfaceDefinition, normalizeToolDefinition, notCalledTool, notContains, parseFinalBuffer, parseLedgerArtifactRelativePath, parseOffloadedOutputId, parseSSEChunk, prepareAgentPromotion, processStream, promoteAgent, promotionIdempotencyKey, pullEval, pullFpo, ranStep, regex, registerWorkflowHook, resolveStallStopAfter, resolveWorkflowHook, runEvalSuite, sanitizeTaskSlug, shouldInjectEmptySessionNudge, shouldRequestModelEscalation, stepOrder, streamEvents, toolOrder, unregisterWorkflowHook, usedNoTools, validJson, validateAgentPromotion, withDetachedReconnect, withUnifiedEvents };
|
|
65510
|
+
export { type AIGrader, type ActivateAgentAliasInput, type ActivateAgentPromotionInput, type Agent, type AgentAdmissionOptions, type AgentAlias, type AgentAliasActivation, type AgentAliasArchiveFailure, type AgentAliasArchived, AgentAliasDependencyError, type AgentAliasList, AgentAliasNotFoundError, AgentAliasPreviewLimitError, AgentAliasRevisionMismatchError, AgentAliasRevisionRequiredError, type AgentAliasTransport, AgentAliasesNamespace, type AgentApprovalCompleteEvent, type AgentApprovalStartEvent, type AgentCompleteEvent, type AgentDefinition, type AgentDefinitionConfig, type AgentDeploymentList, type AgentDeploymentPromotion, type AgentDeploymentReceipt, AgentDeploymentsNamespace, AgentDriftError, type AgentElicitation, type AgentElicitationRequest, AgentEnsureConflictError, type AgentErrorEvent, type AgentEvent, type AgentEventType, type AgentExecuteRequest, type AgentExecuteResponse, type AgentIterationCompleteEvent, type AgentIterationStartEvent, type AgentMediaEvent, type AgentMessage, type AgentPausedEvent, type AgentPingEvent, AgentPromotionError, type AgentPromotionManifest, type AgentPromotionTransport, type AgentPromotionValidation, type AgentPullResult, type AgentReflectionEvent, type AgentRunInsightsResponse, type AgentRuntimeToolDefinition, type AgentStartEvent, type AgentStreamCallbacks, type AgentStreamEvent, type AgentSubagentConfig, type AgentToolCompleteEvent, type AgentToolDeltaEvent, type AgentToolInputCompleteEvent, type AgentToolInputDeltaEvent, type AgentToolStartEvent, type AgentTurnCompleteEvent, type AgentTurnDeltaEvent, type AgentTurnStartEvent, type AgentVersionDetail, type AgentVersionListItem, type AgentVersionPublishResponse, AgentVersionsEndpoint, type AgentVersionsListResponse, AgentsEndpoint, AgentsNamespace, AnalyticsEndpoint, type ApiClient, type ApiKey, type ApiKeyRequest, type ApiKeyRequestDelivery, type ApiKeyRequestEnvironment, type ApiKeyRequestHandoff, type ApiKeyRequestListParams, type ApiKeyRequestRequester, type ApiKeyRequestStatus, ApiKeyRequestsEndpoint, ApiKeysEndpoint, type ApiResponse, type ApplyGeneratedProposalOptions, type ApplyGeneratedProposalResult, type ArchiveAgentAliasEverywhereResult, type ArchiveAgentAliasInput, type AssetReferenceContentPart, type AsyncExecutionHandle, type AsyncExecutionStatus, type AttachRuntimeToolsOptions, type BaseAgentEvent, BatchBuilder, type BatchClient, type BatchListParams, type BatchOptions, type BatchRequest, type BatchResult, type BatchScheduleConfig, type BatchStatus, BatchesNamespace, BillingEndpoint, type BillingSpendAnalyticsParams, type BindSkillInput, type BuiltInGraderId, type BuiltInTool, type BuiltinToolExecuteResponse, type BulkEditCondition, type BulkEditRequest, type BulkEditResponse, type BulkEditResult, type CanonicalDispatchMessageContent, type CanonicalDispatchRequest, type CaseExpected, type CatalogClientToolRef, ChatEndpoint, type CheckGrader, type ClaimApiKeyRequestInput, type ClaimApiKeyRequestResponse, type ClaudeManagedEvalOverrideValues, ClientBatchBuilder, type ClientConfig, type ClientConversation, ClientEvalBuilder, ClientFlowBuilder, type ClientToken, type ClientTokenConfig, type ClientTokenEnvironment, type ClientTokenVersionPin, ClientTokensEndpoint, type ClientToolDefinition, type ClientToolEntry, type ClientWidgetTheme, type CollectionMeta, CollectionsEndpoint, type ConditionalGetResult, type ConditionalStepConfig$1 as ConditionalStepConfig, type ContextErrorHandling, type ContextFallback, ContextTemplatesEndpoint, type Conversation, type ConversationListItem, type ConversationListParams, type ConversationMessage, type ConversationSource, ConversationsEndpoint, type ConversationsListResponse, type CreateApiKeyRequest, type CreateApiKeyRequestInput, type CreateApiKeyRequestResponse, type CreateClientTokenRequest, type CreateClientTokenResponse, type CreateCollectionRequest, type CreateConversationRequest, type CreateEvalSuiteInput, type CreateFlowRequest, type CreateModelConfigRequest, type CreatePromptData, type CreatePromptRequest, type CreateProviderKeyRequest, type CreateRecordRequest, type CreateScheduleRequest, type CreateSecretRequest, type CreateToolRequest, type CurrentBilledSpendResponse, type CurrentBilledSpendSource, type CustomMCPServer, type CustomMCPServerAuth, type CustomToolConfig, DEFAULT_MAX_DETACHED_RECONNECTS, DEFAULT_RECOVERY_AFTER_EMPTY_SESSIONS, DEFAULT_STALL_STOP_AFTER, type DecomposeCriteriaResult, type DefineAgentInput, type DefineEvalCaseInput, type DefineEvalInput, type DefineFlowInput, type DefineProductInput, type DefineSkillInput, type DefineSurfaceInput, type DefineToolInput, type DeployCfSandboxRequest, type DeployCfSandboxResponse, type DeploySandboxRequest, type DeploySandboxResponse, type DetachedReattach, type DetachedReconnectOptions, type DiscoveredModel, type DispatchAgentInput, type DispatchApprovalContinuationResponse, type DispatchApproveRequest, type DispatchApproveResponse, type DispatchClient, type DispatchContinuationRequest, type DispatchContinuationResponse, type DispatchDetachedApprovalResponse, type DispatchDetachedToolOutputResponse, DispatchEndpoint, type DispatchEnvironment, type DispatchEvent, type DispatchFlowInput, type DispatchMessageContent, type DispatchOptions$1 as DispatchOptions, type DispatchRequest, type DispatchResponse, type DispatchResumeJsonResponse, type DispatchResumeRequest, type DispatchResumeResponse, ENSURE_RELEASE_DEPLOY_CONFLICT_MESSAGE, type EndUserUsageQuery, type EndUserUsageResponse, type EnsureAgentConverged, type EnsureAgentOptions, type EnsureAgentPlan, type EnsureAgentResult, type EnsureEvalResult, type EnsureFlowConverged, type EnsureFlowOptions, type EnsureFlowPlan, type EnsureFlowResult, type EnsureFpoOptions, type EnsureFpoResult, type EnsureProductConverged, type EnsureProductOptions, type EnsureProductPlan, type EnsureProductResult, type EnsureSkillConverged, type EnsureSkillOptions, type EnsureSkillPlan, type EnsureSkillResult, type EnsureSurfaceConverged, type EnsureSurfaceOptions, type EnsureSurfacePlan, type EnsureSurfaceResult, type EnsureToolConverged, type EnsureToolOptions, type EnsureToolPlan, type EnsureToolResult, type ErrorHandlingMode, type EvalAgentSelector, type EvalAgentTargetResolution, EvalBuilder, type EvalCaseDefinition, type EvalCaseInput, type EvalCaseProposal, type EvalCaseProposalAccepted, type EvalCaseProposalListResult, type EvalCasesGenerated, type EvalClient, type EvalDefinition, EvalEndpoint, type EvalListParams, type EvalMessage, type EvalOptions, type EvalOverrideValues, type EvalProposalSource, type EvalProposalStatus, type EvalProposedCase, type EvalPullResult, type EvalRecord, type EvalRequest, type EvalResult, type EvalRunCaseScores, type EvalRunConfig, type EvalRunEvidence, type EvalRunScores, EvalRunner, type EvalStatus, type EvalSuiteCase, type EvalSuiteCaseInput, type EvalSuiteCoverage, type EvalSuiteDetail, type EvalSuiteLatestRun, type EvalSuiteListResult, type EvalSuiteRunQueued, type EvalSuiteRunResult, type EvalSuiteSummary, EvalSuitesNamespace, type EvalTarget, EvalsNamespace, type ExecuteToolRequest, type ExecuteToolResponse, type ExecutionCounts, type ExecutionStreamEvent, ExecutionsEndpoint, ExecutionsNamespace, type ExternalAgentContext, type ExternalToolConfig, type FallbackFailEvent, type FallbackStartEvent, type FallbackSuccessEvent, type FallbackTrigger, type FallbackTriggerType, type FallbacksExhaustedEvent, type FallbacksInitiatedEvent, type FetchUrlStepConfig$1 as FetchUrlStepConfig, type FieldFormat, type FileContentPart, type Flow, type FlowAttachment, FlowBuilder, type FlowCompleteEvent, type FlowConfig$1 as FlowConfig, type FlowDefinition, type FlowDefinitionStep, FlowDriftError, FlowEnsureConflictError, type FlowErrorEvent, type FlowFallback, type FlowInlineEvalInput, type FlowListItem, type FlowPausedEvent, type FlowPullResult, FlowResult, type FlowStartEvent, type FlowStep, type FlowStepDefinition, type FlowStepType, FlowStepsEndpoint, type FlowStreamEvent, type FlowSummary, type FlowToolConfig, type FlowValidationClient, type FlowValidationIssue, type FlowValidationResult, type FlowVersionDetail, type FlowVersionListItem, type FlowVersionPublishResponse, FlowVersionsEndpoint, type FlowVersionsListResponse, FlowsEndpoint, FlowsNamespace, type FpoEntityOutcome, type FpoInput, type GenerateEmbeddingStepConfig$1 as GenerateEmbeddingStepConfig, type GenerateEvalCasesInput, type GeneratedRuntimeToolGateDecision, type GeneratedRuntimeToolGateOptions, type GetApiKeyRequestResponse, type GetRecordStepConfig$1 as GetRecordStepConfig, type Gradeable, type GraderConfig, type GraderOutcome, type GraderSeverity, type HealthInsight, type HumanVerdict, type ImageContentPart, type InferCollectionSchemaResponse, type InputDeliveryReceipt, type Integration, type IntegrationTool, IntegrationsEndpoint, type IntegrationsListResponse, type JSONSchema, type JsonArray, type JsonObject, type JsonPrimitive, type JsonValue, LEDGER_ARTIFACT_LINE_PREFIX, LIVE_AGENT_ALIAS, type ListAgentAliasesOptions, type ListAgentDeploymentsOptions, type ListCollectionsResponse, type ListConversationsResponse, type ListParams, type ListRecordsStepConfig$1 as ListRecordsStepConfig, type LocalToolConfig, type LocalToolDefinition, type LocalToolExecutionCompleteEvent, type LocalToolExecutionLoopSnapshotSlice, type LocalToolExecutionStartEvent, type LogEntry, type LogQueryParams, type LogQueryResponse, type LogQueryResult, type LogSearchedWindow, type LogStatsParams, type LogStatsResponse, type LogStatsResult, LogsEndpoint, type LoopStepConfig$1 as LoopStepConfig, type Message$1 as Message, type MessageContent, type MessageFallback, type Metadata, type MetricDelta, type ModelConfig, ModelConfigsEndpoint, type ModelFallback, type ModelOverride, type ModelUsageDetail, type ModelUsageQueryParams, type ModelUsageResponse, type ModelUsageSummary, type ModelUsageTimeSeries, type OrganizationAgentAlias, type OrganizationAgentAliasList, type PaginationResponse, type PersistedGraderOutcome, type PrepareAgentPromotionInput, type ProductDefinition, ProductDriftError, ProductEnsureConflictError, type ProductPullResult, type ProductionHealthQuery, type ProductionHealthResponse, ProductsNamespace, type PromoteAgentInput, type PromoteAgentResult, type Prompt$1 as Prompt, type PromptErrorHandling, type PromptFallback, type PromptListParams, type PromptStepConfig$1 as PromptStepConfig, PromptsEndpoint, PromptsNamespace, type ProviderApiKey, type ProviderKeyModel, ProviderKeysEndpoint, type PullFpoResult, RUNTYPE_CLIENT_KIND, type ReasoningConfig, type ReasoningContentPart, type ReasoningValue, type RecordCollection, type RecordCollectionWithHistory, type RecordCollections, type RecordConfig$1 as RecordConfig, type RecordCostAggregation, type RecordCostModelBreakdown, type RecordFilter, type RecordFilterCondition, type RecordFilterGroup, type RecordFilterOperator, type RecordListItem, type RecordListParams, type RecordStepResult, type RecordStepResultsParams, type RecordStepResultsResponse, type RecordWriteResponse, RecordsEndpoint, type RetrieveRecordStepConfig$1 as RetrieveRecordStepConfig, type RetryFallback, type RollbackAgentAliasInput, type RunEvalCaseResult, type RunEvalInput, type RunEvalResult, type RunListParams, type RunListResponse, type RunListRow, type RunTaskContextBudgetBreakdown, type RunTaskContextCompactionEvent, type RunTaskContextCompactionStrategy, type RunTaskContextNoticeEvent, type RunTaskContextSummaryEntry, type RunTaskContinuation, type RunTaskOffloadRecorder, type RunTaskOnContextCompaction, type RunTaskOnContextNotice, type RunTaskOnSession, type RunTaskOptions, type RunTaskResult, type RunTaskResumeState, type RunTaskSessionSummary, type RunTaskState, type RunTaskStateSlice, type RunTaskStatus, type RunTaskToolTraceSlice, RunsNamespace, type RuntimeCustomToolConfig, type RuntimeExternalToolConfig, type RuntimeFlowToolConfig, type RuntimeLocalToolConfig, type RuntimeSubagentToolConfig, type RuntimeTool, type RuntimeToolConfig, Runtype, type AgentSkillBinding as RuntypeAgentSkillBinding, RuntypeApiError, RuntypeClient, type ConditionalStepConfig as RuntypeConditionalStepConfig, type RuntypeConfig, type FetchUrlStepConfig as RuntypeFetchUrlStepConfig, RuntypeFlowBuilder, type FlowConfig as RuntypeFlowConfig, type GenerateEmbeddingStepConfig as RuntypeGenerateEmbeddingStepConfig, type GetRecordStepConfig as RuntypeGetRecordStepConfig, type ListRecordsStepConfig as RuntypeListRecordsStepConfig, type LoopStepConfig as RuntypeLoopStepConfig, type Message as RuntypeMessage, type ModelOverride$1 as RuntypeModelOverride, type Prompt as RuntypePrompt, type PromptStepConfig as RuntypePromptStepConfig, type RuntypeRecord, type RecordConfig as RuntypeRecordConfig, type RetrieveRecordStepConfig as RuntypeRetrieveRecordStepConfig, type SearchStepConfig as RuntypeSearchStepConfig, type SendEmailStepConfig as RuntypeSendEmailStepConfig, type SendEventStepConfig as RuntypeSendEventStepConfig, type SendStreamStepConfig as RuntypeSendStreamStepConfig, type SetVariableStepConfig as RuntypeSetVariableStepConfig, type Skill as RuntypeSkill, type SkillBindingWithAgent as RuntypeSkillBindingWithAgent, type SkillCapabilities as RuntypeSkillCapabilities, type SkillFrontmatter as RuntypeSkillFrontmatter, type SkillManifest as RuntypeSkillManifest, type SkillProposal as RuntypeSkillProposal, type SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, type SkillVersion as RuntypeSkillVersion, type TransformDataStepConfig as RuntypeTransformDataStepConfig, type UpsertFlowConfig as RuntypeUpsertFlowConfig, type UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, type VectorSearchStepConfig as RuntypeVectorSearchStepConfig, type WaitUntilStepConfig as RuntypeWaitUntilStepConfig, SDK_USER_AGENT, SDK_VERSION, STEP_FIELD_REGISTRY, STEP_TYPE_TO_METHOD, type SandboxDeployEffectivePolicy, type SandboxDeployRetention, type SandboxDeploySleepPolicy, type SavedToolExecuteResponse, type Schedule, type ScheduleExecutionOptions, type ScheduleListParams, type ScheduleMessage, type ScheduleMessageSet, type ScheduleMessages, type ScheduleMutationResponse, type ScheduleRun, type ScheduleRunNowResponse, type ScheduleStatusResponse, type ScheduleTarget, type ScheduleTrigger, SchedulesEndpoint, type SearchStepConfig$1 as SearchStepConfig, type Secret, type SecretCheckResponse, type SecretDeleteResponse, type SecretSetupUrlRequest, type SecretSetupUrlResponse, SecretsEndpoint, type SelectOrganizationProviderCredentialRequest, type SelectOrganizationProviderCredentialResponse, type SendEmailStepConfig$1 as SendEmailStepConfig, type SendEventStepConfig$1 as SendEventStepConfig, type SendStreamStepConfig$1 as SendStreamStepConfig, type SetVariableStepConfig$1 as SetVariableStepConfig, type SkillDefinition, SkillDriftError, SkillEnsureConflictError, type SkillListPage, type SkillListPagination, type SkillListParams, type SkillManifestInput, type SkillMarkdownInput, type SkillOrigin, type SkillProposalStatus, SkillProposalsNamespace, type SkillPullResult, type SkillStatus, type SkillTrustLevel, type SkillVersionStatus, type SkillWithVersion, type SkillWriteInput, SkillsNamespace, type SlackAppStatusResponse, type SlackInstallRequest, type SlackManifestRequest, type SlackManifestResponse, type SlackOAuthStartRequest, type SlackOAuthStartResponse, type StepCompleteEvent, type StepDeltaEvent, type StepFallback, type StepFieldMeta, type StepStartEvent, type StepWaitingLocalEvent, type StreamCallbacks, type StreamConsumeOptions, type StreamEvent, type StreamEventOf, type SubagentToolConfig, type Surface, type SurfaceDefinition, type SurfaceDefinitionStatus, type SurfaceDefinitionType, SurfaceDriftError, SurfaceEnsureConflictError, type SurfaceListParams, type SurfacePullResult, SurfacesEndpoint, SurfacesNamespace, type TextContentPart, type Tool, type ToolApprovalGrant, ToolApprovalGrantsEndpoint, type ToolConfig, type ToolDefinition, type ToolDefinitionType, ToolDriftError, ToolEnsureConflictError, type ToolPullResult, type ToolWithValidation, type ToolsConfig, ToolsEndpoint, ToolsNamespace, type TransformDataStepConfig$1 as TransformDataStepConfig, type TypedCreateRecordRequest, type TypedRecordListItem, type TypedRecordWriteResponse, TypedRecordsScope, type TypedRuntypeRecord, UNIFIED_EVENTS_QUERY, type UpdateClientTokenRequest, type UpdateCollectionRequest, type UpdateCollectionResponse, type UpdateConversationRequest, type UpdateEvalCaseInput, type UpdateEvalSuiteInput, type UpdateFlowRequest, type UpdatePromptData, type UpdateProviderKeyRequest, type UpdateScheduleRequest, type UpdateSecretRequest, type UpdateToolRequest, type UpdatedAgent, type UpdatedFlow, type UpsertFlowConfig$1 as UpsertFlowConfig, type UpsertOptions, type UpsertRecordStepConfig$1 as UpsertRecordStepConfig, type UserProfile, UsersEndpoint, type ValidateAgentPromotionInput, type ValidateExistingRecordsResponse, type VectorSearchStepConfig$1 as VectorSearchStepConfig, type VersionPublishOptions, type VersionType, type WaitUntilStepConfig$1 as WaitUntilStepConfig, type WorkflowCompileDeps, type WorkflowCompletionCriteriaConfig, type WorkflowConfig, type WorkflowConfigFactory, type WorkflowContext, type WorkflowDefinition, type WorkflowHookEntry, type WorkflowHookKind, type WorkflowHookRef, type WorkflowHookSignatures, type WorkflowMilestoneConfig, type WorkflowPhase, type WorkflowPolicyConfig, type WorkflowRecoveryConfig, type WorkflowSlot, type WorkflowStallPolicy, activateAgentPromotion, agentAliasErrorCode, applyGeneratedRuntimeToolProposalToDispatchRequest, attachRuntimeToolsToDispatchRequest, buildAgentAdmissionHeaders, buildEmptySessionNudge, buildExecutionEventsPath, buildGeneratedRuntimeToolGateOutput, buildLedgerOffloadReference, buildObservationMaskMarker, buildPolicyGuidance, buildSendViewOffloadMarker, calledTool, combineAbortSignals, compileWorkflowConfig, completed, computeAgentContentHash, computeEvalContentHash, computeFlowContentHash, computeFpoContentHash, computeProductContentHash, computeSkillContentHash, computeSurfaceContentHash, computeToolContentHash, contains, cost, createAgentEventTranslator, createClient, createExternalTool, createFlowEventTranslator, defaultWorkflow, defaultWorkflowConfig, defineAgent, defineEval, defineFlow, defineFpo, definePlaybook, defineProduct, defineSkill, defineSurface, defineTool, deployWorkflow, ensureDefaultWorkflowHooks, ensureEval, ensureFpo, evaluateGeneratedRuntimeToolProposal, extractDeclaredToolResultChars, gameWorkflow, getDefaultPlanPath, getLikelySupportingCandidatePaths, interpolateWorkflowTemplate, isBuiltinToolExecuteResponse, isCatalogClientToolRef, isDiscoveryToolName, isMarathonArtifactPath, isPreservationSensitiveTask, isUnifiedEventType, isWorkflowHookRef, jsonField, judge, judges, latency, length, listWorkflowHooks, matchesExpected, maxToolCalls, noError, normalizeAgentDefinition, normalizeCandidatePath, normalizeFpoDefinition, normalizeProductDefinition, normalizeSkillDefinition, normalizeSurfaceDefinition, normalizeToolDefinition, notCalledTool, notContains, parseFinalBuffer, parseLedgerArtifactRelativePath, parseOffloadedOutputId, parseSSEChunk, prepareAgentPromotion, processStream, promoteAgent, promotionIdempotencyKey, pullEval, pullFpo, ranStep, regex, registerWorkflowHook, resolveStallStopAfter, resolveWorkflowHook, runEvalSuite, sanitizeTaskSlug, shouldInjectEmptySessionNudge, shouldRequestModelEscalation, stepOrder, streamEvents, toolOrder, unregisterWorkflowHook, usedNoTools, validJson, validateAgentPromotion, withDetachedReconnect, withUnifiedEvents };
|