@agent-os-sdk/client 0.5.1 → 0.5.3
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/generated/openapi.d.ts +567 -17
- package/dist/generated/openapi.d.ts.map +1 -1
- package/dist/modules/graphs.d.ts +1 -1
- package/dist/modules/graphs.d.ts.map +1 -1
- package/dist/modules/graphs.js +4 -4
- package/dist/modules/info.js +1 -1
- package/dist/modules/runs.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/generated/openapi.ts +567 -17
- package/src/generated/swagger.json +915 -22
- package/src/modules/graphs.ts +5 -5
- package/src/modules/info.ts +1 -1
|
@@ -518,6 +518,15 @@ export interface paths {
|
|
|
518
518
|
"application/json": components["schemas"]["ProblemDetails"];
|
|
519
519
|
};
|
|
520
520
|
};
|
|
521
|
+
/** @description Unprocessable Content */
|
|
522
|
+
422: {
|
|
523
|
+
headers: {
|
|
524
|
+
[name: string]: unknown;
|
|
525
|
+
};
|
|
526
|
+
content: {
|
|
527
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
528
|
+
};
|
|
529
|
+
};
|
|
521
530
|
};
|
|
522
531
|
};
|
|
523
532
|
delete?: never;
|
|
@@ -610,7 +619,7 @@ export interface paths {
|
|
|
610
619
|
[name: string]: unknown;
|
|
611
620
|
};
|
|
612
621
|
content: {
|
|
613
|
-
"application/json": components["schemas"]["
|
|
622
|
+
"application/json": components["schemas"]["AgentDraftResponseApiEnvelope"];
|
|
614
623
|
};
|
|
615
624
|
};
|
|
616
625
|
/** @description Bad Request */
|
|
@@ -3279,6 +3288,274 @@ export interface paths {
|
|
|
3279
3288
|
patch?: never;
|
|
3280
3289
|
trace?: never;
|
|
3281
3290
|
};
|
|
3291
|
+
"/v1/api/graph/commit": {
|
|
3292
|
+
parameters: {
|
|
3293
|
+
query?: never;
|
|
3294
|
+
header?: never;
|
|
3295
|
+
path?: never;
|
|
3296
|
+
cookie?: never;
|
|
3297
|
+
};
|
|
3298
|
+
get?: never;
|
|
3299
|
+
put?: never;
|
|
3300
|
+
/**
|
|
3301
|
+
* Commit GraphSpec — atomic, idempotent, validated.
|
|
3302
|
+
* @description **Flow:**
|
|
3303
|
+
* 1. Validate spec_version (reject unsupported)
|
|
3304
|
+
* 2. Verify agent exists in workspace
|
|
3305
|
+
* 3. Check optimistic concurrency (expected_revision)
|
|
3306
|
+
* 4. Call DataPlane to validate/normalize
|
|
3307
|
+
* 5. Canonicalize JSON for deterministic hashing
|
|
3308
|
+
* 6. Idempotence: if revision unchanged, return no_change
|
|
3309
|
+
* 7. Persist with atomic check
|
|
3310
|
+
* 8. Return canonical spec + new revision
|
|
3311
|
+
*
|
|
3312
|
+
* **Status Codes:**
|
|
3313
|
+
* - 200: Success (includes no_change case)
|
|
3314
|
+
* - 400: Missing workspace
|
|
3315
|
+
* - 404: Agent not found
|
|
3316
|
+
* - 409: Revision mismatch (concurrent edit)
|
|
3317
|
+
* - 422: Validation failed / unsupported spec version
|
|
3318
|
+
* - 502: DataPlane unreachable
|
|
3319
|
+
*/
|
|
3320
|
+
post: {
|
|
3321
|
+
parameters: {
|
|
3322
|
+
query?: never;
|
|
3323
|
+
header?: never;
|
|
3324
|
+
path?: never;
|
|
3325
|
+
cookie?: never;
|
|
3326
|
+
};
|
|
3327
|
+
requestBody?: {
|
|
3328
|
+
content: {
|
|
3329
|
+
"application/json": components["schemas"]["CommitGraphSpecRequest"];
|
|
3330
|
+
"text/json": components["schemas"]["CommitGraphSpecRequest"];
|
|
3331
|
+
"application/*+json": components["schemas"]["CommitGraphSpecRequest"];
|
|
3332
|
+
};
|
|
3333
|
+
};
|
|
3334
|
+
responses: {
|
|
3335
|
+
/** @description OK */
|
|
3336
|
+
200: {
|
|
3337
|
+
headers: {
|
|
3338
|
+
[name: string]: unknown;
|
|
3339
|
+
};
|
|
3340
|
+
content: {
|
|
3341
|
+
"application/json": components["schemas"]["CommitGraphSpecResponseApiEnvelope"];
|
|
3342
|
+
};
|
|
3343
|
+
};
|
|
3344
|
+
/** @description Bad Request */
|
|
3345
|
+
400: {
|
|
3346
|
+
headers: {
|
|
3347
|
+
[name: string]: unknown;
|
|
3348
|
+
};
|
|
3349
|
+
content: {
|
|
3350
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
3351
|
+
};
|
|
3352
|
+
};
|
|
3353
|
+
/** @description Not Found */
|
|
3354
|
+
404: {
|
|
3355
|
+
headers: {
|
|
3356
|
+
[name: string]: unknown;
|
|
3357
|
+
};
|
|
3358
|
+
content: {
|
|
3359
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
3360
|
+
};
|
|
3361
|
+
};
|
|
3362
|
+
/** @description Conflict */
|
|
3363
|
+
409: {
|
|
3364
|
+
headers: {
|
|
3365
|
+
[name: string]: unknown;
|
|
3366
|
+
};
|
|
3367
|
+
content: {
|
|
3368
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
3369
|
+
};
|
|
3370
|
+
};
|
|
3371
|
+
/** @description Unprocessable Content */
|
|
3372
|
+
422: {
|
|
3373
|
+
headers: {
|
|
3374
|
+
[name: string]: unknown;
|
|
3375
|
+
};
|
|
3376
|
+
content: {
|
|
3377
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
3378
|
+
};
|
|
3379
|
+
};
|
|
3380
|
+
/** @description Bad Gateway */
|
|
3381
|
+
502: {
|
|
3382
|
+
headers: {
|
|
3383
|
+
[name: string]: unknown;
|
|
3384
|
+
};
|
|
3385
|
+
content: {
|
|
3386
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
3387
|
+
};
|
|
3388
|
+
};
|
|
3389
|
+
};
|
|
3390
|
+
};
|
|
3391
|
+
delete?: never;
|
|
3392
|
+
options?: never;
|
|
3393
|
+
head?: never;
|
|
3394
|
+
patch?: never;
|
|
3395
|
+
trace?: never;
|
|
3396
|
+
};
|
|
3397
|
+
"/v1/api/graph/{agentId}": {
|
|
3398
|
+
parameters: {
|
|
3399
|
+
query?: never;
|
|
3400
|
+
header?: never;
|
|
3401
|
+
path?: never;
|
|
3402
|
+
cookie?: never;
|
|
3403
|
+
};
|
|
3404
|
+
/** Get current graph spec with revision. */
|
|
3405
|
+
get: {
|
|
3406
|
+
parameters: {
|
|
3407
|
+
query?: never;
|
|
3408
|
+
header?: never;
|
|
3409
|
+
path: {
|
|
3410
|
+
agentId: string;
|
|
3411
|
+
};
|
|
3412
|
+
cookie?: never;
|
|
3413
|
+
};
|
|
3414
|
+
requestBody?: never;
|
|
3415
|
+
responses: {
|
|
3416
|
+
/** @description OK */
|
|
3417
|
+
200: {
|
|
3418
|
+
headers: {
|
|
3419
|
+
[name: string]: unknown;
|
|
3420
|
+
};
|
|
3421
|
+
content: {
|
|
3422
|
+
"application/json": components["schemas"]["GetGraphSpecResponseApiEnvelope"];
|
|
3423
|
+
};
|
|
3424
|
+
};
|
|
3425
|
+
/** @description Bad Request */
|
|
3426
|
+
400: {
|
|
3427
|
+
headers: {
|
|
3428
|
+
[name: string]: unknown;
|
|
3429
|
+
};
|
|
3430
|
+
content: {
|
|
3431
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
3432
|
+
};
|
|
3433
|
+
};
|
|
3434
|
+
/** @description Not Found */
|
|
3435
|
+
404: {
|
|
3436
|
+
headers: {
|
|
3437
|
+
[name: string]: unknown;
|
|
3438
|
+
};
|
|
3439
|
+
content: {
|
|
3440
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
3441
|
+
};
|
|
3442
|
+
};
|
|
3443
|
+
/** @description Internal Server Error */
|
|
3444
|
+
500: {
|
|
3445
|
+
headers: {
|
|
3446
|
+
[name: string]: unknown;
|
|
3447
|
+
};
|
|
3448
|
+
content: {
|
|
3449
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
3450
|
+
};
|
|
3451
|
+
};
|
|
3452
|
+
};
|
|
3453
|
+
};
|
|
3454
|
+
put?: never;
|
|
3455
|
+
post?: never;
|
|
3456
|
+
delete?: never;
|
|
3457
|
+
options?: never;
|
|
3458
|
+
head?: never;
|
|
3459
|
+
patch?: never;
|
|
3460
|
+
trace?: never;
|
|
3461
|
+
};
|
|
3462
|
+
"/v1/api/graph/{agentId}/revisions": {
|
|
3463
|
+
parameters: {
|
|
3464
|
+
query?: never;
|
|
3465
|
+
header?: never;
|
|
3466
|
+
path?: never;
|
|
3467
|
+
cookie?: never;
|
|
3468
|
+
};
|
|
3469
|
+
/** List revision history for an agent (metadata only, not full spec). */
|
|
3470
|
+
get: {
|
|
3471
|
+
parameters: {
|
|
3472
|
+
query?: {
|
|
3473
|
+
limit?: number;
|
|
3474
|
+
};
|
|
3475
|
+
header?: never;
|
|
3476
|
+
path: {
|
|
3477
|
+
agentId: string;
|
|
3478
|
+
};
|
|
3479
|
+
cookie?: never;
|
|
3480
|
+
};
|
|
3481
|
+
requestBody?: never;
|
|
3482
|
+
responses: {
|
|
3483
|
+
/** @description OK */
|
|
3484
|
+
200: {
|
|
3485
|
+
headers: {
|
|
3486
|
+
[name: string]: unknown;
|
|
3487
|
+
};
|
|
3488
|
+
content: {
|
|
3489
|
+
"application/json": components["schemas"]["RevisionListResponseApiEnvelope"];
|
|
3490
|
+
};
|
|
3491
|
+
};
|
|
3492
|
+
/** @description Bad Request */
|
|
3493
|
+
400: {
|
|
3494
|
+
headers: {
|
|
3495
|
+
[name: string]: unknown;
|
|
3496
|
+
};
|
|
3497
|
+
content: {
|
|
3498
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
3499
|
+
};
|
|
3500
|
+
};
|
|
3501
|
+
};
|
|
3502
|
+
};
|
|
3503
|
+
put?: never;
|
|
3504
|
+
post?: never;
|
|
3505
|
+
delete?: never;
|
|
3506
|
+
options?: never;
|
|
3507
|
+
head?: never;
|
|
3508
|
+
patch?: never;
|
|
3509
|
+
trace?: never;
|
|
3510
|
+
};
|
|
3511
|
+
"/v1/api/graph/{agentId}/revisions/{revision}": {
|
|
3512
|
+
parameters: {
|
|
3513
|
+
query?: never;
|
|
3514
|
+
header?: never;
|
|
3515
|
+
path?: never;
|
|
3516
|
+
cookie?: never;
|
|
3517
|
+
};
|
|
3518
|
+
/** Get a specific revision with full graph spec. */
|
|
3519
|
+
get: {
|
|
3520
|
+
parameters: {
|
|
3521
|
+
query?: never;
|
|
3522
|
+
header?: never;
|
|
3523
|
+
path: {
|
|
3524
|
+
agentId: string;
|
|
3525
|
+
revision: string;
|
|
3526
|
+
};
|
|
3527
|
+
cookie?: never;
|
|
3528
|
+
};
|
|
3529
|
+
requestBody?: never;
|
|
3530
|
+
responses: {
|
|
3531
|
+
/** @description OK */
|
|
3532
|
+
200: {
|
|
3533
|
+
headers: {
|
|
3534
|
+
[name: string]: unknown;
|
|
3535
|
+
};
|
|
3536
|
+
content: {
|
|
3537
|
+
"application/json": components["schemas"]["RevisionDetailResponseApiEnvelope"];
|
|
3538
|
+
};
|
|
3539
|
+
};
|
|
3540
|
+
/** @description Not Found */
|
|
3541
|
+
404: {
|
|
3542
|
+
headers: {
|
|
3543
|
+
[name: string]: unknown;
|
|
3544
|
+
};
|
|
3545
|
+
content: {
|
|
3546
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
3547
|
+
};
|
|
3548
|
+
};
|
|
3549
|
+
};
|
|
3550
|
+
};
|
|
3551
|
+
put?: never;
|
|
3552
|
+
post?: never;
|
|
3553
|
+
delete?: never;
|
|
3554
|
+
options?: never;
|
|
3555
|
+
head?: never;
|
|
3556
|
+
patch?: never;
|
|
3557
|
+
trace?: never;
|
|
3558
|
+
};
|
|
3282
3559
|
"/v1/api/knowledge/datasets": {
|
|
3283
3560
|
parameters: {
|
|
3284
3561
|
query?: never;
|
|
@@ -6739,11 +7016,16 @@ export interface paths {
|
|
|
6739
7016
|
path?: never;
|
|
6740
7017
|
cookie?: never;
|
|
6741
7018
|
};
|
|
6742
|
-
/**
|
|
7019
|
+
/**
|
|
7020
|
+
* List triggers for a workspace.
|
|
7021
|
+
* Use ?focus=triggerId to include request_contract for that item only.
|
|
7022
|
+
*/
|
|
6743
7023
|
get: {
|
|
6744
7024
|
parameters: {
|
|
6745
7025
|
query?: {
|
|
6746
7026
|
workspaceId?: string;
|
|
7027
|
+
agent_id?: string;
|
|
7028
|
+
focus?: string;
|
|
6747
7029
|
};
|
|
6748
7030
|
header?: never;
|
|
6749
7031
|
path?: never;
|
|
@@ -6780,12 +7062,23 @@ export interface paths {
|
|
|
6780
7062
|
};
|
|
6781
7063
|
};
|
|
6782
7064
|
responses: {
|
|
6783
|
-
/** @description
|
|
6784
|
-
|
|
7065
|
+
/** @description Created */
|
|
7066
|
+
201: {
|
|
6785
7067
|
headers: {
|
|
6786
7068
|
[name: string]: unknown;
|
|
6787
7069
|
};
|
|
6788
|
-
content
|
|
7070
|
+
content: {
|
|
7071
|
+
"application/json": components["schemas"]["TriggerSecretResponse"];
|
|
7072
|
+
};
|
|
7073
|
+
};
|
|
7074
|
+
/** @description Bad Request */
|
|
7075
|
+
400: {
|
|
7076
|
+
headers: {
|
|
7077
|
+
[name: string]: unknown;
|
|
7078
|
+
};
|
|
7079
|
+
content: {
|
|
7080
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
7081
|
+
};
|
|
6789
7082
|
};
|
|
6790
7083
|
};
|
|
6791
7084
|
};
|
|
@@ -6877,6 +7170,65 @@ export interface paths {
|
|
|
6877
7170
|
};
|
|
6878
7171
|
trace?: never;
|
|
6879
7172
|
};
|
|
7173
|
+
"/v1/api/triggers/{triggerId}/secret": {
|
|
7174
|
+
parameters: {
|
|
7175
|
+
query?: never;
|
|
7176
|
+
header?: never;
|
|
7177
|
+
path?: never;
|
|
7178
|
+
cookie?: never;
|
|
7179
|
+
};
|
|
7180
|
+
/**
|
|
7181
|
+
* Get trigger with secret (Law 065 - Security DTO).
|
|
7182
|
+
* SECURITY: Requires explicit Workspace context (Anti-IDOR).
|
|
7183
|
+
*/
|
|
7184
|
+
get: {
|
|
7185
|
+
parameters: {
|
|
7186
|
+
query?: never;
|
|
7187
|
+
header?: never;
|
|
7188
|
+
path: {
|
|
7189
|
+
triggerId: string;
|
|
7190
|
+
};
|
|
7191
|
+
cookie?: never;
|
|
7192
|
+
};
|
|
7193
|
+
requestBody?: never;
|
|
7194
|
+
responses: {
|
|
7195
|
+
/** @description OK */
|
|
7196
|
+
200: {
|
|
7197
|
+
headers: {
|
|
7198
|
+
[name: string]: unknown;
|
|
7199
|
+
};
|
|
7200
|
+
content: {
|
|
7201
|
+
"application/json": components["schemas"]["TriggerSecretResponse"];
|
|
7202
|
+
};
|
|
7203
|
+
};
|
|
7204
|
+
/** @description Unauthorized */
|
|
7205
|
+
401: {
|
|
7206
|
+
headers: {
|
|
7207
|
+
[name: string]: unknown;
|
|
7208
|
+
};
|
|
7209
|
+
content: {
|
|
7210
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
7211
|
+
};
|
|
7212
|
+
};
|
|
7213
|
+
/** @description Not Found */
|
|
7214
|
+
404: {
|
|
7215
|
+
headers: {
|
|
7216
|
+
[name: string]: unknown;
|
|
7217
|
+
};
|
|
7218
|
+
content: {
|
|
7219
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
7220
|
+
};
|
|
7221
|
+
};
|
|
7222
|
+
};
|
|
7223
|
+
};
|
|
7224
|
+
put?: never;
|
|
7225
|
+
post?: never;
|
|
7226
|
+
delete?: never;
|
|
7227
|
+
options?: never;
|
|
7228
|
+
head?: never;
|
|
7229
|
+
patch?: never;
|
|
7230
|
+
trace?: never;
|
|
7231
|
+
};
|
|
6880
7232
|
"/v1/api/triggers/invoke/{triggerId}": {
|
|
6881
7233
|
parameters: {
|
|
6882
7234
|
query?: never;
|
|
@@ -6954,6 +7306,54 @@ export interface paths {
|
|
|
6954
7306
|
patch?: never;
|
|
6955
7307
|
trace?: never;
|
|
6956
7308
|
};
|
|
7309
|
+
"/v1/api/triggers/{triggerId}/test": {
|
|
7310
|
+
parameters: {
|
|
7311
|
+
query?: never;
|
|
7312
|
+
header?: never;
|
|
7313
|
+
path?: never;
|
|
7314
|
+
cookie?: never;
|
|
7315
|
+
};
|
|
7316
|
+
get?: never;
|
|
7317
|
+
put?: never;
|
|
7318
|
+
/**
|
|
7319
|
+
* Test a trigger by executing a run directly (no HMAC required).
|
|
7320
|
+
* SECURITY: Requires authenticated session, no secret leakage.
|
|
7321
|
+
* Wave 3: Server-side testing with workspace isolation.
|
|
7322
|
+
* @description Executes a run using either the provided payload or the template's example_payload.
|
|
7323
|
+
* Uses Channel.Test for audit trail differentiation.
|
|
7324
|
+
*/
|
|
7325
|
+
post: {
|
|
7326
|
+
parameters: {
|
|
7327
|
+
query?: never;
|
|
7328
|
+
header?: never;
|
|
7329
|
+
path: {
|
|
7330
|
+
triggerId: string;
|
|
7331
|
+
};
|
|
7332
|
+
cookie?: never;
|
|
7333
|
+
};
|
|
7334
|
+
requestBody?: {
|
|
7335
|
+
content: {
|
|
7336
|
+
"application/json": components["schemas"]["TestTriggerRequest"];
|
|
7337
|
+
"text/json": components["schemas"]["TestTriggerRequest"];
|
|
7338
|
+
"application/*+json": components["schemas"]["TestTriggerRequest"];
|
|
7339
|
+
};
|
|
7340
|
+
};
|
|
7341
|
+
responses: {
|
|
7342
|
+
/** @description OK */
|
|
7343
|
+
200: {
|
|
7344
|
+
headers: {
|
|
7345
|
+
[name: string]: unknown;
|
|
7346
|
+
};
|
|
7347
|
+
content?: never;
|
|
7348
|
+
};
|
|
7349
|
+
};
|
|
7350
|
+
};
|
|
7351
|
+
delete?: never;
|
|
7352
|
+
options?: never;
|
|
7353
|
+
head?: never;
|
|
7354
|
+
patch?: never;
|
|
7355
|
+
trace?: never;
|
|
7356
|
+
};
|
|
6957
7357
|
"/v1/api/quotas": {
|
|
6958
7358
|
parameters: {
|
|
6959
7359
|
query?: never;
|
|
@@ -7750,13 +8150,17 @@ export interface components {
|
|
|
7750
8150
|
/** Format: uuid */
|
|
7751
8151
|
id?: string;
|
|
7752
8152
|
name?: string | null;
|
|
7753
|
-
|
|
8153
|
+
draft_graph_revision?: string | null;
|
|
7754
8154
|
/** Format: date-time */
|
|
7755
8155
|
draft_updated_at?: string | null;
|
|
7756
8156
|
/** Format: uuid */
|
|
7757
8157
|
live_bundle_id?: string | null;
|
|
7758
8158
|
e_tag?: string | null;
|
|
7759
8159
|
};
|
|
8160
|
+
AgentDraftResponseApiEnvelope: {
|
|
8161
|
+
data?: components["schemas"]["AgentDraftResponse"];
|
|
8162
|
+
hints?: components["schemas"]["ApiHint"][] | null;
|
|
8163
|
+
};
|
|
7760
8164
|
AgentExportAgent: {
|
|
7761
8165
|
/** Format: uuid */
|
|
7762
8166
|
id?: string;
|
|
@@ -7771,6 +8175,14 @@ export interface components {
|
|
|
7771
8175
|
agent?: components["schemas"]["AgentExportAgent"];
|
|
7772
8176
|
bundles?: components["schemas"]["AgentBundleItem"][] | null;
|
|
7773
8177
|
};
|
|
8178
|
+
ApiHint: {
|
|
8179
|
+
type?: string | null;
|
|
8180
|
+
severity?: string | null;
|
|
8181
|
+
message?: string | null;
|
|
8182
|
+
node_id?: string | null;
|
|
8183
|
+
path?: string | null;
|
|
8184
|
+
required?: string | null;
|
|
8185
|
+
};
|
|
7774
8186
|
ApprovalDecision: {
|
|
7775
8187
|
decision?: string | null;
|
|
7776
8188
|
comment?: string | null;
|
|
@@ -7784,7 +8196,7 @@ export interface components {
|
|
|
7784
8196
|
};
|
|
7785
8197
|
BatchInput: {
|
|
7786
8198
|
idempotency_key?: string | null;
|
|
7787
|
-
|
|
8199
|
+
input_json?: string | null;
|
|
7788
8200
|
};
|
|
7789
8201
|
BatchRunItem: {
|
|
7790
8202
|
/** Format: uuid */
|
|
@@ -7817,6 +8229,7 @@ export interface components {
|
|
|
7817
8229
|
BuilderChatRequest: {
|
|
7818
8230
|
message?: string | null;
|
|
7819
8231
|
thread_id?: string | null;
|
|
8232
|
+
history?: components["schemas"]["ChatHistoryMessage"][] | null;
|
|
7820
8233
|
base_graph_etag?: string | null;
|
|
7821
8234
|
};
|
|
7822
8235
|
BundleResponse: {
|
|
@@ -7835,6 +8248,8 @@ export interface components {
|
|
|
7835
8248
|
/** Format: date-time */
|
|
7836
8249
|
created_at?: string;
|
|
7837
8250
|
label?: string | null;
|
|
8251
|
+
webhook_trigger_ids?: string[] | null;
|
|
8252
|
+
scheduled_trigger_ids?: string[] | null;
|
|
7838
8253
|
};
|
|
7839
8254
|
CancelRequest: {
|
|
7840
8255
|
reason?: string | null;
|
|
@@ -7849,7 +8264,11 @@ export interface components {
|
|
|
7849
8264
|
* Format: int32
|
|
7850
8265
|
* @enum {integer}
|
|
7851
8266
|
*/
|
|
7852
|
-
Channel: 0 | 1 | 2 | 3;
|
|
8267
|
+
Channel: 0 | 1 | 2 | 3 | 4;
|
|
8268
|
+
ChatHistoryMessage: {
|
|
8269
|
+
role?: string | null;
|
|
8270
|
+
content?: string | null;
|
|
8271
|
+
};
|
|
7853
8272
|
CheckpointDetail: {
|
|
7854
8273
|
/** Format: uuid */
|
|
7855
8274
|
id?: string;
|
|
@@ -7897,6 +8316,33 @@ export interface components {
|
|
|
7897
8316
|
created_at?: string;
|
|
7898
8317
|
children?: components["schemas"]["CheckpointNode"][] | null;
|
|
7899
8318
|
};
|
|
8319
|
+
CommitGraphSpecRequest: {
|
|
8320
|
+
spec_version?: string | null;
|
|
8321
|
+
/** Format: uuid */
|
|
8322
|
+
agent_id?: string;
|
|
8323
|
+
graph_spec?: unknown;
|
|
8324
|
+
expected_revision?: string | null;
|
|
8325
|
+
/** @description Source of the commit: ui.dragdrop, ui.json, meta_builder, system */
|
|
8326
|
+
source?: string | null;
|
|
8327
|
+
};
|
|
8328
|
+
CommitGraphSpecResponse: {
|
|
8329
|
+
/** @description Explicit status: committed, no_change, conflict */
|
|
8330
|
+
status?: string | null;
|
|
8331
|
+
/** Format: uuid */
|
|
8332
|
+
agent_id?: string;
|
|
8333
|
+
revision?: string | null;
|
|
8334
|
+
/** @description Only present in conflict response (409 body). */
|
|
8335
|
+
current_revision?: string | null;
|
|
8336
|
+
canonical_spec?: unknown;
|
|
8337
|
+
/** Format: date-time */
|
|
8338
|
+
committed_at?: string | null;
|
|
8339
|
+
warnings?: components["schemas"]["ValidationMessage"][] | null;
|
|
8340
|
+
validation?: components["schemas"]["ValidationResult"];
|
|
8341
|
+
};
|
|
8342
|
+
CommitGraphSpecResponseApiEnvelope: {
|
|
8343
|
+
data?: components["schemas"]["CommitGraphSpecResponse"];
|
|
8344
|
+
hints?: components["schemas"]["ApiHint"][] | null;
|
|
8345
|
+
};
|
|
7900
8346
|
ConfirmUploadRequest: {
|
|
7901
8347
|
sha256?: string | null;
|
|
7902
8348
|
};
|
|
@@ -7993,7 +8439,7 @@ export interface components {
|
|
|
7993
8439
|
agent_id?: string | null;
|
|
7994
8440
|
thread?: components["schemas"]["ThreadRequest"];
|
|
7995
8441
|
idempotency_key?: string | null;
|
|
7996
|
-
|
|
8442
|
+
input_json?: string | null;
|
|
7997
8443
|
webhook_url?: string | null;
|
|
7998
8444
|
/** Format: uuid */
|
|
7999
8445
|
bundle_id?: string | null;
|
|
@@ -8033,6 +8479,7 @@ export interface components {
|
|
|
8033
8479
|
agent_id?: string;
|
|
8034
8480
|
name?: string | null;
|
|
8035
8481
|
trigger_type?: string | null;
|
|
8482
|
+
template_slug?: string | null;
|
|
8036
8483
|
config?: unknown;
|
|
8037
8484
|
};
|
|
8038
8485
|
CreateVectorStoreRequest: {
|
|
@@ -8131,6 +8578,20 @@ export interface components {
|
|
|
8131
8578
|
/** Format: date-time */
|
|
8132
8579
|
created_at?: string;
|
|
8133
8580
|
};
|
|
8581
|
+
GetGraphSpecResponse: {
|
|
8582
|
+
/** Format: uuid */
|
|
8583
|
+
agent_id?: string;
|
|
8584
|
+
revision?: string | null;
|
|
8585
|
+
canonical_spec?: unknown;
|
|
8586
|
+
/** Format: date-time */
|
|
8587
|
+
committed_at?: string | null;
|
|
8588
|
+
warnings?: components["schemas"]["ValidationMessage"][] | null;
|
|
8589
|
+
validation?: components["schemas"]["ValidationResult"];
|
|
8590
|
+
};
|
|
8591
|
+
GetGraphSpecResponseApiEnvelope: {
|
|
8592
|
+
data?: components["schemas"]["GetGraphSpecResponse"];
|
|
8593
|
+
hints?: components["schemas"]["ApiHint"][] | null;
|
|
8594
|
+
};
|
|
8134
8595
|
GrantAccessRequest: {
|
|
8135
8596
|
/** Format: uuid */
|
|
8136
8597
|
workspace_id?: string;
|
|
@@ -8295,6 +8756,41 @@ export interface components {
|
|
|
8295
8756
|
[key: string]: unknown;
|
|
8296
8757
|
} | null;
|
|
8297
8758
|
};
|
|
8759
|
+
RevisionDetailResponse: {
|
|
8760
|
+
/** Format: uuid */
|
|
8761
|
+
agent_id?: string;
|
|
8762
|
+
revision?: string | null;
|
|
8763
|
+
graph_spec?: unknown;
|
|
8764
|
+
/** Format: date-time */
|
|
8765
|
+
created_at?: string;
|
|
8766
|
+
source?: string | null;
|
|
8767
|
+
/** Format: uuid */
|
|
8768
|
+
actor_user_id?: string | null;
|
|
8769
|
+
warnings?: components["schemas"]["ValidationMessage"][] | null;
|
|
8770
|
+
};
|
|
8771
|
+
RevisionDetailResponseApiEnvelope: {
|
|
8772
|
+
data?: components["schemas"]["RevisionDetailResponse"];
|
|
8773
|
+
hints?: components["schemas"]["ApiHint"][] | null;
|
|
8774
|
+
};
|
|
8775
|
+
RevisionListItem: {
|
|
8776
|
+
revision?: string | null;
|
|
8777
|
+
/** Format: date-time */
|
|
8778
|
+
created_at?: string;
|
|
8779
|
+
source?: string | null;
|
|
8780
|
+
/** Format: uuid */
|
|
8781
|
+
actor_user_id?: string | null;
|
|
8782
|
+
};
|
|
8783
|
+
RevisionListResponse: {
|
|
8784
|
+
/** Format: uuid */
|
|
8785
|
+
agent_id?: string;
|
|
8786
|
+
/** Format: int32 */
|
|
8787
|
+
total?: number;
|
|
8788
|
+
items?: components["schemas"]["RevisionListItem"][] | null;
|
|
8789
|
+
};
|
|
8790
|
+
RevisionListResponseApiEnvelope: {
|
|
8791
|
+
data?: components["schemas"]["RevisionListResponse"];
|
|
8792
|
+
hints?: components["schemas"]["ApiHint"][] | null;
|
|
8793
|
+
};
|
|
8298
8794
|
RunDetailResponse: {
|
|
8299
8795
|
/** Format: uuid */
|
|
8300
8796
|
run_id?: string;
|
|
@@ -8309,10 +8805,10 @@ export interface components {
|
|
|
8309
8805
|
/** Format: uuid */
|
|
8310
8806
|
thread_id?: string;
|
|
8311
8807
|
status?: components["schemas"]["RunStatus"];
|
|
8312
|
-
input_json?:
|
|
8313
|
-
output_json?:
|
|
8314
|
-
error_json?:
|
|
8315
|
-
metrics_json?:
|
|
8808
|
+
input_json?: string | null;
|
|
8809
|
+
output_json?: string | null;
|
|
8810
|
+
error_json?: string | null;
|
|
8811
|
+
metrics_json?: string | null;
|
|
8316
8812
|
/** Format: date-time */
|
|
8317
8813
|
started_at?: string | null;
|
|
8318
8814
|
/** Format: date-time */
|
|
@@ -8402,6 +8898,14 @@ export interface components {
|
|
|
8402
8898
|
/** Format: int32 */
|
|
8403
8899
|
version_number?: number;
|
|
8404
8900
|
};
|
|
8901
|
+
SigningContract: {
|
|
8902
|
+
algorithm?: string | null;
|
|
8903
|
+
signature_header?: string | null;
|
|
8904
|
+
timestamp_header?: string | null;
|
|
8905
|
+
timestamp_format?: string | null;
|
|
8906
|
+
string_to_sign?: string | null;
|
|
8907
|
+
signature_format?: string | null;
|
|
8908
|
+
};
|
|
8405
8909
|
SpanData: {
|
|
8406
8910
|
trace_id?: string | null;
|
|
8407
8911
|
span_id?: string | null;
|
|
@@ -8435,9 +8939,16 @@ export interface components {
|
|
|
8435
8939
|
agent_id?: string | null;
|
|
8436
8940
|
thread?: components["schemas"]["ThreadRequest"];
|
|
8437
8941
|
idempotency_key?: string | null;
|
|
8438
|
-
|
|
8942
|
+
input_json?: string | null;
|
|
8439
8943
|
stream_mode?: string | null;
|
|
8440
8944
|
};
|
|
8945
|
+
/**
|
|
8946
|
+
* @description Request body for POST /triggers/{id}/test.
|
|
8947
|
+
* Payload is optional - falls back to template example_payload.
|
|
8948
|
+
*/
|
|
8949
|
+
TestTriggerRequest: {
|
|
8950
|
+
payload?: unknown;
|
|
8951
|
+
};
|
|
8441
8952
|
ThreadCopyRequest: {
|
|
8442
8953
|
copy_history?: boolean;
|
|
8443
8954
|
};
|
|
@@ -8479,6 +8990,33 @@ export interface components {
|
|
|
8479
8990
|
name?: string | null;
|
|
8480
8991
|
arguments?: unknown;
|
|
8481
8992
|
};
|
|
8993
|
+
TriggerRequestContract: {
|
|
8994
|
+
method?: string | null;
|
|
8995
|
+
invoke_url?: string | null;
|
|
8996
|
+
headers?: {
|
|
8997
|
+
[key: string]: string;
|
|
8998
|
+
} | null;
|
|
8999
|
+
signing?: components["schemas"]["SigningContract"];
|
|
9000
|
+
body_schema_json?: string | null;
|
|
9001
|
+
example_payload_json?: string | null;
|
|
9002
|
+
curl_example?: string | null;
|
|
9003
|
+
};
|
|
9004
|
+
TriggerSecretResponse: {
|
|
9005
|
+
/** Format: uuid */
|
|
9006
|
+
id?: string;
|
|
9007
|
+
name?: string | null;
|
|
9008
|
+
/** Format: uuid */
|
|
9009
|
+
agent_id?: string;
|
|
9010
|
+
/** Format: uuid */
|
|
9011
|
+
workspace_id?: string;
|
|
9012
|
+
trigger_type?: string | null;
|
|
9013
|
+
secret_key?: string | null;
|
|
9014
|
+
invoke_url?: string | null;
|
|
9015
|
+
request_contract?: components["schemas"]["TriggerRequestContract"];
|
|
9016
|
+
is_active?: boolean;
|
|
9017
|
+
/** Format: date-time */
|
|
9018
|
+
created_at?: string;
|
|
9019
|
+
};
|
|
8482
9020
|
TriggerTemplateDto: {
|
|
8483
9021
|
slug: string | null;
|
|
8484
9022
|
kind: string | null;
|
|
@@ -8573,6 +9111,18 @@ export interface components {
|
|
|
8573
9111
|
node_id?: string | null;
|
|
8574
9112
|
severity?: string | null;
|
|
8575
9113
|
};
|
|
9114
|
+
ValidationMessage: {
|
|
9115
|
+
code?: string | null;
|
|
9116
|
+
message?: string | null;
|
|
9117
|
+
path?: string | null;
|
|
9118
|
+
node_id?: string | null;
|
|
9119
|
+
severity?: string | null;
|
|
9120
|
+
};
|
|
9121
|
+
/** @description Validation result block returned in all commit responses. */
|
|
9122
|
+
ValidationResult: {
|
|
9123
|
+
valid?: boolean;
|
|
9124
|
+
errors?: components["schemas"]["ValidationMessage"][] | null;
|
|
9125
|
+
};
|
|
8576
9126
|
VectorQueryRequest: {
|
|
8577
9127
|
query?: string | null;
|
|
8578
9128
|
/** Format: int32 */
|
|
@@ -8630,7 +9180,7 @@ export interface components {
|
|
|
8630
9180
|
agent_id?: string | null;
|
|
8631
9181
|
thread?: components["schemas"]["ThreadRequest"];
|
|
8632
9182
|
idempotency_key?: string | null;
|
|
8633
|
-
|
|
9183
|
+
input_json?: string | null;
|
|
8634
9184
|
/** Format: int32 */
|
|
8635
9185
|
timeout_seconds?: number | null;
|
|
8636
9186
|
};
|
|
@@ -8638,8 +9188,8 @@ export interface components {
|
|
|
8638
9188
|
/** Format: uuid */
|
|
8639
9189
|
run_id?: string;
|
|
8640
9190
|
status?: string | null;
|
|
8641
|
-
output_json?:
|
|
8642
|
-
error_json?:
|
|
9191
|
+
output_json?: string | null;
|
|
9192
|
+
error_json?: string | null;
|
|
8643
9193
|
/** Format: double */
|
|
8644
9194
|
duration_ms?: number | null;
|
|
8645
9195
|
};
|