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