@runtypelabs/sdk 11.4.1 → 11.6.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 +86 -1
- package/dist/index.d.cts +1845 -289
- package/dist/index.d.ts +1845 -289
- package/dist/index.mjs +86 -2
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -5063,6 +5063,12 @@ interface paths {
|
|
|
5063
5063
|
progress?: unknown;
|
|
5064
5064
|
retryOfExecutionId: string | null;
|
|
5065
5065
|
rootExecutionId: string | null;
|
|
5066
|
+
/** @description Trace signal status and fired keys. Omitted until the organization binds a signal set. */
|
|
5067
|
+
signals?: {
|
|
5068
|
+
fired: string[];
|
|
5069
|
+
/** @enum {string} */
|
|
5070
|
+
status: "complete" | "pending" | "partial" | "none" | "unavailable";
|
|
5071
|
+
};
|
|
5066
5072
|
startedAt: string | null;
|
|
5067
5073
|
/** @enum {string} */
|
|
5068
5074
|
status: "queued" | "running" | "paused" | "completed" | "failed" | "cancelled" | "interrupted";
|
|
@@ -21030,9 +21036,11 @@ interface paths {
|
|
|
21030
21036
|
suiteId?: string;
|
|
21031
21037
|
/** @description Only events for this delegated task */
|
|
21032
21038
|
taskId?: string;
|
|
21039
|
+
/** @description Signal events only: keep occurrences for this signal key */
|
|
21040
|
+
key?: string;
|
|
21033
21041
|
/** @description Eval runs only: keep runs whose pass rate dropped */
|
|
21034
21042
|
onlyRegressions?: "true" | "false";
|
|
21035
|
-
/** @description Execution failures only: coalesce repeats within this window */
|
|
21043
|
+
/** @description Execution failures and fired signals only: coalesce repeats within this window */
|
|
21036
21044
|
minIntervalMs?: number | null;
|
|
21037
21045
|
};
|
|
21038
21046
|
header?: never;
|
|
@@ -29283,6 +29291,7 @@ interface paths {
|
|
|
29283
29291
|
completedAt: string | null;
|
|
29284
29292
|
executionId: string;
|
|
29285
29293
|
parentToolCallId: string | null;
|
|
29294
|
+
signals?: components["schemas"]["SignalsBlock"];
|
|
29286
29295
|
startedAt: string | null;
|
|
29287
29296
|
status: string;
|
|
29288
29297
|
}[];
|
|
@@ -34733,6 +34742,63 @@ interface paths {
|
|
|
34733
34742
|
rootExecutionId: string | null;
|
|
34734
34743
|
/** @description Cost the producer reported. */
|
|
34735
34744
|
selfReportedCost: string | null;
|
|
34745
|
+
/** @description Trace signals. A list row carries status and fired only; GET /v1/runs/{id} adds results. Omitted entirely until the organization binds a signal set. */
|
|
34746
|
+
signals?: {
|
|
34747
|
+
fired: string[];
|
|
34748
|
+
results?: {
|
|
34749
|
+
answers: {
|
|
34750
|
+
[key: string]: {
|
|
34751
|
+
/** @enum {string} */
|
|
34752
|
+
band: "act" | "review" | "low";
|
|
34753
|
+
confidence?: number;
|
|
34754
|
+
distribution?: {
|
|
34755
|
+
[key: string]: number;
|
|
34756
|
+
};
|
|
34757
|
+
fired?: boolean;
|
|
34758
|
+
pNull?: number;
|
|
34759
|
+
refused?: boolean;
|
|
34760
|
+
source?: {
|
|
34761
|
+
end: number;
|
|
34762
|
+
field: string;
|
|
34763
|
+
spanId: string;
|
|
34764
|
+
start: number;
|
|
34765
|
+
};
|
|
34766
|
+
sources?: {
|
|
34767
|
+
end: number;
|
|
34768
|
+
field: string;
|
|
34769
|
+
spanId: string;
|
|
34770
|
+
start: number;
|
|
34771
|
+
}[];
|
|
34772
|
+
value?: unknown;
|
|
34773
|
+
};
|
|
34774
|
+
};
|
|
34775
|
+
bindingId: string;
|
|
34776
|
+
computedAt: string;
|
|
34777
|
+
error?: string;
|
|
34778
|
+
fired: string[];
|
|
34779
|
+
/** @enum {string} */
|
|
34780
|
+
sample: "uniform" | "filtered";
|
|
34781
|
+
signalSet: {
|
|
34782
|
+
id: string;
|
|
34783
|
+
name: string;
|
|
34784
|
+
version: number;
|
|
34785
|
+
};
|
|
34786
|
+
/** @enum {string} */
|
|
34787
|
+
status: "complete" | "failed" | "skipped_budget" | "skipped_policy" | "skipped_billing";
|
|
34788
|
+
target: {
|
|
34789
|
+
executionId: string;
|
|
34790
|
+
spanId: string | null;
|
|
34791
|
+
turnIndex: number | null;
|
|
34792
|
+
};
|
|
34793
|
+
/** @enum {string} */
|
|
34794
|
+
unit: "turn" | "conversation" | "run";
|
|
34795
|
+
values: {
|
|
34796
|
+
[key: string]: unknown;
|
|
34797
|
+
};
|
|
34798
|
+
}[];
|
|
34799
|
+
/** @enum {string} */
|
|
34800
|
+
status: "complete" | "pending" | "partial" | "none" | "unavailable";
|
|
34801
|
+
};
|
|
34736
34802
|
/**
|
|
34737
34803
|
* @description hosted, or ingested for an OTLP export. An ingested run is never reported running.
|
|
34738
34804
|
* @enum {string}
|
|
@@ -45581,6 +45647,8 @@ interface paths {
|
|
|
45581
45647
|
status?: "running" | "completed" | "failed";
|
|
45582
45648
|
/** @description live keeps runs real users and integrations started; test keeps runs started from the dashboard (Test, step tests, Ask); eval keeps eval-batch runs; sim keeps simulation turns; all, or omitted, keeps every run. A simulation turn is sim even when a schedule started it, a schedule run is live, and an eval batch run is eval whoever started it. */
|
|
45583
45649
|
traffic?: "live" | "test" | "eval" | "sim" | "all";
|
|
45650
|
+
/** @description Runs where this signal fired: `key` for any fired value, or `key:value` for one choice value (for example frustration:churn_threat). */
|
|
45651
|
+
signal?: string;
|
|
45584
45652
|
/** @description Window start (ISO 8601). Defaults to 24 hours ago. */
|
|
45585
45653
|
from?: string;
|
|
45586
45654
|
/** @description Window end (ISO 8601). Defaults to now. */
|
|
@@ -53254,34 +53322,50 @@ interface paths {
|
|
|
53254
53322
|
patch?: never;
|
|
53255
53323
|
trace?: never;
|
|
53256
53324
|
};
|
|
53257
|
-
"/v1/
|
|
53325
|
+
"/v1/signal-bindings": {
|
|
53258
53326
|
parameters: {
|
|
53259
53327
|
query?: never;
|
|
53260
53328
|
header?: never;
|
|
53261
53329
|
path?: never;
|
|
53262
53330
|
cookie?: never;
|
|
53263
53331
|
};
|
|
53264
|
-
/**
|
|
53332
|
+
/**
|
|
53333
|
+
* List signal bindings
|
|
53334
|
+
* @description Enabled bindings, newest first, including the implicit failure-detector binding (`implicit: true`); filter by agent or set, or include disabled ones (an opted-out implicit binding is a disabled one).
|
|
53335
|
+
*/
|
|
53265
53336
|
get: {
|
|
53266
53337
|
parameters: {
|
|
53267
|
-
query?:
|
|
53338
|
+
query?: {
|
|
53339
|
+
agentId?: string;
|
|
53340
|
+
signalSetId?: string;
|
|
53341
|
+
includeDisabled?: "true" | "false";
|
|
53342
|
+
};
|
|
53268
53343
|
header?: never;
|
|
53269
53344
|
path?: never;
|
|
53270
53345
|
cookie?: never;
|
|
53271
53346
|
};
|
|
53272
53347
|
requestBody?: never;
|
|
53273
53348
|
responses: {
|
|
53274
|
-
/** @description
|
|
53349
|
+
/** @description Bindings */
|
|
53275
53350
|
200: {
|
|
53276
53351
|
headers: {
|
|
53277
53352
|
[name: string]: unknown;
|
|
53278
53353
|
};
|
|
53279
53354
|
content: {
|
|
53280
53355
|
"application/json": {
|
|
53281
|
-
data: components["schemas"]["
|
|
53356
|
+
data: components["schemas"]["SignalBinding"][];
|
|
53282
53357
|
};
|
|
53283
53358
|
};
|
|
53284
53359
|
};
|
|
53360
|
+
/** @description Invalid request */
|
|
53361
|
+
400: {
|
|
53362
|
+
headers: {
|
|
53363
|
+
[name: string]: unknown;
|
|
53364
|
+
};
|
|
53365
|
+
content: {
|
|
53366
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53367
|
+
};
|
|
53368
|
+
};
|
|
53285
53369
|
/** @description Unauthorized */
|
|
53286
53370
|
401: {
|
|
53287
53371
|
headers: {
|
|
@@ -53291,60 +53375,94 @@ interface paths {
|
|
|
53291
53375
|
"application/json": components["schemas"]["Error"];
|
|
53292
53376
|
};
|
|
53293
53377
|
};
|
|
53294
|
-
/** @description Insufficient permissions */
|
|
53378
|
+
/** @description Insufficient permissions, or no organization context */
|
|
53295
53379
|
403: {
|
|
53296
53380
|
headers: {
|
|
53297
53381
|
[name: string]: unknown;
|
|
53298
53382
|
};
|
|
53299
53383
|
content: {
|
|
53300
|
-
"application/json": components["schemas"]["
|
|
53384
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53385
|
+
};
|
|
53386
|
+
};
|
|
53387
|
+
/** @description Not found */
|
|
53388
|
+
404: {
|
|
53389
|
+
headers: {
|
|
53390
|
+
[name: string]: unknown;
|
|
53391
|
+
};
|
|
53392
|
+
content: {
|
|
53393
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53301
53394
|
};
|
|
53302
53395
|
};
|
|
53303
53396
|
};
|
|
53304
53397
|
};
|
|
53305
53398
|
put?: never;
|
|
53306
|
-
post?: never;
|
|
53307
|
-
delete?: never;
|
|
53308
|
-
options?: never;
|
|
53309
|
-
head?: never;
|
|
53310
|
-
patch?: never;
|
|
53311
|
-
trace?: never;
|
|
53312
|
-
};
|
|
53313
|
-
"/v1/skill-proposals/{id}/approve": {
|
|
53314
|
-
parameters: {
|
|
53315
|
-
query?: never;
|
|
53316
|
-
header?: never;
|
|
53317
|
-
path?: never;
|
|
53318
|
-
cookie?: never;
|
|
53319
|
-
};
|
|
53320
|
-
get?: never;
|
|
53321
|
-
put?: never;
|
|
53322
53399
|
/**
|
|
53323
|
-
*
|
|
53324
|
-
* @description
|
|
53400
|
+
* Bind a signal set to an agent
|
|
53401
|
+
* @description Evaluate a set version on every matching turn of an agent from now on. Refused for an agent with loggingPolicy "off" and under zero data retention; an organization handling PHI must pass acknowledgeExternalProcessing.
|
|
53325
53402
|
*/
|
|
53326
53403
|
post: {
|
|
53327
53404
|
parameters: {
|
|
53328
53405
|
query?: never;
|
|
53329
53406
|
header?: never;
|
|
53330
|
-
path
|
|
53331
|
-
id: string;
|
|
53332
|
-
};
|
|
53407
|
+
path?: never;
|
|
53333
53408
|
cookie?: never;
|
|
53334
53409
|
};
|
|
53335
|
-
requestBody?:
|
|
53410
|
+
requestBody?: {
|
|
53411
|
+
content: {
|
|
53412
|
+
"application/json": {
|
|
53413
|
+
/** @description Required for a PHI organization whose set uses a decision model outside Cloudflare Workers AI. Written to the audit log. */
|
|
53414
|
+
acknowledgeExternalProcessing?: boolean;
|
|
53415
|
+
/** @description Default $25 a month. */
|
|
53416
|
+
budget?: {
|
|
53417
|
+
monthlyUsd: number;
|
|
53418
|
+
};
|
|
53419
|
+
coverage?: {
|
|
53420
|
+
/** @enum {string} */
|
|
53421
|
+
mode: "all";
|
|
53422
|
+
} | {
|
|
53423
|
+
/** @enum {string} */
|
|
53424
|
+
mode: "sample";
|
|
53425
|
+
rate: number;
|
|
53426
|
+
};
|
|
53427
|
+
filter?: {
|
|
53428
|
+
minTurns?: number;
|
|
53429
|
+
status?: string[];
|
|
53430
|
+
};
|
|
53431
|
+
signalSetId: string;
|
|
53432
|
+
/** @description Native and external (OTLP) agents bind alike. */
|
|
53433
|
+
target: {
|
|
53434
|
+
id: string;
|
|
53435
|
+
/** @enum {string} */
|
|
53436
|
+
kind: "agent";
|
|
53437
|
+
};
|
|
53438
|
+
/** @description Share drawn uniformly at random BEFORE the filter, so live-traffic rates stay unbiased. Default 0.05. */
|
|
53439
|
+
uniformShare?: number;
|
|
53440
|
+
/** @description Defaults to the set’s current version. */
|
|
53441
|
+
versionNumber?: number;
|
|
53442
|
+
};
|
|
53443
|
+
};
|
|
53444
|
+
};
|
|
53336
53445
|
responses: {
|
|
53337
|
-
/** @description
|
|
53338
|
-
|
|
53446
|
+
/** @description Bound */
|
|
53447
|
+
201: {
|
|
53339
53448
|
headers: {
|
|
53340
53449
|
[name: string]: unknown;
|
|
53341
53450
|
};
|
|
53342
53451
|
content: {
|
|
53343
53452
|
"application/json": {
|
|
53344
|
-
|
|
53453
|
+
binding: components["schemas"]["SignalBinding"];
|
|
53345
53454
|
};
|
|
53346
53455
|
};
|
|
53347
53456
|
};
|
|
53457
|
+
/** @description Invalid request */
|
|
53458
|
+
400: {
|
|
53459
|
+
headers: {
|
|
53460
|
+
[name: string]: unknown;
|
|
53461
|
+
};
|
|
53462
|
+
content: {
|
|
53463
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53464
|
+
};
|
|
53465
|
+
};
|
|
53348
53466
|
/** @description Unauthorized */
|
|
53349
53467
|
401: {
|
|
53350
53468
|
headers: {
|
|
@@ -53354,22 +53472,40 @@ interface paths {
|
|
|
53354
53472
|
"application/json": components["schemas"]["Error"];
|
|
53355
53473
|
};
|
|
53356
53474
|
};
|
|
53357
|
-
/** @description Insufficient permissions */
|
|
53475
|
+
/** @description Insufficient permissions, or no organization context */
|
|
53358
53476
|
403: {
|
|
53359
53477
|
headers: {
|
|
53360
53478
|
[name: string]: unknown;
|
|
53361
53479
|
};
|
|
53362
53480
|
content: {
|
|
53363
|
-
"application/json": components["schemas"]["
|
|
53481
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53364
53482
|
};
|
|
53365
53483
|
};
|
|
53366
|
-
/** @description
|
|
53484
|
+
/** @description Not found */
|
|
53485
|
+
404: {
|
|
53486
|
+
headers: {
|
|
53487
|
+
[name: string]: unknown;
|
|
53488
|
+
};
|
|
53489
|
+
content: {
|
|
53490
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53491
|
+
};
|
|
53492
|
+
};
|
|
53493
|
+
/** @description Conflict, or external processing not yet acknowledged */
|
|
53367
53494
|
409: {
|
|
53368
53495
|
headers: {
|
|
53369
53496
|
[name: string]: unknown;
|
|
53370
53497
|
};
|
|
53371
53498
|
content: {
|
|
53372
|
-
"application/json": components["schemas"]["
|
|
53499
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53500
|
+
};
|
|
53501
|
+
};
|
|
53502
|
+
/** @description Refused: the agent or organization posture forbids signal evaluation */
|
|
53503
|
+
422: {
|
|
53504
|
+
headers: {
|
|
53505
|
+
[name: string]: unknown;
|
|
53506
|
+
};
|
|
53507
|
+
content: {
|
|
53508
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53373
53509
|
};
|
|
53374
53510
|
};
|
|
53375
53511
|
};
|
|
@@ -53380,7 +53516,7 @@ interface paths {
|
|
|
53380
53516
|
patch?: never;
|
|
53381
53517
|
trace?: never;
|
|
53382
53518
|
};
|
|
53383
|
-
"/v1/
|
|
53519
|
+
"/v1/signal-bindings/{id}": {
|
|
53384
53520
|
parameters: {
|
|
53385
53521
|
query?: never;
|
|
53386
53522
|
header?: never;
|
|
@@ -53389,8 +53525,12 @@ interface paths {
|
|
|
53389
53525
|
};
|
|
53390
53526
|
get?: never;
|
|
53391
53527
|
put?: never;
|
|
53392
|
-
|
|
53393
|
-
|
|
53528
|
+
post?: never;
|
|
53529
|
+
/**
|
|
53530
|
+
* Unbind a signal set
|
|
53531
|
+
* @description Stop evaluating. Existing results stay readable on their traces until those traces expire. Unbinding the implicit failure-detector binding is an opt-out: it is never recreated for that agent.
|
|
53532
|
+
*/
|
|
53533
|
+
delete: {
|
|
53394
53534
|
parameters: {
|
|
53395
53535
|
query?: never;
|
|
53396
53536
|
header?: never;
|
|
@@ -53399,25 +53539,28 @@ interface paths {
|
|
|
53399
53539
|
};
|
|
53400
53540
|
cookie?: never;
|
|
53401
53541
|
};
|
|
53402
|
-
requestBody?:
|
|
53403
|
-
content: {
|
|
53404
|
-
"application/json": {
|
|
53405
|
-
reason?: string;
|
|
53406
|
-
};
|
|
53407
|
-
};
|
|
53408
|
-
};
|
|
53542
|
+
requestBody?: never;
|
|
53409
53543
|
responses: {
|
|
53410
|
-
/** @description
|
|
53544
|
+
/** @description Disabled */
|
|
53411
53545
|
200: {
|
|
53412
53546
|
headers: {
|
|
53413
53547
|
[name: string]: unknown;
|
|
53414
53548
|
};
|
|
53415
53549
|
content: {
|
|
53416
53550
|
"application/json": {
|
|
53417
|
-
|
|
53551
|
+
binding: components["schemas"]["SignalBinding"];
|
|
53418
53552
|
};
|
|
53419
53553
|
};
|
|
53420
53554
|
};
|
|
53555
|
+
/** @description Invalid request */
|
|
53556
|
+
400: {
|
|
53557
|
+
headers: {
|
|
53558
|
+
[name: string]: unknown;
|
|
53559
|
+
};
|
|
53560
|
+
content: {
|
|
53561
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53562
|
+
};
|
|
53563
|
+
};
|
|
53421
53564
|
/** @description Unauthorized */
|
|
53422
53565
|
401: {
|
|
53423
53566
|
headers: {
|
|
@@ -53427,24 +53570,32 @@ interface paths {
|
|
|
53427
53570
|
"application/json": components["schemas"]["Error"];
|
|
53428
53571
|
};
|
|
53429
53572
|
};
|
|
53430
|
-
/** @description Insufficient permissions */
|
|
53573
|
+
/** @description Insufficient permissions, or no organization context */
|
|
53431
53574
|
403: {
|
|
53432
53575
|
headers: {
|
|
53433
53576
|
[name: string]: unknown;
|
|
53434
53577
|
};
|
|
53435
53578
|
content: {
|
|
53436
|
-
"application/json": components["schemas"]["
|
|
53579
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53580
|
+
};
|
|
53581
|
+
};
|
|
53582
|
+
/** @description Not found */
|
|
53583
|
+
404: {
|
|
53584
|
+
headers: {
|
|
53585
|
+
[name: string]: unknown;
|
|
53586
|
+
};
|
|
53587
|
+
content: {
|
|
53588
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53437
53589
|
};
|
|
53438
53590
|
};
|
|
53439
53591
|
};
|
|
53440
53592
|
};
|
|
53441
|
-
delete?: never;
|
|
53442
53593
|
options?: never;
|
|
53443
53594
|
head?: never;
|
|
53444
53595
|
patch?: never;
|
|
53445
53596
|
trace?: never;
|
|
53446
53597
|
};
|
|
53447
|
-
"/v1/
|
|
53598
|
+
"/v1/signal-sets": {
|
|
53448
53599
|
parameters: {
|
|
53449
53600
|
query?: never;
|
|
53450
53601
|
header?: never;
|
|
@@ -53452,47 +53603,38 @@ interface paths {
|
|
|
53452
53603
|
cookie?: never;
|
|
53453
53604
|
};
|
|
53454
53605
|
/**
|
|
53455
|
-
* List
|
|
53456
|
-
* @description
|
|
53606
|
+
* List signal sets
|
|
53607
|
+
* @description The organization's signal sets, newest first, with each one's latest version number.
|
|
53457
53608
|
*/
|
|
53458
53609
|
get: {
|
|
53459
53610
|
parameters: {
|
|
53460
|
-
query?:
|
|
53461
|
-
status?: "draft" | "active" | "archived";
|
|
53462
|
-
limit?: string;
|
|
53463
|
-
cursor?: string;
|
|
53464
|
-
direction?: string;
|
|
53465
|
-
includeCount?: string;
|
|
53466
|
-
/** @description Response representation. `full` (default) preserves complete values; `compact` shortens every string value longer than 100 characters to a 100-character preview followed by `…`. */
|
|
53467
|
-
view?: "full" | "compact";
|
|
53468
|
-
};
|
|
53611
|
+
query?: never;
|
|
53469
53612
|
header?: never;
|
|
53470
53613
|
path?: never;
|
|
53471
53614
|
cookie?: never;
|
|
53472
53615
|
};
|
|
53473
53616
|
requestBody?: never;
|
|
53474
53617
|
responses: {
|
|
53475
|
-
/** @description
|
|
53618
|
+
/** @description Signal sets */
|
|
53476
53619
|
200: {
|
|
53477
53620
|
headers: {
|
|
53478
53621
|
[name: string]: unknown;
|
|
53479
53622
|
};
|
|
53480
53623
|
content: {
|
|
53481
53624
|
"application/json": {
|
|
53482
|
-
data: {
|
|
53483
|
-
|
|
53484
|
-
}[];
|
|
53485
|
-
pagination: components["schemas"]["Pagination"];
|
|
53625
|
+
data: (components["schemas"]["SignalSet"] & {
|
|
53626
|
+
latestVersionNumber: number;
|
|
53627
|
+
})[];
|
|
53486
53628
|
};
|
|
53487
53629
|
};
|
|
53488
53630
|
};
|
|
53489
|
-
/** @description Invalid
|
|
53631
|
+
/** @description Invalid request */
|
|
53490
53632
|
400: {
|
|
53491
53633
|
headers: {
|
|
53492
53634
|
[name: string]: unknown;
|
|
53493
53635
|
};
|
|
53494
53636
|
content: {
|
|
53495
|
-
"application/json": components["schemas"]["
|
|
53637
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53496
53638
|
};
|
|
53497
53639
|
};
|
|
53498
53640
|
/** @description Unauthorized */
|
|
@@ -53504,30 +53646,30 @@ interface paths {
|
|
|
53504
53646
|
"application/json": components["schemas"]["Error"];
|
|
53505
53647
|
};
|
|
53506
53648
|
};
|
|
53507
|
-
/** @description Insufficient permissions */
|
|
53649
|
+
/** @description Insufficient permissions, or no organization context */
|
|
53508
53650
|
403: {
|
|
53509
53651
|
headers: {
|
|
53510
53652
|
[name: string]: unknown;
|
|
53511
53653
|
};
|
|
53512
53654
|
content: {
|
|
53513
|
-
"application/json": components["schemas"]["
|
|
53655
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53514
53656
|
};
|
|
53515
53657
|
};
|
|
53516
|
-
/** @description
|
|
53517
|
-
|
|
53658
|
+
/** @description Not found */
|
|
53659
|
+
404: {
|
|
53518
53660
|
headers: {
|
|
53519
53661
|
[name: string]: unknown;
|
|
53520
53662
|
};
|
|
53521
53663
|
content: {
|
|
53522
|
-
"application/json": components["schemas"]["
|
|
53664
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53523
53665
|
};
|
|
53524
53666
|
};
|
|
53525
53667
|
};
|
|
53526
53668
|
};
|
|
53527
53669
|
put?: never;
|
|
53528
53670
|
/**
|
|
53529
|
-
* Create a
|
|
53530
|
-
* @description Create a
|
|
53671
|
+
* Create a signal set
|
|
53672
|
+
* @description Create a signal set and its first version from a preset or a definition. Preview it against recent traces, then bind it to an agent.
|
|
53531
53673
|
*/
|
|
53532
53674
|
post: {
|
|
53533
53675
|
parameters: {
|
|
@@ -53539,7 +53681,14 @@ interface paths {
|
|
|
53539
53681
|
requestBody?: {
|
|
53540
53682
|
content: {
|
|
53541
53683
|
"application/json": {
|
|
53542
|
-
|
|
53684
|
+
/** @description A signal set version: `{ unit: "turn", context: { priorTurns }, signals: { <key>: { type, instructions, options?, notable?, ... } }, bands: { act, review } }`. bool and choice signals go to the decision model; text, number, date, duration, list and estimate go to the extraction model. */
|
|
53685
|
+
definition?: {
|
|
53686
|
+
[key: string]: unknown;
|
|
53687
|
+
};
|
|
53688
|
+
description?: string | null;
|
|
53689
|
+
name: string;
|
|
53690
|
+
/** @description Start from a preset, e.g. "conversation_health". `definition`, when also given, replaces it. */
|
|
53691
|
+
preset?: string;
|
|
53543
53692
|
};
|
|
53544
53693
|
};
|
|
53545
53694
|
};
|
|
@@ -53551,17 +53700,18 @@ interface paths {
|
|
|
53551
53700
|
};
|
|
53552
53701
|
content: {
|
|
53553
53702
|
"application/json": {
|
|
53554
|
-
|
|
53703
|
+
signalSet: components["schemas"]["SignalSet"];
|
|
53704
|
+
version: components["schemas"]["SignalSetVersion"];
|
|
53555
53705
|
};
|
|
53556
53706
|
};
|
|
53557
53707
|
};
|
|
53558
|
-
/** @description Invalid
|
|
53708
|
+
/** @description Invalid request */
|
|
53559
53709
|
400: {
|
|
53560
53710
|
headers: {
|
|
53561
53711
|
[name: string]: unknown;
|
|
53562
53712
|
};
|
|
53563
53713
|
content: {
|
|
53564
|
-
"application/json": components["schemas"]["
|
|
53714
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53565
53715
|
};
|
|
53566
53716
|
};
|
|
53567
53717
|
/** @description Unauthorized */
|
|
@@ -53573,31 +53723,40 @@ interface paths {
|
|
|
53573
53723
|
"application/json": components["schemas"]["Error"];
|
|
53574
53724
|
};
|
|
53575
53725
|
};
|
|
53576
|
-
/** @description Insufficient permissions */
|
|
53726
|
+
/** @description Insufficient permissions, or no organization context */
|
|
53577
53727
|
403: {
|
|
53578
53728
|
headers: {
|
|
53579
53729
|
[name: string]: unknown;
|
|
53580
53730
|
};
|
|
53581
53731
|
content: {
|
|
53582
|
-
"application/json": components["schemas"]["
|
|
53732
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53583
53733
|
};
|
|
53584
53734
|
};
|
|
53585
|
-
/** @description
|
|
53586
|
-
|
|
53735
|
+
/** @description Not found */
|
|
53736
|
+
404: {
|
|
53587
53737
|
headers: {
|
|
53588
53738
|
[name: string]: unknown;
|
|
53589
53739
|
};
|
|
53590
53740
|
content: {
|
|
53591
|
-
"application/json": components["schemas"]["
|
|
53741
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53592
53742
|
};
|
|
53593
53743
|
};
|
|
53594
|
-
/** @description
|
|
53595
|
-
|
|
53744
|
+
/** @description Conflict, or external processing not yet acknowledged */
|
|
53745
|
+
409: {
|
|
53596
53746
|
headers: {
|
|
53597
53747
|
[name: string]: unknown;
|
|
53598
53748
|
};
|
|
53599
53749
|
content: {
|
|
53600
|
-
"application/json": components["schemas"]["
|
|
53750
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53751
|
+
};
|
|
53752
|
+
};
|
|
53753
|
+
/** @description Refused: the agent or organization posture forbids signal evaluation */
|
|
53754
|
+
422: {
|
|
53755
|
+
headers: {
|
|
53756
|
+
[name: string]: unknown;
|
|
53757
|
+
};
|
|
53758
|
+
content: {
|
|
53759
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53601
53760
|
};
|
|
53602
53761
|
};
|
|
53603
53762
|
};
|
|
@@ -53608,46 +53767,54 @@ interface paths {
|
|
|
53608
53767
|
patch?: never;
|
|
53609
53768
|
trace?: never;
|
|
53610
53769
|
};
|
|
53611
|
-
"/v1/
|
|
53770
|
+
"/v1/signal-sets/presets": {
|
|
53612
53771
|
parameters: {
|
|
53613
53772
|
query?: never;
|
|
53614
53773
|
header?: never;
|
|
53615
53774
|
path?: never;
|
|
53616
53775
|
cookie?: never;
|
|
53617
53776
|
};
|
|
53618
|
-
|
|
53619
|
-
|
|
53620
|
-
|
|
53621
|
-
|
|
53777
|
+
/**
|
|
53778
|
+
* List signal set presets
|
|
53779
|
+
* @description Named starting points for `create_signal_set` (`preset: "conversation_health"`), with their full definitions.
|
|
53780
|
+
*/
|
|
53781
|
+
get: {
|
|
53622
53782
|
parameters: {
|
|
53623
53783
|
query?: never;
|
|
53624
53784
|
header?: never;
|
|
53625
53785
|
path?: never;
|
|
53626
53786
|
cookie?: never;
|
|
53627
53787
|
};
|
|
53628
|
-
requestBody?:
|
|
53629
|
-
content: {
|
|
53630
|
-
"application/json": {
|
|
53631
|
-
agentId: string;
|
|
53632
|
-
displayOrder?: number;
|
|
53633
|
-
enabled?: boolean;
|
|
53634
|
-
skillId: string;
|
|
53635
|
-
skillVersionId?: string | null;
|
|
53636
|
-
};
|
|
53637
|
-
};
|
|
53638
|
-
};
|
|
53788
|
+
requestBody?: never;
|
|
53639
53789
|
responses: {
|
|
53640
|
-
/** @description
|
|
53641
|
-
|
|
53790
|
+
/** @description Presets */
|
|
53791
|
+
200: {
|
|
53642
53792
|
headers: {
|
|
53643
53793
|
[name: string]: unknown;
|
|
53644
53794
|
};
|
|
53645
53795
|
content: {
|
|
53646
53796
|
"application/json": {
|
|
53647
|
-
|
|
53797
|
+
data: {
|
|
53798
|
+
/** @description A signal set version: `{ unit: "turn", context: { priorTurns }, signals: { <key>: { type, instructions, options?, notable?, ... } }, bands: { act, review } }`. bool and choice signals go to the decision model; text, number, date, duration, list and estimate go to the extraction model. */
|
|
53799
|
+
definition: {
|
|
53800
|
+
[key: string]: unknown;
|
|
53801
|
+
};
|
|
53802
|
+
description: string;
|
|
53803
|
+
id: string;
|
|
53804
|
+
name: string;
|
|
53805
|
+
}[];
|
|
53648
53806
|
};
|
|
53649
53807
|
};
|
|
53650
53808
|
};
|
|
53809
|
+
/** @description Invalid request */
|
|
53810
|
+
400: {
|
|
53811
|
+
headers: {
|
|
53812
|
+
[name: string]: unknown;
|
|
53813
|
+
};
|
|
53814
|
+
content: {
|
|
53815
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53816
|
+
};
|
|
53817
|
+
};
|
|
53651
53818
|
/** @description Unauthorized */
|
|
53652
53819
|
401: {
|
|
53653
53820
|
headers: {
|
|
@@ -53657,13 +53824,13 @@ interface paths {
|
|
|
53657
53824
|
"application/json": components["schemas"]["Error"];
|
|
53658
53825
|
};
|
|
53659
53826
|
};
|
|
53660
|
-
/** @description
|
|
53827
|
+
/** @description Insufficient permissions, or no organization context */
|
|
53661
53828
|
403: {
|
|
53662
53829
|
headers: {
|
|
53663
53830
|
[name: string]: unknown;
|
|
53664
53831
|
};
|
|
53665
53832
|
content: {
|
|
53666
|
-
"application/json": components["schemas"]["
|
|
53833
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53667
53834
|
};
|
|
53668
53835
|
};
|
|
53669
53836
|
/** @description Not found */
|
|
@@ -53672,60 +53839,65 @@ interface paths {
|
|
|
53672
53839
|
[name: string]: unknown;
|
|
53673
53840
|
};
|
|
53674
53841
|
content: {
|
|
53675
|
-
"application/json": components["schemas"]["
|
|
53842
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53676
53843
|
};
|
|
53677
53844
|
};
|
|
53678
53845
|
};
|
|
53679
53846
|
};
|
|
53847
|
+
put?: never;
|
|
53848
|
+
post?: never;
|
|
53680
53849
|
delete?: never;
|
|
53681
53850
|
options?: never;
|
|
53682
53851
|
head?: never;
|
|
53683
53852
|
patch?: never;
|
|
53684
53853
|
trace?: never;
|
|
53685
53854
|
};
|
|
53686
|
-
"/v1/
|
|
53855
|
+
"/v1/signal-sets/{id}": {
|
|
53687
53856
|
parameters: {
|
|
53688
53857
|
query?: never;
|
|
53689
53858
|
header?: never;
|
|
53690
53859
|
path?: never;
|
|
53691
53860
|
cookie?: never;
|
|
53692
53861
|
};
|
|
53693
|
-
/**
|
|
53862
|
+
/**
|
|
53863
|
+
* Get a signal set
|
|
53864
|
+
* @description One signal set with every version, newest first, and the current version.
|
|
53865
|
+
*/
|
|
53694
53866
|
get: {
|
|
53695
53867
|
parameters: {
|
|
53696
|
-
query
|
|
53697
|
-
agentId: string;
|
|
53698
|
-
};
|
|
53868
|
+
query?: never;
|
|
53699
53869
|
header?: never;
|
|
53700
|
-
path
|
|
53870
|
+
path: {
|
|
53871
|
+
id: string;
|
|
53872
|
+
};
|
|
53701
53873
|
cookie?: never;
|
|
53702
53874
|
};
|
|
53703
53875
|
requestBody?: never;
|
|
53704
53876
|
responses: {
|
|
53705
|
-
/** @description
|
|
53877
|
+
/** @description Signal set */
|
|
53706
53878
|
200: {
|
|
53707
53879
|
headers: {
|
|
53708
53880
|
[name: string]: unknown;
|
|
53709
53881
|
};
|
|
53710
53882
|
content: {
|
|
53711
53883
|
"application/json": {
|
|
53712
|
-
|
|
53713
|
-
|
|
53714
|
-
|
|
53884
|
+
currentVersion: components["schemas"]["SignalSetVersion"] & (Record<string, never> | null);
|
|
53885
|
+
signalSet: components["schemas"]["SignalSet"];
|
|
53886
|
+
versions: components["schemas"]["SignalSetVersion"][];
|
|
53715
53887
|
};
|
|
53716
53888
|
};
|
|
53717
53889
|
};
|
|
53718
|
-
/** @description
|
|
53719
|
-
|
|
53890
|
+
/** @description Invalid request */
|
|
53891
|
+
400: {
|
|
53720
53892
|
headers: {
|
|
53721
53893
|
[name: string]: unknown;
|
|
53722
53894
|
};
|
|
53723
53895
|
content: {
|
|
53724
|
-
"application/json": components["schemas"]["
|
|
53896
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53725
53897
|
};
|
|
53726
53898
|
};
|
|
53727
|
-
/** @description
|
|
53728
|
-
|
|
53899
|
+
/** @description Unauthorized */
|
|
53900
|
+
401: {
|
|
53729
53901
|
headers: {
|
|
53730
53902
|
[name: string]: unknown;
|
|
53731
53903
|
};
|
|
@@ -53733,133 +53905,71 @@ interface paths {
|
|
|
53733
53905
|
"application/json": components["schemas"]["Error"];
|
|
53734
53906
|
};
|
|
53735
53907
|
};
|
|
53736
|
-
|
|
53737
|
-
|
|
53738
|
-
put?: never;
|
|
53739
|
-
post?: never;
|
|
53740
|
-
delete?: never;
|
|
53741
|
-
options?: never;
|
|
53742
|
-
head?: never;
|
|
53743
|
-
patch?: never;
|
|
53744
|
-
trace?: never;
|
|
53745
|
-
};
|
|
53746
|
-
"/v1/skills/bindings/{bindingId}": {
|
|
53747
|
-
parameters: {
|
|
53748
|
-
query?: never;
|
|
53749
|
-
header?: never;
|
|
53750
|
-
path?: never;
|
|
53751
|
-
cookie?: never;
|
|
53752
|
-
};
|
|
53753
|
-
get?: never;
|
|
53754
|
-
put?: never;
|
|
53755
|
-
post?: never;
|
|
53756
|
-
/** Unbind a skill from an agent */
|
|
53757
|
-
delete: {
|
|
53758
|
-
parameters: {
|
|
53759
|
-
query?: never;
|
|
53760
|
-
header?: never;
|
|
53761
|
-
path: {
|
|
53762
|
-
bindingId: string;
|
|
53763
|
-
};
|
|
53764
|
-
cookie?: never;
|
|
53765
|
-
};
|
|
53766
|
-
requestBody?: never;
|
|
53767
|
-
responses: {
|
|
53768
|
-
/** @description Unbound */
|
|
53769
|
-
200: {
|
|
53770
|
-
headers: {
|
|
53771
|
-
[name: string]: unknown;
|
|
53772
|
-
};
|
|
53773
|
-
content: {
|
|
53774
|
-
"application/json": {
|
|
53775
|
-
success: boolean;
|
|
53776
|
-
};
|
|
53777
|
-
};
|
|
53778
|
-
};
|
|
53779
|
-
/** @description Unauthorized */
|
|
53780
|
-
401: {
|
|
53908
|
+
/** @description Insufficient permissions, or no organization context */
|
|
53909
|
+
403: {
|
|
53781
53910
|
headers: {
|
|
53782
53911
|
[name: string]: unknown;
|
|
53783
53912
|
};
|
|
53784
53913
|
content: {
|
|
53785
|
-
"application/json": components["schemas"]["
|
|
53914
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53786
53915
|
};
|
|
53787
53916
|
};
|
|
53788
|
-
/** @description
|
|
53789
|
-
|
|
53917
|
+
/** @description Not found */
|
|
53918
|
+
404: {
|
|
53790
53919
|
headers: {
|
|
53791
53920
|
[name: string]: unknown;
|
|
53792
53921
|
};
|
|
53793
53922
|
content: {
|
|
53794
|
-
"application/json": components["schemas"]["
|
|
53923
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53795
53924
|
};
|
|
53796
53925
|
};
|
|
53797
53926
|
};
|
|
53798
53927
|
};
|
|
53928
|
+
put?: never;
|
|
53929
|
+
post?: never;
|
|
53930
|
+
delete?: never;
|
|
53799
53931
|
options?: never;
|
|
53800
53932
|
head?: never;
|
|
53801
|
-
patch?: never;
|
|
53802
|
-
trace?: never;
|
|
53803
|
-
};
|
|
53804
|
-
"/v1/skills/ensure": {
|
|
53805
|
-
parameters: {
|
|
53806
|
-
query?: never;
|
|
53807
|
-
header?: never;
|
|
53808
|
-
path?: never;
|
|
53809
|
-
cookie?: never;
|
|
53810
|
-
};
|
|
53811
|
-
get?: never;
|
|
53812
|
-
put?: never;
|
|
53813
53933
|
/**
|
|
53814
|
-
*
|
|
53815
|
-
* @description
|
|
53934
|
+
* Update a signal set
|
|
53935
|
+
* @description Rename or re-describe a set. Its signals change only by publishing a new version.
|
|
53816
53936
|
*/
|
|
53817
|
-
|
|
53937
|
+
patch: {
|
|
53818
53938
|
parameters: {
|
|
53819
53939
|
query?: never;
|
|
53820
53940
|
header?: never;
|
|
53821
|
-
path
|
|
53941
|
+
path: {
|
|
53942
|
+
id: string;
|
|
53943
|
+
};
|
|
53822
53944
|
cookie?: never;
|
|
53823
53945
|
};
|
|
53824
53946
|
requestBody?: {
|
|
53825
53947
|
content: {
|
|
53826
53948
|
"application/json": {
|
|
53827
|
-
|
|
53828
|
-
|
|
53829
|
-
body?: string;
|
|
53830
|
-
frontmatter?: {
|
|
53831
|
-
[key: string]: unknown;
|
|
53832
|
-
};
|
|
53833
|
-
markdown?: string;
|
|
53834
|
-
};
|
|
53835
|
-
dryRun?: boolean;
|
|
53836
|
-
expectedRemoteHash?: string;
|
|
53837
|
-
name: string;
|
|
53838
|
-
/** @enum {string} */
|
|
53839
|
-
onConflict?: "error" | "overwrite";
|
|
53840
|
-
/** @enum {string} */
|
|
53841
|
-
release?: "none" | "publish";
|
|
53842
|
-
version?: components["schemas"]["EnsureVersionMetadata"];
|
|
53949
|
+
description?: string | null;
|
|
53950
|
+
name?: string;
|
|
53843
53951
|
};
|
|
53844
53952
|
};
|
|
53845
53953
|
};
|
|
53846
53954
|
responses: {
|
|
53847
|
-
/** @description
|
|
53955
|
+
/** @description Updated */
|
|
53848
53956
|
200: {
|
|
53849
53957
|
headers: {
|
|
53850
53958
|
[name: string]: unknown;
|
|
53851
53959
|
};
|
|
53852
53960
|
content: {
|
|
53853
|
-
"application/json":
|
|
53961
|
+
"application/json": {
|
|
53962
|
+
signalSet: components["schemas"]["SignalSet"];
|
|
53963
|
+
};
|
|
53854
53964
|
};
|
|
53855
53965
|
};
|
|
53856
|
-
/** @description
|
|
53966
|
+
/** @description Invalid request */
|
|
53857
53967
|
400: {
|
|
53858
53968
|
headers: {
|
|
53859
53969
|
[name: string]: unknown;
|
|
53860
53970
|
};
|
|
53861
53971
|
content: {
|
|
53862
|
-
"application/json": components["schemas"]["
|
|
53972
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53863
53973
|
};
|
|
53864
53974
|
};
|
|
53865
53975
|
/** @description Unauthorized */
|
|
@@ -53871,51 +53981,47 @@ interface paths {
|
|
|
53871
53981
|
"application/json": components["schemas"]["Error"];
|
|
53872
53982
|
};
|
|
53873
53983
|
};
|
|
53874
|
-
/** @description Insufficient permissions */
|
|
53984
|
+
/** @description Insufficient permissions, or no organization context */
|
|
53875
53985
|
403: {
|
|
53876
53986
|
headers: {
|
|
53877
53987
|
[name: string]: unknown;
|
|
53878
53988
|
};
|
|
53879
53989
|
content: {
|
|
53880
|
-
"application/json": components["schemas"]["
|
|
53990
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53881
53991
|
};
|
|
53882
53992
|
};
|
|
53883
|
-
/** @description
|
|
53884
|
-
|
|
53993
|
+
/** @description Not found */
|
|
53994
|
+
404: {
|
|
53885
53995
|
headers: {
|
|
53886
53996
|
[name: string]: unknown;
|
|
53887
53997
|
};
|
|
53888
53998
|
content: {
|
|
53889
|
-
"application/json": components["schemas"]["
|
|
53999
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53890
54000
|
};
|
|
53891
54001
|
};
|
|
53892
|
-
/** @description
|
|
53893
|
-
|
|
54002
|
+
/** @description Conflict, or external processing not yet acknowledged */
|
|
54003
|
+
409: {
|
|
53894
54004
|
headers: {
|
|
53895
54005
|
[name: string]: unknown;
|
|
53896
54006
|
};
|
|
53897
54007
|
content: {
|
|
53898
|
-
"application/json": components["schemas"]["
|
|
54008
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53899
54009
|
};
|
|
53900
54010
|
};
|
|
53901
|
-
/** @description
|
|
53902
|
-
|
|
54011
|
+
/** @description Refused: the agent or organization posture forbids signal evaluation */
|
|
54012
|
+
422: {
|
|
53903
54013
|
headers: {
|
|
53904
54014
|
[name: string]: unknown;
|
|
53905
54015
|
};
|
|
53906
54016
|
content: {
|
|
53907
|
-
"application/json": components["schemas"]["
|
|
54017
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53908
54018
|
};
|
|
53909
54019
|
};
|
|
53910
54020
|
};
|
|
53911
54021
|
};
|
|
53912
|
-
delete?: never;
|
|
53913
|
-
options?: never;
|
|
53914
|
-
head?: never;
|
|
53915
|
-
patch?: never;
|
|
53916
54022
|
trace?: never;
|
|
53917
54023
|
};
|
|
53918
|
-
"/v1/
|
|
54024
|
+
"/v1/signal-sets/{id}/versions": {
|
|
53919
54025
|
parameters: {
|
|
53920
54026
|
query?: never;
|
|
53921
54027
|
header?: never;
|
|
@@ -53925,42 +54031,48 @@ interface paths {
|
|
|
53925
54031
|
get?: never;
|
|
53926
54032
|
put?: never;
|
|
53927
54033
|
/**
|
|
53928
|
-
*
|
|
53929
|
-
* @description
|
|
54034
|
+
* Publish a signal set version
|
|
54035
|
+
* @description Publish a new immutable version and make it current. Existing bindings keep the version they name; rebind to move one.
|
|
53930
54036
|
*/
|
|
53931
54037
|
post: {
|
|
53932
54038
|
parameters: {
|
|
53933
54039
|
query?: never;
|
|
53934
54040
|
header?: never;
|
|
53935
|
-
path
|
|
54041
|
+
path: {
|
|
54042
|
+
id: string;
|
|
54043
|
+
};
|
|
53936
54044
|
cookie?: never;
|
|
53937
54045
|
};
|
|
53938
54046
|
requestBody?: {
|
|
53939
54047
|
content: {
|
|
53940
54048
|
"application/json": {
|
|
53941
|
-
|
|
54049
|
+
/** @description A signal set version: `{ unit: "turn", context: { priorTurns }, signals: { <key>: { type, instructions, options?, notable?, ... } }, bands: { act, review } }`. bool and choice signals go to the decision model; text, number, date, duration, list and estimate go to the extraction model. */
|
|
54050
|
+
definition: {
|
|
54051
|
+
[key: string]: unknown;
|
|
54052
|
+
};
|
|
53942
54053
|
};
|
|
53943
54054
|
};
|
|
53944
54055
|
};
|
|
53945
54056
|
responses: {
|
|
53946
|
-
/** @description
|
|
54057
|
+
/** @description Published */
|
|
53947
54058
|
201: {
|
|
53948
54059
|
headers: {
|
|
53949
54060
|
[name: string]: unknown;
|
|
53950
54061
|
};
|
|
53951
54062
|
content: {
|
|
53952
54063
|
"application/json": {
|
|
53953
|
-
|
|
54064
|
+
signalSet: components["schemas"]["SignalSet"];
|
|
54065
|
+
version: components["schemas"]["SignalSetVersion"];
|
|
53954
54066
|
};
|
|
53955
54067
|
};
|
|
53956
54068
|
};
|
|
53957
|
-
/** @description Invalid
|
|
54069
|
+
/** @description Invalid request */
|
|
53958
54070
|
400: {
|
|
53959
54071
|
headers: {
|
|
53960
54072
|
[name: string]: unknown;
|
|
53961
54073
|
};
|
|
53962
54074
|
content: {
|
|
53963
|
-
"application/json": components["schemas"]["
|
|
54075
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53964
54076
|
};
|
|
53965
54077
|
};
|
|
53966
54078
|
/** @description Unauthorized */
|
|
@@ -53972,22 +54084,22 @@ interface paths {
|
|
|
53972
54084
|
"application/json": components["schemas"]["Error"];
|
|
53973
54085
|
};
|
|
53974
54086
|
};
|
|
53975
|
-
/** @description Insufficient permissions */
|
|
54087
|
+
/** @description Insufficient permissions, or no organization context */
|
|
53976
54088
|
403: {
|
|
53977
54089
|
headers: {
|
|
53978
54090
|
[name: string]: unknown;
|
|
53979
54091
|
};
|
|
53980
54092
|
content: {
|
|
53981
|
-
"application/json": components["schemas"]["
|
|
54093
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53982
54094
|
};
|
|
53983
54095
|
};
|
|
53984
|
-
/** @description
|
|
53985
|
-
|
|
54096
|
+
/** @description Not found */
|
|
54097
|
+
404: {
|
|
53986
54098
|
headers: {
|
|
53987
54099
|
[name: string]: unknown;
|
|
53988
54100
|
};
|
|
53989
54101
|
content: {
|
|
53990
|
-
"application/json": components["schemas"]["
|
|
54102
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53991
54103
|
};
|
|
53992
54104
|
};
|
|
53993
54105
|
};
|
|
@@ -53998,7 +54110,7 @@ interface paths {
|
|
|
53998
54110
|
patch?: never;
|
|
53999
54111
|
trace?: never;
|
|
54000
54112
|
};
|
|
54001
|
-
"/v1/
|
|
54113
|
+
"/v1/signal-sets/{id}/versions/{versionNumber}/preview": {
|
|
54002
54114
|
parameters: {
|
|
54003
54115
|
query?: never;
|
|
54004
54116
|
header?: never;
|
|
@@ -54008,49 +54120,48 @@ interface paths {
|
|
|
54008
54120
|
get?: never;
|
|
54009
54121
|
put?: never;
|
|
54010
54122
|
/**
|
|
54011
|
-
*
|
|
54012
|
-
* @description
|
|
54123
|
+
* Preview a signal set version
|
|
54124
|
+
* @description Dry-run one version over an agent’s recent traces: per-signal fire rates, confidences, spans and projected monthly cost. Writes no results; the model calls are billed.
|
|
54013
54125
|
*/
|
|
54014
54126
|
post: {
|
|
54015
54127
|
parameters: {
|
|
54016
54128
|
query?: never;
|
|
54017
54129
|
header?: never;
|
|
54018
|
-
path
|
|
54130
|
+
path: {
|
|
54131
|
+
id: string;
|
|
54132
|
+
versionNumber: number;
|
|
54133
|
+
};
|
|
54019
54134
|
cookie?: never;
|
|
54020
54135
|
};
|
|
54021
54136
|
requestBody?: {
|
|
54022
54137
|
content: {
|
|
54023
54138
|
"application/json": {
|
|
54024
|
-
|
|
54025
|
-
|
|
54026
|
-
|
|
54027
|
-
|
|
54028
|
-
description
|
|
54029
|
-
|
|
54030
|
-
proposingAgentExecutionId: string;
|
|
54031
|
-
proposingAgentId: string;
|
|
54139
|
+
/** @description Required for a PHI organization whose set uses a decision model outside Cloudflare Workers AI, after a human confirms. */
|
|
54140
|
+
acknowledgeExternalProcessing?: boolean;
|
|
54141
|
+
/** @description Run the version over this agent’s most recent completed traces. */
|
|
54142
|
+
agentId: string;
|
|
54143
|
+
/** @description Traces to read, default 20, at most 50. */
|
|
54144
|
+
limit?: number;
|
|
54032
54145
|
};
|
|
54033
54146
|
};
|
|
54034
54147
|
};
|
|
54035
54148
|
responses: {
|
|
54036
|
-
/** @description
|
|
54149
|
+
/** @description Preview */
|
|
54037
54150
|
200: {
|
|
54038
54151
|
headers: {
|
|
54039
54152
|
[name: string]: unknown;
|
|
54040
54153
|
};
|
|
54041
54154
|
content: {
|
|
54042
|
-
"application/json":
|
|
54043
|
-
[key: string]: unknown;
|
|
54044
|
-
};
|
|
54155
|
+
"application/json": components["schemas"]["SignalPreviewReport"];
|
|
54045
54156
|
};
|
|
54046
54157
|
};
|
|
54047
|
-
/** @description Invalid
|
|
54158
|
+
/** @description Invalid request */
|
|
54048
54159
|
400: {
|
|
54049
54160
|
headers: {
|
|
54050
54161
|
[name: string]: unknown;
|
|
54051
54162
|
};
|
|
54052
54163
|
content: {
|
|
54053
|
-
"application/json": components["schemas"]["
|
|
54164
|
+
"application/json": components["schemas"]["SignalError"];
|
|
54054
54165
|
};
|
|
54055
54166
|
};
|
|
54056
54167
|
/** @description Unauthorized */
|
|
@@ -54062,13 +54173,40 @@ interface paths {
|
|
|
54062
54173
|
"application/json": components["schemas"]["Error"];
|
|
54063
54174
|
};
|
|
54064
54175
|
};
|
|
54065
|
-
/** @description
|
|
54176
|
+
/** @description Insufficient permissions, or no organization context */
|
|
54177
|
+
403: {
|
|
54178
|
+
headers: {
|
|
54179
|
+
[name: string]: unknown;
|
|
54180
|
+
};
|
|
54181
|
+
content: {
|
|
54182
|
+
"application/json": components["schemas"]["SignalError"];
|
|
54183
|
+
};
|
|
54184
|
+
};
|
|
54185
|
+
/** @description Not found */
|
|
54186
|
+
404: {
|
|
54187
|
+
headers: {
|
|
54188
|
+
[name: string]: unknown;
|
|
54189
|
+
};
|
|
54190
|
+
content: {
|
|
54191
|
+
"application/json": components["schemas"]["SignalError"];
|
|
54192
|
+
};
|
|
54193
|
+
};
|
|
54194
|
+
/** @description Conflict, or external processing not yet acknowledged */
|
|
54195
|
+
409: {
|
|
54196
|
+
headers: {
|
|
54197
|
+
[name: string]: unknown;
|
|
54198
|
+
};
|
|
54199
|
+
content: {
|
|
54200
|
+
"application/json": components["schemas"]["SignalError"];
|
|
54201
|
+
};
|
|
54202
|
+
};
|
|
54203
|
+
/** @description Refused: the agent or organization posture forbids signal evaluation */
|
|
54066
54204
|
422: {
|
|
54067
54205
|
headers: {
|
|
54068
54206
|
[name: string]: unknown;
|
|
54069
54207
|
};
|
|
54070
54208
|
content: {
|
|
54071
|
-
"application/json": components["schemas"]["
|
|
54209
|
+
"application/json": components["schemas"]["SignalError"];
|
|
54072
54210
|
};
|
|
54073
54211
|
};
|
|
54074
54212
|
};
|
|
@@ -54079,7 +54217,7 @@ interface paths {
|
|
|
54079
54217
|
patch?: never;
|
|
54080
54218
|
trace?: never;
|
|
54081
54219
|
};
|
|
54082
|
-
"/v1/
|
|
54220
|
+
"/v1/signals/stats": {
|
|
54083
54221
|
parameters: {
|
|
54084
54222
|
query?: never;
|
|
54085
54223
|
header?: never;
|
|
@@ -54087,13 +54225,20 @@ interface paths {
|
|
|
54087
54225
|
cookie?: never;
|
|
54088
54226
|
};
|
|
54089
54227
|
/**
|
|
54090
|
-
*
|
|
54091
|
-
* @description
|
|
54228
|
+
* Signal stats
|
|
54229
|
+
* @description Hourly rollup counters summed over the window, by binding, agent version, set version, signal key, value and sample. Rates "on live traffic" read sample=uniform only; filtered counters describe the traffic a binding selects. Never add the two.
|
|
54092
54230
|
*/
|
|
54093
54231
|
get: {
|
|
54094
54232
|
parameters: {
|
|
54095
|
-
query
|
|
54096
|
-
|
|
54233
|
+
query?: {
|
|
54234
|
+
agentId?: string;
|
|
54235
|
+
bindingId?: string;
|
|
54236
|
+
signalSetVersionId?: string;
|
|
54237
|
+
sample?: "uniform" | "filtered";
|
|
54238
|
+
/** @description ISO 8601; defaults to 7 days ago. */
|
|
54239
|
+
from?: string;
|
|
54240
|
+
/** @description ISO 8601; defaults to now. */
|
|
54241
|
+
to?: string;
|
|
54097
54242
|
};
|
|
54098
54243
|
header?: never;
|
|
54099
54244
|
path?: never;
|
|
@@ -54101,26 +54246,32 @@ interface paths {
|
|
|
54101
54246
|
};
|
|
54102
54247
|
requestBody?: never;
|
|
54103
54248
|
responses: {
|
|
54104
|
-
/** @description
|
|
54249
|
+
/** @description Stats */
|
|
54105
54250
|
200: {
|
|
54106
54251
|
headers: {
|
|
54107
54252
|
[name: string]: unknown;
|
|
54108
54253
|
};
|
|
54109
54254
|
content: {
|
|
54110
|
-
"application/json":
|
|
54255
|
+
"application/json": {
|
|
54256
|
+
data: components["schemas"]["SignalStatRow"][];
|
|
54257
|
+
window: {
|
|
54258
|
+
from: string;
|
|
54259
|
+
to: string;
|
|
54260
|
+
};
|
|
54261
|
+
};
|
|
54111
54262
|
};
|
|
54112
54263
|
};
|
|
54113
|
-
/** @description
|
|
54114
|
-
|
|
54264
|
+
/** @description Invalid request */
|
|
54265
|
+
400: {
|
|
54115
54266
|
headers: {
|
|
54116
54267
|
[name: string]: unknown;
|
|
54117
54268
|
};
|
|
54118
54269
|
content: {
|
|
54119
|
-
"application/json": components["schemas"]["
|
|
54270
|
+
"application/json": components["schemas"]["SignalError"];
|
|
54120
54271
|
};
|
|
54121
54272
|
};
|
|
54122
|
-
/** @description
|
|
54123
|
-
|
|
54273
|
+
/** @description Unauthorized */
|
|
54274
|
+
401: {
|
|
54124
54275
|
headers: {
|
|
54125
54276
|
[name: string]: unknown;
|
|
54126
54277
|
};
|
|
@@ -54128,22 +54279,22 @@ interface paths {
|
|
|
54128
54279
|
"application/json": components["schemas"]["Error"];
|
|
54129
54280
|
};
|
|
54130
54281
|
};
|
|
54131
|
-
/** @description
|
|
54132
|
-
|
|
54282
|
+
/** @description Insufficient permissions, or no organization context */
|
|
54283
|
+
403: {
|
|
54133
54284
|
headers: {
|
|
54134
54285
|
[name: string]: unknown;
|
|
54135
54286
|
};
|
|
54136
54287
|
content: {
|
|
54137
|
-
"application/json": components["schemas"]["
|
|
54288
|
+
"application/json": components["schemas"]["SignalError"];
|
|
54138
54289
|
};
|
|
54139
54290
|
};
|
|
54140
|
-
/** @description
|
|
54141
|
-
|
|
54291
|
+
/** @description Not found */
|
|
54292
|
+
404: {
|
|
54142
54293
|
headers: {
|
|
54143
54294
|
[name: string]: unknown;
|
|
54144
54295
|
};
|
|
54145
54296
|
content: {
|
|
54146
|
-
"application/json": components["schemas"]["
|
|
54297
|
+
"application/json": components["schemas"]["SignalError"];
|
|
54147
54298
|
};
|
|
54148
54299
|
};
|
|
54149
54300
|
};
|
|
@@ -54156,21 +54307,923 @@ interface paths {
|
|
|
54156
54307
|
patch?: never;
|
|
54157
54308
|
trace?: never;
|
|
54158
54309
|
};
|
|
54159
|
-
"/v1/
|
|
54310
|
+
"/v1/skill-proposals": {
|
|
54160
54311
|
parameters: {
|
|
54161
54312
|
query?: never;
|
|
54162
54313
|
header?: never;
|
|
54163
54314
|
path?: never;
|
|
54164
54315
|
cookie?: never;
|
|
54165
54316
|
};
|
|
54166
|
-
/**
|
|
54317
|
+
/** List pending skill proposals */
|
|
54167
54318
|
get: {
|
|
54168
54319
|
parameters: {
|
|
54169
54320
|
query?: never;
|
|
54170
54321
|
header?: never;
|
|
54171
|
-
path
|
|
54172
|
-
|
|
54173
|
-
|
|
54322
|
+
path?: never;
|
|
54323
|
+
cookie?: never;
|
|
54324
|
+
};
|
|
54325
|
+
requestBody?: never;
|
|
54326
|
+
responses: {
|
|
54327
|
+
/** @description Pending proposals */
|
|
54328
|
+
200: {
|
|
54329
|
+
headers: {
|
|
54330
|
+
[name: string]: unknown;
|
|
54331
|
+
};
|
|
54332
|
+
content: {
|
|
54333
|
+
"application/json": {
|
|
54334
|
+
data: components["schemas"]["EnrichedSkillProposal"][];
|
|
54335
|
+
};
|
|
54336
|
+
};
|
|
54337
|
+
};
|
|
54338
|
+
/** @description Unauthorized */
|
|
54339
|
+
401: {
|
|
54340
|
+
headers: {
|
|
54341
|
+
[name: string]: unknown;
|
|
54342
|
+
};
|
|
54343
|
+
content: {
|
|
54344
|
+
"application/json": components["schemas"]["Error"];
|
|
54345
|
+
};
|
|
54346
|
+
};
|
|
54347
|
+
/** @description Insufficient permissions */
|
|
54348
|
+
403: {
|
|
54349
|
+
headers: {
|
|
54350
|
+
[name: string]: unknown;
|
|
54351
|
+
};
|
|
54352
|
+
content: {
|
|
54353
|
+
"application/json": components["schemas"]["Error"];
|
|
54354
|
+
};
|
|
54355
|
+
};
|
|
54356
|
+
};
|
|
54357
|
+
};
|
|
54358
|
+
put?: never;
|
|
54359
|
+
post?: never;
|
|
54360
|
+
delete?: never;
|
|
54361
|
+
options?: never;
|
|
54362
|
+
head?: never;
|
|
54363
|
+
patch?: never;
|
|
54364
|
+
trace?: never;
|
|
54365
|
+
};
|
|
54366
|
+
"/v1/skill-proposals/{id}/approve": {
|
|
54367
|
+
parameters: {
|
|
54368
|
+
query?: never;
|
|
54369
|
+
header?: never;
|
|
54370
|
+
path?: never;
|
|
54371
|
+
cookie?: never;
|
|
54372
|
+
};
|
|
54373
|
+
get?: never;
|
|
54374
|
+
put?: never;
|
|
54375
|
+
/**
|
|
54376
|
+
* Approve a skill proposal
|
|
54377
|
+
* @description Approve a pending proposal — publishes the proposed skill version.
|
|
54378
|
+
*/
|
|
54379
|
+
post: {
|
|
54380
|
+
parameters: {
|
|
54381
|
+
query?: never;
|
|
54382
|
+
header?: never;
|
|
54383
|
+
path: {
|
|
54384
|
+
id: string;
|
|
54385
|
+
};
|
|
54386
|
+
cookie?: never;
|
|
54387
|
+
};
|
|
54388
|
+
requestBody?: never;
|
|
54389
|
+
responses: {
|
|
54390
|
+
/** @description Approved */
|
|
54391
|
+
200: {
|
|
54392
|
+
headers: {
|
|
54393
|
+
[name: string]: unknown;
|
|
54394
|
+
};
|
|
54395
|
+
content: {
|
|
54396
|
+
"application/json": {
|
|
54397
|
+
proposal: components["schemas"]["SkillProposal"];
|
|
54398
|
+
};
|
|
54399
|
+
};
|
|
54400
|
+
};
|
|
54401
|
+
/** @description Unauthorized */
|
|
54402
|
+
401: {
|
|
54403
|
+
headers: {
|
|
54404
|
+
[name: string]: unknown;
|
|
54405
|
+
};
|
|
54406
|
+
content: {
|
|
54407
|
+
"application/json": components["schemas"]["Error"];
|
|
54408
|
+
};
|
|
54409
|
+
};
|
|
54410
|
+
/** @description Insufficient permissions */
|
|
54411
|
+
403: {
|
|
54412
|
+
headers: {
|
|
54413
|
+
[name: string]: unknown;
|
|
54414
|
+
};
|
|
54415
|
+
content: {
|
|
54416
|
+
"application/json": components["schemas"]["Error"];
|
|
54417
|
+
};
|
|
54418
|
+
};
|
|
54419
|
+
/** @description Already reviewed */
|
|
54420
|
+
409: {
|
|
54421
|
+
headers: {
|
|
54422
|
+
[name: string]: unknown;
|
|
54423
|
+
};
|
|
54424
|
+
content: {
|
|
54425
|
+
"application/json": components["schemas"]["Error"];
|
|
54426
|
+
};
|
|
54427
|
+
};
|
|
54428
|
+
};
|
|
54429
|
+
};
|
|
54430
|
+
delete?: never;
|
|
54431
|
+
options?: never;
|
|
54432
|
+
head?: never;
|
|
54433
|
+
patch?: never;
|
|
54434
|
+
trace?: never;
|
|
54435
|
+
};
|
|
54436
|
+
"/v1/skill-proposals/{id}/reject": {
|
|
54437
|
+
parameters: {
|
|
54438
|
+
query?: never;
|
|
54439
|
+
header?: never;
|
|
54440
|
+
path?: never;
|
|
54441
|
+
cookie?: never;
|
|
54442
|
+
};
|
|
54443
|
+
get?: never;
|
|
54444
|
+
put?: never;
|
|
54445
|
+
/** Reject a skill proposal */
|
|
54446
|
+
post: {
|
|
54447
|
+
parameters: {
|
|
54448
|
+
query?: never;
|
|
54449
|
+
header?: never;
|
|
54450
|
+
path: {
|
|
54451
|
+
id: string;
|
|
54452
|
+
};
|
|
54453
|
+
cookie?: never;
|
|
54454
|
+
};
|
|
54455
|
+
requestBody?: {
|
|
54456
|
+
content: {
|
|
54457
|
+
"application/json": {
|
|
54458
|
+
reason?: string;
|
|
54459
|
+
};
|
|
54460
|
+
};
|
|
54461
|
+
};
|
|
54462
|
+
responses: {
|
|
54463
|
+
/** @description Rejected */
|
|
54464
|
+
200: {
|
|
54465
|
+
headers: {
|
|
54466
|
+
[name: string]: unknown;
|
|
54467
|
+
};
|
|
54468
|
+
content: {
|
|
54469
|
+
"application/json": {
|
|
54470
|
+
proposal: components["schemas"]["SkillProposal"];
|
|
54471
|
+
};
|
|
54472
|
+
};
|
|
54473
|
+
};
|
|
54474
|
+
/** @description Unauthorized */
|
|
54475
|
+
401: {
|
|
54476
|
+
headers: {
|
|
54477
|
+
[name: string]: unknown;
|
|
54478
|
+
};
|
|
54479
|
+
content: {
|
|
54480
|
+
"application/json": components["schemas"]["Error"];
|
|
54481
|
+
};
|
|
54482
|
+
};
|
|
54483
|
+
/** @description Insufficient permissions */
|
|
54484
|
+
403: {
|
|
54485
|
+
headers: {
|
|
54486
|
+
[name: string]: unknown;
|
|
54487
|
+
};
|
|
54488
|
+
content: {
|
|
54489
|
+
"application/json": components["schemas"]["Error"];
|
|
54490
|
+
};
|
|
54491
|
+
};
|
|
54492
|
+
};
|
|
54493
|
+
};
|
|
54494
|
+
delete?: never;
|
|
54495
|
+
options?: never;
|
|
54496
|
+
head?: never;
|
|
54497
|
+
patch?: never;
|
|
54498
|
+
trace?: never;
|
|
54499
|
+
};
|
|
54500
|
+
"/v1/skills": {
|
|
54501
|
+
parameters: {
|
|
54502
|
+
query?: never;
|
|
54503
|
+
header?: never;
|
|
54504
|
+
path?: never;
|
|
54505
|
+
cookie?: never;
|
|
54506
|
+
};
|
|
54507
|
+
/**
|
|
54508
|
+
* List skills
|
|
54509
|
+
* @description List skills for the authenticated owner with cursor pagination, optionally filtered by status. Ordered newest-first (id descending).
|
|
54510
|
+
*/
|
|
54511
|
+
get: {
|
|
54512
|
+
parameters: {
|
|
54513
|
+
query?: {
|
|
54514
|
+
status?: "draft" | "active" | "archived";
|
|
54515
|
+
limit?: string;
|
|
54516
|
+
cursor?: string;
|
|
54517
|
+
direction?: string;
|
|
54518
|
+
includeCount?: string;
|
|
54519
|
+
/** @description Response representation. `full` (default) preserves complete values; `compact` shortens every string value longer than 100 characters to a 100-character preview followed by `…`. */
|
|
54520
|
+
view?: "full" | "compact";
|
|
54521
|
+
};
|
|
54522
|
+
header?: never;
|
|
54523
|
+
path?: never;
|
|
54524
|
+
cookie?: never;
|
|
54525
|
+
};
|
|
54526
|
+
requestBody?: never;
|
|
54527
|
+
responses: {
|
|
54528
|
+
/** @description Paginated list of skills */
|
|
54529
|
+
200: {
|
|
54530
|
+
headers: {
|
|
54531
|
+
[name: string]: unknown;
|
|
54532
|
+
};
|
|
54533
|
+
content: {
|
|
54534
|
+
"application/json": {
|
|
54535
|
+
data: {
|
|
54536
|
+
[key: string]: unknown;
|
|
54537
|
+
}[];
|
|
54538
|
+
pagination: components["schemas"]["Pagination"];
|
|
54539
|
+
};
|
|
54540
|
+
};
|
|
54541
|
+
};
|
|
54542
|
+
/** @description Invalid parameters */
|
|
54543
|
+
400: {
|
|
54544
|
+
headers: {
|
|
54545
|
+
[name: string]: unknown;
|
|
54546
|
+
};
|
|
54547
|
+
content: {
|
|
54548
|
+
"application/json": components["schemas"]["Error"];
|
|
54549
|
+
};
|
|
54550
|
+
};
|
|
54551
|
+
/** @description Unauthorized */
|
|
54552
|
+
401: {
|
|
54553
|
+
headers: {
|
|
54554
|
+
[name: string]: unknown;
|
|
54555
|
+
};
|
|
54556
|
+
content: {
|
|
54557
|
+
"application/json": components["schemas"]["Error"];
|
|
54558
|
+
};
|
|
54559
|
+
};
|
|
54560
|
+
/** @description Insufficient permissions */
|
|
54561
|
+
403: {
|
|
54562
|
+
headers: {
|
|
54563
|
+
[name: string]: unknown;
|
|
54564
|
+
};
|
|
54565
|
+
content: {
|
|
54566
|
+
"application/json": components["schemas"]["Error"];
|
|
54567
|
+
};
|
|
54568
|
+
};
|
|
54569
|
+
/** @description Internal server error */
|
|
54570
|
+
500: {
|
|
54571
|
+
headers: {
|
|
54572
|
+
[name: string]: unknown;
|
|
54573
|
+
};
|
|
54574
|
+
content: {
|
|
54575
|
+
"application/json": components["schemas"]["Error"];
|
|
54576
|
+
};
|
|
54577
|
+
};
|
|
54578
|
+
};
|
|
54579
|
+
};
|
|
54580
|
+
put?: never;
|
|
54581
|
+
/**
|
|
54582
|
+
* Create a skill
|
|
54583
|
+
* @description Create a skill from a SKILL.md string (`markdown`) or a structured manifest (`frontmatter` + `body`). Admin plane — no review queue.
|
|
54584
|
+
*/
|
|
54585
|
+
post: {
|
|
54586
|
+
parameters: {
|
|
54587
|
+
query?: never;
|
|
54588
|
+
header?: never;
|
|
54589
|
+
path?: never;
|
|
54590
|
+
cookie?: never;
|
|
54591
|
+
};
|
|
54592
|
+
requestBody?: {
|
|
54593
|
+
content: {
|
|
54594
|
+
"application/json": {
|
|
54595
|
+
[key: string]: unknown;
|
|
54596
|
+
};
|
|
54597
|
+
};
|
|
54598
|
+
};
|
|
54599
|
+
responses: {
|
|
54600
|
+
/** @description Created */
|
|
54601
|
+
201: {
|
|
54602
|
+
headers: {
|
|
54603
|
+
[name: string]: unknown;
|
|
54604
|
+
};
|
|
54605
|
+
content: {
|
|
54606
|
+
"application/json": {
|
|
54607
|
+
[key: string]: unknown;
|
|
54608
|
+
};
|
|
54609
|
+
};
|
|
54610
|
+
};
|
|
54611
|
+
/** @description Invalid manifest, or a manifest name that differs from the skill */
|
|
54612
|
+
400: {
|
|
54613
|
+
headers: {
|
|
54614
|
+
[name: string]: unknown;
|
|
54615
|
+
};
|
|
54616
|
+
content: {
|
|
54617
|
+
"application/json": components["schemas"]["Error"];
|
|
54618
|
+
};
|
|
54619
|
+
};
|
|
54620
|
+
/** @description Unauthorized */
|
|
54621
|
+
401: {
|
|
54622
|
+
headers: {
|
|
54623
|
+
[name: string]: unknown;
|
|
54624
|
+
};
|
|
54625
|
+
content: {
|
|
54626
|
+
"application/json": components["schemas"]["Error"];
|
|
54627
|
+
};
|
|
54628
|
+
};
|
|
54629
|
+
/** @description Insufficient permissions */
|
|
54630
|
+
403: {
|
|
54631
|
+
headers: {
|
|
54632
|
+
[name: string]: unknown;
|
|
54633
|
+
};
|
|
54634
|
+
content: {
|
|
54635
|
+
"application/json": components["schemas"]["Error"];
|
|
54636
|
+
};
|
|
54637
|
+
};
|
|
54638
|
+
/** @description Unsupported capability */
|
|
54639
|
+
422: {
|
|
54640
|
+
headers: {
|
|
54641
|
+
[name: string]: unknown;
|
|
54642
|
+
};
|
|
54643
|
+
content: {
|
|
54644
|
+
"application/json": components["schemas"]["Error"];
|
|
54645
|
+
};
|
|
54646
|
+
};
|
|
54647
|
+
/** @description Internal server error */
|
|
54648
|
+
500: {
|
|
54649
|
+
headers: {
|
|
54650
|
+
[name: string]: unknown;
|
|
54651
|
+
};
|
|
54652
|
+
content: {
|
|
54653
|
+
"application/json": components["schemas"]["Error"];
|
|
54654
|
+
};
|
|
54655
|
+
};
|
|
54656
|
+
};
|
|
54657
|
+
};
|
|
54658
|
+
delete?: never;
|
|
54659
|
+
options?: never;
|
|
54660
|
+
head?: never;
|
|
54661
|
+
patch?: never;
|
|
54662
|
+
trace?: never;
|
|
54663
|
+
};
|
|
54664
|
+
"/v1/skills/bind": {
|
|
54665
|
+
parameters: {
|
|
54666
|
+
query?: never;
|
|
54667
|
+
header?: never;
|
|
54668
|
+
path?: never;
|
|
54669
|
+
cookie?: never;
|
|
54670
|
+
};
|
|
54671
|
+
get?: never;
|
|
54672
|
+
put?: never;
|
|
54673
|
+
/** Bind a skill to an agent */
|
|
54674
|
+
post: {
|
|
54675
|
+
parameters: {
|
|
54676
|
+
query?: never;
|
|
54677
|
+
header?: never;
|
|
54678
|
+
path?: never;
|
|
54679
|
+
cookie?: never;
|
|
54680
|
+
};
|
|
54681
|
+
requestBody?: {
|
|
54682
|
+
content: {
|
|
54683
|
+
"application/json": {
|
|
54684
|
+
agentId: string;
|
|
54685
|
+
displayOrder?: number;
|
|
54686
|
+
enabled?: boolean;
|
|
54687
|
+
skillId: string;
|
|
54688
|
+
skillVersionId?: string | null;
|
|
54689
|
+
};
|
|
54690
|
+
};
|
|
54691
|
+
};
|
|
54692
|
+
responses: {
|
|
54693
|
+
/** @description Bound */
|
|
54694
|
+
201: {
|
|
54695
|
+
headers: {
|
|
54696
|
+
[name: string]: unknown;
|
|
54697
|
+
};
|
|
54698
|
+
content: {
|
|
54699
|
+
"application/json": {
|
|
54700
|
+
[key: string]: unknown;
|
|
54701
|
+
};
|
|
54702
|
+
};
|
|
54703
|
+
};
|
|
54704
|
+
/** @description Unauthorized */
|
|
54705
|
+
401: {
|
|
54706
|
+
headers: {
|
|
54707
|
+
[name: string]: unknown;
|
|
54708
|
+
};
|
|
54709
|
+
content: {
|
|
54710
|
+
"application/json": components["schemas"]["Error"];
|
|
54711
|
+
};
|
|
54712
|
+
};
|
|
54713
|
+
/** @description Forbidden */
|
|
54714
|
+
403: {
|
|
54715
|
+
headers: {
|
|
54716
|
+
[name: string]: unknown;
|
|
54717
|
+
};
|
|
54718
|
+
content: {
|
|
54719
|
+
"application/json": components["schemas"]["Error"];
|
|
54720
|
+
};
|
|
54721
|
+
};
|
|
54722
|
+
/** @description Not found */
|
|
54723
|
+
404: {
|
|
54724
|
+
headers: {
|
|
54725
|
+
[name: string]: unknown;
|
|
54726
|
+
};
|
|
54727
|
+
content: {
|
|
54728
|
+
"application/json": components["schemas"]["Error"];
|
|
54729
|
+
};
|
|
54730
|
+
};
|
|
54731
|
+
};
|
|
54732
|
+
};
|
|
54733
|
+
delete?: never;
|
|
54734
|
+
options?: never;
|
|
54735
|
+
head?: never;
|
|
54736
|
+
patch?: never;
|
|
54737
|
+
trace?: never;
|
|
54738
|
+
};
|
|
54739
|
+
"/v1/skills/bindings": {
|
|
54740
|
+
parameters: {
|
|
54741
|
+
query?: never;
|
|
54742
|
+
header?: never;
|
|
54743
|
+
path?: never;
|
|
54744
|
+
cookie?: never;
|
|
54745
|
+
};
|
|
54746
|
+
/** List an agent's skill bindings */
|
|
54747
|
+
get: {
|
|
54748
|
+
parameters: {
|
|
54749
|
+
query: {
|
|
54750
|
+
agentId: string;
|
|
54751
|
+
};
|
|
54752
|
+
header?: never;
|
|
54753
|
+
path?: never;
|
|
54754
|
+
cookie?: never;
|
|
54755
|
+
};
|
|
54756
|
+
requestBody?: never;
|
|
54757
|
+
responses: {
|
|
54758
|
+
/** @description Bindings */
|
|
54759
|
+
200: {
|
|
54760
|
+
headers: {
|
|
54761
|
+
[name: string]: unknown;
|
|
54762
|
+
};
|
|
54763
|
+
content: {
|
|
54764
|
+
"application/json": {
|
|
54765
|
+
data: {
|
|
54766
|
+
[key: string]: unknown;
|
|
54767
|
+
}[];
|
|
54768
|
+
};
|
|
54769
|
+
};
|
|
54770
|
+
};
|
|
54771
|
+
/** @description Unauthorized */
|
|
54772
|
+
401: {
|
|
54773
|
+
headers: {
|
|
54774
|
+
[name: string]: unknown;
|
|
54775
|
+
};
|
|
54776
|
+
content: {
|
|
54777
|
+
"application/json": components["schemas"]["Error"];
|
|
54778
|
+
};
|
|
54779
|
+
};
|
|
54780
|
+
/** @description Forbidden */
|
|
54781
|
+
403: {
|
|
54782
|
+
headers: {
|
|
54783
|
+
[name: string]: unknown;
|
|
54784
|
+
};
|
|
54785
|
+
content: {
|
|
54786
|
+
"application/json": components["schemas"]["Error"];
|
|
54787
|
+
};
|
|
54788
|
+
};
|
|
54789
|
+
};
|
|
54790
|
+
};
|
|
54791
|
+
put?: never;
|
|
54792
|
+
post?: never;
|
|
54793
|
+
delete?: never;
|
|
54794
|
+
options?: never;
|
|
54795
|
+
head?: never;
|
|
54796
|
+
patch?: never;
|
|
54797
|
+
trace?: never;
|
|
54798
|
+
};
|
|
54799
|
+
"/v1/skills/bindings/{bindingId}": {
|
|
54800
|
+
parameters: {
|
|
54801
|
+
query?: never;
|
|
54802
|
+
header?: never;
|
|
54803
|
+
path?: never;
|
|
54804
|
+
cookie?: never;
|
|
54805
|
+
};
|
|
54806
|
+
get?: never;
|
|
54807
|
+
put?: never;
|
|
54808
|
+
post?: never;
|
|
54809
|
+
/** Unbind a skill from an agent */
|
|
54810
|
+
delete: {
|
|
54811
|
+
parameters: {
|
|
54812
|
+
query?: never;
|
|
54813
|
+
header?: never;
|
|
54814
|
+
path: {
|
|
54815
|
+
bindingId: string;
|
|
54816
|
+
};
|
|
54817
|
+
cookie?: never;
|
|
54818
|
+
};
|
|
54819
|
+
requestBody?: never;
|
|
54820
|
+
responses: {
|
|
54821
|
+
/** @description Unbound */
|
|
54822
|
+
200: {
|
|
54823
|
+
headers: {
|
|
54824
|
+
[name: string]: unknown;
|
|
54825
|
+
};
|
|
54826
|
+
content: {
|
|
54827
|
+
"application/json": {
|
|
54828
|
+
success: boolean;
|
|
54829
|
+
};
|
|
54830
|
+
};
|
|
54831
|
+
};
|
|
54832
|
+
/** @description Unauthorized */
|
|
54833
|
+
401: {
|
|
54834
|
+
headers: {
|
|
54835
|
+
[name: string]: unknown;
|
|
54836
|
+
};
|
|
54837
|
+
content: {
|
|
54838
|
+
"application/json": components["schemas"]["Error"];
|
|
54839
|
+
};
|
|
54840
|
+
};
|
|
54841
|
+
/** @description Insufficient permissions */
|
|
54842
|
+
403: {
|
|
54843
|
+
headers: {
|
|
54844
|
+
[name: string]: unknown;
|
|
54845
|
+
};
|
|
54846
|
+
content: {
|
|
54847
|
+
"application/json": components["schemas"]["Error"];
|
|
54848
|
+
};
|
|
54849
|
+
};
|
|
54850
|
+
};
|
|
54851
|
+
};
|
|
54852
|
+
options?: never;
|
|
54853
|
+
head?: never;
|
|
54854
|
+
patch?: never;
|
|
54855
|
+
trace?: never;
|
|
54856
|
+
};
|
|
54857
|
+
"/v1/skills/ensure": {
|
|
54858
|
+
parameters: {
|
|
54859
|
+
query?: never;
|
|
54860
|
+
header?: never;
|
|
54861
|
+
path?: never;
|
|
54862
|
+
cookie?: never;
|
|
54863
|
+
};
|
|
54864
|
+
get?: never;
|
|
54865
|
+
put?: never;
|
|
54866
|
+
/**
|
|
54867
|
+
* Ensure skill (config-as-code converge)
|
|
54868
|
+
* @description Idempotently converge a repo-defined skill (SKILL.md manifest) onto the platform. Identity is name + account scope. Hash-only probes skip the payload in the steady state (a miss is a normal 200 `definitionRequired` response, not an error); full requests create the skill or append a new version when the canonical content hash differs. The response always carries the server-computed canonical hash + the version id. Set dryRun to plan without writing (CI drift gate), onConflict: "overwrite" to converge over dashboard/API edits, and release: "publish" to publish the converged version. Optional version.label / version.notes stamp provenance (a git SHA, a release tag) on the appended version row. Admin/control plane only — no review queue.
|
|
54869
|
+
*/
|
|
54870
|
+
post: {
|
|
54871
|
+
parameters: {
|
|
54872
|
+
query?: never;
|
|
54873
|
+
header?: never;
|
|
54874
|
+
path?: never;
|
|
54875
|
+
cookie?: never;
|
|
54876
|
+
};
|
|
54877
|
+
requestBody?: {
|
|
54878
|
+
content: {
|
|
54879
|
+
"application/json": {
|
|
54880
|
+
contentHash?: string;
|
|
54881
|
+
definition?: {
|
|
54882
|
+
body?: string;
|
|
54883
|
+
frontmatter?: {
|
|
54884
|
+
[key: string]: unknown;
|
|
54885
|
+
};
|
|
54886
|
+
markdown?: string;
|
|
54887
|
+
};
|
|
54888
|
+
dryRun?: boolean;
|
|
54889
|
+
expectedRemoteHash?: string;
|
|
54890
|
+
name: string;
|
|
54891
|
+
/** @enum {string} */
|
|
54892
|
+
onConflict?: "error" | "overwrite";
|
|
54893
|
+
/** @enum {string} */
|
|
54894
|
+
release?: "none" | "publish";
|
|
54895
|
+
version?: components["schemas"]["EnsureVersionMetadata"];
|
|
54896
|
+
};
|
|
54897
|
+
};
|
|
54898
|
+
};
|
|
54899
|
+
responses: {
|
|
54900
|
+
/** @description Converge result: unchanged | created | updated | definitionRequired (hash miss — retry with the full definition) | plan (dryRun) */
|
|
54901
|
+
200: {
|
|
54902
|
+
headers: {
|
|
54903
|
+
[name: string]: unknown;
|
|
54904
|
+
};
|
|
54905
|
+
content: {
|
|
54906
|
+
"application/json": components["schemas"]["SkillEnsureResponse"];
|
|
54907
|
+
};
|
|
54908
|
+
};
|
|
54909
|
+
/** @description Validation error / invalid manifest */
|
|
54910
|
+
400: {
|
|
54911
|
+
headers: {
|
|
54912
|
+
[name: string]: unknown;
|
|
54913
|
+
};
|
|
54914
|
+
content: {
|
|
54915
|
+
"application/json": components["schemas"]["Error"];
|
|
54916
|
+
};
|
|
54917
|
+
};
|
|
54918
|
+
/** @description Unauthorized */
|
|
54919
|
+
401: {
|
|
54920
|
+
headers: {
|
|
54921
|
+
[name: string]: unknown;
|
|
54922
|
+
};
|
|
54923
|
+
content: {
|
|
54924
|
+
"application/json": components["schemas"]["Error"];
|
|
54925
|
+
};
|
|
54926
|
+
};
|
|
54927
|
+
/** @description Insufficient permissions */
|
|
54928
|
+
403: {
|
|
54929
|
+
headers: {
|
|
54930
|
+
[name: string]: unknown;
|
|
54931
|
+
};
|
|
54932
|
+
content: {
|
|
54933
|
+
"application/json": components["schemas"]["Error"];
|
|
54934
|
+
};
|
|
54935
|
+
};
|
|
54936
|
+
/** @description Conflict: external_modification (last write was not ensure; pass onConflict: "overwrite") or remote_changed (expectedRemoteHash guard) */
|
|
54937
|
+
409: {
|
|
54938
|
+
headers: {
|
|
54939
|
+
[name: string]: unknown;
|
|
54940
|
+
};
|
|
54941
|
+
content: {
|
|
54942
|
+
"application/json": components["schemas"]["SkillEnsureConflict"];
|
|
54943
|
+
};
|
|
54944
|
+
};
|
|
54945
|
+
/** @description Submitted contentHash does not match the server-recomputed canonical hash (code: content_hash_mismatch), or the manifest carries an unsupported capability such as mcpServers (code: unsupported_capability) */
|
|
54946
|
+
422: {
|
|
54947
|
+
headers: {
|
|
54948
|
+
[name: string]: unknown;
|
|
54949
|
+
};
|
|
54950
|
+
content: {
|
|
54951
|
+
"application/json": components["schemas"]["SkillEnsureUnprocessable"];
|
|
54952
|
+
};
|
|
54953
|
+
};
|
|
54954
|
+
/** @description Internal server error */
|
|
54955
|
+
500: {
|
|
54956
|
+
headers: {
|
|
54957
|
+
[name: string]: unknown;
|
|
54958
|
+
};
|
|
54959
|
+
content: {
|
|
54960
|
+
"application/json": components["schemas"]["Error"];
|
|
54961
|
+
};
|
|
54962
|
+
};
|
|
54963
|
+
};
|
|
54964
|
+
};
|
|
54965
|
+
delete?: never;
|
|
54966
|
+
options?: never;
|
|
54967
|
+
head?: never;
|
|
54968
|
+
patch?: never;
|
|
54969
|
+
trace?: never;
|
|
54970
|
+
};
|
|
54971
|
+
"/v1/skills/import": {
|
|
54972
|
+
parameters: {
|
|
54973
|
+
query?: never;
|
|
54974
|
+
header?: never;
|
|
54975
|
+
path?: never;
|
|
54976
|
+
cookie?: never;
|
|
54977
|
+
};
|
|
54978
|
+
get?: never;
|
|
54979
|
+
put?: never;
|
|
54980
|
+
/**
|
|
54981
|
+
* Import a SKILL.md
|
|
54982
|
+
* @description Import a single SKILL.md document. Lands with trustLevel=imported.
|
|
54983
|
+
*/
|
|
54984
|
+
post: {
|
|
54985
|
+
parameters: {
|
|
54986
|
+
query?: never;
|
|
54987
|
+
header?: never;
|
|
54988
|
+
path?: never;
|
|
54989
|
+
cookie?: never;
|
|
54990
|
+
};
|
|
54991
|
+
requestBody?: {
|
|
54992
|
+
content: {
|
|
54993
|
+
"application/json": {
|
|
54994
|
+
markdown: string;
|
|
54995
|
+
};
|
|
54996
|
+
};
|
|
54997
|
+
};
|
|
54998
|
+
responses: {
|
|
54999
|
+
/** @description Imported */
|
|
55000
|
+
201: {
|
|
55001
|
+
headers: {
|
|
55002
|
+
[name: string]: unknown;
|
|
55003
|
+
};
|
|
55004
|
+
content: {
|
|
55005
|
+
"application/json": {
|
|
55006
|
+
[key: string]: unknown;
|
|
55007
|
+
};
|
|
55008
|
+
};
|
|
55009
|
+
};
|
|
55010
|
+
/** @description Invalid manifest */
|
|
55011
|
+
400: {
|
|
55012
|
+
headers: {
|
|
55013
|
+
[name: string]: unknown;
|
|
55014
|
+
};
|
|
55015
|
+
content: {
|
|
55016
|
+
"application/json": components["schemas"]["Error"];
|
|
55017
|
+
};
|
|
55018
|
+
};
|
|
55019
|
+
/** @description Unauthorized */
|
|
55020
|
+
401: {
|
|
55021
|
+
headers: {
|
|
55022
|
+
[name: string]: unknown;
|
|
55023
|
+
};
|
|
55024
|
+
content: {
|
|
55025
|
+
"application/json": components["schemas"]["Error"];
|
|
55026
|
+
};
|
|
55027
|
+
};
|
|
55028
|
+
/** @description Insufficient permissions */
|
|
55029
|
+
403: {
|
|
55030
|
+
headers: {
|
|
55031
|
+
[name: string]: unknown;
|
|
55032
|
+
};
|
|
55033
|
+
content: {
|
|
55034
|
+
"application/json": components["schemas"]["Error"];
|
|
55035
|
+
};
|
|
55036
|
+
};
|
|
55037
|
+
/** @description Unsupported capability */
|
|
55038
|
+
422: {
|
|
55039
|
+
headers: {
|
|
55040
|
+
[name: string]: unknown;
|
|
55041
|
+
};
|
|
55042
|
+
content: {
|
|
55043
|
+
"application/json": components["schemas"]["Error"];
|
|
55044
|
+
};
|
|
55045
|
+
};
|
|
55046
|
+
};
|
|
55047
|
+
};
|
|
55048
|
+
delete?: never;
|
|
55049
|
+
options?: never;
|
|
55050
|
+
head?: never;
|
|
55051
|
+
patch?: never;
|
|
55052
|
+
trace?: never;
|
|
55053
|
+
};
|
|
55054
|
+
"/v1/skills/propose": {
|
|
55055
|
+
parameters: {
|
|
55056
|
+
query?: never;
|
|
55057
|
+
header?: never;
|
|
55058
|
+
path?: never;
|
|
55059
|
+
cookie?: never;
|
|
55060
|
+
};
|
|
55061
|
+
get?: never;
|
|
55062
|
+
put?: never;
|
|
55063
|
+
/**
|
|
55064
|
+
* Propose a skill (deployed-agent data plane)
|
|
55065
|
+
* @description Agent self-authoring endpoint hit by the `propose_skill` runtime tool. Review-by-default; auto-publishes only under the owner-set opt-out. NOT the admin create path.
|
|
55066
|
+
*/
|
|
55067
|
+
post: {
|
|
55068
|
+
parameters: {
|
|
55069
|
+
query?: never;
|
|
55070
|
+
header?: never;
|
|
55071
|
+
path?: never;
|
|
55072
|
+
cookie?: never;
|
|
55073
|
+
};
|
|
55074
|
+
requestBody?: {
|
|
55075
|
+
content: {
|
|
55076
|
+
"application/json": {
|
|
55077
|
+
body: string;
|
|
55078
|
+
capabilities?: {
|
|
55079
|
+
[key: string]: unknown;
|
|
55080
|
+
};
|
|
55081
|
+
description: string;
|
|
55082
|
+
name: string;
|
|
55083
|
+
proposingAgentExecutionId: string;
|
|
55084
|
+
proposingAgentId: string;
|
|
55085
|
+
};
|
|
55086
|
+
};
|
|
55087
|
+
};
|
|
55088
|
+
responses: {
|
|
55089
|
+
/** @description Proposal outcome */
|
|
55090
|
+
200: {
|
|
55091
|
+
headers: {
|
|
55092
|
+
[name: string]: unknown;
|
|
55093
|
+
};
|
|
55094
|
+
content: {
|
|
55095
|
+
"application/json": {
|
|
55096
|
+
[key: string]: unknown;
|
|
55097
|
+
};
|
|
55098
|
+
};
|
|
55099
|
+
};
|
|
55100
|
+
/** @description Invalid manifest */
|
|
55101
|
+
400: {
|
|
55102
|
+
headers: {
|
|
55103
|
+
[name: string]: unknown;
|
|
55104
|
+
};
|
|
55105
|
+
content: {
|
|
55106
|
+
"application/json": components["schemas"]["Error"];
|
|
55107
|
+
};
|
|
55108
|
+
};
|
|
55109
|
+
/** @description Unauthorized */
|
|
55110
|
+
401: {
|
|
55111
|
+
headers: {
|
|
55112
|
+
[name: string]: unknown;
|
|
55113
|
+
};
|
|
55114
|
+
content: {
|
|
55115
|
+
"application/json": components["schemas"]["Error"];
|
|
55116
|
+
};
|
|
55117
|
+
};
|
|
55118
|
+
/** @description Unsupported capability */
|
|
55119
|
+
422: {
|
|
55120
|
+
headers: {
|
|
55121
|
+
[name: string]: unknown;
|
|
55122
|
+
};
|
|
55123
|
+
content: {
|
|
55124
|
+
"application/json": components["schemas"]["Error"];
|
|
55125
|
+
};
|
|
55126
|
+
};
|
|
55127
|
+
};
|
|
55128
|
+
};
|
|
55129
|
+
delete?: never;
|
|
55130
|
+
options?: never;
|
|
55131
|
+
head?: never;
|
|
55132
|
+
patch?: never;
|
|
55133
|
+
trace?: never;
|
|
55134
|
+
};
|
|
55135
|
+
"/v1/skills/pull": {
|
|
55136
|
+
parameters: {
|
|
55137
|
+
query?: never;
|
|
55138
|
+
header?: never;
|
|
55139
|
+
path?: never;
|
|
55140
|
+
cookie?: never;
|
|
55141
|
+
};
|
|
55142
|
+
/**
|
|
55143
|
+
* Pull skill definition (config-as-code)
|
|
55144
|
+
* @description Return the canonical config-as-code definition and provenance for a skill by name — the absorb-drift direction of the ensure protocol. The contentHash is recomputed from the live skill state, so it is accurate even immediately after a dashboard edit.
|
|
55145
|
+
*/
|
|
55146
|
+
get: {
|
|
55147
|
+
parameters: {
|
|
55148
|
+
query: {
|
|
55149
|
+
name: string;
|
|
55150
|
+
};
|
|
55151
|
+
header?: never;
|
|
55152
|
+
path?: never;
|
|
55153
|
+
cookie?: never;
|
|
55154
|
+
};
|
|
55155
|
+
requestBody?: never;
|
|
55156
|
+
responses: {
|
|
55157
|
+
/** @description Canonical definition + provenance */
|
|
55158
|
+
200: {
|
|
55159
|
+
headers: {
|
|
55160
|
+
[name: string]: unknown;
|
|
55161
|
+
};
|
|
55162
|
+
content: {
|
|
55163
|
+
"application/json": components["schemas"]["SkillPullResponse"];
|
|
55164
|
+
};
|
|
55165
|
+
};
|
|
55166
|
+
/** @description Unauthorized */
|
|
55167
|
+
401: {
|
|
55168
|
+
headers: {
|
|
55169
|
+
[name: string]: unknown;
|
|
55170
|
+
};
|
|
55171
|
+
content: {
|
|
55172
|
+
"application/json": components["schemas"]["Error"];
|
|
55173
|
+
};
|
|
55174
|
+
};
|
|
55175
|
+
/** @description Insufficient permissions */
|
|
55176
|
+
403: {
|
|
55177
|
+
headers: {
|
|
55178
|
+
[name: string]: unknown;
|
|
55179
|
+
};
|
|
55180
|
+
content: {
|
|
55181
|
+
"application/json": components["schemas"]["Error"];
|
|
55182
|
+
};
|
|
55183
|
+
};
|
|
55184
|
+
/** @description No skill with that name in the account scope */
|
|
55185
|
+
404: {
|
|
55186
|
+
headers: {
|
|
55187
|
+
[name: string]: unknown;
|
|
55188
|
+
};
|
|
55189
|
+
content: {
|
|
55190
|
+
"application/json": components["schemas"]["Error"];
|
|
55191
|
+
};
|
|
55192
|
+
};
|
|
55193
|
+
/** @description Internal server error */
|
|
55194
|
+
500: {
|
|
55195
|
+
headers: {
|
|
55196
|
+
[name: string]: unknown;
|
|
55197
|
+
};
|
|
55198
|
+
content: {
|
|
55199
|
+
"application/json": components["schemas"]["Error"];
|
|
55200
|
+
};
|
|
55201
|
+
};
|
|
55202
|
+
};
|
|
55203
|
+
};
|
|
55204
|
+
put?: never;
|
|
55205
|
+
post?: never;
|
|
55206
|
+
delete?: never;
|
|
55207
|
+
options?: never;
|
|
55208
|
+
head?: never;
|
|
55209
|
+
patch?: never;
|
|
55210
|
+
trace?: never;
|
|
55211
|
+
};
|
|
55212
|
+
"/v1/skills/{id}": {
|
|
55213
|
+
parameters: {
|
|
55214
|
+
query?: never;
|
|
55215
|
+
header?: never;
|
|
55216
|
+
path?: never;
|
|
55217
|
+
cookie?: never;
|
|
55218
|
+
};
|
|
55219
|
+
/** Get a skill */
|
|
55220
|
+
get: {
|
|
55221
|
+
parameters: {
|
|
55222
|
+
query?: never;
|
|
55223
|
+
header?: never;
|
|
55224
|
+
path: {
|
|
55225
|
+
id: string;
|
|
55226
|
+
};
|
|
54174
55227
|
cookie?: never;
|
|
54175
55228
|
};
|
|
54176
55229
|
requestBody?: never;
|
|
@@ -57531,6 +58584,7 @@ interface paths {
|
|
|
57531
58584
|
enableWorkspaceModel: boolean;
|
|
57532
58585
|
externalTelemetryAllowed?: boolean;
|
|
57533
58586
|
modelCreditPromoMultiplier?: number;
|
|
58587
|
+
signalsConfigured?: boolean;
|
|
57534
58588
|
simulationsAvailable?: boolean;
|
|
57535
58589
|
workspaceModelEligible: boolean;
|
|
57536
58590
|
workspaceModelReady: boolean;
|
|
@@ -58994,6 +60048,7 @@ interface components {
|
|
|
58994
60048
|
tree: components["schemas"]["TraceTree"];
|
|
58995
60049
|
}[];
|
|
58996
60050
|
producedBy?: components["schemas"]["TraceProducedBy"] & unknown;
|
|
60051
|
+
signals?: components["schemas"]["SignalsBlock"] & unknown;
|
|
58997
60052
|
totalExecutions: number;
|
|
58998
60053
|
truncation?: {
|
|
58999
60054
|
limit: number;
|
|
@@ -61377,7 +62432,7 @@ interface components {
|
|
|
61377
62432
|
[key: string]: unknown;
|
|
61378
62433
|
};
|
|
61379
62434
|
/** @enum {string} */
|
|
61380
|
-
name: "runtype.execution.failed" | "runtype.approval.requested" | "runtype.schedule.run_failed" | "runtype.eval.run_completed" | "runtype.conversation.human_takeover" | "runtype.skill.proposal_created" | "runtype.task.input_required" | "runtype.task.completed" | "runtype.task.failed" | "runtype.task.cancelled";
|
|
62435
|
+
name: "runtype.execution.failed" | "runtype.approval.requested" | "runtype.schedule.run_failed" | "runtype.eval.run_completed" | "runtype.conversation.human_takeover" | "runtype.skill.proposal_created" | "runtype.task.input_required" | "runtype.task.completed" | "runtype.task.failed" | "runtype.task.cancelled" | "runtype.signal.fired" | "runtype.signal.cluster_appeared";
|
|
61381
62436
|
/** @description JSON Schema for the occurrence `data` */
|
|
61382
62437
|
payloadSchema: {
|
|
61383
62438
|
[key: string]: unknown;
|
|
@@ -61402,7 +62457,7 @@ interface components {
|
|
|
61402
62457
|
/** @description Occurrence id (typeid, `pev_` prefix) */
|
|
61403
62458
|
eventId: string;
|
|
61404
62459
|
/** @enum {string} */
|
|
61405
|
-
name: "runtype.execution.failed" | "runtype.approval.requested" | "runtype.schedule.run_failed" | "runtype.eval.run_completed" | "runtype.conversation.human_takeover" | "runtype.skill.proposal_created" | "runtype.task.input_required" | "runtype.task.completed" | "runtype.task.failed" | "runtype.task.cancelled";
|
|
62460
|
+
name: "runtype.execution.failed" | "runtype.approval.requested" | "runtype.schedule.run_failed" | "runtype.eval.run_completed" | "runtype.conversation.human_takeover" | "runtype.skill.proposal_created" | "runtype.task.input_required" | "runtype.task.completed" | "runtype.task.failed" | "runtype.task.cancelled" | "runtype.signal.fired" | "runtype.signal.cluster_appeared";
|
|
61406
62461
|
/** @description When it happened (ISO 8601) */
|
|
61407
62462
|
timestamp: string;
|
|
61408
62463
|
};
|
|
@@ -61901,6 +62956,63 @@ interface components {
|
|
|
61901
62956
|
rootExecutionId: string | null;
|
|
61902
62957
|
/** @description Cost the producer reported. */
|
|
61903
62958
|
selfReportedCost: string | null;
|
|
62959
|
+
/** @description Trace signals. A list row carries status and fired only; GET /v1/runs/{id} adds results. Omitted entirely until the organization binds a signal set. */
|
|
62960
|
+
signals?: {
|
|
62961
|
+
fired: string[];
|
|
62962
|
+
results?: {
|
|
62963
|
+
answers: {
|
|
62964
|
+
[key: string]: {
|
|
62965
|
+
/** @enum {string} */
|
|
62966
|
+
band: "act" | "review" | "low";
|
|
62967
|
+
confidence?: number;
|
|
62968
|
+
distribution?: {
|
|
62969
|
+
[key: string]: number;
|
|
62970
|
+
};
|
|
62971
|
+
fired?: boolean;
|
|
62972
|
+
pNull?: number;
|
|
62973
|
+
refused?: boolean;
|
|
62974
|
+
source?: {
|
|
62975
|
+
end: number;
|
|
62976
|
+
field: string;
|
|
62977
|
+
spanId: string;
|
|
62978
|
+
start: number;
|
|
62979
|
+
};
|
|
62980
|
+
sources?: {
|
|
62981
|
+
end: number;
|
|
62982
|
+
field: string;
|
|
62983
|
+
spanId: string;
|
|
62984
|
+
start: number;
|
|
62985
|
+
}[];
|
|
62986
|
+
value?: unknown;
|
|
62987
|
+
};
|
|
62988
|
+
};
|
|
62989
|
+
bindingId: string;
|
|
62990
|
+
computedAt: string;
|
|
62991
|
+
error?: string;
|
|
62992
|
+
fired: string[];
|
|
62993
|
+
/** @enum {string} */
|
|
62994
|
+
sample: "uniform" | "filtered";
|
|
62995
|
+
signalSet: {
|
|
62996
|
+
id: string;
|
|
62997
|
+
name: string;
|
|
62998
|
+
version: number;
|
|
62999
|
+
};
|
|
63000
|
+
/** @enum {string} */
|
|
63001
|
+
status: "complete" | "failed" | "skipped_budget" | "skipped_policy" | "skipped_billing";
|
|
63002
|
+
target: {
|
|
63003
|
+
executionId: string;
|
|
63004
|
+
spanId: string | null;
|
|
63005
|
+
turnIndex: number | null;
|
|
63006
|
+
};
|
|
63007
|
+
/** @enum {string} */
|
|
63008
|
+
unit: "turn" | "conversation" | "run";
|
|
63009
|
+
values: {
|
|
63010
|
+
[key: string]: unknown;
|
|
63011
|
+
};
|
|
63012
|
+
}[];
|
|
63013
|
+
/** @enum {string} */
|
|
63014
|
+
status: "complete" | "pending" | "partial" | "none" | "unavailable";
|
|
63015
|
+
};
|
|
61904
63016
|
/**
|
|
61905
63017
|
* @description hosted, or ingested for an OTLP export. An ingested run is never reported running.
|
|
61906
63018
|
* @enum {string}
|
|
@@ -62423,6 +63535,171 @@ interface components {
|
|
|
62423
63535
|
severity: "warning";
|
|
62424
63536
|
suggestedFix: string;
|
|
62425
63537
|
};
|
|
63538
|
+
SignalAnswer: {
|
|
63539
|
+
/** @enum {string} */
|
|
63540
|
+
band: "act" | "review" | "low";
|
|
63541
|
+
confidence?: number;
|
|
63542
|
+
distribution?: {
|
|
63543
|
+
[key: string]: number;
|
|
63544
|
+
};
|
|
63545
|
+
fired?: boolean;
|
|
63546
|
+
pNull?: number;
|
|
63547
|
+
refused?: boolean;
|
|
63548
|
+
source?: components["schemas"]["SignalSource"];
|
|
63549
|
+
sources?: components["schemas"]["SignalSource"][];
|
|
63550
|
+
value?: unknown;
|
|
63551
|
+
};
|
|
63552
|
+
SignalBinding: {
|
|
63553
|
+
/** @description Monthly cap. 0 on an implicit binding, which has no cap and is billed to usage. */
|
|
63554
|
+
budget: {
|
|
63555
|
+
monthlyUsd: number;
|
|
63556
|
+
};
|
|
63557
|
+
coverage: {
|
|
63558
|
+
[key: string]: unknown;
|
|
63559
|
+
};
|
|
63560
|
+
createdAt: string;
|
|
63561
|
+
disabledAt: string | null;
|
|
63562
|
+
enabled: boolean;
|
|
63563
|
+
externalProcessingAcknowledgedAt: string | null;
|
|
63564
|
+
filter: {
|
|
63565
|
+
[key: string]: unknown;
|
|
63566
|
+
};
|
|
63567
|
+
id: string;
|
|
63568
|
+
/** @description Created by the platform: the failure detector on a uniform 5% sample, billed to usage. Unbinding it records an opt-out (enabled false) and it is not recreated; an explicit failure_detector binding replaces it. */
|
|
63569
|
+
implicit: boolean;
|
|
63570
|
+
signalSetId: string;
|
|
63571
|
+
signalSetName?: string;
|
|
63572
|
+
signalSetVersionId: string;
|
|
63573
|
+
target: {
|
|
63574
|
+
id: string;
|
|
63575
|
+
/** @enum {string} */
|
|
63576
|
+
kind: "agent";
|
|
63577
|
+
};
|
|
63578
|
+
uniformShare: number;
|
|
63579
|
+
versionNumber?: number;
|
|
63580
|
+
};
|
|
63581
|
+
SignalError: components["schemas"]["Error"] & {
|
|
63582
|
+
/** @description Stable code, e.g. SIGNAL_SET_INVALID or SIGNALS_EXTERNAL_PROCESSING_UNACKNOWLEDGED. */
|
|
63583
|
+
code?: string;
|
|
63584
|
+
details?: {
|
|
63585
|
+
[key: string]: unknown;
|
|
63586
|
+
};
|
|
63587
|
+
};
|
|
63588
|
+
SignalPreviewReport: {
|
|
63589
|
+
/** @description What this preview spent. */
|
|
63590
|
+
costUsd: number;
|
|
63591
|
+
evaluated: number;
|
|
63592
|
+
failed: number;
|
|
63593
|
+
/** @description Agreement with human labels; null until labels exist. */
|
|
63594
|
+
labelAgreement: null;
|
|
63595
|
+
monthlyTraceVolume: number;
|
|
63596
|
+
notes: string[];
|
|
63597
|
+
/** @description Mean unit cost times the agent’s last-30-day trace volume. */
|
|
63598
|
+
projectedMonthlyUsd: number;
|
|
63599
|
+
samples: {
|
|
63600
|
+
[key: string]: unknown;
|
|
63601
|
+
}[];
|
|
63602
|
+
signals: {
|
|
63603
|
+
evaluated: number;
|
|
63604
|
+
fireRate: number;
|
|
63605
|
+
fired: number;
|
|
63606
|
+
key: string;
|
|
63607
|
+
meanConfidence: number | null;
|
|
63608
|
+
reviewBand: number;
|
|
63609
|
+
type: string;
|
|
63610
|
+
valueCounts: {
|
|
63611
|
+
[key: string]: number;
|
|
63612
|
+
};
|
|
63613
|
+
}[];
|
|
63614
|
+
tracesRead: number;
|
|
63615
|
+
};
|
|
63616
|
+
SignalResult: {
|
|
63617
|
+
answers: {
|
|
63618
|
+
[key: string]: components["schemas"]["SignalAnswer"];
|
|
63619
|
+
};
|
|
63620
|
+
bindingId: string;
|
|
63621
|
+
computedAt: string;
|
|
63622
|
+
error?: string;
|
|
63623
|
+
fired: string[];
|
|
63624
|
+
/** @enum {string} */
|
|
63625
|
+
sample: "uniform" | "filtered";
|
|
63626
|
+
signalSet: {
|
|
63627
|
+
id: string;
|
|
63628
|
+
name: string;
|
|
63629
|
+
version: number;
|
|
63630
|
+
};
|
|
63631
|
+
/** @enum {string} */
|
|
63632
|
+
status: "complete" | "failed" | "skipped_budget" | "skipped_policy" | "skipped_billing";
|
|
63633
|
+
target: {
|
|
63634
|
+
executionId: string;
|
|
63635
|
+
spanId: string | null;
|
|
63636
|
+
turnIndex: number | null;
|
|
63637
|
+
};
|
|
63638
|
+
/** @enum {string} */
|
|
63639
|
+
unit: "turn" | "conversation" | "run";
|
|
63640
|
+
values: {
|
|
63641
|
+
[key: string]: unknown;
|
|
63642
|
+
};
|
|
63643
|
+
};
|
|
63644
|
+
SignalSet: {
|
|
63645
|
+
/** @description A platform-seeded set that runs on every agent with no model call; read-only on every surface. */
|
|
63646
|
+
builtin: boolean;
|
|
63647
|
+
createdAt: string;
|
|
63648
|
+
createdByUserId: string | null;
|
|
63649
|
+
currentVersionId: string | null;
|
|
63650
|
+
description: string | null;
|
|
63651
|
+
id: string;
|
|
63652
|
+
lastModifiedSource: string | null;
|
|
63653
|
+
name: string;
|
|
63654
|
+
organizationId: string;
|
|
63655
|
+
/** @description The preset this set was created from, if any. */
|
|
63656
|
+
preset: string | null;
|
|
63657
|
+
updatedAt: string;
|
|
63658
|
+
};
|
|
63659
|
+
SignalSetVersion: {
|
|
63660
|
+
createdAt: string;
|
|
63661
|
+
createdByUserId: string | null;
|
|
63662
|
+
/** @description A signal set version: `{ unit: "turn", context: { priorTurns }, signals: { <key>: { type, instructions, options?, notable?, ... } }, bands: { act, review } }`. bool and choice signals go to the decision model; text, number, date, duration, list and estimate go to the extraction model. */
|
|
63663
|
+
definition: {
|
|
63664
|
+
[key: string]: unknown;
|
|
63665
|
+
};
|
|
63666
|
+
id: string;
|
|
63667
|
+
signalSetId: string;
|
|
63668
|
+
unit: string;
|
|
63669
|
+
versionNumber: number;
|
|
63670
|
+
};
|
|
63671
|
+
SignalSource: {
|
|
63672
|
+
end: number;
|
|
63673
|
+
field: string;
|
|
63674
|
+
spanId: string;
|
|
63675
|
+
start: number;
|
|
63676
|
+
};
|
|
63677
|
+
SignalStatRow: {
|
|
63678
|
+
agentId: string;
|
|
63679
|
+
agentVersionId: string | null;
|
|
63680
|
+
bindingId: string;
|
|
63681
|
+
costMicros: number;
|
|
63682
|
+
evaluated: number;
|
|
63683
|
+
failed: number;
|
|
63684
|
+
fired: number;
|
|
63685
|
+
reviewBand: number;
|
|
63686
|
+
/** @enum {string} */
|
|
63687
|
+
sample: "uniform" | "filtered";
|
|
63688
|
+
/** @description `*` is the unit-level row: evaluated, skipped, failed and cost. */
|
|
63689
|
+
signalKey: string;
|
|
63690
|
+
signalSetId: string;
|
|
63691
|
+
signalSetVersionId: string;
|
|
63692
|
+
skipped: number;
|
|
63693
|
+
valueBucket: string;
|
|
63694
|
+
versionNumber: number;
|
|
63695
|
+
};
|
|
63696
|
+
/** @description Typed signals read from this trace by the signal sets bound to its agent. Omitted entirely until the organization binds a signal set; once it has, `status` is `none` on a trace no binding matched. */
|
|
63697
|
+
SignalsBlock: {
|
|
63698
|
+
fired: string[];
|
|
63699
|
+
results: components["schemas"]["SignalResult"][];
|
|
63700
|
+
/** @enum {string} */
|
|
63701
|
+
status: "complete" | "pending" | "partial" | "none" | "unavailable";
|
|
63702
|
+
};
|
|
62426
63703
|
SkillEnsureConflict: {
|
|
62427
63704
|
/** @enum {string} */
|
|
62428
63705
|
code: "external_modification" | "remote_changed";
|
|
@@ -62758,6 +64035,11 @@ interface components {
|
|
|
62758
64035
|
/** @enum {string} */
|
|
62759
64036
|
nodeType: "root" | "iteration" | "model" | "tool" | "step" | "system";
|
|
62760
64037
|
recorded?: boolean;
|
|
64038
|
+
/** @description Signal results that target this span. Omitted until the organization binds a signal set. */
|
|
64039
|
+
signals?: {
|
|
64040
|
+
fired: string[];
|
|
64041
|
+
results: components["schemas"]["SignalResult"][];
|
|
64042
|
+
};
|
|
62761
64043
|
startEntry?: components["schemas"]["TraceLogEntry"];
|
|
62762
64044
|
startOffsetMs?: number | null;
|
|
62763
64045
|
startedAt?: string | null;
|
|
@@ -62804,6 +64086,7 @@ interface components {
|
|
|
62804
64086
|
root: components["schemas"]["TraceNode"] | null;
|
|
62805
64087
|
/** @description The run itself failed, as opposed to a span inside a run that completed. */
|
|
62806
64088
|
runFailed?: boolean;
|
|
64089
|
+
signals?: components["schemas"]["SignalsBlock"];
|
|
62807
64090
|
/** @enum {string} */
|
|
62808
64091
|
source?: "logs" | "records" | "logs+records";
|
|
62809
64092
|
startedAt?: string | null;
|
|
@@ -66811,6 +68094,8 @@ interface ApiKeyRequest {
|
|
|
66811
68094
|
environment: ApiKeyRequestEnvironment;
|
|
66812
68095
|
requestedTtlSeconds: number;
|
|
66813
68096
|
preferredDelivery: ApiKeyRequestDelivery;
|
|
68097
|
+
/** The verifier alone redeems this request; no Runtype login is required. */
|
|
68098
|
+
allowUnauthenticatedClaim: boolean;
|
|
66814
68099
|
requester: ApiKeyRequestRequester;
|
|
66815
68100
|
grantedPermissions: string[] | null;
|
|
66816
68101
|
grantedExpiresAt: string | null;
|
|
@@ -66842,6 +68127,11 @@ interface CreateApiKeyRequestInput {
|
|
|
66842
68127
|
codeChallengeMethod?: 'S256';
|
|
66843
68128
|
/** Dashboard path to return the approver to after they decide. */
|
|
66844
68129
|
returnUrl?: string;
|
|
68130
|
+
/**
|
|
68131
|
+
* Let anyone holding the verifier redeem without a Runtype login (`claimWithVerifier`).
|
|
68132
|
+
* Scopes are capped at the requester's own and the lifetime at 7 days.
|
|
68133
|
+
*/
|
|
68134
|
+
allowUnauthenticatedClaim?: boolean;
|
|
66845
68135
|
}
|
|
66846
68136
|
interface CreateApiKeyRequestResponse {
|
|
66847
68137
|
request: ApiKeyRequest;
|
|
@@ -66858,6 +68148,10 @@ interface ClaimApiKeyRequestInput {
|
|
|
66858
68148
|
/** Key to store under for `secret` delivery. Defaults to `RUNTYPE_API_KEY_<NAME>`. */
|
|
66859
68149
|
secretKey?: string;
|
|
66860
68150
|
}
|
|
68151
|
+
/** Body of `apiKeys.requests.claimWithVerifier`: inline delivery only. */
|
|
68152
|
+
interface UnauthenticatedClaimApiKeyRequestInput {
|
|
68153
|
+
codeVerifier: string;
|
|
68154
|
+
}
|
|
66861
68155
|
/** Exactly one of `apiKey` / `secretRef` is present, per `delivery`. */
|
|
66862
68156
|
interface ClaimApiKeyRequestResponse {
|
|
66863
68157
|
request: ApiKeyRequest;
|
|
@@ -67856,6 +69150,11 @@ export declare class ApiKeyRequestsEndpoint {
|
|
|
67856
69150
|
* only a `{{secret:KEY}}` reference in `secretRef`. Claiming twice is a 409.
|
|
67857
69151
|
*/
|
|
67858
69152
|
claim(requestId: string, data: ClaimApiKeyRequestInput): Promise<ClaimApiKeyRequestResponse>;
|
|
69153
|
+
/**
|
|
69154
|
+
* Redeem a request filed with `allowUnauthenticatedClaim: true` using only its verifier.
|
|
69155
|
+
* Works on a client with no API key; an unknown id or wrong verifier is a uniform 404.
|
|
69156
|
+
*/
|
|
69157
|
+
claimWithVerifier(requestId: string, data: UnauthenticatedClaimApiKeyRequestInput): Promise<ClaimApiKeyRequestResponse>;
|
|
67859
69158
|
/** Withdraw a pending request you filed. Cannot be undone. */
|
|
67860
69159
|
cancel(requestId: string): Promise<{
|
|
67861
69160
|
request: ApiKeyRequest;
|
|
@@ -73835,6 +75134,15 @@ interface RunListRow {
|
|
|
73835
75134
|
pendingApproval?: unknown;
|
|
73836
75135
|
budgetExhausted?: boolean | null;
|
|
73837
75136
|
inputMessages?: unknown;
|
|
75137
|
+
/**
|
|
75138
|
+
* Trace signals. A list row carries `status` and `fired`; `runs.get` adds
|
|
75139
|
+
* `results`. Omitted until the organization binds a signal set.
|
|
75140
|
+
*/
|
|
75141
|
+
signals?: {
|
|
75142
|
+
status: 'complete' | 'pending' | 'partial' | 'none' | 'unavailable';
|
|
75143
|
+
fired: string[];
|
|
75144
|
+
results?: Array<Record<string, unknown>>;
|
|
75145
|
+
};
|
|
73838
75146
|
}
|
|
73839
75147
|
/** Filters `GET /v1/runs` accepts. Every one lands on an indexed or key column. */
|
|
73840
75148
|
interface RunListParams {
|
|
@@ -73856,6 +75164,8 @@ interface RunListParams {
|
|
|
73856
75164
|
*/
|
|
73857
75165
|
includeChildren?: 'true' | 'false';
|
|
73858
75166
|
source?: 'hosted' | 'ingested';
|
|
75167
|
+
/** Runs where a signal fired: `key`, or `key:value` for one choice value. */
|
|
75168
|
+
signal?: string;
|
|
73859
75169
|
/**
|
|
73860
75170
|
* `running`, `completed` or `failed` only. `queued`, `awaiting` and
|
|
73861
75171
|
* `cancelled` exist only in the live overlay and answer 400.
|
|
@@ -74158,6 +75468,235 @@ export declare class QuestionSetsNamespace {
|
|
|
74158
75468
|
pull(slug: string): Promise<QuestionSetPullResult>;
|
|
74159
75469
|
}
|
|
74160
75470
|
//#endregion
|
|
75471
|
+
//#region src/signals-namespace.d.ts
|
|
75472
|
+
/** A signal set version's definition, as the API validates it. */
|
|
75473
|
+
interface SignalSetDefinitionInput {
|
|
75474
|
+
unit?: 'turn';
|
|
75475
|
+
context?: {
|
|
75476
|
+
priorTurns?: number;
|
|
75477
|
+
};
|
|
75478
|
+
signals: Record<string, {
|
|
75479
|
+
type: string;
|
|
75480
|
+
instructions?: string;
|
|
75481
|
+
[key: string]: unknown;
|
|
75482
|
+
}>;
|
|
75483
|
+
bands?: {
|
|
75484
|
+
act?: number;
|
|
75485
|
+
review?: number;
|
|
75486
|
+
};
|
|
75487
|
+
/** Extraction model id for `text` and `number` signals; defaults to the platform extraction model. */
|
|
75488
|
+
extractionModel?: string;
|
|
75489
|
+
/** Decision model id for boolean and choice signals; defaults to the platform decision model. */
|
|
75490
|
+
decisionModel?: string;
|
|
75491
|
+
}
|
|
75492
|
+
interface SignalSet {
|
|
75493
|
+
id: string;
|
|
75494
|
+
organizationId: string;
|
|
75495
|
+
createdByUserId: string | null;
|
|
75496
|
+
name: string;
|
|
75497
|
+
description: string | null;
|
|
75498
|
+
preset: string | null;
|
|
75499
|
+
/** Platform-seeded and read-only: writes to it return `SIGNAL_SET_BUILTIN`. */
|
|
75500
|
+
builtin: boolean;
|
|
75501
|
+
currentVersionId: string | null;
|
|
75502
|
+
lastModifiedSource: string | null;
|
|
75503
|
+
createdAt: string;
|
|
75504
|
+
updatedAt: string;
|
|
75505
|
+
}
|
|
75506
|
+
interface SignalSetVersion {
|
|
75507
|
+
id: string;
|
|
75508
|
+
signalSetId: string;
|
|
75509
|
+
versionNumber: number;
|
|
75510
|
+
unit: string;
|
|
75511
|
+
definition: Record<string, unknown>;
|
|
75512
|
+
createdByUserId: string | null;
|
|
75513
|
+
createdAt: string;
|
|
75514
|
+
}
|
|
75515
|
+
interface SignalBinding {
|
|
75516
|
+
id: string;
|
|
75517
|
+
signalSetId: string;
|
|
75518
|
+
signalSetName?: string;
|
|
75519
|
+
signalSetVersionId: string;
|
|
75520
|
+
versionNumber?: number;
|
|
75521
|
+
target: {
|
|
75522
|
+
kind: 'agent';
|
|
75523
|
+
id: string;
|
|
75524
|
+
};
|
|
75525
|
+
filter: Record<string, unknown>;
|
|
75526
|
+
coverage: Record<string, unknown>;
|
|
75527
|
+
uniformShare: number;
|
|
75528
|
+
budget: {
|
|
75529
|
+
monthlyUsd: number;
|
|
75530
|
+
};
|
|
75531
|
+
enabled: boolean;
|
|
75532
|
+
/** Platform-created failure-detector binding (5% uniform sample, billed to usage); unbinding it is a lasting opt-out. */
|
|
75533
|
+
implicit: boolean;
|
|
75534
|
+
disabledAt: string | null;
|
|
75535
|
+
externalProcessingAcknowledgedAt: string | null;
|
|
75536
|
+
createdAt: string;
|
|
75537
|
+
}
|
|
75538
|
+
interface SignalSetPreset {
|
|
75539
|
+
id: string;
|
|
75540
|
+
name: string;
|
|
75541
|
+
description: string;
|
|
75542
|
+
definition: Record<string, unknown>;
|
|
75543
|
+
}
|
|
75544
|
+
interface SignalStatRow {
|
|
75545
|
+
bindingId: string;
|
|
75546
|
+
agentId: string;
|
|
75547
|
+
agentVersionId: string | null;
|
|
75548
|
+
signalSetId: string;
|
|
75549
|
+
signalSetVersionId: string;
|
|
75550
|
+
versionNumber: number;
|
|
75551
|
+
/** `*` is the unit-level row: evaluated, skipped, failed and cost. */
|
|
75552
|
+
signalKey: string;
|
|
75553
|
+
valueBucket: string;
|
|
75554
|
+
sample: 'uniform' | 'filtered';
|
|
75555
|
+
evaluated: number;
|
|
75556
|
+
fired: number;
|
|
75557
|
+
reviewBand: number;
|
|
75558
|
+
skipped: number;
|
|
75559
|
+
failed: number;
|
|
75560
|
+
costMicros: number;
|
|
75561
|
+
}
|
|
75562
|
+
interface SignalPreviewReport {
|
|
75563
|
+
tracesRead: number;
|
|
75564
|
+
evaluated: number;
|
|
75565
|
+
failed: number;
|
|
75566
|
+
signals: Array<{
|
|
75567
|
+
key: string;
|
|
75568
|
+
type: string;
|
|
75569
|
+
evaluated: number;
|
|
75570
|
+
fired: number;
|
|
75571
|
+
fireRate: number;
|
|
75572
|
+
reviewBand: number;
|
|
75573
|
+
meanConfidence: number | null;
|
|
75574
|
+
valueCounts: Record<string, number>;
|
|
75575
|
+
}>;
|
|
75576
|
+
samples: Array<Record<string, unknown>>;
|
|
75577
|
+
costUsd: number;
|
|
75578
|
+
projectedMonthlyUsd: number;
|
|
75579
|
+
monthlyTraceVolume: number;
|
|
75580
|
+
labelAgreement: number | null;
|
|
75581
|
+
notes: string[];
|
|
75582
|
+
}
|
|
75583
|
+
interface CreateSignalSetInput {
|
|
75584
|
+
name: string;
|
|
75585
|
+
description?: string;
|
|
75586
|
+
/** Start from a preset such as `conversation_health`; a definition, when also given, replaces it. */
|
|
75587
|
+
preset?: string;
|
|
75588
|
+
definition?: SignalSetDefinitionInput;
|
|
75589
|
+
}
|
|
75590
|
+
interface BindSignalSetInput {
|
|
75591
|
+
signalSetId: string;
|
|
75592
|
+
/** Defaults to the set's current version. */
|
|
75593
|
+
versionNumber?: number;
|
|
75594
|
+
target: {
|
|
75595
|
+
kind: 'agent';
|
|
75596
|
+
id: string;
|
|
75597
|
+
};
|
|
75598
|
+
filter?: {
|
|
75599
|
+
status?: string[];
|
|
75600
|
+
minTurns?: number;
|
|
75601
|
+
};
|
|
75602
|
+
coverage?: {
|
|
75603
|
+
mode: 'all';
|
|
75604
|
+
} | {
|
|
75605
|
+
mode: 'sample';
|
|
75606
|
+
rate: number;
|
|
75607
|
+
};
|
|
75608
|
+
uniformShare?: number;
|
|
75609
|
+
budget?: {
|
|
75610
|
+
monthlyUsd: number;
|
|
75611
|
+
};
|
|
75612
|
+
/** Only after a human confirms; a PHI organization on a model outside Workers AI is refused until this is true. */
|
|
75613
|
+
acknowledgeExternalProcessing?: boolean;
|
|
75614
|
+
}
|
|
75615
|
+
interface SignalStatsParams {
|
|
75616
|
+
agentId?: string;
|
|
75617
|
+
bindingId?: string;
|
|
75618
|
+
signalSetVersionId?: string;
|
|
75619
|
+
sample?: 'uniform' | 'filtered';
|
|
75620
|
+
from?: string;
|
|
75621
|
+
to?: string;
|
|
75622
|
+
}
|
|
75623
|
+
/**
|
|
75624
|
+
* Trace signals: typed fields read out of every bound agent turn. Configure
|
|
75625
|
+
* sets and bindings here; results arrive as the `signals` block on runs and traces.
|
|
75626
|
+
*/
|
|
75627
|
+
export declare class SignalsNamespace {
|
|
75628
|
+
private getClient;
|
|
75629
|
+
constructor(getClient: () => Pick<ApiClient, 'get' | 'post' | 'patch' | 'delete'>);
|
|
75630
|
+
/** The organization's signal sets, newest first. */
|
|
75631
|
+
listSets(): Promise<{
|
|
75632
|
+
data: Array<SignalSet & {
|
|
75633
|
+
latestVersionNumber: number;
|
|
75634
|
+
}>;
|
|
75635
|
+
}>;
|
|
75636
|
+
/** The named starting points `createSet` accepts as `preset`. */
|
|
75637
|
+
listPresets(): Promise<{
|
|
75638
|
+
data: SignalSetPreset[];
|
|
75639
|
+
}>;
|
|
75640
|
+
/** A set with every immutable version and its current one. */
|
|
75641
|
+
getSet(id: string): Promise<{
|
|
75642
|
+
signalSet: SignalSet;
|
|
75643
|
+
versions: SignalSetVersion[];
|
|
75644
|
+
currentVersion: SignalSetVersion | null;
|
|
75645
|
+
}>;
|
|
75646
|
+
/**
|
|
75647
|
+
* Create a set from a preset or a definition; version 1 is current at once.
|
|
75648
|
+
*
|
|
75649
|
+
* @example
|
|
75650
|
+
* ```typescript
|
|
75651
|
+
* const { signalSet } = await Runtype.signals.createSet({ name: 'Health', preset: 'conversation_health' })
|
|
75652
|
+
* ```
|
|
75653
|
+
*/
|
|
75654
|
+
createSet(input: CreateSignalSetInput): Promise<{
|
|
75655
|
+
signalSet: SignalSet;
|
|
75656
|
+
version: SignalSetVersion;
|
|
75657
|
+
}>;
|
|
75658
|
+
/** Rename or re-describe a set; signals change only through `publishVersion`. */
|
|
75659
|
+
updateSet(id: string, input: {
|
|
75660
|
+
name?: string;
|
|
75661
|
+
description?: string | null;
|
|
75662
|
+
}): Promise<{
|
|
75663
|
+
signalSet: SignalSet;
|
|
75664
|
+
}>;
|
|
75665
|
+
/** Publish a new immutable version and make it current. Existing bindings keep theirs. */
|
|
75666
|
+
publishVersion(id: string, definition: SignalSetDefinitionInput): Promise<{
|
|
75667
|
+
signalSet: SignalSet;
|
|
75668
|
+
version: SignalSetVersion;
|
|
75669
|
+
}>;
|
|
75670
|
+
/** Dry-run a version over an agent's recent completed traces. Writes no results; model calls are billed. */
|
|
75671
|
+
preview(id: string, versionNumber: number, input: {
|
|
75672
|
+
agentId: string;
|
|
75673
|
+
limit?: number;
|
|
75674
|
+
acknowledgeExternalProcessing?: boolean;
|
|
75675
|
+
}): Promise<SignalPreviewReport>;
|
|
75676
|
+
listBindings(params?: {
|
|
75677
|
+
agentId?: string;
|
|
75678
|
+
signalSetId?: string;
|
|
75679
|
+
includeDisabled?: boolean;
|
|
75680
|
+
}): Promise<{
|
|
75681
|
+
data: SignalBinding[];
|
|
75682
|
+
}>;
|
|
75683
|
+
/** Bind a set version to an agent. Refusals carry a stable `code` such as `SIGNALS_LOGGING_OFF`. */
|
|
75684
|
+
bind(input: BindSignalSetInput): Promise<{
|
|
75685
|
+
binding: SignalBinding;
|
|
75686
|
+
}>;
|
|
75687
|
+
unbind(bindingId: string): Promise<{
|
|
75688
|
+
binding: SignalBinding;
|
|
75689
|
+
}>;
|
|
75690
|
+
/** Hourly rollups summed over the window. Read `sample: 'uniform'` for live-traffic rates. */
|
|
75691
|
+
stats(params?: SignalStatsParams): Promise<{
|
|
75692
|
+
data: SignalStatRow[];
|
|
75693
|
+
window: {
|
|
75694
|
+
from: string;
|
|
75695
|
+
to: string;
|
|
75696
|
+
};
|
|
75697
|
+
}>;
|
|
75698
|
+
}
|
|
75699
|
+
//#endregion
|
|
74161
75700
|
//#region src/products-ensure.d.ts
|
|
74162
75701
|
/** Canonical normalized form of a product definition (name + canvas excluded). */
|
|
74163
75702
|
export declare function normalizeProductDefinition(definition: ProductContentInput): {
|
|
@@ -75083,6 +76622,17 @@ export declare class Runtype {
|
|
|
75083
76622
|
* ```
|
|
75084
76623
|
*/
|
|
75085
76624
|
static get questionSets(): QuestionSetsNamespace;
|
|
76625
|
+
/**
|
|
76626
|
+
* Signals namespace - trace signal sets, bindings, preview and stats
|
|
76627
|
+
*
|
|
76628
|
+
* @example
|
|
76629
|
+
* ```typescript
|
|
76630
|
+
* const { signalSet } = await Runtype.signals.createSet({ name: 'Health', preset: 'conversation_health' })
|
|
76631
|
+
* await Runtype.signals.preview(signalSet.id, 1, { agentId })
|
|
76632
|
+
* await Runtype.signals.bind({ signalSetId: signalSet.id, target: { kind: 'agent', id: agentId } })
|
|
76633
|
+
* ```
|
|
76634
|
+
*/
|
|
76635
|
+
static get signals(): SignalsNamespace;
|
|
75086
76636
|
/**
|
|
75087
76637
|
* Products namespace - Product config-as-code (define / ensure / pull)
|
|
75088
76638
|
*
|
|
@@ -75373,8 +76923,7 @@ interface DecisionModelCatalog {
|
|
|
75373
76923
|
models: DecisionModelCatalogEntry[];
|
|
75374
76924
|
}
|
|
75375
76925
|
//#endregion
|
|
75376
|
-
//#region ../shared/dist/index-
|
|
75377
|
-
//#endregion
|
|
76926
|
+
//#region ../shared/dist/index-BEIJ_QMH.d.ts
|
|
75378
76927
|
//#region src/extraction/models.d.ts
|
|
75379
76928
|
type ExtractionModelProvider = 'cloudflare';
|
|
75380
76929
|
type ExtractionModelRoute = 'cloudflare-workers-ai';
|
|
@@ -75597,7 +77146,11 @@ type SimulationServedByCounts = Partial<Record<SimulationServedBy, number>>;
|
|
|
75597
77146
|
/** One episode's measurements; target and client-agent cost are what a success costs, the rest is overhead. */
|
|
75598
77147
|
interface SimulationEpisodeMetrics {
|
|
75599
77148
|
interruptedMidTurn?: true;
|
|
77149
|
+
/** The episode ended `agent_error` because the client model's provider stalled after its retries; unscored. */
|
|
77150
|
+
clientModelStall?: true;
|
|
75600
77151
|
scoringFailed?: true;
|
|
77152
|
+
/** Scoring failed because no goal-judge attempt returned a valid verdict: the judge, not the episode, gave no verdict. */
|
|
77153
|
+
goalJudgeModelError?: true;
|
|
75601
77154
|
turns: number;
|
|
75602
77155
|
targetCostUsd: number | null;
|
|
75603
77156
|
clientAgentCostUsd: number | null;
|
|
@@ -75747,6 +77300,8 @@ interface SimulationToolCallFacts {
|
|
|
75747
77300
|
designedBy?: 'shape' | 'paginate' | 'error_design' | 'accept_identifier' | 'add_tool';
|
|
75748
77301
|
/** The synthesizer's answer failed its contract twice, so the call was answered with a stub. */
|
|
75749
77302
|
synthesisFailed?: boolean;
|
|
77303
|
+
/** No rung could answer the call under its policy, so it got a stub; a policy stub of a write never sets it. */
|
|
77304
|
+
unanswered?: boolean;
|
|
75750
77305
|
/** Why the synthesizer answered as it did, on a synthesized call. */
|
|
75751
77306
|
rationale?: string;
|
|
75752
77307
|
/** The frozen row of the suggestions filled into this call's designed error; `exchangeId` stays the answer's. */
|
|
@@ -75938,6 +77493,7 @@ export declare class RuntypeClient implements ApiClient {
|
|
|
75938
77493
|
private timeout;
|
|
75939
77494
|
private headers;
|
|
75940
77495
|
sandboxDeployments: SandboxDeploymentsNamespace;
|
|
77496
|
+
signals: SignalsNamespace;
|
|
75941
77497
|
flows: FlowsEndpoint;
|
|
75942
77498
|
prompts: PromptsEndpoint;
|
|
75943
77499
|
records: RecordsEndpoint;
|
|
@@ -77460,5 +79016,5 @@ export declare function getLikelySupportingCandidatePaths(bestCandidatePath: str
|
|
|
77460
79016
|
export declare function getDefaultPlanPath(taskName: string): string;
|
|
77461
79017
|
export declare function sanitizeTaskSlug(taskName: string): string;
|
|
77462
79018
|
//#endregion
|
|
77463
|
-
export type { A2AHandlerOptions, A2ARunInput, A2ATextMessage, AIGrader, ActivateAgentAliasInput, ActivateAgentPromotionInput, AgentAlias, AgentAliasActivation, AgentAliasArchiveFailure, AgentAliasArchived, AgentAliasList, AgentAliasTransport, AgentCapabilityChange, AgentCapabilityDeclaration, AgentDefinition, AgentDefinitionConfig, AgentDeploymentList, AgentDeploymentPromotion, AgentDeploymentReceipt, AgentPromotionManifest, AgentPromotionTransport, AgentPromotionValidation, AgentPullResult, AgentSkillBinding, AgentSkillBindingChange, AgentStreamEvent, ApiKeyRequest, ApiKeyRequestDelivery, ApiKeyRequestEnvironment, ApiKeyRequestHandoff, ApiKeyRequestListParams, ApiKeyRequestRequester, ApiKeyRequestStatus, ApplyGeneratedProposalOptions, ApplyGeneratedProposalResult, ArchiveAgentAliasEverywhereResult, ArchiveAgentAliasInput, AttachRuntimeToolsOptions, BatchClient, BatchListParams, BatchOptions, BatchRequest, BatchResult, BatchScheduleConfig, BatchStatus, BindSkillInput, BuiltInGraderId, CaseExpected, CheckGrader, ClaimApiKeyRequestInput, ClaimApiKeyRequestResponse, ClientConversation, ClientToken, ClientTokenConfig, ClientTokenDefinition, ClientTokenEnvironment, ClientTokenVersionPin, ClientWidgetTheme, CollectionPullResult, CollectionSchemaChange, ConditionalGetResult, ConditionalStepConfig, ContextErrorHandling, ContextFallback, CreateApiKeyRequestInput, CreateApiKeyRequestResponse, CreateClientTokenRequest, CreateClientTokenResponse, CreateEvalSuiteInput, CreatePromptData, DecisionModelCatalog, DecisionModelCatalogEntry, DecomposeCriteriaResult, DefineAgentInput, DefineEvalCaseInput, DefineEvalInput, DefineFlowInput, DefineProductInput, DefineScheduleInput, DefineSkillInput, DefineSurfaceInput, DefineToolInput, DetachedReattach, DetachedReconnectOptions, DispatchClient, DispatchEvent, DispatchOptions, EnsureAgentConverged, EnsureAgentOptions, EnsureAgentPlan, EnsureAgentResult, EnsureClientTokenConverged, EnsureClientTokenOptions, EnsureClientTokenPlan, EnsureClientTokenResult, EnsureCollectionConverged, EnsureCollectionOptions, EnsureCollectionPlan, EnsureCollectionResult, EnsureEvalApplyOptions, EnsureEvalOptions, EnsureEvalPlan, EnsureEvalResult, EnsureFlowConverged, EnsureFlowOptions, EnsureFlowPlan, EnsureFlowResult, EnsureFpoOptions, EnsureFpoResult, EnsureProductConverged, EnsureProductOptions, EnsureProductPlan, EnsureProductResult, EnsureQuestionSetConverged, EnsureQuestionSetOptions, EnsureQuestionSetPlan, EnsureQuestionSetResult, EnsureScheduleConverged, EnsureScheduleOptions, EnsureSchedulePlan, EnsureScheduleResult, EnsureSkillConverged, EnsureSkillOptions, EnsureSkillPlan, EnsureSkillResult, EnsureSurfaceConverged, EnsureSurfaceOptions, EnsureSurfacePlan, EnsureSurfaceResult, EnsureToolConverged, EnsureToolOptions, EnsureToolPlan, EnsureToolResult, ErrorHandlingMode, EvalAgentSelector, EvalAgentTargetResolution, EvalCaseDefinition, EvalCaseInput, EvalCaseProposal, EvalCaseProposalAccepted, EvalCaseProposalListResult, EvalCasesGenerated, EvalClient, EvalDefinition, EvalEndUserIdentity, EvalIdentityDefaults, EvalListParams, EvalMessage, EvalOptions, EvalProposalSource, EvalProposalStatus, EvalProposedCase, EvalPullResult, EvalRecord, EvalRequest, EvalResult, EvalRunCaseScores, EvalRunConfig, EvalRunEvidence, EvalRunScores, EvalStatus, EvalSuiteCase, EvalSuiteCaseInput, EvalSuiteCoverage, EvalSuiteDetail, EvalSuiteLatestRun, EvalSuiteListResult, EvalSuiteRunQueued, EvalSuiteRunResult, EvalSuiteSummary, EvalTarget, EvalTenantIdentity, ExecutionStreamEvent, ExecutionTerminalOutcome, ExportSimulationDesignBriefResponse, ExtractionModelCatalog, ExtractionModelCatalogEntry, FallbackFailEvent, FallbackStartEvent, FallbackSuccessEvent, FallbackTrigger, FallbackTriggerType, FallbacksExhaustedEvent, FallbacksInitiatedEvent, FetchUrlStepConfig, FieldFormat, FlowCompleteEvent, FlowConfig, FlowDefinition, FlowDefinitionStep, FlowErrorEvent, FlowFallback, FlowInlineEvalInput, FlowPausedEvent, FlowPullResult, FlowStartEvent, FlowStreamEvent, FlowSummary, FlowValidationClient, FlowValidationIssue, FlowValidationResult, FpoEntityOutcome, FpoInput, GenerateEmbeddingStepConfig, GenerateEvalCasesInput, GeneratedRuntimeToolGateDecision, GeneratedRuntimeToolGateOptions, GetApiKeyRequestResponse, GetRecordStepConfig, GetSimulationEpisodeResponse, Gradeable, GraderConfig, GraderOutcome, GraderSeverity, HumanVerdict, JudgeAttemptDiagnostic, JudgeDiagnostics, JudgeParseError, ListAgentAliasesOptions, ListAgentDeploymentsOptions, ListConversationsResponse, ListRecordsStepConfig, ListSimulationEpisodesParams, ListSimulationEpisodesResponse, ListSimulationToolExchangesParams, ListSimulationToolExchangesResponse, LoopStepConfig, ManagedDeploymentAccepted, ManagedDeploymentCapability, ManagedDeploymentConfig, ManagedDeploymentCredentialAuthority, ManagedDeploymentDefinition, ManagedDeploymentDesiredSpec, ManagedDeploymentHealth, ManagedDeploymentLanguage, ManagedDeploymentProfileIdentity, ManagedDeploymentResource, ManagedDeploymentRetention, ManagedDeploymentRuntimeProfile, ManagedDeploymentSleepPolicy, ManagedDeploymentUpdateOptions, ManagedDeploymentWriteOptions, ManagedDeploymentWriteRequest, Message, MessageFallback, ModelFallback, ModelOverride, OrganizationAgentAlias, OrganizationAgentAliasList, PersistedGraderOutcome, PrepareAgentPromotionInput, PreviewSimulationVariantRequest, PreviewSimulationVariantResponse, ProductDefinition, ProductPullResult, PromoteAgentInput, PromoteAgentResult, PromptErrorHandling, PromptFallback, PromptListParams, PromptStepConfig, PullFpoResult, QuestionSetDefinition, QuestionSetPullResult, RecordCollectionDefinition, RecordCollectionValidationMode, RecordConfig, RecordFilter, RecordFilterCondition, RecordFilterGroup, RecordFilterOperator, RetrieveRecordStepConfig, RetryFallback, RollbackAgentAliasInput, RunEvalCaseResult, RunEvalInput, RunEvalResult, RunListParams, RunListResponse, RunListRow, AgentSkillBinding$1 as RuntypeAgentSkillBinding, ConditionalStepConfig$1 as RuntypeConditionalStepConfig, RuntypeConfig, FetchUrlStepConfig$1 as RuntypeFetchUrlStepConfig, FlowConfig$1 as RuntypeFlowConfig, GenerateEmbeddingStepConfig$1 as RuntypeGenerateEmbeddingStepConfig, GetRecordStepConfig$1 as RuntypeGetRecordStepConfig, ListRecordsStepConfig$1 as RuntypeListRecordsStepConfig, LoopStepConfig$1 as RuntypeLoopStepConfig, Message$1 as RuntypeMessage, ModelOverride$1 as RuntypeModelOverride, Prompt$1 as RuntypePrompt, PromptStepConfig$1 as RuntypePromptStepConfig, RecordConfig$1 as RuntypeRecordConfig, RetrieveRecordStepConfig$1 as RuntypeRetrieveRecordStepConfig, SearchStepConfig as RuntypeSearchStepConfig, SendEmailStepConfig as RuntypeSendEmailStepConfig, SendEventStepConfig as RuntypeSendEventStepConfig, SendStreamStepConfig as RuntypeSendStreamStepConfig, SetVariableStepConfig as RuntypeSetVariableStepConfig, Skill as RuntypeSkill, SkillBindingWithAgent as RuntypeSkillBindingWithAgent, SkillCapabilities as RuntypeSkillCapabilities, SkillFrontmatter as RuntypeSkillFrontmatter, SkillManifest as RuntypeSkillManifest, SkillProposal as RuntypeSkillProposal, SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, SkillVersion as RuntypeSkillVersion, TransformDataStepConfig as RuntypeTransformDataStepConfig, UpsertFlowConfig as RuntypeUpsertFlowConfig, UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, VectorSearchStepConfig as RuntypeVectorSearchStepConfig, WaitUntilStepConfig as RuntypeWaitUntilStepConfig, ScheduleDefinition, ScheduleDefinitionMessage, ScheduleEnsureTransport, SchedulePullResult, SearchStepConfig$1 as SearchStepConfig, SendEmailStepConfig$1 as SendEmailStepConfig, SendEventStepConfig$1 as SendEventStepConfig, SendStreamStepConfig$1 as SendStreamStepConfig, SetVariableStepConfig$1 as SetVariableStepConfig, SimulationDesignBrief, SimulationEpisode, SimulationEpisodeMetrics, SimulationEpisodeScore, SimulationEpisodeStatus, SimulationEpisodeTranscript, SimulationServedBy, SimulationServedByCounts, SimulationTermination, SimulationToolCallFacts, SimulationToolExchange, SimulationToolProfile, SimulationTranscriptMessage, SimulationTurnLayerFacts, SkillDefinition, SkillListPage, SkillListPagination, SkillListParams, SkillManifestInput, SkillMarkdownInput, SkillOrigin, SkillProposalStatus, SkillPullResult, SkillStatus, SkillTrustLevel, SkillVersionStatus, SkillWithVersion, SkillWriteInput, StepCompleteEvent, StepDeltaEvent, StepFallback, StepFieldMeta, StepStartEvent, StepWaitingLocalEvent, StreamCallbacks, StreamConsumeOptions, StreamEvent, StreamEventOf, SurfaceDefinition, SurfaceDefinitionStatus, SurfaceDefinitionType, SurfacePullResult, ToolDefinition, ToolDefinitionType, ToolPullResult, TransformDataStepConfig$1 as TransformDataStepConfig, UpdateClientTokenRequest, UpdateEvalCaseInput, UpdateEvalSuiteInput, UpdatePromptData, UpdateSimulationTargetRequest, UpdateSimulationVariantRequest, UploadSimulationToolExchangesRequest, UploadedSimulationToolExchange, UpsertFlowConfig$1 as UpsertFlowConfig, UpsertRecordStepConfig$1 as UpsertRecordStepConfig, ValidateAgentPromotionInput, VectorSearchStepConfig$1 as VectorSearchStepConfig, WaitUntilStepConfig$1 as WaitUntilStepConfig, WorkflowCompileDeps, WorkflowCompletionCriteriaConfig, WorkflowConfig, WorkflowConfigFactory, WorkflowHookEntry, WorkflowHookKind, WorkflowHookRef, WorkflowHookSignatures, WorkflowMilestoneConfig, WorkflowPolicyConfig, WorkflowRecoveryConfig, WorkflowSlot };
|
|
79019
|
+
export type { A2AHandlerOptions, A2ARunInput, A2ATextMessage, AIGrader, ActivateAgentAliasInput, ActivateAgentPromotionInput, AgentAlias, AgentAliasActivation, AgentAliasArchiveFailure, AgentAliasArchived, AgentAliasList, AgentAliasTransport, AgentCapabilityChange, AgentCapabilityDeclaration, AgentDefinition, AgentDefinitionConfig, AgentDeploymentList, AgentDeploymentPromotion, AgentDeploymentReceipt, AgentPromotionManifest, AgentPromotionTransport, AgentPromotionValidation, AgentPullResult, AgentSkillBinding, AgentSkillBindingChange, AgentStreamEvent, ApiKeyRequest, ApiKeyRequestDelivery, ApiKeyRequestEnvironment, ApiKeyRequestHandoff, ApiKeyRequestListParams, ApiKeyRequestRequester, ApiKeyRequestStatus, ApplyGeneratedProposalOptions, ApplyGeneratedProposalResult, ArchiveAgentAliasEverywhereResult, ArchiveAgentAliasInput, AttachRuntimeToolsOptions, BatchClient, BatchListParams, BatchOptions, BatchRequest, BatchResult, BatchScheduleConfig, BatchStatus, BindSignalSetInput, BindSkillInput, BuiltInGraderId, CaseExpected, CheckGrader, ClaimApiKeyRequestInput, ClaimApiKeyRequestResponse, ClientConversation, ClientToken, ClientTokenConfig, ClientTokenDefinition, ClientTokenEnvironment, ClientTokenVersionPin, ClientWidgetTheme, CollectionPullResult, CollectionSchemaChange, ConditionalGetResult, ConditionalStepConfig, ContextErrorHandling, ContextFallback, CreateApiKeyRequestInput, CreateApiKeyRequestResponse, CreateClientTokenRequest, CreateClientTokenResponse, CreateEvalSuiteInput, CreatePromptData, CreateSignalSetInput, DecisionModelCatalog, DecisionModelCatalogEntry, DecomposeCriteriaResult, DefineAgentInput, DefineEvalCaseInput, DefineEvalInput, DefineFlowInput, DefineProductInput, DefineScheduleInput, DefineSkillInput, DefineSurfaceInput, DefineToolInput, DetachedReattach, DetachedReconnectOptions, DispatchClient, DispatchEvent, DispatchOptions, EnsureAgentConverged, EnsureAgentOptions, EnsureAgentPlan, EnsureAgentResult, EnsureClientTokenConverged, EnsureClientTokenOptions, EnsureClientTokenPlan, EnsureClientTokenResult, EnsureCollectionConverged, EnsureCollectionOptions, EnsureCollectionPlan, EnsureCollectionResult, EnsureEvalApplyOptions, EnsureEvalOptions, EnsureEvalPlan, EnsureEvalResult, EnsureFlowConverged, EnsureFlowOptions, EnsureFlowPlan, EnsureFlowResult, EnsureFpoOptions, EnsureFpoResult, EnsureProductConverged, EnsureProductOptions, EnsureProductPlan, EnsureProductResult, EnsureQuestionSetConverged, EnsureQuestionSetOptions, EnsureQuestionSetPlan, EnsureQuestionSetResult, EnsureScheduleConverged, EnsureScheduleOptions, EnsureSchedulePlan, EnsureScheduleResult, EnsureSkillConverged, EnsureSkillOptions, EnsureSkillPlan, EnsureSkillResult, EnsureSurfaceConverged, EnsureSurfaceOptions, EnsureSurfacePlan, EnsureSurfaceResult, EnsureToolConverged, EnsureToolOptions, EnsureToolPlan, EnsureToolResult, ErrorHandlingMode, EvalAgentSelector, EvalAgentTargetResolution, EvalCaseDefinition, EvalCaseInput, EvalCaseProposal, EvalCaseProposalAccepted, EvalCaseProposalListResult, EvalCasesGenerated, EvalClient, EvalDefinition, EvalEndUserIdentity, EvalIdentityDefaults, EvalListParams, EvalMessage, EvalOptions, EvalProposalSource, EvalProposalStatus, EvalProposedCase, EvalPullResult, EvalRecord, EvalRequest, EvalResult, EvalRunCaseScores, EvalRunConfig, EvalRunEvidence, EvalRunScores, EvalStatus, EvalSuiteCase, EvalSuiteCaseInput, EvalSuiteCoverage, EvalSuiteDetail, EvalSuiteLatestRun, EvalSuiteListResult, EvalSuiteRunQueued, EvalSuiteRunResult, EvalSuiteSummary, EvalTarget, EvalTenantIdentity, ExecutionStreamEvent, ExecutionTerminalOutcome, ExportSimulationDesignBriefResponse, ExtractionModelCatalog, ExtractionModelCatalogEntry, FallbackFailEvent, FallbackStartEvent, FallbackSuccessEvent, FallbackTrigger, FallbackTriggerType, FallbacksExhaustedEvent, FallbacksInitiatedEvent, FetchUrlStepConfig, FieldFormat, FlowCompleteEvent, FlowConfig, FlowDefinition, FlowDefinitionStep, FlowErrorEvent, FlowFallback, FlowInlineEvalInput, FlowPausedEvent, FlowPullResult, FlowStartEvent, FlowStreamEvent, FlowSummary, FlowValidationClient, FlowValidationIssue, FlowValidationResult, FpoEntityOutcome, FpoInput, GenerateEmbeddingStepConfig, GenerateEvalCasesInput, GeneratedRuntimeToolGateDecision, GeneratedRuntimeToolGateOptions, GetApiKeyRequestResponse, GetRecordStepConfig, GetSimulationEpisodeResponse, Gradeable, GraderConfig, GraderOutcome, GraderSeverity, HumanVerdict, JudgeAttemptDiagnostic, JudgeDiagnostics, JudgeParseError, ListAgentAliasesOptions, ListAgentDeploymentsOptions, ListConversationsResponse, ListRecordsStepConfig, ListSimulationEpisodesParams, ListSimulationEpisodesResponse, ListSimulationToolExchangesParams, ListSimulationToolExchangesResponse, LoopStepConfig, ManagedDeploymentAccepted, ManagedDeploymentCapability, ManagedDeploymentConfig, ManagedDeploymentCredentialAuthority, ManagedDeploymentDefinition, ManagedDeploymentDesiredSpec, ManagedDeploymentHealth, ManagedDeploymentLanguage, ManagedDeploymentProfileIdentity, ManagedDeploymentResource, ManagedDeploymentRetention, ManagedDeploymentRuntimeProfile, ManagedDeploymentSleepPolicy, ManagedDeploymentUpdateOptions, ManagedDeploymentWriteOptions, ManagedDeploymentWriteRequest, Message, MessageFallback, ModelFallback, ModelOverride, OrganizationAgentAlias, OrganizationAgentAliasList, PersistedGraderOutcome, PrepareAgentPromotionInput, PreviewSimulationVariantRequest, PreviewSimulationVariantResponse, ProductDefinition, ProductPullResult, PromoteAgentInput, PromoteAgentResult, PromptErrorHandling, PromptFallback, PromptListParams, PromptStepConfig, PullFpoResult, QuestionSetDefinition, QuestionSetPullResult, RecordCollectionDefinition, RecordCollectionValidationMode, RecordConfig, RecordFilter, RecordFilterCondition, RecordFilterGroup, RecordFilterOperator, RetrieveRecordStepConfig, RetryFallback, RollbackAgentAliasInput, RunEvalCaseResult, RunEvalInput, RunEvalResult, RunListParams, RunListResponse, RunListRow, AgentSkillBinding$1 as RuntypeAgentSkillBinding, ConditionalStepConfig$1 as RuntypeConditionalStepConfig, RuntypeConfig, FetchUrlStepConfig$1 as RuntypeFetchUrlStepConfig, FlowConfig$1 as RuntypeFlowConfig, GenerateEmbeddingStepConfig$1 as RuntypeGenerateEmbeddingStepConfig, GetRecordStepConfig$1 as RuntypeGetRecordStepConfig, ListRecordsStepConfig$1 as RuntypeListRecordsStepConfig, LoopStepConfig$1 as RuntypeLoopStepConfig, Message$1 as RuntypeMessage, ModelOverride$1 as RuntypeModelOverride, Prompt$1 as RuntypePrompt, PromptStepConfig$1 as RuntypePromptStepConfig, RecordConfig$1 as RuntypeRecordConfig, RetrieveRecordStepConfig$1 as RuntypeRetrieveRecordStepConfig, SearchStepConfig as RuntypeSearchStepConfig, SendEmailStepConfig as RuntypeSendEmailStepConfig, SendEventStepConfig as RuntypeSendEventStepConfig, SendStreamStepConfig as RuntypeSendStreamStepConfig, SetVariableStepConfig as RuntypeSetVariableStepConfig, Skill as RuntypeSkill, SkillBindingWithAgent as RuntypeSkillBindingWithAgent, SkillCapabilities as RuntypeSkillCapabilities, SkillFrontmatter as RuntypeSkillFrontmatter, SkillManifest as RuntypeSkillManifest, SkillProposal as RuntypeSkillProposal, SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, SkillVersion as RuntypeSkillVersion, TransformDataStepConfig as RuntypeTransformDataStepConfig, UpsertFlowConfig as RuntypeUpsertFlowConfig, UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, VectorSearchStepConfig as RuntypeVectorSearchStepConfig, WaitUntilStepConfig as RuntypeWaitUntilStepConfig, ScheduleDefinition, ScheduleDefinitionMessage, ScheduleEnsureTransport, SchedulePullResult, SearchStepConfig$1 as SearchStepConfig, SendEmailStepConfig$1 as SendEmailStepConfig, SendEventStepConfig$1 as SendEventStepConfig, SendStreamStepConfig$1 as SendStreamStepConfig, SetVariableStepConfig$1 as SetVariableStepConfig, SignalBinding, SignalPreviewReport, SignalSet, SignalSetDefinitionInput, SignalSetPreset, SignalSetVersion, SignalStatRow, SignalStatsParams, SimulationDesignBrief, SimulationEpisode, SimulationEpisodeMetrics, SimulationEpisodeScore, SimulationEpisodeStatus, SimulationEpisodeTranscript, SimulationServedBy, SimulationServedByCounts, SimulationTermination, SimulationToolCallFacts, SimulationToolExchange, SimulationToolProfile, SimulationTranscriptMessage, SimulationTurnLayerFacts, SkillDefinition, SkillListPage, SkillListPagination, SkillListParams, SkillManifestInput, SkillMarkdownInput, SkillOrigin, SkillProposalStatus, SkillPullResult, SkillStatus, SkillTrustLevel, SkillVersionStatus, SkillWithVersion, SkillWriteInput, StepCompleteEvent, StepDeltaEvent, StepFallback, StepFieldMeta, StepStartEvent, StepWaitingLocalEvent, StreamCallbacks, StreamConsumeOptions, StreamEvent, StreamEventOf, SurfaceDefinition, SurfaceDefinitionStatus, SurfaceDefinitionType, SurfacePullResult, ToolDefinition, ToolDefinitionType, ToolPullResult, TransformDataStepConfig$1 as TransformDataStepConfig, UnauthenticatedClaimApiKeyRequestInput, UpdateClientTokenRequest, UpdateEvalCaseInput, UpdateEvalSuiteInput, UpdatePromptData, UpdateSimulationTargetRequest, UpdateSimulationVariantRequest, UploadSimulationToolExchangesRequest, UploadedSimulationToolExchange, UpsertFlowConfig$1 as UpsertFlowConfig, UpsertRecordStepConfig$1 as UpsertRecordStepConfig, ValidateAgentPromotionInput, VectorSearchStepConfig$1 as VectorSearchStepConfig, WaitUntilStepConfig$1 as WaitUntilStepConfig, WorkflowCompileDeps, WorkflowCompletionCriteriaConfig, WorkflowConfig, WorkflowConfigFactory, WorkflowHookEntry, WorkflowHookKind, WorkflowHookRef, WorkflowHookSignatures, WorkflowMilestoneConfig, WorkflowPolicyConfig, WorkflowRecoveryConfig, WorkflowSlot };
|
|
77464
79020
|
export {}
|