@quantcdn/quant-client 4.8.0 → 4.9.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/esm/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * QuantCDN API
3
3
  * Unified API for QuantCDN Admin and QuantCloud Platform services
4
4
  *
5
- * The version of the OpenAPI document: 4.8.0
5
+ * The version of the OpenAPI document: 4.9.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -492,6 +492,47 @@ export interface ChatInference200ResponseUsage {
492
492
  */
493
493
  'totalTokens'?: number;
494
494
  }
495
+ /**
496
+ *
497
+ * @export
498
+ * @interface ChatInference202Response
499
+ */
500
+ export interface ChatInference202Response {
501
+ /**
502
+ * Unique request identifier for polling
503
+ * @type {string}
504
+ * @memberof ChatInference202Response
505
+ */
506
+ 'requestId': string;
507
+ /**
508
+ * Session ID for conversation continuity
509
+ * @type {string}
510
+ * @memberof ChatInference202Response
511
+ */
512
+ 'sessionId'?: string;
513
+ /**
514
+ * Initial execution status
515
+ * @type {string}
516
+ * @memberof ChatInference202Response
517
+ */
518
+ 'status': ChatInference202ResponseStatusEnum;
519
+ /**
520
+ * Human-readable status message
521
+ * @type {string}
522
+ * @memberof ChatInference202Response
523
+ */
524
+ 'message'?: string;
525
+ /**
526
+ * URL to poll for execution status
527
+ * @type {string}
528
+ * @memberof ChatInference202Response
529
+ */
530
+ 'pollUrl': string;
531
+ }
532
+ export declare const ChatInference202ResponseStatusEnum: {
533
+ readonly Queued: "queued";
534
+ };
535
+ export type ChatInference202ResponseStatusEnum = typeof ChatInference202ResponseStatusEnum[keyof typeof ChatInference202ResponseStatusEnum];
495
536
  /**
496
537
  *
497
538
  * @export
@@ -517,7 +558,7 @@ export interface ChatInferenceRequest {
517
558
  */
518
559
  'temperature'?: number;
519
560
  /**
520
- *
561
+ * Max tokens. Claude 4.5 supports up to 64k.
521
562
  * @type {number}
522
563
  * @memberof ChatInferenceRequest
523
564
  */
@@ -558,6 +599,18 @@ export interface ChatInferenceRequest {
558
599
  * @memberof ChatInferenceRequest
559
600
  */
560
601
  'toolConfig'?: ChatInferenceRequestToolConfig;
602
+ /**
603
+ * Optional session ID for conversation continuity. Omit to use stateless mode, include to continue an existing session.
604
+ * @type {string}
605
+ * @memberof ChatInferenceRequest
606
+ */
607
+ 'sessionId'?: string;
608
+ /**
609
+ * Enable async/durable execution mode. When true, returns 202 with pollUrl instead of waiting for completion. Use for long-running inference, client-executed tools, or operations >30 seconds.
610
+ * @type {boolean}
611
+ * @memberof ChatInferenceRequest
612
+ */
613
+ 'async'?: boolean;
561
614
  }
562
615
  /**
563
616
  *
@@ -893,7 +946,7 @@ export interface ChatInferenceStreamRequest {
893
946
  */
894
947
  'temperature'?: number;
895
948
  /**
896
- *
949
+ * Max tokens. Claude 4.5 supports up to 64k.
897
950
  * @type {number}
898
951
  * @memberof ChatInferenceStreamRequest
899
952
  */
@@ -928,6 +981,18 @@ export interface ChatInferenceStreamRequest {
928
981
  * @memberof ChatInferenceStreamRequest
929
982
  */
930
983
  'toolConfig'?: ChatInferenceRequestToolConfig;
984
+ /**
985
+ * Optional session ID for conversation continuity. Omit to use stateless mode, include to continue an existing session.
986
+ * @type {string}
987
+ * @memberof ChatInferenceStreamRequest
988
+ */
989
+ 'sessionId'?: string;
990
+ /**
991
+ * Enable async/durable execution mode. When true, returns 202 with pollUrl instead of streaming. Use for long-running inference, client-executed tools, or operations >30 seconds.
992
+ * @type {boolean}
993
+ * @memberof ChatInferenceStreamRequest
994
+ */
995
+ 'async'?: boolean;
931
996
  }
932
997
  /**
933
998
  *
@@ -1028,6 +1093,59 @@ export interface ChatWithAIAgent200ResponseResponseUsage {
1028
1093
  */
1029
1094
  'outputTokens'?: number;
1030
1095
  }
1096
+ /**
1097
+ *
1098
+ * @export
1099
+ * @interface ChatWithAIAgent202Response
1100
+ */
1101
+ export interface ChatWithAIAgent202Response {
1102
+ /**
1103
+ * Unique request identifier for polling
1104
+ * @type {string}
1105
+ * @memberof ChatWithAIAgent202Response
1106
+ */
1107
+ 'requestId': string;
1108
+ /**
1109
+ * The agent processing the request
1110
+ * @type {string}
1111
+ * @memberof ChatWithAIAgent202Response
1112
+ */
1113
+ 'agentId': string;
1114
+ /**
1115
+ * Human-readable agent name
1116
+ * @type {string}
1117
+ * @memberof ChatWithAIAgent202Response
1118
+ */
1119
+ 'agentName'?: string;
1120
+ /**
1121
+ * Session ID (if provided)
1122
+ * @type {string}
1123
+ * @memberof ChatWithAIAgent202Response
1124
+ */
1125
+ 'sessionId'?: string;
1126
+ /**
1127
+ * Initial status
1128
+ * @type {string}
1129
+ * @memberof ChatWithAIAgent202Response
1130
+ */
1131
+ 'status': ChatWithAIAgent202ResponseStatusEnum;
1132
+ /**
1133
+ *
1134
+ * @type {string}
1135
+ * @memberof ChatWithAIAgent202Response
1136
+ */
1137
+ 'message'?: string;
1138
+ /**
1139
+ * URL to poll for execution status
1140
+ * @type {string}
1141
+ * @memberof ChatWithAIAgent202Response
1142
+ */
1143
+ 'pollUrl': string;
1144
+ }
1145
+ export declare const ChatWithAIAgent202ResponseStatusEnum: {
1146
+ readonly Queued: "queued";
1147
+ };
1148
+ export type ChatWithAIAgent202ResponseStatusEnum = typeof ChatWithAIAgent202ResponseStatusEnum[keyof typeof ChatWithAIAgent202ResponseStatusEnum];
1031
1149
  /**
1032
1150
  *
1033
1151
  * @export
@@ -1058,6 +1176,18 @@ export interface ChatWithAIAgentRequest {
1058
1176
  * @memberof ChatWithAIAgentRequest
1059
1177
  */
1060
1178
  'stream'?: boolean;
1179
+ /**
1180
+ * Enable async/durable execution mode. When true, returns 202 with pollUrl. Use for long-running agent tasks.
1181
+ * @type {boolean}
1182
+ * @memberof ChatWithAIAgentRequest
1183
+ */
1184
+ 'async'?: boolean;
1185
+ /**
1186
+ * Optional additional system prompt (appended to agent\'s configured prompt)
1187
+ * @type {string}
1188
+ * @memberof ChatWithAIAgentRequest
1189
+ */
1190
+ 'system'?: string;
1061
1191
  }
1062
1192
  /**
1063
1193
  *
@@ -2097,6 +2227,125 @@ export interface CreateEnvironmentRequestEnvironmentInner {
2097
2227
  */
2098
2228
  'value'?: string;
2099
2229
  }
2230
+ /**
2231
+ *
2232
+ * @export
2233
+ * @interface CreateTask201Response
2234
+ */
2235
+ export interface CreateTask201Response {
2236
+ /**
2237
+ *
2238
+ * @type {string}
2239
+ * @memberof CreateTask201Response
2240
+ */
2241
+ 'taskId'?: string;
2242
+ /**
2243
+ *
2244
+ * @type {string}
2245
+ * @memberof CreateTask201Response
2246
+ */
2247
+ 'orgId'?: string;
2248
+ /**
2249
+ *
2250
+ * @type {string}
2251
+ * @memberof CreateTask201Response
2252
+ */
2253
+ 'title'?: string;
2254
+ /**
2255
+ *
2256
+ * @type {string}
2257
+ * @memberof CreateTask201Response
2258
+ */
2259
+ 'status'?: string;
2260
+ /**
2261
+ *
2262
+ * @type {number}
2263
+ * @memberof CreateTask201Response
2264
+ */
2265
+ 'createdAt'?: number;
2266
+ }
2267
+ /**
2268
+ *
2269
+ * @export
2270
+ * @interface CreateTaskRequest
2271
+ */
2272
+ export interface CreateTaskRequest {
2273
+ /**
2274
+ * Task title
2275
+ * @type {string}
2276
+ * @memberof CreateTaskRequest
2277
+ */
2278
+ 'title': string;
2279
+ /**
2280
+ * Detailed task description
2281
+ * @type {string}
2282
+ * @memberof CreateTaskRequest
2283
+ */
2284
+ 'description'?: string;
2285
+ /**
2286
+ * Task list ID for grouping related tasks (implicit - lists are created automatically)
2287
+ * @type {string}
2288
+ * @memberof CreateTaskRequest
2289
+ */
2290
+ 'taskListId'?: string;
2291
+ /**
2292
+ * Initial task status
2293
+ * @type {string}
2294
+ * @memberof CreateTaskRequest
2295
+ */
2296
+ 'status'?: CreateTaskRequestStatusEnum;
2297
+ /**
2298
+ * Pre-assign task to specific agent
2299
+ * @type {string}
2300
+ * @memberof CreateTaskRequest
2301
+ */
2302
+ 'assignedAgentId'?: string;
2303
+ /**
2304
+ * Agent ID that created this task
2305
+ * @type {string}
2306
+ * @memberof CreateTaskRequest
2307
+ */
2308
+ 'createdByAgentId'?: string;
2309
+ /**
2310
+ * Task IDs that must complete before this task can start
2311
+ * @type {Array<string>}
2312
+ * @memberof CreateTaskRequest
2313
+ */
2314
+ 'dependsOn'?: Array<string>;
2315
+ /**
2316
+ * Flexible JSON metadata for task-specific data
2317
+ * @type {object}
2318
+ * @memberof CreateTaskRequest
2319
+ */
2320
+ 'metadata'?: object;
2321
+ /**
2322
+ * Maximum retry attempts on failure
2323
+ * @type {number}
2324
+ * @memberof CreateTaskRequest
2325
+ */
2326
+ 'maxRetries'?: number;
2327
+ /**
2328
+ * Reason task is blocked (when status is blocked)
2329
+ * @type {string}
2330
+ * @memberof CreateTaskRequest
2331
+ */
2332
+ 'blockedReason'?: string;
2333
+ /**
2334
+ * Task IDs that are blocking this task
2335
+ * @type {Array<string>}
2336
+ * @memberof CreateTaskRequest
2337
+ */
2338
+ 'blockedByTaskIds'?: Array<string>;
2339
+ }
2340
+ export declare const CreateTaskRequestStatusEnum: {
2341
+ readonly Pending: "pending";
2342
+ readonly InProgress: "in_progress";
2343
+ readonly Completed: "completed";
2344
+ readonly Failed: "failed";
2345
+ readonly Cancelled: "cancelled";
2346
+ readonly Blocked: "blocked";
2347
+ };
2348
+ export type CreateTaskRequestStatusEnum = typeof CreateTaskRequestStatusEnum[keyof typeof CreateTaskRequestStatusEnum];
2100
2349
  /**
2101
2350
  *
2102
2351
  * @export
@@ -2391,6 +2640,75 @@ export interface DeleteCustomTool200Response {
2391
2640
  */
2392
2641
  'message'?: string;
2393
2642
  }
2643
+ /**
2644
+ *
2645
+ * @export
2646
+ * @interface DeleteFile200Response
2647
+ */
2648
+ export interface DeleteFile200Response {
2649
+ /**
2650
+ *
2651
+ * @type {string}
2652
+ * @memberof DeleteFile200Response
2653
+ */
2654
+ 'message'?: string;
2655
+ /**
2656
+ *
2657
+ * @type {string}
2658
+ * @memberof DeleteFile200Response
2659
+ */
2660
+ 'fileId'?: string;
2661
+ }
2662
+ /**
2663
+ *
2664
+ * @export
2665
+ * @interface DeleteTask200Response
2666
+ */
2667
+ export interface DeleteTask200Response {
2668
+ /**
2669
+ *
2670
+ * @type {boolean}
2671
+ * @memberof DeleteTask200Response
2672
+ */
2673
+ 'deleted'?: boolean;
2674
+ /**
2675
+ * Number of tasks deleted (more than 1 for cascade)
2676
+ * @type {number}
2677
+ * @memberof DeleteTask200Response
2678
+ */
2679
+ 'deletedCount'?: number;
2680
+ /**
2681
+ *
2682
+ * @type {Array<string>}
2683
+ * @memberof DeleteTask200Response
2684
+ */
2685
+ 'deletedTaskIds'?: Array<string>;
2686
+ }
2687
+ /**
2688
+ *
2689
+ * @export
2690
+ * @interface DeleteTask409Response
2691
+ */
2692
+ export interface DeleteTask409Response {
2693
+ /**
2694
+ *
2695
+ * @type {string}
2696
+ * @memberof DeleteTask409Response
2697
+ */
2698
+ 'error'?: string;
2699
+ /**
2700
+ *
2701
+ * @type {string}
2702
+ * @memberof DeleteTask409Response
2703
+ */
2704
+ 'message'?: string;
2705
+ /**
2706
+ *
2707
+ * @type {Array<string>}
2708
+ * @memberof DeleteTask409Response
2709
+ */
2710
+ 'dependentTaskIds'?: Array<string>;
2711
+ }
2394
2712
  /**
2395
2713
  *
2396
2714
  * @export
@@ -3071,70 +3389,202 @@ export interface GetAIModel404Response {
3071
3389
  /**
3072
3390
  *
3073
3391
  * @export
3074
- * @interface GetAISession200Response
3392
+ * @interface GetAIOrchestrationStatus200Response
3075
3393
  */
3076
- export interface GetAISession200Response {
3394
+ export interface GetAIOrchestrationStatus200Response {
3077
3395
  /**
3078
- *
3396
+ * Unique orchestration identifier
3079
3397
  * @type {string}
3080
- * @memberof GetAISession200Response
3398
+ * @memberof GetAIOrchestrationStatus200Response
3081
3399
  */
3082
- 'id'?: string;
3400
+ 'orchestrationId': string;
3083
3401
  /**
3084
- *
3402
+ * Current orchestration status
3085
3403
  * @type {string}
3086
- * @memberof GetAISession200Response
3404
+ * @memberof GetAIOrchestrationStatus200Response
3087
3405
  */
3088
- 'title'?: string;
3406
+ 'status': GetAIOrchestrationStatus200ResponseStatusEnum;
3089
3407
  /**
3090
- *
3408
+ * Total number of async tools in this orchestration
3409
+ * @type {number}
3410
+ * @memberof GetAIOrchestrationStatus200Response
3411
+ */
3412
+ 'toolCount': number;
3413
+ /**
3414
+ * Number of tools that have completed
3415
+ * @type {number}
3416
+ * @memberof GetAIOrchestrationStatus200Response
3417
+ */
3418
+ 'completedTools'?: number;
3419
+ /**
3420
+ * AI-synthesized response combining all tool results (only present when status=complete)
3091
3421
  * @type {string}
3092
- * @memberof GetAISession200Response
3422
+ * @memberof GetAIOrchestrationStatus200Response
3093
3423
  */
3094
- 'model'?: string;
3424
+ 'synthesizedResponse'?: string;
3095
3425
  /**
3096
- *
3097
- * @type {Array<object>}
3098
- * @memberof GetAISession200Response
3426
+ * Status of individual tool executions
3427
+ * @type {Array<GetAIOrchestrationStatus200ResponseToolsInner>}
3428
+ * @memberof GetAIOrchestrationStatus200Response
3099
3429
  */
3100
- 'messages'?: Array<object>;
3430
+ 'tools'?: Array<GetAIOrchestrationStatus200ResponseToolsInner>;
3101
3431
  /**
3102
- *
3432
+ * Error message (only present when status=failed)
3103
3433
  * @type {string}
3104
- * @memberof GetAISession200Response
3434
+ * @memberof GetAIOrchestrationStatus200Response
3105
3435
  */
3106
- 'created_at'?: string;
3436
+ 'error'?: string;
3437
+ /**
3438
+ * When orchestration was created
3439
+ * @type {string}
3440
+ * @memberof GetAIOrchestrationStatus200Response
3441
+ */
3442
+ 'createdAt': string;
3443
+ /**
3444
+ * When orchestration completed (if status in complete or failed)
3445
+ * @type {string}
3446
+ * @memberof GetAIOrchestrationStatus200Response
3447
+ */
3448
+ 'completedAt'?: string;
3107
3449
  }
3450
+ export declare const GetAIOrchestrationStatus200ResponseStatusEnum: {
3451
+ readonly Pending: "pending";
3452
+ readonly Polling: "polling";
3453
+ readonly Synthesizing: "synthesizing";
3454
+ readonly Complete: "complete";
3455
+ readonly Failed: "failed";
3456
+ };
3457
+ export type GetAIOrchestrationStatus200ResponseStatusEnum = typeof GetAIOrchestrationStatus200ResponseStatusEnum[keyof typeof GetAIOrchestrationStatus200ResponseStatusEnum];
3108
3458
  /**
3109
3459
  *
3110
3460
  * @export
3111
- * @interface GetAIToolExecutionStatus200Response
3461
+ * @interface GetAIOrchestrationStatus200ResponseToolsInner
3112
3462
  */
3113
- export interface GetAIToolExecutionStatus200Response {
3463
+ export interface GetAIOrchestrationStatus200ResponseToolsInner {
3114
3464
  /**
3115
3465
  *
3116
3466
  * @type {string}
3117
- * @memberof GetAIToolExecutionStatus200Response
3467
+ * @memberof GetAIOrchestrationStatus200ResponseToolsInner
3118
3468
  */
3119
- 'executionId': string;
3469
+ 'executionId'?: string;
3120
3470
  /**
3121
3471
  *
3122
3472
  * @type {string}
3123
- * @memberof GetAIToolExecutionStatus200Response
3473
+ * @memberof GetAIOrchestrationStatus200ResponseToolsInner
3124
3474
  */
3125
- 'toolName': string;
3475
+ 'toolName'?: string;
3126
3476
  /**
3127
- * Execution status: pending, running, complete, or failed
3477
+ *
3128
3478
  * @type {string}
3129
- * @memberof GetAIToolExecutionStatus200Response
3479
+ * @memberof GetAIOrchestrationStatus200ResponseToolsInner
3130
3480
  */
3131
- 'status': string;
3481
+ 'status'?: GetAIOrchestrationStatus200ResponseToolsInnerStatusEnum;
3132
3482
  /**
3133
- *
3134
- * @type {GetAIToolExecutionStatus200ResponseResult}
3135
- * @memberof GetAIToolExecutionStatus200Response
3483
+ * Tool result (if complete)
3484
+ * @type {object}
3485
+ * @memberof GetAIOrchestrationStatus200ResponseToolsInner
3136
3486
  */
3137
- 'result'?: GetAIToolExecutionStatus200ResponseResult;
3487
+ 'result'?: object;
3488
+ /**
3489
+ * Error message (if failed)
3490
+ * @type {string}
3491
+ * @memberof GetAIOrchestrationStatus200ResponseToolsInner
3492
+ */
3493
+ 'error'?: string;
3494
+ }
3495
+ export declare const GetAIOrchestrationStatus200ResponseToolsInnerStatusEnum: {
3496
+ readonly Pending: "pending";
3497
+ readonly Running: "running";
3498
+ readonly Complete: "complete";
3499
+ readonly Failed: "failed";
3500
+ };
3501
+ export type GetAIOrchestrationStatus200ResponseToolsInnerStatusEnum = typeof GetAIOrchestrationStatus200ResponseToolsInnerStatusEnum[keyof typeof GetAIOrchestrationStatus200ResponseToolsInnerStatusEnum];
3502
+ /**
3503
+ *
3504
+ * @export
3505
+ * @interface GetAIOrchestrationStatus404Response
3506
+ */
3507
+ export interface GetAIOrchestrationStatus404Response {
3508
+ /**
3509
+ *
3510
+ * @type {string}
3511
+ * @memberof GetAIOrchestrationStatus404Response
3512
+ */
3513
+ 'error'?: string;
3514
+ /**
3515
+ *
3516
+ * @type {string}
3517
+ * @memberof GetAIOrchestrationStatus404Response
3518
+ */
3519
+ 'orchestrationId'?: string;
3520
+ }
3521
+ /**
3522
+ *
3523
+ * @export
3524
+ * @interface GetAISession200Response
3525
+ */
3526
+ export interface GetAISession200Response {
3527
+ /**
3528
+ *
3529
+ * @type {string}
3530
+ * @memberof GetAISession200Response
3531
+ */
3532
+ 'id'?: string;
3533
+ /**
3534
+ *
3535
+ * @type {string}
3536
+ * @memberof GetAISession200Response
3537
+ */
3538
+ 'title'?: string;
3539
+ /**
3540
+ *
3541
+ * @type {string}
3542
+ * @memberof GetAISession200Response
3543
+ */
3544
+ 'model'?: string;
3545
+ /**
3546
+ *
3547
+ * @type {Array<object>}
3548
+ * @memberof GetAISession200Response
3549
+ */
3550
+ 'messages'?: Array<object>;
3551
+ /**
3552
+ *
3553
+ * @type {string}
3554
+ * @memberof GetAISession200Response
3555
+ */
3556
+ 'created_at'?: string;
3557
+ }
3558
+ /**
3559
+ *
3560
+ * @export
3561
+ * @interface GetAIToolExecutionStatus200Response
3562
+ */
3563
+ export interface GetAIToolExecutionStatus200Response {
3564
+ /**
3565
+ *
3566
+ * @type {string}
3567
+ * @memberof GetAIToolExecutionStatus200Response
3568
+ */
3569
+ 'executionId': string;
3570
+ /**
3571
+ *
3572
+ * @type {string}
3573
+ * @memberof GetAIToolExecutionStatus200Response
3574
+ */
3575
+ 'toolName': string;
3576
+ /**
3577
+ * Execution status: pending, running, complete, or failed
3578
+ * @type {string}
3579
+ * @memberof GetAIToolExecutionStatus200Response
3580
+ */
3581
+ 'status': string;
3582
+ /**
3583
+ *
3584
+ * @type {GetAIToolExecutionStatus200ResponseResult}
3585
+ * @memberof GetAIToolExecutionStatus200Response
3586
+ */
3587
+ 'result'?: GetAIToolExecutionStatus200ResponseResult;
3138
3588
  /**
3139
3589
  * Error message (only present when status=\'failed\')
3140
3590
  * @type {string}
@@ -3253,223 +3703,651 @@ export interface GetAIUsageStats200ResponseByModelValue {
3253
3703
  /**
3254
3704
  *
3255
3705
  * @export
3256
- * @interface GetEcrLoginCredentials200Response
3706
+ * @interface GetDependencyGraph200Response
3257
3707
  */
3258
- export interface GetEcrLoginCredentials200Response {
3259
- /**
3260
- *
3261
- * @type {string}
3262
- * @memberof GetEcrLoginCredentials200Response
3263
- */
3264
- 'username'?: string;
3708
+ export interface GetDependencyGraph200Response {
3265
3709
  /**
3266
3710
  *
3267
3711
  * @type {string}
3268
- * @memberof GetEcrLoginCredentials200Response
3712
+ * @memberof GetDependencyGraph200Response
3269
3713
  */
3270
- 'password'?: string;
3714
+ 'taskListId'?: string;
3271
3715
  /**
3272
3716
  *
3273
- * @type {string}
3274
- * @memberof GetEcrLoginCredentials200Response
3717
+ * @type {number}
3718
+ * @memberof GetDependencyGraph200Response
3275
3719
  */
3276
- 'expiresAt'?: string;
3720
+ 'taskCount'?: number;
3277
3721
  /**
3278
- *
3279
- * @type {string}
3280
- * @memberof GetEcrLoginCredentials200Response
3722
+ * Task IDs with no dependencies
3723
+ * @type {Array<string>}
3724
+ * @memberof GetDependencyGraph200Response
3281
3725
  */
3282
- 'endpoint'?: string;
3283
- }
3284
- /**
3285
- *
3286
- * @export
3287
- * @interface GetEnvironmentLogs200Response
3288
- */
3289
- export interface GetEnvironmentLogs200Response {
3726
+ 'roots'?: Array<string>;
3290
3727
  /**
3291
- * Array of log events
3292
- * @type {Array<GetEnvironmentLogs200ResponseLogEventsInner>}
3293
- * @memberof GetEnvironmentLogs200Response
3728
+ * Task IDs with no dependents
3729
+ * @type {Array<string>}
3730
+ * @memberof GetDependencyGraph200Response
3294
3731
  */
3295
- 'logEvents'?: Array<GetEnvironmentLogs200ResponseLogEventsInner>;
3732
+ 'leaves'?: Array<string>;
3296
3733
  /**
3297
- * Token for fetching next page of results (null if no more pages)
3298
- * @type {string}
3299
- * @memberof GetEnvironmentLogs200Response
3734
+ * Adjacency list with task summaries, dependsOn, and dependents arrays
3735
+ * @type {object}
3736
+ * @memberof GetDependencyGraph200Response
3300
3737
  */
3301
- 'nextToken'?: string | null;
3738
+ 'graph'?: object;
3302
3739
  }
3303
3740
  /**
3304
3741
  *
3305
3742
  * @export
3306
- * @interface GetEnvironmentLogs200ResponseLogEventsInner
3743
+ * @interface GetDurableExecutionStatus200Response
3307
3744
  */
3308
- export interface GetEnvironmentLogs200ResponseLogEventsInner {
3309
- /**
3310
- * Unix timestamp in milliseconds
3311
- * @type {number}
3312
- * @memberof GetEnvironmentLogs200ResponseLogEventsInner
3313
- */
3314
- 'timestamp'?: number;
3745
+ export interface GetDurableExecutionStatus200Response {
3315
3746
  /**
3316
- * Log message content
3747
+ *
3317
3748
  * @type {string}
3318
- * @memberof GetEnvironmentLogs200ResponseLogEventsInner
3749
+ * @memberof GetDurableExecutionStatus200Response
3319
3750
  */
3320
- 'message'?: string;
3321
- }
3322
- /**
3323
- *
3324
- * @export
3325
- * @interface GetSshAccessCredentials200Response
3326
- */
3327
- export interface GetSshAccessCredentials200Response {
3751
+ 'requestId'?: string;
3328
3752
  /**
3329
3753
  *
3330
- * @type {boolean}
3331
- * @memberof GetSshAccessCredentials200Response
3754
+ * @type {string}
3755
+ * @memberof GetDurableExecutionStatus200Response
3332
3756
  */
3333
- 'success'?: boolean;
3757
+ 'executionArn'?: string;
3334
3758
  /**
3335
3759
  *
3336
- * @type {GetSshAccessCredentials200ResponseCredentials}
3337
- * @memberof GetSshAccessCredentials200Response
3760
+ * @type {string}
3761
+ * @memberof GetDurableExecutionStatus200Response
3338
3762
  */
3339
- 'credentials'?: GetSshAccessCredentials200ResponseCredentials;
3763
+ 'status'?: GetDurableExecutionStatus200ResponseStatusEnum;
3340
3764
  /**
3341
- *
3765
+ * Raw AWS Step Functions status
3342
3766
  * @type {string}
3343
- * @memberof GetSshAccessCredentials200Response
3767
+ * @memberof GetDurableExecutionStatus200Response
3344
3768
  */
3345
- 'clusterName'?: string;
3769
+ 'awsStatus'?: string;
3346
3770
  /**
3347
- *
3771
+ * Present when status is waiting_callback - use with /chat/callback
3348
3772
  * @type {string}
3349
- * @memberof GetSshAccessCredentials200Response
3773
+ * @memberof GetDurableExecutionStatus200Response
3350
3774
  */
3351
- 'taskArn'?: string;
3775
+ 'callbackId'?: string;
3352
3776
  /**
3353
- *
3354
- * @type {string}
3355
- * @memberof GetSshAccessCredentials200Response
3777
+ * Present when status is waiting_callback - tools waiting for results
3778
+ * @type {Array<GetDurableExecutionStatus200ResponsePendingToolsInner>}
3779
+ * @memberof GetDurableExecutionStatus200Response
3356
3780
  */
3357
- 'taskId'?: string;
3781
+ 'pendingTools'?: Array<GetDurableExecutionStatus200ResponsePendingToolsInner>;
3358
3782
  /**
3359
3783
  *
3360
- * @type {Array<string>}
3361
- * @memberof GetSshAccessCredentials200Response
3784
+ * @type {GetDurableExecutionStatus200ResponseResult}
3785
+ * @memberof GetDurableExecutionStatus200Response
3362
3786
  */
3363
- 'containerNames'?: Array<string>;
3787
+ 'result'?: GetDurableExecutionStatus200ResponseResult;
3364
3788
  /**
3365
3789
  *
3366
- * @type {string}
3367
- * @memberof GetSshAccessCredentials200Response
3790
+ * @type {GetDurableExecutionStatus200ResponseError}
3791
+ * @memberof GetDurableExecutionStatus200Response
3368
3792
  */
3369
- 'region'?: string;
3793
+ 'error'?: GetDurableExecutionStatus200ResponseError;
3794
+ }
3795
+ export declare const GetDurableExecutionStatus200ResponseStatusEnum: {
3796
+ readonly Pending: "pending";
3797
+ readonly Running: "running";
3798
+ readonly WaitingCallback: "waiting_callback";
3799
+ readonly Complete: "complete";
3800
+ readonly Failed: "failed";
3801
+ };
3802
+ export type GetDurableExecutionStatus200ResponseStatusEnum = typeof GetDurableExecutionStatus200ResponseStatusEnum[keyof typeof GetDurableExecutionStatus200ResponseStatusEnum];
3803
+ /**
3804
+ * Present when status is failed
3805
+ * @export
3806
+ * @interface GetDurableExecutionStatus200ResponseError
3807
+ */
3808
+ export interface GetDurableExecutionStatus200ResponseError {
3370
3809
  /**
3371
3810
  *
3372
- * @type {number}
3373
- * @memberof GetSshAccessCredentials200Response
3811
+ * @type {string}
3812
+ * @memberof GetDurableExecutionStatus200ResponseError
3374
3813
  */
3375
- 'expiresIn'?: number;
3814
+ 'ErrorMessage'?: string;
3376
3815
  /**
3377
3816
  *
3378
3817
  * @type {string}
3379
- * @memberof GetSshAccessCredentials200Response
3818
+ * @memberof GetDurableExecutionStatus200ResponseError
3380
3819
  */
3381
- 'organizationScope'?: string;
3820
+ 'ErrorType'?: string;
3382
3821
  }
3383
3822
  /**
3384
3823
  *
3385
3824
  * @export
3386
- * @interface GetSshAccessCredentials200ResponseCredentials
3825
+ * @interface GetDurableExecutionStatus200ResponsePendingToolsInner
3387
3826
  */
3388
- export interface GetSshAccessCredentials200ResponseCredentials {
3389
- /**
3390
- *
3391
- * @type {string}
3392
- * @memberof GetSshAccessCredentials200ResponseCredentials
3393
- */
3394
- 'accessKeyId'?: string;
3827
+ export interface GetDurableExecutionStatus200ResponsePendingToolsInner {
3395
3828
  /**
3396
3829
  *
3397
3830
  * @type {string}
3398
- * @memberof GetSshAccessCredentials200ResponseCredentials
3831
+ * @memberof GetDurableExecutionStatus200ResponsePendingToolsInner
3399
3832
  */
3400
- 'secretAccessKey'?: string;
3833
+ 'name'?: string;
3401
3834
  /**
3402
3835
  *
3403
3836
  * @type {string}
3404
- * @memberof GetSshAccessCredentials200ResponseCredentials
3837
+ * @memberof GetDurableExecutionStatus200ResponsePendingToolsInner
3405
3838
  */
3406
- 'sessionToken'?: string;
3839
+ 'toolUseId'?: string;
3407
3840
  /**
3408
3841
  *
3409
- * @type {string}
3410
- * @memberof GetSshAccessCredentials200ResponseCredentials
3842
+ * @type {object}
3843
+ * @memberof GetDurableExecutionStatus200ResponsePendingToolsInner
3411
3844
  */
3412
- 'expiration'?: string;
3845
+ 'input'?: object;
3413
3846
  }
3414
3847
  /**
3415
- *
3848
+ * Present when status is complete
3416
3849
  * @export
3417
- * @interface GetVectorCollection200Response
3850
+ * @interface GetDurableExecutionStatus200ResponseResult
3418
3851
  */
3419
- export interface GetVectorCollection200Response {
3852
+ export interface GetDurableExecutionStatus200ResponseResult {
3420
3853
  /**
3421
3854
  *
3422
- * @type {GetVectorCollection200ResponseCollection}
3423
- * @memberof GetVectorCollection200Response
3855
+ * @type {GetDurableExecutionStatus200ResponseResultResponse}
3856
+ * @memberof GetDurableExecutionStatus200ResponseResult
3424
3857
  */
3425
- 'collection'?: GetVectorCollection200ResponseCollection;
3858
+ 'response'?: GetDurableExecutionStatus200ResponseResultResponse;
3859
+ /**
3860
+ *
3861
+ * @type {GetDurableExecutionStatus200ResponseResultUsage}
3862
+ * @memberof GetDurableExecutionStatus200ResponseResult
3863
+ */
3864
+ 'usage'?: GetDurableExecutionStatus200ResponseResultUsage;
3865
+ /**
3866
+ *
3867
+ * @type {Array<object>}
3868
+ * @memberof GetDurableExecutionStatus200ResponseResult
3869
+ */
3870
+ 'toolExecutions'?: Array<object>;
3426
3871
  }
3427
3872
  /**
3428
3873
  *
3429
3874
  * @export
3430
- * @interface GetVectorCollection200ResponseCollection
3875
+ * @interface GetDurableExecutionStatus200ResponseResultResponse
3431
3876
  */
3432
- export interface GetVectorCollection200ResponseCollection {
3433
- /**
3434
- *
3435
- * @type {string}
3436
- * @memberof GetVectorCollection200ResponseCollection
3437
- */
3438
- 'collectionId'?: string;
3877
+ export interface GetDurableExecutionStatus200ResponseResultResponse {
3439
3878
  /**
3440
3879
  *
3441
3880
  * @type {string}
3442
- * @memberof GetVectorCollection200ResponseCollection
3881
+ * @memberof GetDurableExecutionStatus200ResponseResultResponse
3443
3882
  */
3444
- 'name'?: string;
3883
+ 'role'?: string;
3445
3884
  /**
3446
3885
  *
3447
3886
  * @type {string}
3448
- * @memberof GetVectorCollection200ResponseCollection
3887
+ * @memberof GetDurableExecutionStatus200ResponseResultResponse
3449
3888
  */
3450
- 'description'?: string;
3889
+ 'content'?: string;
3890
+ }
3891
+ /**
3892
+ *
3893
+ * @export
3894
+ * @interface GetDurableExecutionStatus200ResponseResultUsage
3895
+ */
3896
+ export interface GetDurableExecutionStatus200ResponseResultUsage {
3451
3897
  /**
3452
3898
  *
3453
3899
  * @type {number}
3454
- * @memberof GetVectorCollection200ResponseCollection
3900
+ * @memberof GetDurableExecutionStatus200ResponseResultUsage
3455
3901
  */
3456
- 'documentCount'?: number;
3902
+ 'inputTokens'?: number;
3457
3903
  /**
3458
3904
  *
3459
- * @type {string}
3460
- * @memberof GetVectorCollection200ResponseCollection
3905
+ * @type {number}
3906
+ * @memberof GetDurableExecutionStatus200ResponseResultUsage
3461
3907
  */
3462
- 'embeddingModel'?: string;
3908
+ 'outputTokens'?: number;
3463
3909
  /**
3464
3910
  *
3465
3911
  * @type {number}
3466
- * @memberof GetVectorCollection200ResponseCollection
3912
+ * @memberof GetDurableExecutionStatus200ResponseResultUsage
3467
3913
  */
3468
- 'dimensions'?: number;
3914
+ 'totalTokens'?: number;
3915
+ }
3916
+ /**
3917
+ *
3918
+ * @export
3919
+ * @interface GetEcrLoginCredentials200Response
3920
+ */
3921
+ export interface GetEcrLoginCredentials200Response {
3469
3922
  /**
3470
3923
  *
3471
3924
  * @type {string}
3472
- * @memberof GetVectorCollection200ResponseCollection
3925
+ * @memberof GetEcrLoginCredentials200Response
3926
+ */
3927
+ 'username'?: string;
3928
+ /**
3929
+ *
3930
+ * @type {string}
3931
+ * @memberof GetEcrLoginCredentials200Response
3932
+ */
3933
+ 'password'?: string;
3934
+ /**
3935
+ *
3936
+ * @type {string}
3937
+ * @memberof GetEcrLoginCredentials200Response
3938
+ */
3939
+ 'expiresAt'?: string;
3940
+ /**
3941
+ *
3942
+ * @type {string}
3943
+ * @memberof GetEcrLoginCredentials200Response
3944
+ */
3945
+ 'endpoint'?: string;
3946
+ }
3947
+ /**
3948
+ *
3949
+ * @export
3950
+ * @interface GetEnvironmentLogs200Response
3951
+ */
3952
+ export interface GetEnvironmentLogs200Response {
3953
+ /**
3954
+ * Array of log events
3955
+ * @type {Array<GetEnvironmentLogs200ResponseLogEventsInner>}
3956
+ * @memberof GetEnvironmentLogs200Response
3957
+ */
3958
+ 'logEvents'?: Array<GetEnvironmentLogs200ResponseLogEventsInner>;
3959
+ /**
3960
+ * Token for fetching next page of results (null if no more pages)
3961
+ * @type {string}
3962
+ * @memberof GetEnvironmentLogs200Response
3963
+ */
3964
+ 'nextToken'?: string | null;
3965
+ }
3966
+ /**
3967
+ *
3968
+ * @export
3969
+ * @interface GetEnvironmentLogs200ResponseLogEventsInner
3970
+ */
3971
+ export interface GetEnvironmentLogs200ResponseLogEventsInner {
3972
+ /**
3973
+ * Unix timestamp in milliseconds
3974
+ * @type {number}
3975
+ * @memberof GetEnvironmentLogs200ResponseLogEventsInner
3976
+ */
3977
+ 'timestamp'?: number;
3978
+ /**
3979
+ * Log message content
3980
+ * @type {string}
3981
+ * @memberof GetEnvironmentLogs200ResponseLogEventsInner
3982
+ */
3983
+ 'message'?: string;
3984
+ }
3985
+ /**
3986
+ *
3987
+ * @export
3988
+ * @interface GetFile200Response
3989
+ */
3990
+ export interface GetFile200Response {
3991
+ /**
3992
+ *
3993
+ * @type {string}
3994
+ * @memberof GetFile200Response
3995
+ */
3996
+ 'fileId'?: string;
3997
+ /**
3998
+ *
3999
+ * @type {string}
4000
+ * @memberof GetFile200Response
4001
+ */
4002
+ 's3Uri'?: string;
4003
+ /**
4004
+ * Presigned download URL (1 hour)
4005
+ * @type {string}
4006
+ * @memberof GetFile200Response
4007
+ */
4008
+ 'url'?: string;
4009
+ /**
4010
+ *
4011
+ * @type {string}
4012
+ * @memberof GetFile200Response
4013
+ */
4014
+ 'filename'?: string;
4015
+ /**
4016
+ *
4017
+ * @type {string}
4018
+ * @memberof GetFile200Response
4019
+ */
4020
+ 'contentType'?: string;
4021
+ /**
4022
+ *
4023
+ * @type {number}
4024
+ * @memberof GetFile200Response
4025
+ */
4026
+ 'size'?: number;
4027
+ /**
4028
+ *
4029
+ * @type {object}
4030
+ * @memberof GetFile200Response
4031
+ */
4032
+ 'metadata'?: object;
4033
+ /**
4034
+ *
4035
+ * @type {string}
4036
+ * @memberof GetFile200Response
4037
+ */
4038
+ 'createdAt'?: string;
4039
+ }
4040
+ /**
4041
+ *
4042
+ * @export
4043
+ * @interface GetSshAccessCredentials200Response
4044
+ */
4045
+ export interface GetSshAccessCredentials200Response {
4046
+ /**
4047
+ *
4048
+ * @type {boolean}
4049
+ * @memberof GetSshAccessCredentials200Response
4050
+ */
4051
+ 'success'?: boolean;
4052
+ /**
4053
+ *
4054
+ * @type {GetSshAccessCredentials200ResponseCredentials}
4055
+ * @memberof GetSshAccessCredentials200Response
4056
+ */
4057
+ 'credentials'?: GetSshAccessCredentials200ResponseCredentials;
4058
+ /**
4059
+ *
4060
+ * @type {string}
4061
+ * @memberof GetSshAccessCredentials200Response
4062
+ */
4063
+ 'clusterName'?: string;
4064
+ /**
4065
+ *
4066
+ * @type {string}
4067
+ * @memberof GetSshAccessCredentials200Response
4068
+ */
4069
+ 'taskArn'?: string;
4070
+ /**
4071
+ *
4072
+ * @type {string}
4073
+ * @memberof GetSshAccessCredentials200Response
4074
+ */
4075
+ 'taskId'?: string;
4076
+ /**
4077
+ *
4078
+ * @type {Array<string>}
4079
+ * @memberof GetSshAccessCredentials200Response
4080
+ */
4081
+ 'containerNames'?: Array<string>;
4082
+ /**
4083
+ *
4084
+ * @type {string}
4085
+ * @memberof GetSshAccessCredentials200Response
4086
+ */
4087
+ 'region'?: string;
4088
+ /**
4089
+ *
4090
+ * @type {number}
4091
+ * @memberof GetSshAccessCredentials200Response
4092
+ */
4093
+ 'expiresIn'?: number;
4094
+ /**
4095
+ *
4096
+ * @type {string}
4097
+ * @memberof GetSshAccessCredentials200Response
4098
+ */
4099
+ 'organizationScope'?: string;
4100
+ }
4101
+ /**
4102
+ *
4103
+ * @export
4104
+ * @interface GetSshAccessCredentials200ResponseCredentials
4105
+ */
4106
+ export interface GetSshAccessCredentials200ResponseCredentials {
4107
+ /**
4108
+ *
4109
+ * @type {string}
4110
+ * @memberof GetSshAccessCredentials200ResponseCredentials
4111
+ */
4112
+ 'accessKeyId'?: string;
4113
+ /**
4114
+ *
4115
+ * @type {string}
4116
+ * @memberof GetSshAccessCredentials200ResponseCredentials
4117
+ */
4118
+ 'secretAccessKey'?: string;
4119
+ /**
4120
+ *
4121
+ * @type {string}
4122
+ * @memberof GetSshAccessCredentials200ResponseCredentials
4123
+ */
4124
+ 'sessionToken'?: string;
4125
+ /**
4126
+ *
4127
+ * @type {string}
4128
+ * @memberof GetSshAccessCredentials200ResponseCredentials
4129
+ */
4130
+ 'expiration'?: string;
4131
+ }
4132
+ /**
4133
+ *
4134
+ * @export
4135
+ * @interface GetTask200Response
4136
+ */
4137
+ export interface GetTask200Response {
4138
+ /**
4139
+ *
4140
+ * @type {string}
4141
+ * @memberof GetTask200Response
4142
+ */
4143
+ 'taskId'?: string;
4144
+ /**
4145
+ *
4146
+ * @type {string}
4147
+ * @memberof GetTask200Response
4148
+ */
4149
+ 'orgId'?: string;
4150
+ /**
4151
+ *
4152
+ * @type {string}
4153
+ * @memberof GetTask200Response
4154
+ */
4155
+ 'taskListId'?: string | null;
4156
+ /**
4157
+ *
4158
+ * @type {string}
4159
+ * @memberof GetTask200Response
4160
+ */
4161
+ 'title'?: string;
4162
+ /**
4163
+ *
4164
+ * @type {string}
4165
+ * @memberof GetTask200Response
4166
+ */
4167
+ 'description'?: string;
4168
+ /**
4169
+ *
4170
+ * @type {string}
4171
+ * @memberof GetTask200Response
4172
+ */
4173
+ 'status'?: GetTask200ResponseStatusEnum;
4174
+ /**
4175
+ *
4176
+ * @type {string}
4177
+ * @memberof GetTask200Response
4178
+ */
4179
+ 'assignedAgentId'?: string | null;
4180
+ /**
4181
+ *
4182
+ * @type {string}
4183
+ * @memberof GetTask200Response
4184
+ */
4185
+ 'createdByAgentId'?: string | null;
4186
+ /**
4187
+ *
4188
+ * @type {Array<string>}
4189
+ * @memberof GetTask200Response
4190
+ */
4191
+ 'dependsOn'?: Array<string>;
4192
+ /**
4193
+ *
4194
+ * @type {object}
4195
+ * @memberof GetTask200Response
4196
+ */
4197
+ 'metadata'?: object;
4198
+ /**
4199
+ *
4200
+ * @type {number}
4201
+ * @memberof GetTask200Response
4202
+ */
4203
+ 'progress'?: number;
4204
+ /**
4205
+ *
4206
+ * @type {string}
4207
+ * @memberof GetTask200Response
4208
+ */
4209
+ 'progressMessage'?: string;
4210
+ /**
4211
+ * Task result data when completed
4212
+ * @type {object}
4213
+ * @memberof GetTask200Response
4214
+ */
4215
+ 'result'?: object | null;
4216
+ /**
4217
+ * Error message if status is failed
4218
+ * @type {string}
4219
+ * @memberof GetTask200Response
4220
+ */
4221
+ 'error'?: string | null;
4222
+ /**
4223
+ *
4224
+ * @type {number}
4225
+ * @memberof GetTask200Response
4226
+ */
4227
+ 'retryCount'?: number;
4228
+ /**
4229
+ *
4230
+ * @type {number}
4231
+ * @memberof GetTask200Response
4232
+ */
4233
+ 'maxRetries'?: number;
4234
+ /**
4235
+ * Unix timestamp in milliseconds
4236
+ * @type {number}
4237
+ * @memberof GetTask200Response
4238
+ */
4239
+ 'createdAt'?: number;
4240
+ /**
4241
+ * Unix timestamp in milliseconds
4242
+ * @type {number}
4243
+ * @memberof GetTask200Response
4244
+ */
4245
+ 'updatedAt'?: number;
4246
+ /**
4247
+ * When status changed to in_progress
4248
+ * @type {number}
4249
+ * @memberof GetTask200Response
4250
+ */
4251
+ 'startedAt'?: number | null;
4252
+ /**
4253
+ * When task completed/failed/cancelled
4254
+ * @type {number}
4255
+ * @memberof GetTask200Response
4256
+ */
4257
+ 'completedAt'?: number | null;
4258
+ /**
4259
+ * TTL timestamp for completed tasks
4260
+ * @type {number}
4261
+ * @memberof GetTask200Response
4262
+ */
4263
+ 'expiresAt'?: number | null;
4264
+ /**
4265
+ * Reason task is blocked
4266
+ * @type {string}
4267
+ * @memberof GetTask200Response
4268
+ */
4269
+ 'blockedReason'?: string | null;
4270
+ /**
4271
+ * Task IDs that are blocking this task
4272
+ * @type {Array<string>}
4273
+ * @memberof GetTask200Response
4274
+ */
4275
+ 'blockedByTaskIds'?: Array<string> | null;
4276
+ /**
4277
+ * When status changed to blocked
4278
+ * @type {number}
4279
+ * @memberof GetTask200Response
4280
+ */
4281
+ 'blockedAt'?: number | null;
4282
+ }
4283
+ export declare const GetTask200ResponseStatusEnum: {
4284
+ readonly Pending: "pending";
4285
+ readonly InProgress: "in_progress";
4286
+ readonly Completed: "completed";
4287
+ readonly Failed: "failed";
4288
+ readonly Cancelled: "cancelled";
4289
+ readonly Blocked: "blocked";
4290
+ };
4291
+ export type GetTask200ResponseStatusEnum = typeof GetTask200ResponseStatusEnum[keyof typeof GetTask200ResponseStatusEnum];
4292
+ /**
4293
+ *
4294
+ * @export
4295
+ * @interface GetVectorCollection200Response
4296
+ */
4297
+ export interface GetVectorCollection200Response {
4298
+ /**
4299
+ *
4300
+ * @type {GetVectorCollection200ResponseCollection}
4301
+ * @memberof GetVectorCollection200Response
4302
+ */
4303
+ 'collection'?: GetVectorCollection200ResponseCollection;
4304
+ }
4305
+ /**
4306
+ *
4307
+ * @export
4308
+ * @interface GetVectorCollection200ResponseCollection
4309
+ */
4310
+ export interface GetVectorCollection200ResponseCollection {
4311
+ /**
4312
+ *
4313
+ * @type {string}
4314
+ * @memberof GetVectorCollection200ResponseCollection
4315
+ */
4316
+ 'collectionId'?: string;
4317
+ /**
4318
+ *
4319
+ * @type {string}
4320
+ * @memberof GetVectorCollection200ResponseCollection
4321
+ */
4322
+ 'name'?: string;
4323
+ /**
4324
+ *
4325
+ * @type {string}
4326
+ * @memberof GetVectorCollection200ResponseCollection
4327
+ */
4328
+ 'description'?: string;
4329
+ /**
4330
+ *
4331
+ * @type {number}
4332
+ * @memberof GetVectorCollection200ResponseCollection
4333
+ */
4334
+ 'documentCount'?: number;
4335
+ /**
4336
+ *
4337
+ * @type {string}
4338
+ * @memberof GetVectorCollection200ResponseCollection
4339
+ */
4340
+ 'embeddingModel'?: string;
4341
+ /**
4342
+ *
4343
+ * @type {number}
4344
+ * @memberof GetVectorCollection200ResponseCollection
4345
+ */
4346
+ 'dimensions'?: number;
4347
+ /**
4348
+ *
4349
+ * @type {string}
4350
+ * @memberof GetVectorCollection200ResponseCollection
3473
4351
  */
3474
4352
  'createdAt'?: string;
3475
4353
  /**
@@ -4386,101 +5264,288 @@ export interface ListBackups200ResponseBackupsInner {
4386
5264
  * @type {string}
4387
5265
  * @memberof ListBackups200ResponseBackupsInner
4388
5266
  */
4389
- 'bucketName'?: string;
5267
+ 'bucketName'?: string;
5268
+ /**
5269
+ *
5270
+ * @type {number}
5271
+ * @memberof ListBackups200ResponseBackupsInner
5272
+ */
5273
+ 'size'?: number;
5274
+ /**
5275
+ *
5276
+ * @type {string}
5277
+ * @memberof ListBackups200ResponseBackupsInner
5278
+ */
5279
+ 'sizeFormatted'?: string;
5280
+ /**
5281
+ *
5282
+ * @type {boolean}
5283
+ * @memberof ListBackups200ResponseBackupsInner
5284
+ */
5285
+ 'fileExists'?: boolean;
5286
+ }
5287
+ /**
5288
+ *
5289
+ * @export
5290
+ * @interface ListBackups422Response
5291
+ */
5292
+ export interface ListBackups422Response {
5293
+ /**
5294
+ *
5295
+ * @type {string}
5296
+ * @memberof ListBackups422Response
5297
+ */
5298
+ 'error'?: string;
5299
+ }
5300
+ /**
5301
+ *
5302
+ * @export
5303
+ * @interface ListCustomTools200Response
5304
+ */
5305
+ export interface ListCustomTools200Response {
5306
+ /**
5307
+ *
5308
+ * @type {Array<ListCustomTools200ResponseToolsInner>}
5309
+ * @memberof ListCustomTools200Response
5310
+ */
5311
+ 'tools'?: Array<ListCustomTools200ResponseToolsInner>;
5312
+ /**
5313
+ *
5314
+ * @type {number}
5315
+ * @memberof ListCustomTools200Response
5316
+ */
5317
+ 'count'?: number;
5318
+ }
5319
+ /**
5320
+ *
5321
+ * @export
5322
+ * @interface ListCustomTools200ResponseToolsInner
5323
+ */
5324
+ export interface ListCustomTools200ResponseToolsInner {
5325
+ /**
5326
+ *
5327
+ * @type {string}
5328
+ * @memberof ListCustomTools200ResponseToolsInner
5329
+ */
5330
+ 'name'?: string;
5331
+ /**
5332
+ *
5333
+ * @type {string}
5334
+ * @memberof ListCustomTools200ResponseToolsInner
5335
+ */
5336
+ 'description'?: string;
5337
+ /**
5338
+ *
5339
+ * @type {string}
5340
+ * @memberof ListCustomTools200ResponseToolsInner
5341
+ */
5342
+ 'edgeFunctionUrl'?: string;
5343
+ /**
5344
+ *
5345
+ * @type {boolean}
5346
+ * @memberof ListCustomTools200ResponseToolsInner
5347
+ */
5348
+ 'isAsync'?: boolean;
5349
+ /**
5350
+ *
5351
+ * @type {object}
5352
+ * @memberof ListCustomTools200ResponseToolsInner
5353
+ */
5354
+ 'inputSchema'?: object;
5355
+ /**
5356
+ *
5357
+ * @type {string}
5358
+ * @memberof ListCustomTools200ResponseToolsInner
5359
+ */
5360
+ 'createdAt'?: string;
5361
+ }
5362
+ /**
5363
+ *
5364
+ * @export
5365
+ * @interface ListFiles200Response
5366
+ */
5367
+ export interface ListFiles200Response {
5368
+ /**
5369
+ *
5370
+ * @type {Array<ListFiles200ResponseFilesInner>}
5371
+ * @memberof ListFiles200Response
5372
+ */
5373
+ 'files'?: Array<ListFiles200ResponseFilesInner>;
5374
+ /**
5375
+ * Cursor for next page
5376
+ * @type {string}
5377
+ * @memberof ListFiles200Response
5378
+ */
5379
+ 'nextCursor'?: string | null;
5380
+ /**
5381
+ * True if more results available
5382
+ * @type {boolean}
5383
+ * @memberof ListFiles200Response
5384
+ */
5385
+ 'hasMore'?: boolean;
5386
+ }
5387
+ /**
5388
+ *
5389
+ * @export
5390
+ * @interface ListFiles200ResponseFilesInner
5391
+ */
5392
+ export interface ListFiles200ResponseFilesInner {
5393
+ /**
5394
+ *
5395
+ * @type {string}
5396
+ * @memberof ListFiles200ResponseFilesInner
5397
+ */
5398
+ 'fileId'?: string;
5399
+ /**
5400
+ *
5401
+ * @type {string}
5402
+ * @memberof ListFiles200ResponseFilesInner
5403
+ */
5404
+ 'filename'?: string;
5405
+ /**
5406
+ *
5407
+ * @type {string}
5408
+ * @memberof ListFiles200ResponseFilesInner
5409
+ */
5410
+ 'contentType'?: string;
4390
5411
  /**
4391
5412
  *
4392
5413
  * @type {number}
4393
- * @memberof ListBackups200ResponseBackupsInner
5414
+ * @memberof ListFiles200ResponseFilesInner
4394
5415
  */
4395
5416
  'size'?: number;
4396
5417
  /**
4397
5418
  *
4398
- * @type {string}
4399
- * @memberof ListBackups200ResponseBackupsInner
5419
+ * @type {object}
5420
+ * @memberof ListFiles200ResponseFilesInner
4400
5421
  */
4401
- 'sizeFormatted'?: string;
5422
+ 'metadata'?: object;
4402
5423
  /**
4403
5424
  *
4404
- * @type {boolean}
4405
- * @memberof ListBackups200ResponseBackupsInner
5425
+ * @type {string}
5426
+ * @memberof ListFiles200ResponseFilesInner
4406
5427
  */
4407
- 'fileExists'?: boolean;
5428
+ 'createdAt'?: string;
4408
5429
  }
4409
5430
  /**
4410
5431
  *
4411
5432
  * @export
4412
- * @interface ListBackups422Response
5433
+ * @interface ListTasks200Response
4413
5434
  */
4414
- export interface ListBackups422Response {
5435
+ export interface ListTasks200Response {
4415
5436
  /**
4416
5437
  *
4417
- * @type {string}
4418
- * @memberof ListBackups422Response
5438
+ * @type {Array<ListTasks200ResponseTasksInner>}
5439
+ * @memberof ListTasks200Response
4419
5440
  */
4420
- 'error'?: string;
4421
- }
4422
- /**
4423
- *
4424
- * @export
4425
- * @interface ListCustomTools200Response
4426
- */
4427
- export interface ListCustomTools200Response {
5441
+ 'tasks'?: Array<ListTasks200ResponseTasksInner>;
4428
5442
  /**
4429
- *
4430
- * @type {Array<ListCustomTools200ResponseToolsInner>}
4431
- * @memberof ListCustomTools200Response
5443
+ * Task IDs (only with dependsOn filter)
5444
+ * @type {Array<string>}
5445
+ * @memberof ListTasks200Response
4432
5446
  */
4433
- 'tools'?: Array<ListCustomTools200ResponseToolsInner>;
5447
+ 'taskIds'?: Array<string>;
4434
5448
  /**
4435
5449
  *
4436
5450
  * @type {number}
4437
- * @memberof ListCustomTools200Response
5451
+ * @memberof ListTasks200Response
4438
5452
  */
4439
5453
  'count'?: number;
5454
+ /**
5455
+ * The queried task ID (only with dependsOn filter)
5456
+ * @type {string}
5457
+ * @memberof ListTasks200Response
5458
+ */
5459
+ 'dependsOn'?: string;
4440
5460
  }
4441
5461
  /**
4442
5462
  *
4443
5463
  * @export
4444
- * @interface ListCustomTools200ResponseToolsInner
5464
+ * @interface ListTasks200ResponseTasksInner
4445
5465
  */
4446
- export interface ListCustomTools200ResponseToolsInner {
5466
+ export interface ListTasks200ResponseTasksInner {
4447
5467
  /**
4448
5468
  *
4449
5469
  * @type {string}
4450
- * @memberof ListCustomTools200ResponseToolsInner
5470
+ * @memberof ListTasks200ResponseTasksInner
4451
5471
  */
4452
- 'name'?: string;
5472
+ 'taskId'?: string;
4453
5473
  /**
4454
5474
  *
4455
5475
  * @type {string}
4456
- * @memberof ListCustomTools200ResponseToolsInner
5476
+ * @memberof ListTasks200ResponseTasksInner
5477
+ */
5478
+ 'orgId'?: string;
5479
+ /**
5480
+ *
5481
+ * @type {string}
5482
+ * @memberof ListTasks200ResponseTasksInner
5483
+ */
5484
+ 'taskListId'?: string | null;
5485
+ /**
5486
+ *
5487
+ * @type {string}
5488
+ * @memberof ListTasks200ResponseTasksInner
5489
+ */
5490
+ 'title'?: string;
5491
+ /**
5492
+ *
5493
+ * @type {string}
5494
+ * @memberof ListTasks200ResponseTasksInner
4457
5495
  */
4458
5496
  'description'?: string;
4459
5497
  /**
4460
5498
  *
4461
5499
  * @type {string}
4462
- * @memberof ListCustomTools200ResponseToolsInner
5500
+ * @memberof ListTasks200ResponseTasksInner
4463
5501
  */
4464
- 'edgeFunctionUrl'?: string;
5502
+ 'status'?: ListTasks200ResponseTasksInnerStatusEnum;
4465
5503
  /**
4466
5504
  *
4467
- * @type {boolean}
4468
- * @memberof ListCustomTools200ResponseToolsInner
5505
+ * @type {string}
5506
+ * @memberof ListTasks200ResponseTasksInner
4469
5507
  */
4470
- 'isAsync'?: boolean;
5508
+ 'assignedAgentId'?: string | null;
4471
5509
  /**
4472
5510
  *
4473
- * @type {object}
4474
- * @memberof ListCustomTools200ResponseToolsInner
5511
+ * @type {number}
5512
+ * @memberof ListTasks200ResponseTasksInner
4475
5513
  */
4476
- 'inputSchema'?: object;
5514
+ 'progress'?: number;
4477
5515
  /**
4478
5516
  *
4479
5517
  * @type {string}
4480
- * @memberof ListCustomTools200ResponseToolsInner
5518
+ * @memberof ListTasks200ResponseTasksInner
4481
5519
  */
4482
- 'createdAt'?: string;
5520
+ 'blockedReason'?: string | null;
5521
+ /**
5522
+ *
5523
+ * @type {Array<string>}
5524
+ * @memberof ListTasks200ResponseTasksInner
5525
+ */
5526
+ 'blockedByTaskIds'?: Array<string> | null;
5527
+ /**
5528
+ *
5529
+ * @type {number}
5530
+ * @memberof ListTasks200ResponseTasksInner
5531
+ */
5532
+ 'createdAt'?: number;
5533
+ /**
5534
+ *
5535
+ * @type {number}
5536
+ * @memberof ListTasks200ResponseTasksInner
5537
+ */
5538
+ 'updatedAt'?: number;
4483
5539
  }
5540
+ export declare const ListTasks200ResponseTasksInnerStatusEnum: {
5541
+ readonly Pending: "pending";
5542
+ readonly InProgress: "in_progress";
5543
+ readonly Completed: "completed";
5544
+ readonly Failed: "failed";
5545
+ readonly Cancelled: "cancelled";
5546
+ readonly Blocked: "blocked";
5547
+ };
5548
+ export type ListTasks200ResponseTasksInnerStatusEnum = typeof ListTasks200ResponseTasksInnerStatusEnum[keyof typeof ListTasks200ResponseTasksInnerStatusEnum];
4484
5549
  /**
4485
5550
  *
4486
5551
  * @export
@@ -4786,73 +5851,139 @@ export interface QueryVectorCollection200Response {
4786
5851
  */
4787
5852
  'results'?: Array<QueryVectorCollection200ResponseResultsInner>;
4788
5853
  /**
4789
- *
5854
+ * Original query text (null if vector or metadata search was used)
4790
5855
  * @type {string}
4791
5856
  * @memberof QueryVectorCollection200Response
4792
5857
  */
4793
- 'query'?: string;
5858
+ 'query'?: string | null;
4794
5859
  /**
4795
- *
5860
+ * Search mode used: text (query provided), vector (pre-computed), metadata (listByMetadata)
5861
+ * @type {string}
5862
+ * @memberof QueryVectorCollection200Response
5863
+ */
5864
+ 'searchMode'?: QueryVectorCollection200ResponseSearchModeEnum;
5865
+ /**
5866
+ * Filter that was applied (if any)
5867
+ * @type {object}
5868
+ * @memberof QueryVectorCollection200Response
5869
+ */
5870
+ 'filter'?: object | null;
5871
+ /**
5872
+ * Number of results returned
4796
5873
  * @type {number}
4797
5874
  * @memberof QueryVectorCollection200Response
4798
5875
  */
4799
5876
  'count'?: number;
4800
5877
  /**
4801
- *
5878
+ * Query execution time in milliseconds
4802
5879
  * @type {number}
4803
5880
  * @memberof QueryVectorCollection200Response
4804
5881
  */
4805
5882
  'executionTimeMs'?: number;
5883
+ /**
5884
+ *
5885
+ * @type {string}
5886
+ * @memberof QueryVectorCollection200Response
5887
+ */
5888
+ 'collectionId'?: string;
5889
+ /**
5890
+ * True if more results available (listByMetadata mode only)
5891
+ * @type {boolean}
5892
+ * @memberof QueryVectorCollection200Response
5893
+ */
5894
+ 'hasMore'?: boolean;
5895
+ /**
5896
+ * Cursor for next page. Pass as cursor param to continue. Null when no more results. Only in listByMetadata mode.
5897
+ * @type {string}
5898
+ * @memberof QueryVectorCollection200Response
5899
+ */
5900
+ 'nextCursor'?: string | null;
5901
+ /**
5902
+ *
5903
+ * @type {QueryVectorCollection200ResponsePagination}
5904
+ * @memberof QueryVectorCollection200Response
5905
+ */
5906
+ 'pagination'?: QueryVectorCollection200ResponsePagination | null;
4806
5907
  }
5908
+ export declare const QueryVectorCollection200ResponseSearchModeEnum: {
5909
+ readonly Text: "text";
5910
+ readonly Vector: "vector";
5911
+ readonly Metadata: "metadata";
5912
+ };
5913
+ export type QueryVectorCollection200ResponseSearchModeEnum = typeof QueryVectorCollection200ResponseSearchModeEnum[keyof typeof QueryVectorCollection200ResponseSearchModeEnum];
4807
5914
  /**
4808
- *
5915
+ * Pagination info (listByMetadata mode only)
4809
5916
  * @export
4810
- * @interface QueryVectorCollection200ResponseResultsInner
5917
+ * @interface QueryVectorCollection200ResponsePagination
4811
5918
  */
4812
- export interface QueryVectorCollection200ResponseResultsInner {
5919
+ export interface QueryVectorCollection200ResponsePagination {
4813
5920
  /**
4814
5921
  *
4815
5922
  * @type {string}
4816
- * @memberof QueryVectorCollection200ResponseResultsInner
5923
+ * @memberof QueryVectorCollection200ResponsePagination
4817
5924
  */
4818
- 'content'?: string;
5925
+ 'sortBy'?: QueryVectorCollection200ResponsePaginationSortByEnum;
4819
5926
  /**
4820
5927
  *
4821
- * @type {number}
4822
- * @memberof QueryVectorCollection200ResponseResultsInner
5928
+ * @type {string}
5929
+ * @memberof QueryVectorCollection200ResponsePagination
4823
5930
  */
4824
- 'score'?: number;
5931
+ 'sortOrder'?: QueryVectorCollection200ResponsePaginationSortOrderEnum;
4825
5932
  /**
4826
5933
  *
4827
- * @type {QueryVectorCollection200ResponseResultsInnerMetadata}
4828
- * @memberof QueryVectorCollection200ResponseResultsInner
5934
+ * @type {number}
5935
+ * @memberof QueryVectorCollection200ResponsePagination
4829
5936
  */
4830
- 'metadata'?: QueryVectorCollection200ResponseResultsInnerMetadata;
5937
+ 'limit'?: number;
4831
5938
  }
5939
+ export declare const QueryVectorCollection200ResponsePaginationSortByEnum: {
5940
+ readonly CreatedAt: "created_at";
5941
+ readonly DocumentId: "document_id";
5942
+ };
5943
+ export type QueryVectorCollection200ResponsePaginationSortByEnum = typeof QueryVectorCollection200ResponsePaginationSortByEnum[keyof typeof QueryVectorCollection200ResponsePaginationSortByEnum];
5944
+ export declare const QueryVectorCollection200ResponsePaginationSortOrderEnum: {
5945
+ readonly Asc: "asc";
5946
+ readonly Desc: "desc";
5947
+ };
5948
+ export type QueryVectorCollection200ResponsePaginationSortOrderEnum = typeof QueryVectorCollection200ResponsePaginationSortOrderEnum[keyof typeof QueryVectorCollection200ResponsePaginationSortOrderEnum];
4832
5949
  /**
4833
5950
  *
4834
5951
  * @export
4835
- * @interface QueryVectorCollection200ResponseResultsInnerMetadata
5952
+ * @interface QueryVectorCollection200ResponseResultsInner
4836
5953
  */
4837
- export interface QueryVectorCollection200ResponseResultsInnerMetadata {
5954
+ export interface QueryVectorCollection200ResponseResultsInner {
4838
5955
  /**
4839
5956
  *
4840
5957
  * @type {string}
4841
- * @memberof QueryVectorCollection200ResponseResultsInnerMetadata
5958
+ * @memberof QueryVectorCollection200ResponseResultsInner
4842
5959
  */
4843
- 'title'?: string;
5960
+ 'documentId'?: string;
4844
5961
  /**
4845
- *
5962
+ * Document text content
4846
5963
  * @type {string}
4847
- * @memberof QueryVectorCollection200ResponseResultsInnerMetadata
5964
+ * @memberof QueryVectorCollection200ResponseResultsInner
4848
5965
  */
4849
- 'source_url'?: string;
5966
+ 'content'?: string;
5967
+ /**
5968
+ * Cosine similarity score (1.0 for metadata-only queries)
5969
+ * @type {number}
5970
+ * @memberof QueryVectorCollection200ResponseResultsInner
5971
+ */
5972
+ 'similarity'?: number;
4850
5973
  /**
4851
5974
  *
4852
- * @type {string}
4853
- * @memberof QueryVectorCollection200ResponseResultsInnerMetadata
5975
+ * @type {{ [key: string]: any; }}
5976
+ * @memberof QueryVectorCollection200ResponseResultsInner
4854
5977
  */
4855
- 'section'?: string;
5978
+ 'metadata'?: {
5979
+ [key: string]: any;
5980
+ };
5981
+ /**
5982
+ * Vector embedding (only if includeEmbeddings=true)
5983
+ * @type {Array<number>}
5984
+ * @memberof QueryVectorCollection200ResponseResultsInner
5985
+ */
5986
+ 'embedding'?: Array<number>;
4856
5987
  }
4857
5988
  /**
4858
5989
  *
@@ -4861,17 +5992,98 @@ export interface QueryVectorCollection200ResponseResultsInnerMetadata {
4861
5992
  */
4862
5993
  export interface QueryVectorCollectionRequest {
4863
5994
  /**
4864
- * Natural language search query
5995
+ * Natural language search query (mutually exclusive with vector)
4865
5996
  * @type {string}
4866
5997
  * @memberof QueryVectorCollectionRequest
4867
5998
  */
4868
- 'query': string;
5999
+ 'query'?: string;
6000
+ /**
6001
+ * Pre-computed embedding vector (mutually exclusive with query). Array length must match collection dimension.
6002
+ * @type {Array<number>}
6003
+ * @memberof QueryVectorCollectionRequest
6004
+ */
6005
+ 'vector'?: Array<number>;
4869
6006
  /**
4870
- * Number of results to return
6007
+ * Maximum number of results to return
4871
6008
  * @type {number}
4872
6009
  * @memberof QueryVectorCollectionRequest
4873
6010
  */
4874
- 'count'?: number;
6011
+ 'limit'?: number;
6012
+ /**
6013
+ * Minimum similarity score (0-1, higher = more relevant)
6014
+ * @type {number}
6015
+ * @memberof QueryVectorCollectionRequest
6016
+ */
6017
+ 'threshold'?: number;
6018
+ /**
6019
+ * Include embedding vectors in response (for debugging)
6020
+ * @type {boolean}
6021
+ * @memberof QueryVectorCollectionRequest
6022
+ */
6023
+ 'includeEmbeddings'?: boolean;
6024
+ /**
6025
+ *
6026
+ * @type {QueryVectorCollectionRequestFilter}
6027
+ * @memberof QueryVectorCollectionRequest
6028
+ */
6029
+ 'filter'?: QueryVectorCollectionRequestFilter;
6030
+ /**
6031
+ * If true, skip semantic search and return all documents matching the filter. Requires filter. Supports cursor pagination.
6032
+ * @type {boolean}
6033
+ * @memberof QueryVectorCollectionRequest
6034
+ */
6035
+ 'listByMetadata'?: boolean;
6036
+ /**
6037
+ * Pagination cursor for listByMetadata mode. Use nextCursor from previous response. Opaque format - do not construct manually.
6038
+ * @type {string}
6039
+ * @memberof QueryVectorCollectionRequest
6040
+ */
6041
+ 'cursor'?: string;
6042
+ /**
6043
+ * Field to sort by in listByMetadata mode
6044
+ * @type {string}
6045
+ * @memberof QueryVectorCollectionRequest
6046
+ */
6047
+ 'sortBy'?: QueryVectorCollectionRequestSortByEnum;
6048
+ /**
6049
+ * Sort direction in listByMetadata mode
6050
+ * @type {string}
6051
+ * @memberof QueryVectorCollectionRequest
6052
+ */
6053
+ 'sortOrder'?: QueryVectorCollectionRequestSortOrderEnum;
6054
+ }
6055
+ export declare const QueryVectorCollectionRequestSortByEnum: {
6056
+ readonly CreatedAt: "created_at";
6057
+ readonly DocumentId: "document_id";
6058
+ };
6059
+ export type QueryVectorCollectionRequestSortByEnum = typeof QueryVectorCollectionRequestSortByEnum[keyof typeof QueryVectorCollectionRequestSortByEnum];
6060
+ export declare const QueryVectorCollectionRequestSortOrderEnum: {
6061
+ readonly Asc: "asc";
6062
+ readonly Desc: "desc";
6063
+ };
6064
+ export type QueryVectorCollectionRequestSortOrderEnum = typeof QueryVectorCollectionRequestSortOrderEnum[keyof typeof QueryVectorCollectionRequestSortOrderEnum];
6065
+ /**
6066
+ * Filter results by metadata fields. Applied AFTER semantic search (or alone in listByMetadata mode). All conditions use AND logic.
6067
+ * @export
6068
+ * @interface QueryVectorCollectionRequestFilter
6069
+ */
6070
+ export interface QueryVectorCollectionRequestFilter {
6071
+ /**
6072
+ * Exact match on metadata fields. Keys are metadata field names, values are expected values.
6073
+ * @type {{ [key: string]: any; }}
6074
+ * @memberof QueryVectorCollectionRequestFilter
6075
+ */
6076
+ 'exact'?: {
6077
+ [key: string]: any;
6078
+ };
6079
+ /**
6080
+ * Array contains filter for array metadata fields (like tags). Returns documents where the metadata array contains ANY of the specified values.
6081
+ * @type {{ [key: string]: Array<string>; }}
6082
+ * @memberof QueryVectorCollectionRequestFilter
6083
+ */
6084
+ 'contains'?: {
6085
+ [key: string]: Array<string>;
6086
+ };
4875
6087
  }
4876
6088
  /**
4877
6089
  *
@@ -4892,44 +6104,107 @@ export interface ScalingPolicy {
4892
6104
  */
4893
6105
  'targetValue'?: number;
4894
6106
  /**
4895
- *
4896
- * @type {number}
4897
- * @memberof ScalingPolicy
6107
+ *
6108
+ * @type {number}
6109
+ * @memberof ScalingPolicy
6110
+ */
6111
+ 'scaleInCooldownSeconds'?: number;
6112
+ /**
6113
+ *
6114
+ * @type {number}
6115
+ * @memberof ScalingPolicy
6116
+ */
6117
+ 'scaleOutCooldownSeconds'?: number;
6118
+ }
6119
+ export declare const ScalingPolicyMetricEnum: {
6120
+ readonly CpuUtilization: "CPUUtilization";
6121
+ readonly MemoryUtilization: "MemoryUtilization";
6122
+ readonly Rps: "RPS";
6123
+ };
6124
+ export type ScalingPolicyMetricEnum = typeof ScalingPolicyMetricEnum[keyof typeof ScalingPolicyMetricEnum];
6125
+ /**
6126
+ * Spot instance strategy configuration for controlling cost vs reliability. Spot instances provide significant cost savings (~70%) but may be interrupted by AWS. Available for non-production environments.
6127
+ * @export
6128
+ * @interface SpotConfiguration
6129
+ */
6130
+ export interface SpotConfiguration {
6131
+ /**
6132
+ * Spot instance strategy. \'off\' = On-Demand only (highest reliability, no savings). \'spot-only\' = 100% Spot instances (~70% savings, default for non-prod). \'mixed-safe\' = 50% Spot instances (~35% savings, requires multiple instances). \'mixed-aggressive\' = 80% Spot instances (~56% savings, requires multiple instances).
6133
+ * @type {string}
6134
+ * @memberof SpotConfiguration
6135
+ */
6136
+ 'strategy': SpotConfigurationStrategyEnum;
6137
+ }
6138
+ export declare const SpotConfigurationStrategyEnum: {
6139
+ readonly Off: "off";
6140
+ readonly SpotOnly: "spot-only";
6141
+ readonly MixedSafe: "mixed-safe";
6142
+ readonly MixedAggressive: "mixed-aggressive";
6143
+ };
6144
+ export type SpotConfigurationStrategyEnum = typeof SpotConfigurationStrategyEnum[keyof typeof SpotConfigurationStrategyEnum];
6145
+ /**
6146
+ *
6147
+ * @export
6148
+ * @interface SubmitToolCallback200Response
6149
+ */
6150
+ export interface SubmitToolCallback200Response {
6151
+ /**
6152
+ *
6153
+ * @type {boolean}
6154
+ * @memberof SubmitToolCallback200Response
6155
+ */
6156
+ 'success'?: boolean;
6157
+ /**
6158
+ *
6159
+ * @type {string}
6160
+ * @memberof SubmitToolCallback200Response
6161
+ */
6162
+ 'message'?: string;
6163
+ /**
6164
+ * Echo of the callbackId for confirmation
6165
+ * @type {string}
6166
+ * @memberof SubmitToolCallback200Response
6167
+ */
6168
+ 'callbackId'?: string;
6169
+ }
6170
+ /**
6171
+ *
6172
+ * @export
6173
+ * @interface SubmitToolCallbackRequest
6174
+ */
6175
+ export interface SubmitToolCallbackRequest {
6176
+ /**
6177
+ * The callbackId from the waiting_callback status response
6178
+ * @type {string}
6179
+ * @memberof SubmitToolCallbackRequest
4898
6180
  */
4899
- 'scaleInCooldownSeconds'?: number;
6181
+ 'callbackId': string;
4900
6182
  /**
4901
- *
4902
- * @type {number}
4903
- * @memberof ScalingPolicy
6183
+ * Results of client-executed tools
6184
+ * @type {Array<SubmitToolCallbackRequestToolResultsInner>}
6185
+ * @memberof SubmitToolCallbackRequest
4904
6186
  */
4905
- 'scaleOutCooldownSeconds'?: number;
6187
+ 'toolResults': Array<SubmitToolCallbackRequestToolResultsInner>;
4906
6188
  }
4907
- export declare const ScalingPolicyMetricEnum: {
4908
- readonly CpuUtilization: "CPUUtilization";
4909
- readonly MemoryUtilization: "MemoryUtilization";
4910
- readonly Rps: "RPS";
4911
- };
4912
- export type ScalingPolicyMetricEnum = typeof ScalingPolicyMetricEnum[keyof typeof ScalingPolicyMetricEnum];
4913
6189
  /**
4914
- * Spot instance strategy configuration for controlling cost vs reliability. Spot instances provide significant cost savings (~70%) but may be interrupted by AWS. Available for non-production environments.
6190
+ *
4915
6191
  * @export
4916
- * @interface SpotConfiguration
6192
+ * @interface SubmitToolCallbackRequestToolResultsInner
4917
6193
  */
4918
- export interface SpotConfiguration {
6194
+ export interface SubmitToolCallbackRequestToolResultsInner {
4919
6195
  /**
4920
- * Spot instance strategy. \'off\' = On-Demand only (highest reliability, no savings). \'spot-only\' = 100% Spot instances (~70% savings, default for non-prod). \'mixed-safe\' = 50% Spot instances (~35% savings, requires multiple instances). \'mixed-aggressive\' = 80% Spot instances (~56% savings, requires multiple instances).
6196
+ * The toolUseId from pendingTools
4921
6197
  * @type {string}
4922
- * @memberof SpotConfiguration
6198
+ * @memberof SubmitToolCallbackRequestToolResultsInner
4923
6199
  */
4924
- 'strategy': SpotConfigurationStrategyEnum;
6200
+ 'toolUseId': string;
6201
+ /**
6202
+ * The result of executing the tool
6203
+ * @type {object}
6204
+ * @memberof SubmitToolCallbackRequestToolResultsInner
6205
+ */
6206
+ 'result': object;
4925
6207
  }
4926
- export declare const SpotConfigurationStrategyEnum: {
4927
- readonly Off: "off";
4928
- readonly SpotOnly: "spot-only";
4929
- readonly MixedSafe: "mixed-safe";
4930
- readonly MixedAggressive: "mixed-aggressive";
4931
- };
4932
- export type SpotConfigurationStrategyEnum = typeof SpotConfigurationStrategyEnum[keyof typeof SpotConfigurationStrategyEnum];
4933
6208
  /**
4934
6209
  *
4935
6210
  * @export
@@ -5095,179 +6370,428 @@ export interface UpdateAISession200Response {
5095
6370
  * @type {string}
5096
6371
  * @memberof UpdateAISession200Response
5097
6372
  */
5098
- 'status'?: string;
6373
+ 'status'?: string;
6374
+ /**
6375
+ *
6376
+ * @type {number}
6377
+ * @memberof UpdateAISession200Response
6378
+ */
6379
+ 'totalMessages'?: number;
6380
+ /**
6381
+ *
6382
+ * @type {number}
6383
+ * @memberof UpdateAISession200Response
6384
+ */
6385
+ 'totalTokens'?: number;
6386
+ /**
6387
+ *
6388
+ * @type {string}
6389
+ * @memberof UpdateAISession200Response
6390
+ */
6391
+ 'updatedAt'?: string;
6392
+ }
6393
+ /**
6394
+ *
6395
+ * @export
6396
+ * @interface UpdateAISessionRequest
6397
+ */
6398
+ export interface UpdateAISessionRequest {
6399
+ /**
6400
+ * New messages to append to conversation
6401
+ * @type {Array<UpdateAISessionRequestNewMessagesInner>}
6402
+ * @memberof UpdateAISessionRequest
6403
+ */
6404
+ 'newMessages'?: Array<UpdateAISessionRequestNewMessagesInner>;
6405
+ /**
6406
+ * Tokens consumed in this turn
6407
+ * @type {number}
6408
+ * @memberof UpdateAISessionRequest
6409
+ */
6410
+ 'tokensUsed'?: number;
6411
+ /**
6412
+ * Update session status
6413
+ * @type {string}
6414
+ * @memberof UpdateAISessionRequest
6415
+ */
6416
+ 'status'?: UpdateAISessionRequestStatusEnum;
6417
+ /**
6418
+ * Update custom metadata
6419
+ * @type {object}
6420
+ * @memberof UpdateAISessionRequest
6421
+ */
6422
+ 'metadata'?: object;
6423
+ }
6424
+ export declare const UpdateAISessionRequestStatusEnum: {
6425
+ readonly Active: "active";
6426
+ readonly Completed: "completed";
6427
+ };
6428
+ export type UpdateAISessionRequestStatusEnum = typeof UpdateAISessionRequestStatusEnum[keyof typeof UpdateAISessionRequestStatusEnum];
6429
+ /**
6430
+ *
6431
+ * @export
6432
+ * @interface UpdateAISessionRequestNewMessagesInner
6433
+ */
6434
+ export interface UpdateAISessionRequestNewMessagesInner {
6435
+ /**
6436
+ *
6437
+ * @type {string}
6438
+ * @memberof UpdateAISessionRequestNewMessagesInner
6439
+ */
6440
+ 'role'?: UpdateAISessionRequestNewMessagesInnerRoleEnum;
6441
+ /**
6442
+ *
6443
+ * @type {string}
6444
+ * @memberof UpdateAISessionRequestNewMessagesInner
6445
+ */
6446
+ 'content'?: string;
6447
+ }
6448
+ export declare const UpdateAISessionRequestNewMessagesInnerRoleEnum: {
6449
+ readonly User: "user";
6450
+ readonly Assistant: "assistant";
6451
+ };
6452
+ export type UpdateAISessionRequestNewMessagesInnerRoleEnum = typeof UpdateAISessionRequestNewMessagesInnerRoleEnum[keyof typeof UpdateAISessionRequestNewMessagesInnerRoleEnum];
6453
+ /**
6454
+ *
6455
+ * @export
6456
+ * @interface UpdateCronJobRequest
6457
+ */
6458
+ export interface UpdateCronJobRequest {
6459
+ /**
6460
+ *
6461
+ * @type {string}
6462
+ * @memberof UpdateCronJobRequest
6463
+ */
6464
+ 'description'?: string | null;
6465
+ /**
6466
+ *
6467
+ * @type {string}
6468
+ * @memberof UpdateCronJobRequest
6469
+ */
6470
+ 'scheduleExpression'?: string | null;
6471
+ /**
6472
+ *
6473
+ * @type {Array<string>}
6474
+ * @memberof UpdateCronJobRequest
6475
+ */
6476
+ 'command'?: Array<string> | null;
6477
+ /**
6478
+ *
6479
+ * @type {string}
6480
+ * @memberof UpdateCronJobRequest
6481
+ */
6482
+ 'targetContainerName'?: string | null;
6483
+ /**
6484
+ *
6485
+ * @type {boolean}
6486
+ * @memberof UpdateCronJobRequest
6487
+ */
6488
+ 'isEnabled'?: boolean | null;
6489
+ }
6490
+ /**
6491
+ *
6492
+ * @export
6493
+ * @interface UpdateEnvironmentRequest
6494
+ */
6495
+ export interface UpdateEnvironmentRequest {
6496
+ /**
6497
+ *
6498
+ * @type {Compose}
6499
+ * @memberof UpdateEnvironmentRequest
6500
+ */
6501
+ 'composeDefinition': Compose;
6502
+ /**
6503
+ * Optional. Minimum number of tasks for auto-scaling. If provided at root level, will be merged into composeDefinition.
6504
+ * @type {number}
6505
+ * @memberof UpdateEnvironmentRequest
6506
+ */
6507
+ 'minCapacity'?: number | null;
6508
+ /**
6509
+ * Optional. Maximum number of tasks for auto-scaling. If provided at root level, will be merged into composeDefinition.
6510
+ * @type {number}
6511
+ * @memberof UpdateEnvironmentRequest
6512
+ */
6513
+ 'maxCapacity'?: number | null;
6514
+ }
6515
+ /**
6516
+ *
6517
+ * @export
6518
+ * @interface UpdateEnvironmentStateRequest
6519
+ */
6520
+ export interface UpdateEnvironmentStateRequest {
6521
+ /**
6522
+ *
6523
+ * @type {string}
6524
+ * @memberof UpdateEnvironmentStateRequest
6525
+ */
6526
+ 'action'?: string;
6527
+ /**
6528
+ *
6529
+ * @type {string}
6530
+ * @memberof UpdateEnvironmentStateRequest
6531
+ */
6532
+ 'imageTag'?: string;
6533
+ }
6534
+ /**
6535
+ *
6536
+ * @export
6537
+ * @interface UpdateEnvironmentVariableRequest
6538
+ */
6539
+ export interface UpdateEnvironmentVariableRequest {
6540
+ /**
6541
+ *
6542
+ * @type {string}
6543
+ * @memberof UpdateEnvironmentVariableRequest
6544
+ */
6545
+ 'value'?: string;
6546
+ }
6547
+ /**
6548
+ *
6549
+ * @export
6550
+ * @interface UpdateTask200Response
6551
+ */
6552
+ export interface UpdateTask200Response {
6553
+ /**
6554
+ *
6555
+ * @type {string}
6556
+ * @memberof UpdateTask200Response
6557
+ */
6558
+ 'taskId'?: string;
6559
+ /**
6560
+ *
6561
+ * @type {string}
6562
+ * @memberof UpdateTask200Response
6563
+ */
6564
+ 'status'?: string;
6565
+ /**
6566
+ *
6567
+ * @type {number}
6568
+ * @memberof UpdateTask200Response
6569
+ */
6570
+ 'updatedAt'?: number;
6571
+ }
6572
+ /**
6573
+ *
6574
+ * @export
6575
+ * @interface UpdateTaskRequest
6576
+ */
6577
+ export interface UpdateTaskRequest {
6578
+ /**
6579
+ *
6580
+ * @type {string}
6581
+ * @memberof UpdateTaskRequest
6582
+ */
6583
+ 'title'?: string;
6584
+ /**
6585
+ *
6586
+ * @type {string}
6587
+ * @memberof UpdateTaskRequest
6588
+ */
6589
+ 'description'?: string;
6590
+ /**
6591
+ * Move task to different list or remove from list (set null)
6592
+ * @type {string}
6593
+ * @memberof UpdateTaskRequest
6594
+ */
6595
+ 'taskListId'?: string | null;
6596
+ /**
6597
+ * Task status (triggers automatic timestamp updates)
6598
+ * @type {string}
6599
+ * @memberof UpdateTaskRequest
6600
+ */
6601
+ 'status'?: UpdateTaskRequestStatusEnum;
6602
+ /**
6603
+ * Reassign task to different agent
6604
+ * @type {string}
6605
+ * @memberof UpdateTaskRequest
6606
+ */
6607
+ 'assignedAgentId'?: string | null;
6608
+ /**
6609
+ * Update task dependencies
6610
+ * @type {Array<string>}
6611
+ * @memberof UpdateTaskRequest
6612
+ */
6613
+ 'dependsOn'?: Array<string>;
6614
+ /**
6615
+ * Update task metadata (replaces entire metadata object)
6616
+ * @type {object}
6617
+ * @memberof UpdateTaskRequest
6618
+ */
6619
+ 'metadata'?: object;
5099
6620
  /**
5100
- *
6621
+ * Progress from 0.0 to 1.0
5101
6622
  * @type {number}
5102
- * @memberof UpdateAISession200Response
6623
+ * @memberof UpdateTaskRequest
5103
6624
  */
5104
- 'totalMessages'?: number;
6625
+ 'progress'?: number;
5105
6626
  /**
5106
- *
5107
- * @type {number}
5108
- * @memberof UpdateAISession200Response
6627
+ * Human-readable progress message
6628
+ * @type {string}
6629
+ * @memberof UpdateTaskRequest
5109
6630
  */
5110
- 'totalTokens'?: number;
6631
+ 'progressMessage'?: string;
5111
6632
  /**
5112
- *
6633
+ * Task result data (set when completing task)
6634
+ * @type {object}
6635
+ * @memberof UpdateTaskRequest
6636
+ */
6637
+ 'result'?: object;
6638
+ /**
6639
+ * Error message (set when task fails)
5113
6640
  * @type {string}
5114
- * @memberof UpdateAISession200Response
6641
+ * @memberof UpdateTaskRequest
5115
6642
  */
5116
- 'updatedAt'?: string;
5117
- }
5118
- /**
5119
- *
5120
- * @export
5121
- * @interface UpdateAISessionRequest
5122
- */
5123
- export interface UpdateAISessionRequest {
6643
+ 'error'?: string | null;
5124
6644
  /**
5125
- * New messages to append to conversation
5126
- * @type {Array<UpdateAISessionRequestNewMessagesInner>}
5127
- * @memberof UpdateAISessionRequest
6645
+ * Update retry count
6646
+ * @type {number}
6647
+ * @memberof UpdateTaskRequest
5128
6648
  */
5129
- 'newMessages'?: Array<UpdateAISessionRequestNewMessagesInner>;
6649
+ 'retryCount'?: number;
5130
6650
  /**
5131
- * Tokens consumed in this turn
6651
+ * Update maximum retry attempts
5132
6652
  * @type {number}
5133
- * @memberof UpdateAISessionRequest
6653
+ * @memberof UpdateTaskRequest
5134
6654
  */
5135
- 'tokensUsed'?: number;
6655
+ 'maxRetries'?: number;
5136
6656
  /**
5137
- * Update session status
6657
+ * Reason task is blocked (set when status is blocked)
5138
6658
  * @type {string}
5139
- * @memberof UpdateAISessionRequest
6659
+ * @memberof UpdateTaskRequest
5140
6660
  */
5141
- 'status'?: UpdateAISessionRequestStatusEnum;
6661
+ 'blockedReason'?: string | null;
5142
6662
  /**
5143
- * Update custom metadata
5144
- * @type {object}
5145
- * @memberof UpdateAISessionRequest
6663
+ * Task IDs that are blocking this task
6664
+ * @type {Array<string>}
6665
+ * @memberof UpdateTaskRequest
5146
6666
  */
5147
- 'metadata'?: object;
6667
+ 'blockedByTaskIds'?: Array<string> | null;
5148
6668
  }
5149
- export declare const UpdateAISessionRequestStatusEnum: {
5150
- readonly Active: "active";
6669
+ export declare const UpdateTaskRequestStatusEnum: {
6670
+ readonly Pending: "pending";
6671
+ readonly InProgress: "in_progress";
5151
6672
  readonly Completed: "completed";
6673
+ readonly Failed: "failed";
6674
+ readonly Cancelled: "cancelled";
6675
+ readonly Blocked: "blocked";
5152
6676
  };
5153
- export type UpdateAISessionRequestStatusEnum = typeof UpdateAISessionRequestStatusEnum[keyof typeof UpdateAISessionRequestStatusEnum];
6677
+ export type UpdateTaskRequestStatusEnum = typeof UpdateTaskRequestStatusEnum[keyof typeof UpdateTaskRequestStatusEnum];
5154
6678
  /**
5155
6679
  *
5156
6680
  * @export
5157
- * @interface UpdateAISessionRequestNewMessagesInner
6681
+ * @interface UploadFile201Response
5158
6682
  */
5159
- export interface UpdateAISessionRequestNewMessagesInner {
6683
+ export interface UploadFile201Response {
5160
6684
  /**
5161
6685
  *
5162
6686
  * @type {string}
5163
- * @memberof UpdateAISessionRequestNewMessagesInner
6687
+ * @memberof UploadFile201Response
5164
6688
  */
5165
- 'role'?: UpdateAISessionRequestNewMessagesInnerRoleEnum;
6689
+ 'fileId'?: string;
5166
6690
  /**
5167
- *
6691
+ * S3 URI (direct upload only)
5168
6692
  * @type {string}
5169
- * @memberof UpdateAISessionRequestNewMessagesInner
6693
+ * @memberof UploadFile201Response
5170
6694
  */
5171
- 'content'?: string;
5172
- }
5173
- export declare const UpdateAISessionRequestNewMessagesInnerRoleEnum: {
5174
- readonly User: "user";
5175
- readonly Assistant: "assistant";
5176
- };
5177
- export type UpdateAISessionRequestNewMessagesInnerRoleEnum = typeof UpdateAISessionRequestNewMessagesInnerRoleEnum[keyof typeof UpdateAISessionRequestNewMessagesInnerRoleEnum];
5178
- /**
5179
- *
5180
- * @export
5181
- * @interface UpdateCronJobRequest
5182
- */
5183
- export interface UpdateCronJobRequest {
6695
+ 's3Uri'?: string;
6696
+ /**
6697
+ * Presigned download URL (direct upload only)
6698
+ * @type {string}
6699
+ * @memberof UploadFile201Response
6700
+ */
6701
+ 'url'?: string;
6702
+ /**
6703
+ * Presigned PUT URL (presigned upload only)
6704
+ * @type {string}
6705
+ * @memberof UploadFile201Response
6706
+ */
6707
+ 'uploadUrl'?: string;
6708
+ /**
6709
+ * S3 object key (presigned upload only)
6710
+ * @type {string}
6711
+ * @memberof UploadFile201Response
6712
+ */
6713
+ 's3Key'?: string;
6714
+ /**
6715
+ * URL expiry in seconds (presigned upload only)
6716
+ * @type {number}
6717
+ * @memberof UploadFile201Response
6718
+ */
6719
+ 'expiresIn'?: number;
5184
6720
  /**
5185
6721
  *
5186
6722
  * @type {string}
5187
- * @memberof UpdateCronJobRequest
6723
+ * @memberof UploadFile201Response
5188
6724
  */
5189
- 'description'?: string | null;
6725
+ 'filename'?: string;
5190
6726
  /**
5191
6727
  *
5192
6728
  * @type {string}
5193
- * @memberof UpdateCronJobRequest
6729
+ * @memberof UploadFile201Response
5194
6730
  */
5195
- 'scheduleExpression'?: string | null;
6731
+ 'contentType'?: string;
5196
6732
  /**
5197
6733
  *
5198
- * @type {Array<string>}
5199
- * @memberof UpdateCronJobRequest
6734
+ * @type {number}
6735
+ * @memberof UploadFile201Response
5200
6736
  */
5201
- 'command'?: Array<string> | null;
6737
+ 'size'?: number;
5202
6738
  /**
5203
6739
  *
5204
- * @type {string}
5205
- * @memberof UpdateCronJobRequest
6740
+ * @type {object}
6741
+ * @memberof UploadFile201Response
5206
6742
  */
5207
- 'targetContainerName'?: string | null;
6743
+ 'metadata'?: object;
5208
6744
  /**
5209
6745
  *
5210
- * @type {boolean}
5211
- * @memberof UpdateCronJobRequest
6746
+ * @type {string}
6747
+ * @memberof UploadFile201Response
5212
6748
  */
5213
- 'isEnabled'?: boolean | null;
6749
+ 'createdAt'?: string;
5214
6750
  }
5215
6751
  /**
5216
6752
  *
5217
6753
  * @export
5218
- * @interface UpdateEnvironmentRequest
6754
+ * @interface UploadFileRequest
5219
6755
  */
5220
- export interface UpdateEnvironmentRequest {
6756
+ export interface UploadFileRequest {
5221
6757
  /**
5222
- *
5223
- * @type {Compose}
5224
- * @memberof UpdateEnvironmentRequest
6758
+ * Base64-encoded file content (for direct upload). Required unless using requestUploadUrl.
6759
+ * @type {string}
6760
+ * @memberof UploadFileRequest
5225
6761
  */
5226
- 'composeDefinition': Compose;
6762
+ 'content'?: string;
5227
6763
  /**
5228
- * Optional. Minimum number of tasks for auto-scaling. If provided at root level, will be merged into composeDefinition.
5229
- * @type {number}
5230
- * @memberof UpdateEnvironmentRequest
6764
+ * Set to true to get a presigned S3 upload URL instead of uploading directly.
6765
+ * @type {boolean}
6766
+ * @memberof UploadFileRequest
5231
6767
  */
5232
- 'minCapacity'?: number | null;
6768
+ 'requestUploadUrl'?: boolean;
5233
6769
  /**
5234
- * Optional. Maximum number of tasks for auto-scaling. If provided at root level, will be merged into composeDefinition.
6770
+ * File size in bytes. Optional but recommended for presigned uploads.
5235
6771
  * @type {number}
5236
- * @memberof UpdateEnvironmentRequest
6772
+ * @memberof UploadFileRequest
5237
6773
  */
5238
- 'maxCapacity'?: number | null;
5239
- }
5240
- /**
5241
- *
5242
- * @export
5243
- * @interface UpdateEnvironmentStateRequest
5244
- */
5245
- export interface UpdateEnvironmentStateRequest {
6774
+ 'size'?: number;
5246
6775
  /**
5247
- *
6776
+ * Original filename
5248
6777
  * @type {string}
5249
- * @memberof UpdateEnvironmentStateRequest
6778
+ * @memberof UploadFileRequest
5250
6779
  */
5251
- 'action'?: string;
6780
+ 'filename'?: string;
5252
6781
  /**
5253
- *
6782
+ * MIME type of the file
5254
6783
  * @type {string}
5255
- * @memberof UpdateEnvironmentStateRequest
6784
+ * @memberof UploadFileRequest
5256
6785
  */
5257
- 'imageTag'?: string;
5258
- }
5259
- /**
5260
- *
5261
- * @export
5262
- * @interface UpdateEnvironmentVariableRequest
5263
- */
5264
- export interface UpdateEnvironmentVariableRequest {
6786
+ 'contentType': string;
5265
6787
  /**
5266
- *
5267
- * @type {string}
5268
- * @memberof UpdateEnvironmentVariableRequest
6788
+ * Custom metadata for filtering. Any fields allowed.
6789
+ * @type {{ [key: string]: any; }}
6790
+ * @memberof UploadFileRequest
5269
6791
  */
5270
- 'value'?: string;
6792
+ 'metadata'?: {
6793
+ [key: string]: any;
6794
+ };
5271
6795
  }
5272
6796
  /**
5273
6797
  *
@@ -10861,7 +12385,7 @@ export type WafConfigThresholdsInnerModeEnum = typeof WafConfigThresholdsInnerMo
10861
12385
  */
10862
12386
  export declare const AIAgentsApiAxiosParamCreator: (configuration?: Configuration) => {
10863
12387
  /**
10864
- * Initiates a chat session with a specific AI agent. The agent\'s configuration (system prompt, temperature, model, allowed tools) is automatically applied. * * **Key Features:** * - **Session Management**: Automatic session creation and state tracking * - **Multi-turn Conversations**: Full conversation history maintained server-side * - Agent\'s system prompt is prepended to conversation * - Only agent\'s allowed tools are available * - All tools are auto-executed (no client confirmation) * - Temperature and model from agent config * * **Session Support:** * - Omit `sessionId` to create a new session automatically * - Include `sessionId` to continue an existing conversation * - Sessions expire after 60 minutes of inactivity * - Use `/sessions/{sessionId}` to retrieve full conversation history
12388
+ * Initiates a chat session with a specific AI agent. The agent\'s configuration (system prompt, temperature, model, allowed tools) is automatically applied. * * **Key Features:** * - **Session Management**: Automatic session creation and state tracking * - **Multi-turn Conversations**: Full conversation history maintained server-side * - Agent\'s system prompt is prepended to conversation * - Only agent\'s allowed tools are available * - All tools are auto-executed on cloud (no client confirmation needed) * - Temperature and model from agent config * - Supports sync, streaming, and async modes * * **Execution Modes:** * - **Sync Mode** (default): Standard JSON response, waits for completion * - **Streaming Mode**: Set `stream: true` for SSE token-by-token responses * - **Async Mode**: Set `async: true` for long-running tasks with polling * * **Async/Durable Mode (`async: true`):** * - Returns immediately with `requestId` and `pollUrl` (HTTP 202) * - Uses AWS Lambda Durable Functions for long-running agent tasks * - All tools are auto-executed on cloud (no `waiting_callback` state) * - Poll `/ai/chat/executions/{requestId}` for status * - Ideal for agents with slow tools (image generation, web search, etc.) * * **Session Support:** * - Omit `sessionId` to create a new session automatically * - Include `sessionId` to continue an existing conversation * - Sessions expire after 60 minutes of inactivity * - Sessions work in all modes (sync, streaming, async) * - Use `/sessions/{sessionId}` to retrieve full conversation history
10865
12389
  * @summary Chat with AI Agent
10866
12390
  * @param {string} organisation The organisation ID
10867
12391
  * @param {string} agentId The agent ID
@@ -10923,7 +12447,7 @@ export declare const AIAgentsApiAxiosParamCreator: (configuration?: Configuratio
10923
12447
  */
10924
12448
  export declare const AIAgentsApiFp: (configuration?: Configuration) => {
10925
12449
  /**
10926
- * Initiates a chat session with a specific AI agent. The agent\'s configuration (system prompt, temperature, model, allowed tools) is automatically applied. * * **Key Features:** * - **Session Management**: Automatic session creation and state tracking * - **Multi-turn Conversations**: Full conversation history maintained server-side * - Agent\'s system prompt is prepended to conversation * - Only agent\'s allowed tools are available * - All tools are auto-executed (no client confirmation) * - Temperature and model from agent config * * **Session Support:** * - Omit `sessionId` to create a new session automatically * - Include `sessionId` to continue an existing conversation * - Sessions expire after 60 minutes of inactivity * - Use `/sessions/{sessionId}` to retrieve full conversation history
12450
+ * Initiates a chat session with a specific AI agent. The agent\'s configuration (system prompt, temperature, model, allowed tools) is automatically applied. * * **Key Features:** * - **Session Management**: Automatic session creation and state tracking * - **Multi-turn Conversations**: Full conversation history maintained server-side * - Agent\'s system prompt is prepended to conversation * - Only agent\'s allowed tools are available * - All tools are auto-executed on cloud (no client confirmation needed) * - Temperature and model from agent config * - Supports sync, streaming, and async modes * * **Execution Modes:** * - **Sync Mode** (default): Standard JSON response, waits for completion * - **Streaming Mode**: Set `stream: true` for SSE token-by-token responses * - **Async Mode**: Set `async: true` for long-running tasks with polling * * **Async/Durable Mode (`async: true`):** * - Returns immediately with `requestId` and `pollUrl` (HTTP 202) * - Uses AWS Lambda Durable Functions for long-running agent tasks * - All tools are auto-executed on cloud (no `waiting_callback` state) * - Poll `/ai/chat/executions/{requestId}` for status * - Ideal for agents with slow tools (image generation, web search, etc.) * * **Session Support:** * - Omit `sessionId` to create a new session automatically * - Include `sessionId` to continue an existing conversation * - Sessions expire after 60 minutes of inactivity * - Sessions work in all modes (sync, streaming, async) * - Use `/sessions/{sessionId}` to retrieve full conversation history
10927
12451
  * @summary Chat with AI Agent
10928
12452
  * @param {string} organisation The organisation ID
10929
12453
  * @param {string} agentId The agent ID
@@ -10985,7 +12509,7 @@ export declare const AIAgentsApiFp: (configuration?: Configuration) => {
10985
12509
  */
10986
12510
  export declare const AIAgentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
10987
12511
  /**
10988
- * Initiates a chat session with a specific AI agent. The agent\'s configuration (system prompt, temperature, model, allowed tools) is automatically applied. * * **Key Features:** * - **Session Management**: Automatic session creation and state tracking * - **Multi-turn Conversations**: Full conversation history maintained server-side * - Agent\'s system prompt is prepended to conversation * - Only agent\'s allowed tools are available * - All tools are auto-executed (no client confirmation) * - Temperature and model from agent config * * **Session Support:** * - Omit `sessionId` to create a new session automatically * - Include `sessionId` to continue an existing conversation * - Sessions expire after 60 minutes of inactivity * - Use `/sessions/{sessionId}` to retrieve full conversation history
12512
+ * Initiates a chat session with a specific AI agent. The agent\'s configuration (system prompt, temperature, model, allowed tools) is automatically applied. * * **Key Features:** * - **Session Management**: Automatic session creation and state tracking * - **Multi-turn Conversations**: Full conversation history maintained server-side * - Agent\'s system prompt is prepended to conversation * - Only agent\'s allowed tools are available * - All tools are auto-executed on cloud (no client confirmation needed) * - Temperature and model from agent config * - Supports sync, streaming, and async modes * * **Execution Modes:** * - **Sync Mode** (default): Standard JSON response, waits for completion * - **Streaming Mode**: Set `stream: true` for SSE token-by-token responses * - **Async Mode**: Set `async: true` for long-running tasks with polling * * **Async/Durable Mode (`async: true`):** * - Returns immediately with `requestId` and `pollUrl` (HTTP 202) * - Uses AWS Lambda Durable Functions for long-running agent tasks * - All tools are auto-executed on cloud (no `waiting_callback` state) * - Poll `/ai/chat/executions/{requestId}` for status * - Ideal for agents with slow tools (image generation, web search, etc.) * * **Session Support:** * - Omit `sessionId` to create a new session automatically * - Include `sessionId` to continue an existing conversation * - Sessions expire after 60 minutes of inactivity * - Sessions work in all modes (sync, streaming, async) * - Use `/sessions/{sessionId}` to retrieve full conversation history
10989
12513
  * @summary Chat with AI Agent
10990
12514
  * @param {string} organisation The organisation ID
10991
12515
  * @param {string} agentId The agent ID
@@ -11049,7 +12573,7 @@ export declare const AIAgentsApiFactory: (configuration?: Configuration, basePat
11049
12573
  */
11050
12574
  export declare class AIAgentsApi extends BaseAPI {
11051
12575
  /**
11052
- * Initiates a chat session with a specific AI agent. The agent\'s configuration (system prompt, temperature, model, allowed tools) is automatically applied. * * **Key Features:** * - **Session Management**: Automatic session creation and state tracking * - **Multi-turn Conversations**: Full conversation history maintained server-side * - Agent\'s system prompt is prepended to conversation * - Only agent\'s allowed tools are available * - All tools are auto-executed (no client confirmation) * - Temperature and model from agent config * * **Session Support:** * - Omit `sessionId` to create a new session automatically * - Include `sessionId` to continue an existing conversation * - Sessions expire after 60 minutes of inactivity * - Use `/sessions/{sessionId}` to retrieve full conversation history
12576
+ * Initiates a chat session with a specific AI agent. The agent\'s configuration (system prompt, temperature, model, allowed tools) is automatically applied. * * **Key Features:** * - **Session Management**: Automatic session creation and state tracking * - **Multi-turn Conversations**: Full conversation history maintained server-side * - Agent\'s system prompt is prepended to conversation * - Only agent\'s allowed tools are available * - All tools are auto-executed on cloud (no client confirmation needed) * - Temperature and model from agent config * - Supports sync, streaming, and async modes * * **Execution Modes:** * - **Sync Mode** (default): Standard JSON response, waits for completion * - **Streaming Mode**: Set `stream: true` for SSE token-by-token responses * - **Async Mode**: Set `async: true` for long-running tasks with polling * * **Async/Durable Mode (`async: true`):** * - Returns immediately with `requestId` and `pollUrl` (HTTP 202) * - Uses AWS Lambda Durable Functions for long-running agent tasks * - All tools are auto-executed on cloud (no `waiting_callback` state) * - Poll `/ai/chat/executions/{requestId}` for status * - Ideal for agents with slow tools (image generation, web search, etc.) * * **Session Support:** * - Omit `sessionId` to create a new session automatically * - Include `sessionId` to continue an existing conversation * - Sessions expire after 60 minutes of inactivity * - Sessions work in all modes (sync, streaming, async) * - Use `/sessions/{sessionId}` to retrieve full conversation history
11053
12577
  * @summary Chat with AI Agent
11054
12578
  * @param {string} organisation The organisation ID
11055
12579
  * @param {string} agentId The agent ID
@@ -11218,31 +12742,213 @@ export declare class AICustomToolsApi extends BaseAPI {
11218
12742
  * Registers a custom edge function as a tool that AI models can invoke. This enables customers to create their own tools backed by edge functions. * * **Edge Function Contract:** * - Edge functions must accept POST requests with JSON payload * - Expected request format: `{ \'toolName\': \'...\', \'input\': {...}, \'orgId\': \'...\' }` * - Must return JSON response with either `result` or `error` field * * **Async Tools:** * Set `isAsync: true` for operations >5 seconds. The edge function should return `{ executionId: \'...\' }` and the AI will poll for completion.
11219
12743
  * @summary Register Custom Edge Function Tool
11220
12744
  * @param {string} organisation The organisation ID
11221
- * @param {CreateCustomToolRequest} createCustomToolRequest
12745
+ * @param {CreateCustomToolRequest} createCustomToolRequest
12746
+ * @param {*} [options] Override http request option.
12747
+ * @throws {RequiredError}
12748
+ * @memberof AICustomToolsApi
12749
+ */
12750
+ createCustomTool(organisation: string, createCustomToolRequest: CreateCustomToolRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCustomTool201Response, any, {}>>;
12751
+ /**
12752
+ * Deletes a custom tool registration. The underlying edge function is not affected.
12753
+ * @summary Delete Custom Tool
12754
+ * @param {string} organisation The organisation ID
12755
+ * @param {string} toolName The tool name to delete
12756
+ * @param {*} [options] Override http request option.
12757
+ * @throws {RequiredError}
12758
+ * @memberof AICustomToolsApi
12759
+ */
12760
+ deleteCustomTool(organisation: string, toolName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteCustomTool200Response, any, {}>>;
12761
+ /**
12762
+ * Lists all registered custom edge function tools for an organization.
12763
+ * @summary List Custom Tools
12764
+ * @param {string} organisation The organisation ID
12765
+ * @param {*} [options] Override http request option.
12766
+ * @throws {RequiredError}
12767
+ * @memberof AICustomToolsApi
12768
+ */
12769
+ listCustomTools(organisation: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCustomTools200Response, any, {}>>;
12770
+ }
12771
+ /**
12772
+ * AIFileStorageApi - axios parameter creator
12773
+ * @export
12774
+ */
12775
+ export declare const AIFileStorageApiAxiosParamCreator: (configuration?: Configuration) => {
12776
+ /**
12777
+ * Deletes a file from S3 storage.
12778
+ * @summary Delete File
12779
+ * @param {string} organisation The organisation ID
12780
+ * @param {string} fileId The file ID
12781
+ * @param {*} [options] Override http request option.
12782
+ * @throws {RequiredError}
12783
+ */
12784
+ deleteFile: (organisation: string, fileId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12785
+ /**
12786
+ * Retrieves file metadata and a presigned download URL (valid for 1 hour).
12787
+ * @summary Get File
12788
+ * @param {string} organisation The organisation ID
12789
+ * @param {string} fileId The file ID
12790
+ * @param {*} [options] Override http request option.
12791
+ * @throws {RequiredError}
12792
+ */
12793
+ getFile: (organisation: string, fileId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12794
+ /**
12795
+ * Lists files stored in S3 for this organization with optional metadata filtering and pagination.
12796
+ * @summary List Files
12797
+ * @param {string} organisation The organisation ID
12798
+ * @param {string} [filter] JSON-encoded metadata filter. Supports exact match and array contains filters.
12799
+ * @param {number} [limit] Maximum files to return
12800
+ * @param {string} [cursor] Pagination cursor from previous response
12801
+ * @param {*} [options] Override http request option.
12802
+ * @throws {RequiredError}
12803
+ */
12804
+ listFiles: (organisation: string, filter?: string, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12805
+ /**
12806
+ * Uploads a file to S3 storage for later retrieval. * * **Two Upload Modes:** * * 1. **Direct Upload (≤7MB):** Send base64-encoded content in request body. * * 2. **Presigned URL Upload (any size):** Set `requestUploadUrl: true` to get a presigned S3 PUT URL, then upload directly to S3. * * **Supported Content Types:** * - Images: image/png, image/jpeg, image/gif, image/webp, image/svg+xml * - Documents: application/pdf, text/plain, text/markdown, text/html * - Code: text/javascript, application/json, text/css, text/yaml * - Archives: application/zip, application/gzip * - Video: video/mp4, video/webm (use presigned URL for large files) * * **Metadata:** * Attach any custom metadata for filtering. `artifactType` is auto-populated from contentType if not provided.
12807
+ * @summary Upload File to S3
12808
+ * @param {string} organisation The organisation ID
12809
+ * @param {UploadFileRequest} uploadFileRequest
12810
+ * @param {*} [options] Override http request option.
12811
+ * @throws {RequiredError}
12812
+ */
12813
+ uploadFile: (organisation: string, uploadFileRequest: UploadFileRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12814
+ };
12815
+ /**
12816
+ * AIFileStorageApi - functional programming interface
12817
+ * @export
12818
+ */
12819
+ export declare const AIFileStorageApiFp: (configuration?: Configuration) => {
12820
+ /**
12821
+ * Deletes a file from S3 storage.
12822
+ * @summary Delete File
12823
+ * @param {string} organisation The organisation ID
12824
+ * @param {string} fileId The file ID
12825
+ * @param {*} [options] Override http request option.
12826
+ * @throws {RequiredError}
12827
+ */
12828
+ deleteFile(organisation: string, fileId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteFile200Response>>;
12829
+ /**
12830
+ * Retrieves file metadata and a presigned download URL (valid for 1 hour).
12831
+ * @summary Get File
12832
+ * @param {string} organisation The organisation ID
12833
+ * @param {string} fileId The file ID
12834
+ * @param {*} [options] Override http request option.
12835
+ * @throws {RequiredError}
12836
+ */
12837
+ getFile(organisation: string, fileId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetFile200Response>>;
12838
+ /**
12839
+ * Lists files stored in S3 for this organization with optional metadata filtering and pagination.
12840
+ * @summary List Files
12841
+ * @param {string} organisation The organisation ID
12842
+ * @param {string} [filter] JSON-encoded metadata filter. Supports exact match and array contains filters.
12843
+ * @param {number} [limit] Maximum files to return
12844
+ * @param {string} [cursor] Pagination cursor from previous response
12845
+ * @param {*} [options] Override http request option.
12846
+ * @throws {RequiredError}
12847
+ */
12848
+ listFiles(organisation: string, filter?: string, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFiles200Response>>;
12849
+ /**
12850
+ * Uploads a file to S3 storage for later retrieval. * * **Two Upload Modes:** * * 1. **Direct Upload (≤7MB):** Send base64-encoded content in request body. * * 2. **Presigned URL Upload (any size):** Set `requestUploadUrl: true` to get a presigned S3 PUT URL, then upload directly to S3. * * **Supported Content Types:** * - Images: image/png, image/jpeg, image/gif, image/webp, image/svg+xml * - Documents: application/pdf, text/plain, text/markdown, text/html * - Code: text/javascript, application/json, text/css, text/yaml * - Archives: application/zip, application/gzip * - Video: video/mp4, video/webm (use presigned URL for large files) * * **Metadata:** * Attach any custom metadata for filtering. `artifactType` is auto-populated from contentType if not provided.
12851
+ * @summary Upload File to S3
12852
+ * @param {string} organisation The organisation ID
12853
+ * @param {UploadFileRequest} uploadFileRequest
12854
+ * @param {*} [options] Override http request option.
12855
+ * @throws {RequiredError}
12856
+ */
12857
+ uploadFile(organisation: string, uploadFileRequest: UploadFileRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UploadFile201Response>>;
12858
+ };
12859
+ /**
12860
+ * AIFileStorageApi - factory interface
12861
+ * @export
12862
+ */
12863
+ export declare const AIFileStorageApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
12864
+ /**
12865
+ * Deletes a file from S3 storage.
12866
+ * @summary Delete File
12867
+ * @param {string} organisation The organisation ID
12868
+ * @param {string} fileId The file ID
12869
+ * @param {*} [options] Override http request option.
12870
+ * @throws {RequiredError}
12871
+ */
12872
+ deleteFile(organisation: string, fileId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeleteFile200Response>;
12873
+ /**
12874
+ * Retrieves file metadata and a presigned download URL (valid for 1 hour).
12875
+ * @summary Get File
12876
+ * @param {string} organisation The organisation ID
12877
+ * @param {string} fileId The file ID
12878
+ * @param {*} [options] Override http request option.
12879
+ * @throws {RequiredError}
12880
+ */
12881
+ getFile(organisation: string, fileId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetFile200Response>;
12882
+ /**
12883
+ * Lists files stored in S3 for this organization with optional metadata filtering and pagination.
12884
+ * @summary List Files
12885
+ * @param {string} organisation The organisation ID
12886
+ * @param {string} [filter] JSON-encoded metadata filter. Supports exact match and array contains filters.
12887
+ * @param {number} [limit] Maximum files to return
12888
+ * @param {string} [cursor] Pagination cursor from previous response
12889
+ * @param {*} [options] Override http request option.
12890
+ * @throws {RequiredError}
12891
+ */
12892
+ listFiles(organisation: string, filter?: string, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListFiles200Response>;
12893
+ /**
12894
+ * Uploads a file to S3 storage for later retrieval. * * **Two Upload Modes:** * * 1. **Direct Upload (≤7MB):** Send base64-encoded content in request body. * * 2. **Presigned URL Upload (any size):** Set `requestUploadUrl: true` to get a presigned S3 PUT URL, then upload directly to S3. * * **Supported Content Types:** * - Images: image/png, image/jpeg, image/gif, image/webp, image/svg+xml * - Documents: application/pdf, text/plain, text/markdown, text/html * - Code: text/javascript, application/json, text/css, text/yaml * - Archives: application/zip, application/gzip * - Video: video/mp4, video/webm (use presigned URL for large files) * * **Metadata:** * Attach any custom metadata for filtering. `artifactType` is auto-populated from contentType if not provided.
12895
+ * @summary Upload File to S3
12896
+ * @param {string} organisation The organisation ID
12897
+ * @param {UploadFileRequest} uploadFileRequest
12898
+ * @param {*} [options] Override http request option.
12899
+ * @throws {RequiredError}
12900
+ */
12901
+ uploadFile(organisation: string, uploadFileRequest: UploadFileRequest, options?: RawAxiosRequestConfig): AxiosPromise<UploadFile201Response>;
12902
+ };
12903
+ /**
12904
+ * AIFileStorageApi - object-oriented interface
12905
+ * @export
12906
+ * @class AIFileStorageApi
12907
+ * @extends {BaseAPI}
12908
+ */
12909
+ export declare class AIFileStorageApi extends BaseAPI {
12910
+ /**
12911
+ * Deletes a file from S3 storage.
12912
+ * @summary Delete File
12913
+ * @param {string} organisation The organisation ID
12914
+ * @param {string} fileId The file ID
12915
+ * @param {*} [options] Override http request option.
12916
+ * @throws {RequiredError}
12917
+ * @memberof AIFileStorageApi
12918
+ */
12919
+ deleteFile(organisation: string, fileId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteFile200Response, any, {}>>;
12920
+ /**
12921
+ * Retrieves file metadata and a presigned download URL (valid for 1 hour).
12922
+ * @summary Get File
12923
+ * @param {string} organisation The organisation ID
12924
+ * @param {string} fileId The file ID
11222
12925
  * @param {*} [options] Override http request option.
11223
12926
  * @throws {RequiredError}
11224
- * @memberof AICustomToolsApi
12927
+ * @memberof AIFileStorageApi
11225
12928
  */
11226
- createCustomTool(organisation: string, createCustomToolRequest: CreateCustomToolRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCustomTool201Response, any, {}>>;
12929
+ getFile(organisation: string, fileId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetFile200Response, any, {}>>;
11227
12930
  /**
11228
- * Deletes a custom tool registration. The underlying edge function is not affected.
11229
- * @summary Delete Custom Tool
12931
+ * Lists files stored in S3 for this organization with optional metadata filtering and pagination.
12932
+ * @summary List Files
11230
12933
  * @param {string} organisation The organisation ID
11231
- * @param {string} toolName The tool name to delete
12934
+ * @param {string} [filter] JSON-encoded metadata filter. Supports exact match and array contains filters.
12935
+ * @param {number} [limit] Maximum files to return
12936
+ * @param {string} [cursor] Pagination cursor from previous response
11232
12937
  * @param {*} [options] Override http request option.
11233
12938
  * @throws {RequiredError}
11234
- * @memberof AICustomToolsApi
12939
+ * @memberof AIFileStorageApi
11235
12940
  */
11236
- deleteCustomTool(organisation: string, toolName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteCustomTool200Response, any, {}>>;
12941
+ listFiles(organisation: string, filter?: string, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListFiles200Response, any, {}>>;
11237
12942
  /**
11238
- * Lists all registered custom edge function tools for an organization.
11239
- * @summary List Custom Tools
12943
+ * Uploads a file to S3 storage for later retrieval. * * **Two Upload Modes:** * * 1. **Direct Upload (≤7MB):** Send base64-encoded content in request body. * * 2. **Presigned URL Upload (any size):** Set `requestUploadUrl: true` to get a presigned S3 PUT URL, then upload directly to S3. * * **Supported Content Types:** * - Images: image/png, image/jpeg, image/gif, image/webp, image/svg+xml * - Documents: application/pdf, text/plain, text/markdown, text/html * - Code: text/javascript, application/json, text/css, text/yaml * - Archives: application/zip, application/gzip * - Video: video/mp4, video/webm (use presigned URL for large files) * * **Metadata:** * Attach any custom metadata for filtering. `artifactType` is auto-populated from contentType if not provided.
12944
+ * @summary Upload File to S3
11240
12945
  * @param {string} organisation The organisation ID
12946
+ * @param {UploadFileRequest} uploadFileRequest
11241
12947
  * @param {*} [options] Override http request option.
11242
12948
  * @throws {RequiredError}
11243
- * @memberof AICustomToolsApi
12949
+ * @memberof AIFileStorageApi
11244
12950
  */
11245
- listCustomTools(organisation: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCustomTools200Response, any, {}>>;
12951
+ uploadFile(organisation: string, uploadFileRequest: UploadFileRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UploadFile201Response, any, {}>>;
11246
12952
  }
11247
12953
  /**
11248
12954
  * AIInferenceApi - axios parameter creator
@@ -11250,7 +12956,7 @@ export declare class AICustomToolsApi extends BaseAPI {
11250
12956
  */
11251
12957
  export declare const AIInferenceApiAxiosParamCreator: (configuration?: Configuration) => {
11252
12958
  /**
11253
- * Sends requests to the AI API Gateway endpoint which buffers responses. Supports text, images, videos, and documents via base64 encoding. * * **Multimodal Support:** * - **Text**: Simple string content * - **Images**: Base64-encoded PNG, JPEG, GIF, WebP (up to 25MB) * - **Videos**: Base64-encoded MP4, MOV, WebM, etc. (up to 25MB) * - **Documents**: Base64-encoded PDF, DOCX, CSV, etc. (up to 25MB) * * **Supported Models:** * - Amazon Nova Lite, Micro, Pro (all support multimodal) * - Claude models (text only) * * **Usage Tips:** * - Use base64 encoding for images/videos < 5-10MB * - Place media before text prompts for best results * - Label multiple media files (e.g., \'Image 1:\', \'Image 2:\') * - Maximum 25MB total payload size * * **Response Patterns:** * - **Text-only**: Returns simple text response when no tools requested * - **Single tool**: Returns `toolUse` object when AI requests one tool * - **Multiple tools**: Returns `toolUse` array when AI requests multiple tools * - **Auto-execute sync**: Automatically executes tool and returns final text response * - **Auto-execute async**: Returns toolUse with `executionId` and `status` for polling
12959
+ * Sends requests to the AI API Gateway endpoint which buffers responses. Supports text, images, videos, and documents via base64 encoding. * * **Execution Modes:** * - **Sync Mode** (default): Standard JSON response, waits for completion (200 response) * - **Async Mode**: Set `async: true` for long-running tasks with polling (202 response) * * **Async/Durable Mode (`async: true`):** * - Returns immediately with `requestId` and `pollUrl` (HTTP 202) * - Uses AWS Lambda Durable Functions for long-running inference * - Supports client-executed tools via `waiting_callback` state * - Poll `/ai/chat/executions/{requestId}` for status * - Submit client tool results via `/ai/chat/callback` * - Ideal for complex prompts, large contexts, or client-side tools * * **Multimodal Support:** * - **Text**: Simple string content * - **Images**: Base64-encoded PNG, JPEG, GIF, WebP (up to 25MB) * - **Videos**: Base64-encoded MP4, MOV, WebM, etc. (up to 25MB) * - **Documents**: Base64-encoded PDF, DOCX, CSV, etc. (up to 25MB) * * **Supported Models (Multimodal):** * - **Claude 4.5 Series**: Sonnet 4.5, Haiku 4.5, Opus 4.5 (images, up to 20 per request) * - **Claude 3.5 Series**: Sonnet v1/v2 (images, up to 20 per request) * - **Amazon Nova**: Lite, Pro, Micro (images, videos, documents) * * **Usage Tips:** * - Use base64 encoding for images/videos < 5-10MB * - Place media before text prompts for best results * - Label multiple media files (e.g., \'Image 1:\', \'Image 2:\') * - Maximum 25MB total payload size * * **Response Patterns:** * - **Text-only**: Returns simple text response when no tools requested * - **Single tool**: Returns `toolUse` object when AI requests one tool * - **Multiple tools**: Returns `toolUse` array when AI requests multiple tools * - **Auto-execute sync**: Automatically executes tool and returns final text response * - **Auto-execute async**: Returns toolUse with `executionId` and `status` for polling
11254
12960
  * @summary Chat inference via API Gateway (buffered responses) with multimodal support
11255
12961
  * @param {string} organisation The organisation ID
11256
12962
  * @param {ChatInferenceRequest} chatInferenceRequest Chat request with optional multimodal content blocks
@@ -11259,7 +12965,7 @@ export declare const AIInferenceApiAxiosParamCreator: (configuration?: Configura
11259
12965
  */
11260
12966
  chatInference: (organisation: string, chatInferenceRequest: ChatInferenceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11261
12967
  /**
11262
- * Streams responses from the AI streaming subdomain using Server-Sent Events (SSE). Tokens are streamed in real-time as they are generated. * * **Multimodal Support:** * - **Text**: Simple string content * - **Images**: Base64-encoded PNG, JPEG, GIF, WebP (up to 25MB) * - **Videos**: Base64-encoded MP4, MOV, WebM, etc. (up to 25MB) * - **Documents**: Base64-encoded PDF, DOCX, CSV, etc. (up to 25MB) * * **Supported Models:** * - Amazon Nova Lite, Micro, Pro (all support multimodal) * - Claude models (text only) * * **Usage Tips:** * - Use base64 encoding for images/videos < 5-10MB * - Place media before text prompts for best results * - Label multiple media files (e.g., \'Image 1:\', \'Image 2:\') * - Maximum 25MB total payload size * - Streaming works with all content types (text, image, video, document)
12968
+ * Streams responses from the AI streaming subdomain using Server-Sent Events (SSE). Tokens are streamed in real-time as they are generated. * * **Execution Modes:** * - **Streaming Mode** (default): Real-time SSE token-by-token responses * - **Async Mode**: Set `async: true` for long-running tasks with polling (202 response) * * **Async/Durable Mode (`async: true`):** * - Returns immediately with `requestId` and `pollUrl` (HTTP 202) * - Uses AWS Lambda Durable Functions for long-running inference * - Supports client-executed tools via `waiting_callback` state * - Poll `/ai/chat/executions/{requestId}` for status * - Submit client tool results via `/ai/chat/callback` * * **Multimodal Support:** * - **Text**: Simple string content * - **Images**: Base64-encoded PNG, JPEG, GIF, WebP (up to 25MB) * - **Videos**: Base64-encoded MP4, MOV, WebM, etc. (up to 25MB) * - **Documents**: Base64-encoded PDF, DOCX, CSV, etc. (up to 25MB) * * **Supported Models (Multimodal):** * - **Claude 4.5 Series**: Sonnet 4.5, Haiku 4.5, Opus 4.5 (images, up to 20 per request) * - **Claude 3.5 Series**: Sonnet v1/v2 (images, up to 20 per request) * - **Amazon Nova**: Lite, Pro, Micro (images, videos, documents) * * **Usage Tips:** * - Use base64 encoding for images/videos < 5-10MB * - Place media before text prompts for best results * - Label multiple media files (e.g., \'Image 1:\', \'Image 2:\') * - Maximum 25MB total payload size * - Streaming works with all content types (text, image, video, document)
11263
12969
  * @summary Chat inference via streaming endpoint (true HTTP streaming) with multimodal support
11264
12970
  * @param {string} organisation The organisation ID
11265
12971
  * @param {ChatInferenceStreamRequest} chatInferenceStreamRequest Chat request with optional multimodal content blocks
@@ -11276,6 +12982,15 @@ export declare const AIInferenceApiAxiosParamCreator: (configuration?: Configura
11276
12982
  * @throws {RequiredError}
11277
12983
  */
11278
12984
  embeddings: (organisation: string, embeddingsRequest: EmbeddingsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12985
+ /**
12986
+ * Poll the status of an async/durable chat execution. * * **When to use:** After starting chat inference with `async: true`, poll this endpoint * to check execution status and retrieve results when complete. * * **Identifier:** Accepts either: * - `requestId` (recommended): The short ID returned from the async request * - `executionArn`: The full AWS Lambda durable execution ARN (must be URL-encoded) * * **Statuses:** * - `pending`: Execution is starting (retry shortly) * - `running`: Execution is in progress * - `waiting_callback`: Execution paused, waiting for client tool results * - `complete`: Execution finished successfully * - `failed`: Execution failed with error * * **Client Tool Callback:** * When status is `waiting_callback`, submit tool results via `POST /ai/chat/callback`. * * **Polling Recommendations:** * - Start with 1 second delay, exponential backoff up to 30 seconds * - Stop polling after 15 minutes (consider failed)
12987
+ * @summary Get Durable Execution Status
12988
+ * @param {string} organisation The organisation ID
12989
+ * @param {string} identifier Either the requestId from async response, or full executionArn (URL-encoded)
12990
+ * @param {*} [options] Override http request option.
12991
+ * @throws {RequiredError}
12992
+ */
12993
+ getDurableExecutionStatus: (organisation: string, identifier: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11279
12994
  /**
11280
12995
  * Generates images using Amazon Nova Canvas image generation model. * * **Region Restriction:** Nova Canvas is ONLY available in: * - `us-east-1` (US East, N. Virginia) * - `ap-northeast-1` (Asia Pacific, Tokyo) * - `eu-west-1` (Europe, Ireland) * ❌ NOT available in `ap-southeast-2` (Sydney) * * **Supported Task Types:** * - **TEXT_IMAGE**: Basic text-to-image generation * - **TEXT_IMAGE with Conditioning**: Layout-guided generation using edge detection or segmentation * - **COLOR_GUIDED_GENERATION**: Generate images with specific color palettes * - **IMAGE_VARIATION**: Create variations of existing images * - **INPAINTING**: Fill masked areas in images * - **OUTPAINTING**: Extend images beyond their borders * - **BACKGROUND_REMOVAL**: Remove backgrounds from images * - **VIRTUAL_TRY_ON**: Try on garments/objects on people * * **Quality Options:** * - **standard**: Faster generation, lower cost * - **premium**: Higher quality, slower generation * * **Timeout:** Image generation can take up to 5 minutes
11281
12996
  * @summary Generate images with Amazon Nova Canvas
@@ -11285,6 +13000,15 @@ export declare const AIInferenceApiAxiosParamCreator: (configuration?: Configura
11285
13000
  * @throws {RequiredError}
11286
13001
  */
11287
13002
  imageGeneration: (organisation: string, imageGenerationRequest: ImageGenerationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13003
+ /**
13004
+ * Submit tool execution results to resume a suspended durable execution. * * **When to use:** When polling the execution status returns `waiting_callback`, use this endpoint * to submit the results of client-executed tools. The execution will then resume. * * **Flow:** * 1. Start async chat with client-executed tools (`autoExecute: []` or tools not in autoExecute list) * 2. Poll status until `waiting_callback` * 3. Execute tools locally using `pendingTools` from status response * 4. Submit results here with the `callbackId` * 5. Poll status until `complete` * * **Important:** Each `callbackId` can only be used once. After submission, poll the execution * status to see the updated state.
13005
+ * @summary Submit Client Tool Results (Callback)
13006
+ * @param {string} organisation The organisation ID
13007
+ * @param {SubmitToolCallbackRequest} submitToolCallbackRequest
13008
+ * @param {*} [options] Override http request option.
13009
+ * @throws {RequiredError}
13010
+ */
13011
+ submitToolCallback: (organisation: string, submitToolCallbackRequest: SubmitToolCallbackRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11288
13012
  };
11289
13013
  /**
11290
13014
  * AIInferenceApi - functional programming interface
@@ -11292,7 +13016,7 @@ export declare const AIInferenceApiAxiosParamCreator: (configuration?: Configura
11292
13016
  */
11293
13017
  export declare const AIInferenceApiFp: (configuration?: Configuration) => {
11294
13018
  /**
11295
- * Sends requests to the AI API Gateway endpoint which buffers responses. Supports text, images, videos, and documents via base64 encoding. * * **Multimodal Support:** * - **Text**: Simple string content * - **Images**: Base64-encoded PNG, JPEG, GIF, WebP (up to 25MB) * - **Videos**: Base64-encoded MP4, MOV, WebM, etc. (up to 25MB) * - **Documents**: Base64-encoded PDF, DOCX, CSV, etc. (up to 25MB) * * **Supported Models:** * - Amazon Nova Lite, Micro, Pro (all support multimodal) * - Claude models (text only) * * **Usage Tips:** * - Use base64 encoding for images/videos < 5-10MB * - Place media before text prompts for best results * - Label multiple media files (e.g., \'Image 1:\', \'Image 2:\') * - Maximum 25MB total payload size * * **Response Patterns:** * - **Text-only**: Returns simple text response when no tools requested * - **Single tool**: Returns `toolUse` object when AI requests one tool * - **Multiple tools**: Returns `toolUse` array when AI requests multiple tools * - **Auto-execute sync**: Automatically executes tool and returns final text response * - **Auto-execute async**: Returns toolUse with `executionId` and `status` for polling
13019
+ * Sends requests to the AI API Gateway endpoint which buffers responses. Supports text, images, videos, and documents via base64 encoding. * * **Execution Modes:** * - **Sync Mode** (default): Standard JSON response, waits for completion (200 response) * - **Async Mode**: Set `async: true` for long-running tasks with polling (202 response) * * **Async/Durable Mode (`async: true`):** * - Returns immediately with `requestId` and `pollUrl` (HTTP 202) * - Uses AWS Lambda Durable Functions for long-running inference * - Supports client-executed tools via `waiting_callback` state * - Poll `/ai/chat/executions/{requestId}` for status * - Submit client tool results via `/ai/chat/callback` * - Ideal for complex prompts, large contexts, or client-side tools * * **Multimodal Support:** * - **Text**: Simple string content * - **Images**: Base64-encoded PNG, JPEG, GIF, WebP (up to 25MB) * - **Videos**: Base64-encoded MP4, MOV, WebM, etc. (up to 25MB) * - **Documents**: Base64-encoded PDF, DOCX, CSV, etc. (up to 25MB) * * **Supported Models (Multimodal):** * - **Claude 4.5 Series**: Sonnet 4.5, Haiku 4.5, Opus 4.5 (images, up to 20 per request) * - **Claude 3.5 Series**: Sonnet v1/v2 (images, up to 20 per request) * - **Amazon Nova**: Lite, Pro, Micro (images, videos, documents) * * **Usage Tips:** * - Use base64 encoding for images/videos < 5-10MB * - Place media before text prompts for best results * - Label multiple media files (e.g., \'Image 1:\', \'Image 2:\') * - Maximum 25MB total payload size * * **Response Patterns:** * - **Text-only**: Returns simple text response when no tools requested * - **Single tool**: Returns `toolUse` object when AI requests one tool * - **Multiple tools**: Returns `toolUse` array when AI requests multiple tools * - **Auto-execute sync**: Automatically executes tool and returns final text response * - **Auto-execute async**: Returns toolUse with `executionId` and `status` for polling
11296
13020
  * @summary Chat inference via API Gateway (buffered responses) with multimodal support
11297
13021
  * @param {string} organisation The organisation ID
11298
13022
  * @param {ChatInferenceRequest} chatInferenceRequest Chat request with optional multimodal content blocks
@@ -11301,7 +13025,7 @@ export declare const AIInferenceApiFp: (configuration?: Configuration) => {
11301
13025
  */
11302
13026
  chatInference(organisation: string, chatInferenceRequest: ChatInferenceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatInference200Response>>;
11303
13027
  /**
11304
- * Streams responses from the AI streaming subdomain using Server-Sent Events (SSE). Tokens are streamed in real-time as they are generated. * * **Multimodal Support:** * - **Text**: Simple string content * - **Images**: Base64-encoded PNG, JPEG, GIF, WebP (up to 25MB) * - **Videos**: Base64-encoded MP4, MOV, WebM, etc. (up to 25MB) * - **Documents**: Base64-encoded PDF, DOCX, CSV, etc. (up to 25MB) * * **Supported Models:** * - Amazon Nova Lite, Micro, Pro (all support multimodal) * - Claude models (text only) * * **Usage Tips:** * - Use base64 encoding for images/videos < 5-10MB * - Place media before text prompts for best results * - Label multiple media files (e.g., \'Image 1:\', \'Image 2:\') * - Maximum 25MB total payload size * - Streaming works with all content types (text, image, video, document)
13028
+ * Streams responses from the AI streaming subdomain using Server-Sent Events (SSE). Tokens are streamed in real-time as they are generated. * * **Execution Modes:** * - **Streaming Mode** (default): Real-time SSE token-by-token responses * - **Async Mode**: Set `async: true` for long-running tasks with polling (202 response) * * **Async/Durable Mode (`async: true`):** * - Returns immediately with `requestId` and `pollUrl` (HTTP 202) * - Uses AWS Lambda Durable Functions for long-running inference * - Supports client-executed tools via `waiting_callback` state * - Poll `/ai/chat/executions/{requestId}` for status * - Submit client tool results via `/ai/chat/callback` * * **Multimodal Support:** * - **Text**: Simple string content * - **Images**: Base64-encoded PNG, JPEG, GIF, WebP (up to 25MB) * - **Videos**: Base64-encoded MP4, MOV, WebM, etc. (up to 25MB) * - **Documents**: Base64-encoded PDF, DOCX, CSV, etc. (up to 25MB) * * **Supported Models (Multimodal):** * - **Claude 4.5 Series**: Sonnet 4.5, Haiku 4.5, Opus 4.5 (images, up to 20 per request) * - **Claude 3.5 Series**: Sonnet v1/v2 (images, up to 20 per request) * - **Amazon Nova**: Lite, Pro, Micro (images, videos, documents) * * **Usage Tips:** * - Use base64 encoding for images/videos < 5-10MB * - Place media before text prompts for best results * - Label multiple media files (e.g., \'Image 1:\', \'Image 2:\') * - Maximum 25MB total payload size * - Streaming works with all content types (text, image, video, document)
11305
13029
  * @summary Chat inference via streaming endpoint (true HTTP streaming) with multimodal support
11306
13030
  * @param {string} organisation The organisation ID
11307
13031
  * @param {ChatInferenceStreamRequest} chatInferenceStreamRequest Chat request with optional multimodal content blocks
@@ -11318,6 +13042,15 @@ export declare const AIInferenceApiFp: (configuration?: Configuration) => {
11318
13042
  * @throws {RequiredError}
11319
13043
  */
11320
13044
  embeddings(organisation: string, embeddingsRequest: EmbeddingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Embeddings200Response>>;
13045
+ /**
13046
+ * Poll the status of an async/durable chat execution. * * **When to use:** After starting chat inference with `async: true`, poll this endpoint * to check execution status and retrieve results when complete. * * **Identifier:** Accepts either: * - `requestId` (recommended): The short ID returned from the async request * - `executionArn`: The full AWS Lambda durable execution ARN (must be URL-encoded) * * **Statuses:** * - `pending`: Execution is starting (retry shortly) * - `running`: Execution is in progress * - `waiting_callback`: Execution paused, waiting for client tool results * - `complete`: Execution finished successfully * - `failed`: Execution failed with error * * **Client Tool Callback:** * When status is `waiting_callback`, submit tool results via `POST /ai/chat/callback`. * * **Polling Recommendations:** * - Start with 1 second delay, exponential backoff up to 30 seconds * - Stop polling after 15 minutes (consider failed)
13047
+ * @summary Get Durable Execution Status
13048
+ * @param {string} organisation The organisation ID
13049
+ * @param {string} identifier Either the requestId from async response, or full executionArn (URL-encoded)
13050
+ * @param {*} [options] Override http request option.
13051
+ * @throws {RequiredError}
13052
+ */
13053
+ getDurableExecutionStatus(organisation: string, identifier: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDurableExecutionStatus200Response>>;
11321
13054
  /**
11322
13055
  * Generates images using Amazon Nova Canvas image generation model. * * **Region Restriction:** Nova Canvas is ONLY available in: * - `us-east-1` (US East, N. Virginia) * - `ap-northeast-1` (Asia Pacific, Tokyo) * - `eu-west-1` (Europe, Ireland) * ❌ NOT available in `ap-southeast-2` (Sydney) * * **Supported Task Types:** * - **TEXT_IMAGE**: Basic text-to-image generation * - **TEXT_IMAGE with Conditioning**: Layout-guided generation using edge detection or segmentation * - **COLOR_GUIDED_GENERATION**: Generate images with specific color palettes * - **IMAGE_VARIATION**: Create variations of existing images * - **INPAINTING**: Fill masked areas in images * - **OUTPAINTING**: Extend images beyond their borders * - **BACKGROUND_REMOVAL**: Remove backgrounds from images * - **VIRTUAL_TRY_ON**: Try on garments/objects on people * * **Quality Options:** * - **standard**: Faster generation, lower cost * - **premium**: Higher quality, slower generation * * **Timeout:** Image generation can take up to 5 minutes
11323
13056
  * @summary Generate images with Amazon Nova Canvas
@@ -11327,6 +13060,15 @@ export declare const AIInferenceApiFp: (configuration?: Configuration) => {
11327
13060
  * @throws {RequiredError}
11328
13061
  */
11329
13062
  imageGeneration(organisation: string, imageGenerationRequest: ImageGenerationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImageGeneration200Response>>;
13063
+ /**
13064
+ * Submit tool execution results to resume a suspended durable execution. * * **When to use:** When polling the execution status returns `waiting_callback`, use this endpoint * to submit the results of client-executed tools. The execution will then resume. * * **Flow:** * 1. Start async chat with client-executed tools (`autoExecute: []` or tools not in autoExecute list) * 2. Poll status until `waiting_callback` * 3. Execute tools locally using `pendingTools` from status response * 4. Submit results here with the `callbackId` * 5. Poll status until `complete` * * **Important:** Each `callbackId` can only be used once. After submission, poll the execution * status to see the updated state.
13065
+ * @summary Submit Client Tool Results (Callback)
13066
+ * @param {string} organisation The organisation ID
13067
+ * @param {SubmitToolCallbackRequest} submitToolCallbackRequest
13068
+ * @param {*} [options] Override http request option.
13069
+ * @throws {RequiredError}
13070
+ */
13071
+ submitToolCallback(organisation: string, submitToolCallbackRequest: SubmitToolCallbackRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubmitToolCallback200Response>>;
11330
13072
  };
11331
13073
  /**
11332
13074
  * AIInferenceApi - factory interface
@@ -11334,7 +13076,7 @@ export declare const AIInferenceApiFp: (configuration?: Configuration) => {
11334
13076
  */
11335
13077
  export declare const AIInferenceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
11336
13078
  /**
11337
- * Sends requests to the AI API Gateway endpoint which buffers responses. Supports text, images, videos, and documents via base64 encoding. * * **Multimodal Support:** * - **Text**: Simple string content * - **Images**: Base64-encoded PNG, JPEG, GIF, WebP (up to 25MB) * - **Videos**: Base64-encoded MP4, MOV, WebM, etc. (up to 25MB) * - **Documents**: Base64-encoded PDF, DOCX, CSV, etc. (up to 25MB) * * **Supported Models:** * - Amazon Nova Lite, Micro, Pro (all support multimodal) * - Claude models (text only) * * **Usage Tips:** * - Use base64 encoding for images/videos < 5-10MB * - Place media before text prompts for best results * - Label multiple media files (e.g., \'Image 1:\', \'Image 2:\') * - Maximum 25MB total payload size * * **Response Patterns:** * - **Text-only**: Returns simple text response when no tools requested * - **Single tool**: Returns `toolUse` object when AI requests one tool * - **Multiple tools**: Returns `toolUse` array when AI requests multiple tools * - **Auto-execute sync**: Automatically executes tool and returns final text response * - **Auto-execute async**: Returns toolUse with `executionId` and `status` for polling
13079
+ * Sends requests to the AI API Gateway endpoint which buffers responses. Supports text, images, videos, and documents via base64 encoding. * * **Execution Modes:** * - **Sync Mode** (default): Standard JSON response, waits for completion (200 response) * - **Async Mode**: Set `async: true` for long-running tasks with polling (202 response) * * **Async/Durable Mode (`async: true`):** * - Returns immediately with `requestId` and `pollUrl` (HTTP 202) * - Uses AWS Lambda Durable Functions for long-running inference * - Supports client-executed tools via `waiting_callback` state * - Poll `/ai/chat/executions/{requestId}` for status * - Submit client tool results via `/ai/chat/callback` * - Ideal for complex prompts, large contexts, or client-side tools * * **Multimodal Support:** * - **Text**: Simple string content * - **Images**: Base64-encoded PNG, JPEG, GIF, WebP (up to 25MB) * - **Videos**: Base64-encoded MP4, MOV, WebM, etc. (up to 25MB) * - **Documents**: Base64-encoded PDF, DOCX, CSV, etc. (up to 25MB) * * **Supported Models (Multimodal):** * - **Claude 4.5 Series**: Sonnet 4.5, Haiku 4.5, Opus 4.5 (images, up to 20 per request) * - **Claude 3.5 Series**: Sonnet v1/v2 (images, up to 20 per request) * - **Amazon Nova**: Lite, Pro, Micro (images, videos, documents) * * **Usage Tips:** * - Use base64 encoding for images/videos < 5-10MB * - Place media before text prompts for best results * - Label multiple media files (e.g., \'Image 1:\', \'Image 2:\') * - Maximum 25MB total payload size * * **Response Patterns:** * - **Text-only**: Returns simple text response when no tools requested * - **Single tool**: Returns `toolUse` object when AI requests one tool * - **Multiple tools**: Returns `toolUse` array when AI requests multiple tools * - **Auto-execute sync**: Automatically executes tool and returns final text response * - **Auto-execute async**: Returns toolUse with `executionId` and `status` for polling
11338
13080
  * @summary Chat inference via API Gateway (buffered responses) with multimodal support
11339
13081
  * @param {string} organisation The organisation ID
11340
13082
  * @param {ChatInferenceRequest} chatInferenceRequest Chat request with optional multimodal content blocks
@@ -11343,7 +13085,7 @@ export declare const AIInferenceApiFactory: (configuration?: Configuration, base
11343
13085
  */
11344
13086
  chatInference(organisation: string, chatInferenceRequest: ChatInferenceRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatInference200Response>;
11345
13087
  /**
11346
- * Streams responses from the AI streaming subdomain using Server-Sent Events (SSE). Tokens are streamed in real-time as they are generated. * * **Multimodal Support:** * - **Text**: Simple string content * - **Images**: Base64-encoded PNG, JPEG, GIF, WebP (up to 25MB) * - **Videos**: Base64-encoded MP4, MOV, WebM, etc. (up to 25MB) * - **Documents**: Base64-encoded PDF, DOCX, CSV, etc. (up to 25MB) * * **Supported Models:** * - Amazon Nova Lite, Micro, Pro (all support multimodal) * - Claude models (text only) * * **Usage Tips:** * - Use base64 encoding for images/videos < 5-10MB * - Place media before text prompts for best results * - Label multiple media files (e.g., \'Image 1:\', \'Image 2:\') * - Maximum 25MB total payload size * - Streaming works with all content types (text, image, video, document)
13088
+ * Streams responses from the AI streaming subdomain using Server-Sent Events (SSE). Tokens are streamed in real-time as they are generated. * * **Execution Modes:** * - **Streaming Mode** (default): Real-time SSE token-by-token responses * - **Async Mode**: Set `async: true` for long-running tasks with polling (202 response) * * **Async/Durable Mode (`async: true`):** * - Returns immediately with `requestId` and `pollUrl` (HTTP 202) * - Uses AWS Lambda Durable Functions for long-running inference * - Supports client-executed tools via `waiting_callback` state * - Poll `/ai/chat/executions/{requestId}` for status * - Submit client tool results via `/ai/chat/callback` * * **Multimodal Support:** * - **Text**: Simple string content * - **Images**: Base64-encoded PNG, JPEG, GIF, WebP (up to 25MB) * - **Videos**: Base64-encoded MP4, MOV, WebM, etc. (up to 25MB) * - **Documents**: Base64-encoded PDF, DOCX, CSV, etc. (up to 25MB) * * **Supported Models (Multimodal):** * - **Claude 4.5 Series**: Sonnet 4.5, Haiku 4.5, Opus 4.5 (images, up to 20 per request) * - **Claude 3.5 Series**: Sonnet v1/v2 (images, up to 20 per request) * - **Amazon Nova**: Lite, Pro, Micro (images, videos, documents) * * **Usage Tips:** * - Use base64 encoding for images/videos < 5-10MB * - Place media before text prompts for best results * - Label multiple media files (e.g., \'Image 1:\', \'Image 2:\') * - Maximum 25MB total payload size * - Streaming works with all content types (text, image, video, document)
11347
13089
  * @summary Chat inference via streaming endpoint (true HTTP streaming) with multimodal support
11348
13090
  * @param {string} organisation The organisation ID
11349
13091
  * @param {ChatInferenceStreamRequest} chatInferenceStreamRequest Chat request with optional multimodal content blocks
@@ -11360,6 +13102,15 @@ export declare const AIInferenceApiFactory: (configuration?: Configuration, base
11360
13102
  * @throws {RequiredError}
11361
13103
  */
11362
13104
  embeddings(organisation: string, embeddingsRequest: EmbeddingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Embeddings200Response>;
13105
+ /**
13106
+ * Poll the status of an async/durable chat execution. * * **When to use:** After starting chat inference with `async: true`, poll this endpoint * to check execution status and retrieve results when complete. * * **Identifier:** Accepts either: * - `requestId` (recommended): The short ID returned from the async request * - `executionArn`: The full AWS Lambda durable execution ARN (must be URL-encoded) * * **Statuses:** * - `pending`: Execution is starting (retry shortly) * - `running`: Execution is in progress * - `waiting_callback`: Execution paused, waiting for client tool results * - `complete`: Execution finished successfully * - `failed`: Execution failed with error * * **Client Tool Callback:** * When status is `waiting_callback`, submit tool results via `POST /ai/chat/callback`. * * **Polling Recommendations:** * - Start with 1 second delay, exponential backoff up to 30 seconds * - Stop polling after 15 minutes (consider failed)
13107
+ * @summary Get Durable Execution Status
13108
+ * @param {string} organisation The organisation ID
13109
+ * @param {string} identifier Either the requestId from async response, or full executionArn (URL-encoded)
13110
+ * @param {*} [options] Override http request option.
13111
+ * @throws {RequiredError}
13112
+ */
13113
+ getDurableExecutionStatus(organisation: string, identifier: string, options?: RawAxiosRequestConfig): AxiosPromise<GetDurableExecutionStatus200Response>;
11363
13114
  /**
11364
13115
  * Generates images using Amazon Nova Canvas image generation model. * * **Region Restriction:** Nova Canvas is ONLY available in: * - `us-east-1` (US East, N. Virginia) * - `ap-northeast-1` (Asia Pacific, Tokyo) * - `eu-west-1` (Europe, Ireland) * ❌ NOT available in `ap-southeast-2` (Sydney) * * **Supported Task Types:** * - **TEXT_IMAGE**: Basic text-to-image generation * - **TEXT_IMAGE with Conditioning**: Layout-guided generation using edge detection or segmentation * - **COLOR_GUIDED_GENERATION**: Generate images with specific color palettes * - **IMAGE_VARIATION**: Create variations of existing images * - **INPAINTING**: Fill masked areas in images * - **OUTPAINTING**: Extend images beyond their borders * - **BACKGROUND_REMOVAL**: Remove backgrounds from images * - **VIRTUAL_TRY_ON**: Try on garments/objects on people * * **Quality Options:** * - **standard**: Faster generation, lower cost * - **premium**: Higher quality, slower generation * * **Timeout:** Image generation can take up to 5 minutes
11365
13116
  * @summary Generate images with Amazon Nova Canvas
@@ -11369,6 +13120,15 @@ export declare const AIInferenceApiFactory: (configuration?: Configuration, base
11369
13120
  * @throws {RequiredError}
11370
13121
  */
11371
13122
  imageGeneration(organisation: string, imageGenerationRequest: ImageGenerationRequest, options?: RawAxiosRequestConfig): AxiosPromise<ImageGeneration200Response>;
13123
+ /**
13124
+ * Submit tool execution results to resume a suspended durable execution. * * **When to use:** When polling the execution status returns `waiting_callback`, use this endpoint * to submit the results of client-executed tools. The execution will then resume. * * **Flow:** * 1. Start async chat with client-executed tools (`autoExecute: []` or tools not in autoExecute list) * 2. Poll status until `waiting_callback` * 3. Execute tools locally using `pendingTools` from status response * 4. Submit results here with the `callbackId` * 5. Poll status until `complete` * * **Important:** Each `callbackId` can only be used once. After submission, poll the execution * status to see the updated state.
13125
+ * @summary Submit Client Tool Results (Callback)
13126
+ * @param {string} organisation The organisation ID
13127
+ * @param {SubmitToolCallbackRequest} submitToolCallbackRequest
13128
+ * @param {*} [options] Override http request option.
13129
+ * @throws {RequiredError}
13130
+ */
13131
+ submitToolCallback(organisation: string, submitToolCallbackRequest: SubmitToolCallbackRequest, options?: RawAxiosRequestConfig): AxiosPromise<SubmitToolCallback200Response>;
11372
13132
  };
11373
13133
  /**
11374
13134
  * AIInferenceApi - object-oriented interface
@@ -11378,7 +13138,7 @@ export declare const AIInferenceApiFactory: (configuration?: Configuration, base
11378
13138
  */
11379
13139
  export declare class AIInferenceApi extends BaseAPI {
11380
13140
  /**
11381
- * Sends requests to the AI API Gateway endpoint which buffers responses. Supports text, images, videos, and documents via base64 encoding. * * **Multimodal Support:** * - **Text**: Simple string content * - **Images**: Base64-encoded PNG, JPEG, GIF, WebP (up to 25MB) * - **Videos**: Base64-encoded MP4, MOV, WebM, etc. (up to 25MB) * - **Documents**: Base64-encoded PDF, DOCX, CSV, etc. (up to 25MB) * * **Supported Models:** * - Amazon Nova Lite, Micro, Pro (all support multimodal) * - Claude models (text only) * * **Usage Tips:** * - Use base64 encoding for images/videos < 5-10MB * - Place media before text prompts for best results * - Label multiple media files (e.g., \'Image 1:\', \'Image 2:\') * - Maximum 25MB total payload size * * **Response Patterns:** * - **Text-only**: Returns simple text response when no tools requested * - **Single tool**: Returns `toolUse` object when AI requests one tool * - **Multiple tools**: Returns `toolUse` array when AI requests multiple tools * - **Auto-execute sync**: Automatically executes tool and returns final text response * - **Auto-execute async**: Returns toolUse with `executionId` and `status` for polling
13141
+ * Sends requests to the AI API Gateway endpoint which buffers responses. Supports text, images, videos, and documents via base64 encoding. * * **Execution Modes:** * - **Sync Mode** (default): Standard JSON response, waits for completion (200 response) * - **Async Mode**: Set `async: true` for long-running tasks with polling (202 response) * * **Async/Durable Mode (`async: true`):** * - Returns immediately with `requestId` and `pollUrl` (HTTP 202) * - Uses AWS Lambda Durable Functions for long-running inference * - Supports client-executed tools via `waiting_callback` state * - Poll `/ai/chat/executions/{requestId}` for status * - Submit client tool results via `/ai/chat/callback` * - Ideal for complex prompts, large contexts, or client-side tools * * **Multimodal Support:** * - **Text**: Simple string content * - **Images**: Base64-encoded PNG, JPEG, GIF, WebP (up to 25MB) * - **Videos**: Base64-encoded MP4, MOV, WebM, etc. (up to 25MB) * - **Documents**: Base64-encoded PDF, DOCX, CSV, etc. (up to 25MB) * * **Supported Models (Multimodal):** * - **Claude 4.5 Series**: Sonnet 4.5, Haiku 4.5, Opus 4.5 (images, up to 20 per request) * - **Claude 3.5 Series**: Sonnet v1/v2 (images, up to 20 per request) * - **Amazon Nova**: Lite, Pro, Micro (images, videos, documents) * * **Usage Tips:** * - Use base64 encoding for images/videos < 5-10MB * - Place media before text prompts for best results * - Label multiple media files (e.g., \'Image 1:\', \'Image 2:\') * - Maximum 25MB total payload size * * **Response Patterns:** * - **Text-only**: Returns simple text response when no tools requested * - **Single tool**: Returns `toolUse` object when AI requests one tool * - **Multiple tools**: Returns `toolUse` array when AI requests multiple tools * - **Auto-execute sync**: Automatically executes tool and returns final text response * - **Auto-execute async**: Returns toolUse with `executionId` and `status` for polling
11382
13142
  * @summary Chat inference via API Gateway (buffered responses) with multimodal support
11383
13143
  * @param {string} organisation The organisation ID
11384
13144
  * @param {ChatInferenceRequest} chatInferenceRequest Chat request with optional multimodal content blocks
@@ -11388,7 +13148,7 @@ export declare class AIInferenceApi extends BaseAPI {
11388
13148
  */
11389
13149
  chatInference(organisation: string, chatInferenceRequest: ChatInferenceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatInference200Response, any, {}>>;
11390
13150
  /**
11391
- * Streams responses from the AI streaming subdomain using Server-Sent Events (SSE). Tokens are streamed in real-time as they are generated. * * **Multimodal Support:** * - **Text**: Simple string content * - **Images**: Base64-encoded PNG, JPEG, GIF, WebP (up to 25MB) * - **Videos**: Base64-encoded MP4, MOV, WebM, etc. (up to 25MB) * - **Documents**: Base64-encoded PDF, DOCX, CSV, etc. (up to 25MB) * * **Supported Models:** * - Amazon Nova Lite, Micro, Pro (all support multimodal) * - Claude models (text only) * * **Usage Tips:** * - Use base64 encoding for images/videos < 5-10MB * - Place media before text prompts for best results * - Label multiple media files (e.g., \'Image 1:\', \'Image 2:\') * - Maximum 25MB total payload size * - Streaming works with all content types (text, image, video, document)
13151
+ * Streams responses from the AI streaming subdomain using Server-Sent Events (SSE). Tokens are streamed in real-time as they are generated. * * **Execution Modes:** * - **Streaming Mode** (default): Real-time SSE token-by-token responses * - **Async Mode**: Set `async: true` for long-running tasks with polling (202 response) * * **Async/Durable Mode (`async: true`):** * - Returns immediately with `requestId` and `pollUrl` (HTTP 202) * - Uses AWS Lambda Durable Functions for long-running inference * - Supports client-executed tools via `waiting_callback` state * - Poll `/ai/chat/executions/{requestId}` for status * - Submit client tool results via `/ai/chat/callback` * * **Multimodal Support:** * - **Text**: Simple string content * - **Images**: Base64-encoded PNG, JPEG, GIF, WebP (up to 25MB) * - **Videos**: Base64-encoded MP4, MOV, WebM, etc. (up to 25MB) * - **Documents**: Base64-encoded PDF, DOCX, CSV, etc. (up to 25MB) * * **Supported Models (Multimodal):** * - **Claude 4.5 Series**: Sonnet 4.5, Haiku 4.5, Opus 4.5 (images, up to 20 per request) * - **Claude 3.5 Series**: Sonnet v1/v2 (images, up to 20 per request) * - **Amazon Nova**: Lite, Pro, Micro (images, videos, documents) * * **Usage Tips:** * - Use base64 encoding for images/videos < 5-10MB * - Place media before text prompts for best results * - Label multiple media files (e.g., \'Image 1:\', \'Image 2:\') * - Maximum 25MB total payload size * - Streaming works with all content types (text, image, video, document)
11392
13152
  * @summary Chat inference via streaming endpoint (true HTTP streaming) with multimodal support
11393
13153
  * @param {string} organisation The organisation ID
11394
13154
  * @param {ChatInferenceStreamRequest} chatInferenceStreamRequest Chat request with optional multimodal content blocks
@@ -11407,6 +13167,16 @@ export declare class AIInferenceApi extends BaseAPI {
11407
13167
  * @memberof AIInferenceApi
11408
13168
  */
11409
13169
  embeddings(organisation: string, embeddingsRequest: EmbeddingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Embeddings200Response, any, {}>>;
13170
+ /**
13171
+ * Poll the status of an async/durable chat execution. * * **When to use:** After starting chat inference with `async: true`, poll this endpoint * to check execution status and retrieve results when complete. * * **Identifier:** Accepts either: * - `requestId` (recommended): The short ID returned from the async request * - `executionArn`: The full AWS Lambda durable execution ARN (must be URL-encoded) * * **Statuses:** * - `pending`: Execution is starting (retry shortly) * - `running`: Execution is in progress * - `waiting_callback`: Execution paused, waiting for client tool results * - `complete`: Execution finished successfully * - `failed`: Execution failed with error * * **Client Tool Callback:** * When status is `waiting_callback`, submit tool results via `POST /ai/chat/callback`. * * **Polling Recommendations:** * - Start with 1 second delay, exponential backoff up to 30 seconds * - Stop polling after 15 minutes (consider failed)
13172
+ * @summary Get Durable Execution Status
13173
+ * @param {string} organisation The organisation ID
13174
+ * @param {string} identifier Either the requestId from async response, or full executionArn (URL-encoded)
13175
+ * @param {*} [options] Override http request option.
13176
+ * @throws {RequiredError}
13177
+ * @memberof AIInferenceApi
13178
+ */
13179
+ getDurableExecutionStatus(organisation: string, identifier: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDurableExecutionStatus200Response, any, {}>>;
11410
13180
  /**
11411
13181
  * Generates images using Amazon Nova Canvas image generation model. * * **Region Restriction:** Nova Canvas is ONLY available in: * - `us-east-1` (US East, N. Virginia) * - `ap-northeast-1` (Asia Pacific, Tokyo) * - `eu-west-1` (Europe, Ireland) * ❌ NOT available in `ap-southeast-2` (Sydney) * * **Supported Task Types:** * - **TEXT_IMAGE**: Basic text-to-image generation * - **TEXT_IMAGE with Conditioning**: Layout-guided generation using edge detection or segmentation * - **COLOR_GUIDED_GENERATION**: Generate images with specific color palettes * - **IMAGE_VARIATION**: Create variations of existing images * - **INPAINTING**: Fill masked areas in images * - **OUTPAINTING**: Extend images beyond their borders * - **BACKGROUND_REMOVAL**: Remove backgrounds from images * - **VIRTUAL_TRY_ON**: Try on garments/objects on people * * **Quality Options:** * - **standard**: Faster generation, lower cost * - **premium**: Higher quality, slower generation * * **Timeout:** Image generation can take up to 5 minutes
11412
13182
  * @summary Generate images with Amazon Nova Canvas
@@ -11417,6 +13187,16 @@ export declare class AIInferenceApi extends BaseAPI {
11417
13187
  * @memberof AIInferenceApi
11418
13188
  */
11419
13189
  imageGeneration(organisation: string, imageGenerationRequest: ImageGenerationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ImageGeneration200Response, any, {}>>;
13190
+ /**
13191
+ * Submit tool execution results to resume a suspended durable execution. * * **When to use:** When polling the execution status returns `waiting_callback`, use this endpoint * to submit the results of client-executed tools. The execution will then resume. * * **Flow:** * 1. Start async chat with client-executed tools (`autoExecute: []` or tools not in autoExecute list) * 2. Poll status until `waiting_callback` * 3. Execute tools locally using `pendingTools` from status response * 4. Submit results here with the `callbackId` * 5. Poll status until `complete` * * **Important:** Each `callbackId` can only be used once. After submission, poll the execution * status to see the updated state.
13192
+ * @summary Submit Client Tool Results (Callback)
13193
+ * @param {string} organisation The organisation ID
13194
+ * @param {SubmitToolCallbackRequest} submitToolCallbackRequest
13195
+ * @param {*} [options] Override http request option.
13196
+ * @throws {RequiredError}
13197
+ * @memberof AIInferenceApi
13198
+ */
13199
+ submitToolCallback(organisation: string, submitToolCallbackRequest: SubmitToolCallbackRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubmitToolCallback200Response, any, {}>>;
11420
13200
  }
11421
13201
  /**
11422
13202
  * AIModelsApi - axios parameter creator
@@ -11864,11 +13644,308 @@ export declare class AISessionsApi extends BaseAPI {
11864
13644
  */
11865
13645
  updateAISession(organisation: string, sessionId: string, updateAISessionRequest: UpdateAISessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateAISession200Response, any, {}>>;
11866
13646
  }
13647
+ /**
13648
+ * AITaskManagementApi - axios parameter creator
13649
+ * @export
13650
+ */
13651
+ export declare const AITaskManagementApiAxiosParamCreator: (configuration?: Configuration) => {
13652
+ /**
13653
+ * Creates a new task for multi-agent coordination and workflow orchestration. * * **Key Features:** * - **Persistent State**: Tasks survive across conversations and sessions * - **Agent Assignment**: Pre-assign tasks to specific agents * - **Task Lists**: Group related tasks using taskListId (implicit - no need to create lists first) * - **Dependencies**: Define task dependencies for workflow orchestration * - **Metadata**: Store flexible JSON metadata for task-specific data * - **Progress Tracking**: Track progress from 0.0 to 1.0 * * **Use Cases:** * - Break down complex requests into manageable steps * - Assign work to specialized agents * - Track long-running operations * - Coordinate multi-agent workflows
13654
+ * @summary Create a new task
13655
+ * @param {string} organisation The organisation ID
13656
+ * @param {CreateTaskRequest} createTaskRequest
13657
+ * @param {*} [options] Override http request option.
13658
+ * @throws {RequiredError}
13659
+ */
13660
+ createTask: (organisation: string, createTaskRequest: CreateTaskRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13661
+ /**
13662
+ * Permanently deletes a task. This action cannot be undone. * * **Dependency Protection:** * By default, deletion is blocked if other tasks depend on this task (TASK_HAS_DEPENDENTS error). * This prevents breaking workflows. * * **Cascade Delete:** * Use `?cascade=true` to delete the task AND all tasks that depend on it recursively. * Useful for cleaning up entire dependency chains. * * **Examples:** * - DELETE /tasks/{id} - Deletes task if no dependents, otherwise returns 409 error * - DELETE /tasks/{id}?cascade=true - Deletes task and all dependent tasks
13663
+ * @summary Delete a task
13664
+ * @param {string} organisation The organisation ID
13665
+ * @param {string} taskId The task UUID
13666
+ * @param {boolean} [cascade] If true, delete task and all dependent tasks recursively
13667
+ * @param {*} [options] Override http request option.
13668
+ * @throws {RequiredError}
13669
+ */
13670
+ deleteTask: (organisation: string, taskId: string, cascade?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13671
+ /**
13672
+ * Returns the full dependency graph for all tasks in a task list. * * **Use Cases:** * - Visualize task dependencies in a UI (DAG diagram) * - Analyze workflow structure and critical paths * - Find starting tasks (roots) and terminal tasks (leaves) * - Plan parallel execution by identifying independent task groups * * **Response Structure:** * - `taskCount`: Total number of tasks in the list * - `roots`: Task IDs with no dependencies (starting points) * - `leaves`: Task IDs with no dependents (terminal tasks) * - `graph`: Adjacency list with each task\'s dependencies and dependents
13673
+ * @summary Get dependency graph for a task list
13674
+ * @param {string} organisation The organisation ID
13675
+ * @param {string} taskListId The task list ID to get the dependency graph for
13676
+ * @param {*} [options] Override http request option.
13677
+ * @throws {RequiredError}
13678
+ */
13679
+ getDependencyGraph: (organisation: string, taskListId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13680
+ /**
13681
+ * Retrieves detailed information about a specific task including status, progress, dependencies, and results.
13682
+ * @summary Get task details
13683
+ * @param {string} organisation The organisation ID
13684
+ * @param {string} taskId The task UUID
13685
+ * @param {*} [options] Override http request option.
13686
+ * @throws {RequiredError}
13687
+ */
13688
+ getTask: (organisation: string, taskId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13689
+ /**
13690
+ * Lists tasks for an organization with optional filtering. Filters can be combined for powerful queries. * * **Filter Examples:** * - All tasks in a list: ?taskListId=world-1 * - Pending tasks in a list: ?taskListId=world-1&status=pending * - Tasks assigned to an agent: ?assignedAgentId=agent-code-reviewer * - Combined: ?taskListId=world-1&status=in_progress&assignedAgentId=agent-1 * * **Reverse Dependency Lookup:** * Use `dependsOn` to find tasks that depend on a specific task (waiting for it to complete): * - ?dependsOn=task-123 - Returns task IDs only (lightweight) * - ?dependsOn=task-123&includeDetails=true - Returns full task objects * - ?dependsOn=task-123&status=pending - Pending tasks waiting for task-123 * * **Ordering:** * Tasks are returned in reverse chronological order (most recent first).
13691
+ * @summary List tasks with optional filtering
13692
+ * @param {string} organisation The organisation ID
13693
+ * @param {string} [taskListId] Filter tasks by task list ID. Task lists are implicit groupings - any string can be used.
13694
+ * @param {ListTasksStatusEnum} [status] Filter tasks by status
13695
+ * @param {string} [assignedAgentId] Filter tasks by assigned agent ID
13696
+ * @param {number} [limit] Maximum number of tasks to return (default 50, max 100)
13697
+ * @param {string} [dependsOn] Reverse lookup: find tasks that depend on this task ID. Returns tasks waiting for the specified task to complete.
13698
+ * @param {boolean} [includeDetails] When using dependsOn, return full task objects in addition to IDs. Default false (IDs only for lightweight responses).
13699
+ * @param {*} [options] Override http request option.
13700
+ * @throws {RequiredError}
13701
+ */
13702
+ listTasks: (organisation: string, taskListId?: string, status?: ListTasksStatusEnum, assignedAgentId?: string, limit?: number, dependsOn?: string, includeDetails?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13703
+ /**
13704
+ * Updates an existing task. All fields are optional - only provided fields will be updated. * * **Status Transitions:** * - Changing from **pending** to **in_progress** automatically sets startedAt timestamp * - Changing to **completed**, **failed**, or **cancelled** automatically sets completedAt timestamp * - Changing to **blocked** automatically sets blockedAt timestamp * - Changing from **blocked** to **in_progress** or **pending** clears blocked fields * - Completed tasks get a 30-day TTL for automatic cleanup * * **Progress Updates:** * - Update progress (0.0 to 1.0) to track completion percentage * - Update progressMessage for human-readable status updates * - Set result object when task completes successfully * - Set error string when task fails * - Set blockedReason and blockedByTaskIds when blocking a task
13705
+ * @summary Update a task
13706
+ * @param {string} organisation The organisation ID
13707
+ * @param {string} taskId The task UUID
13708
+ * @param {UpdateTaskRequest} updateTaskRequest
13709
+ * @param {*} [options] Override http request option.
13710
+ * @throws {RequiredError}
13711
+ */
13712
+ updateTask: (organisation: string, taskId: string, updateTaskRequest: UpdateTaskRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13713
+ };
13714
+ /**
13715
+ * AITaskManagementApi - functional programming interface
13716
+ * @export
13717
+ */
13718
+ export declare const AITaskManagementApiFp: (configuration?: Configuration) => {
13719
+ /**
13720
+ * Creates a new task for multi-agent coordination and workflow orchestration. * * **Key Features:** * - **Persistent State**: Tasks survive across conversations and sessions * - **Agent Assignment**: Pre-assign tasks to specific agents * - **Task Lists**: Group related tasks using taskListId (implicit - no need to create lists first) * - **Dependencies**: Define task dependencies for workflow orchestration * - **Metadata**: Store flexible JSON metadata for task-specific data * - **Progress Tracking**: Track progress from 0.0 to 1.0 * * **Use Cases:** * - Break down complex requests into manageable steps * - Assign work to specialized agents * - Track long-running operations * - Coordinate multi-agent workflows
13721
+ * @summary Create a new task
13722
+ * @param {string} organisation The organisation ID
13723
+ * @param {CreateTaskRequest} createTaskRequest
13724
+ * @param {*} [options] Override http request option.
13725
+ * @throws {RequiredError}
13726
+ */
13727
+ createTask(organisation: string, createTaskRequest: CreateTaskRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTask201Response>>;
13728
+ /**
13729
+ * Permanently deletes a task. This action cannot be undone. * * **Dependency Protection:** * By default, deletion is blocked if other tasks depend on this task (TASK_HAS_DEPENDENTS error). * This prevents breaking workflows. * * **Cascade Delete:** * Use `?cascade=true` to delete the task AND all tasks that depend on it recursively. * Useful for cleaning up entire dependency chains. * * **Examples:** * - DELETE /tasks/{id} - Deletes task if no dependents, otherwise returns 409 error * - DELETE /tasks/{id}?cascade=true - Deletes task and all dependent tasks
13730
+ * @summary Delete a task
13731
+ * @param {string} organisation The organisation ID
13732
+ * @param {string} taskId The task UUID
13733
+ * @param {boolean} [cascade] If true, delete task and all dependent tasks recursively
13734
+ * @param {*} [options] Override http request option.
13735
+ * @throws {RequiredError}
13736
+ */
13737
+ deleteTask(organisation: string, taskId: string, cascade?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteTask200Response>>;
13738
+ /**
13739
+ * Returns the full dependency graph for all tasks in a task list. * * **Use Cases:** * - Visualize task dependencies in a UI (DAG diagram) * - Analyze workflow structure and critical paths * - Find starting tasks (roots) and terminal tasks (leaves) * - Plan parallel execution by identifying independent task groups * * **Response Structure:** * - `taskCount`: Total number of tasks in the list * - `roots`: Task IDs with no dependencies (starting points) * - `leaves`: Task IDs with no dependents (terminal tasks) * - `graph`: Adjacency list with each task\'s dependencies and dependents
13740
+ * @summary Get dependency graph for a task list
13741
+ * @param {string} organisation The organisation ID
13742
+ * @param {string} taskListId The task list ID to get the dependency graph for
13743
+ * @param {*} [options] Override http request option.
13744
+ * @throws {RequiredError}
13745
+ */
13746
+ getDependencyGraph(organisation: string, taskListId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDependencyGraph200Response>>;
13747
+ /**
13748
+ * Retrieves detailed information about a specific task including status, progress, dependencies, and results.
13749
+ * @summary Get task details
13750
+ * @param {string} organisation The organisation ID
13751
+ * @param {string} taskId The task UUID
13752
+ * @param {*} [options] Override http request option.
13753
+ * @throws {RequiredError}
13754
+ */
13755
+ getTask(organisation: string, taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTask200Response>>;
13756
+ /**
13757
+ * Lists tasks for an organization with optional filtering. Filters can be combined for powerful queries. * * **Filter Examples:** * - All tasks in a list: ?taskListId=world-1 * - Pending tasks in a list: ?taskListId=world-1&status=pending * - Tasks assigned to an agent: ?assignedAgentId=agent-code-reviewer * - Combined: ?taskListId=world-1&status=in_progress&assignedAgentId=agent-1 * * **Reverse Dependency Lookup:** * Use `dependsOn` to find tasks that depend on a specific task (waiting for it to complete): * - ?dependsOn=task-123 - Returns task IDs only (lightweight) * - ?dependsOn=task-123&includeDetails=true - Returns full task objects * - ?dependsOn=task-123&status=pending - Pending tasks waiting for task-123 * * **Ordering:** * Tasks are returned in reverse chronological order (most recent first).
13758
+ * @summary List tasks with optional filtering
13759
+ * @param {string} organisation The organisation ID
13760
+ * @param {string} [taskListId] Filter tasks by task list ID. Task lists are implicit groupings - any string can be used.
13761
+ * @param {ListTasksStatusEnum} [status] Filter tasks by status
13762
+ * @param {string} [assignedAgentId] Filter tasks by assigned agent ID
13763
+ * @param {number} [limit] Maximum number of tasks to return (default 50, max 100)
13764
+ * @param {string} [dependsOn] Reverse lookup: find tasks that depend on this task ID. Returns tasks waiting for the specified task to complete.
13765
+ * @param {boolean} [includeDetails] When using dependsOn, return full task objects in addition to IDs. Default false (IDs only for lightweight responses).
13766
+ * @param {*} [options] Override http request option.
13767
+ * @throws {RequiredError}
13768
+ */
13769
+ listTasks(organisation: string, taskListId?: string, status?: ListTasksStatusEnum, assignedAgentId?: string, limit?: number, dependsOn?: string, includeDetails?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTasks200Response>>;
13770
+ /**
13771
+ * Updates an existing task. All fields are optional - only provided fields will be updated. * * **Status Transitions:** * - Changing from **pending** to **in_progress** automatically sets startedAt timestamp * - Changing to **completed**, **failed**, or **cancelled** automatically sets completedAt timestamp * - Changing to **blocked** automatically sets blockedAt timestamp * - Changing from **blocked** to **in_progress** or **pending** clears blocked fields * - Completed tasks get a 30-day TTL for automatic cleanup * * **Progress Updates:** * - Update progress (0.0 to 1.0) to track completion percentage * - Update progressMessage for human-readable status updates * - Set result object when task completes successfully * - Set error string when task fails * - Set blockedReason and blockedByTaskIds when blocking a task
13772
+ * @summary Update a task
13773
+ * @param {string} organisation The organisation ID
13774
+ * @param {string} taskId The task UUID
13775
+ * @param {UpdateTaskRequest} updateTaskRequest
13776
+ * @param {*} [options] Override http request option.
13777
+ * @throws {RequiredError}
13778
+ */
13779
+ updateTask(organisation: string, taskId: string, updateTaskRequest: UpdateTaskRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateTask200Response>>;
13780
+ };
13781
+ /**
13782
+ * AITaskManagementApi - factory interface
13783
+ * @export
13784
+ */
13785
+ export declare const AITaskManagementApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
13786
+ /**
13787
+ * Creates a new task for multi-agent coordination and workflow orchestration. * * **Key Features:** * - **Persistent State**: Tasks survive across conversations and sessions * - **Agent Assignment**: Pre-assign tasks to specific agents * - **Task Lists**: Group related tasks using taskListId (implicit - no need to create lists first) * - **Dependencies**: Define task dependencies for workflow orchestration * - **Metadata**: Store flexible JSON metadata for task-specific data * - **Progress Tracking**: Track progress from 0.0 to 1.0 * * **Use Cases:** * - Break down complex requests into manageable steps * - Assign work to specialized agents * - Track long-running operations * - Coordinate multi-agent workflows
13788
+ * @summary Create a new task
13789
+ * @param {string} organisation The organisation ID
13790
+ * @param {CreateTaskRequest} createTaskRequest
13791
+ * @param {*} [options] Override http request option.
13792
+ * @throws {RequiredError}
13793
+ */
13794
+ createTask(organisation: string, createTaskRequest: CreateTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateTask201Response>;
13795
+ /**
13796
+ * Permanently deletes a task. This action cannot be undone. * * **Dependency Protection:** * By default, deletion is blocked if other tasks depend on this task (TASK_HAS_DEPENDENTS error). * This prevents breaking workflows. * * **Cascade Delete:** * Use `?cascade=true` to delete the task AND all tasks that depend on it recursively. * Useful for cleaning up entire dependency chains. * * **Examples:** * - DELETE /tasks/{id} - Deletes task if no dependents, otherwise returns 409 error * - DELETE /tasks/{id}?cascade=true - Deletes task and all dependent tasks
13797
+ * @summary Delete a task
13798
+ * @param {string} organisation The organisation ID
13799
+ * @param {string} taskId The task UUID
13800
+ * @param {boolean} [cascade] If true, delete task and all dependent tasks recursively
13801
+ * @param {*} [options] Override http request option.
13802
+ * @throws {RequiredError}
13803
+ */
13804
+ deleteTask(organisation: string, taskId: string, cascade?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<DeleteTask200Response>;
13805
+ /**
13806
+ * Returns the full dependency graph for all tasks in a task list. * * **Use Cases:** * - Visualize task dependencies in a UI (DAG diagram) * - Analyze workflow structure and critical paths * - Find starting tasks (roots) and terminal tasks (leaves) * - Plan parallel execution by identifying independent task groups * * **Response Structure:** * - `taskCount`: Total number of tasks in the list * - `roots`: Task IDs with no dependencies (starting points) * - `leaves`: Task IDs with no dependents (terminal tasks) * - `graph`: Adjacency list with each task\'s dependencies and dependents
13807
+ * @summary Get dependency graph for a task list
13808
+ * @param {string} organisation The organisation ID
13809
+ * @param {string} taskListId The task list ID to get the dependency graph for
13810
+ * @param {*} [options] Override http request option.
13811
+ * @throws {RequiredError}
13812
+ */
13813
+ getDependencyGraph(organisation: string, taskListId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetDependencyGraph200Response>;
13814
+ /**
13815
+ * Retrieves detailed information about a specific task including status, progress, dependencies, and results.
13816
+ * @summary Get task details
13817
+ * @param {string} organisation The organisation ID
13818
+ * @param {string} taskId The task UUID
13819
+ * @param {*} [options] Override http request option.
13820
+ * @throws {RequiredError}
13821
+ */
13822
+ getTask(organisation: string, taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetTask200Response>;
13823
+ /**
13824
+ * Lists tasks for an organization with optional filtering. Filters can be combined for powerful queries. * * **Filter Examples:** * - All tasks in a list: ?taskListId=world-1 * - Pending tasks in a list: ?taskListId=world-1&status=pending * - Tasks assigned to an agent: ?assignedAgentId=agent-code-reviewer * - Combined: ?taskListId=world-1&status=in_progress&assignedAgentId=agent-1 * * **Reverse Dependency Lookup:** * Use `dependsOn` to find tasks that depend on a specific task (waiting for it to complete): * - ?dependsOn=task-123 - Returns task IDs only (lightweight) * - ?dependsOn=task-123&includeDetails=true - Returns full task objects * - ?dependsOn=task-123&status=pending - Pending tasks waiting for task-123 * * **Ordering:** * Tasks are returned in reverse chronological order (most recent first).
13825
+ * @summary List tasks with optional filtering
13826
+ * @param {string} organisation The organisation ID
13827
+ * @param {string} [taskListId] Filter tasks by task list ID. Task lists are implicit groupings - any string can be used.
13828
+ * @param {ListTasksStatusEnum} [status] Filter tasks by status
13829
+ * @param {string} [assignedAgentId] Filter tasks by assigned agent ID
13830
+ * @param {number} [limit] Maximum number of tasks to return (default 50, max 100)
13831
+ * @param {string} [dependsOn] Reverse lookup: find tasks that depend on this task ID. Returns tasks waiting for the specified task to complete.
13832
+ * @param {boolean} [includeDetails] When using dependsOn, return full task objects in addition to IDs. Default false (IDs only for lightweight responses).
13833
+ * @param {*} [options] Override http request option.
13834
+ * @throws {RequiredError}
13835
+ */
13836
+ listTasks(organisation: string, taskListId?: string, status?: ListTasksStatusEnum, assignedAgentId?: string, limit?: number, dependsOn?: string, includeDetails?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ListTasks200Response>;
13837
+ /**
13838
+ * Updates an existing task. All fields are optional - only provided fields will be updated. * * **Status Transitions:** * - Changing from **pending** to **in_progress** automatically sets startedAt timestamp * - Changing to **completed**, **failed**, or **cancelled** automatically sets completedAt timestamp * - Changing to **blocked** automatically sets blockedAt timestamp * - Changing from **blocked** to **in_progress** or **pending** clears blocked fields * - Completed tasks get a 30-day TTL for automatic cleanup * * **Progress Updates:** * - Update progress (0.0 to 1.0) to track completion percentage * - Update progressMessage for human-readable status updates * - Set result object when task completes successfully * - Set error string when task fails * - Set blockedReason and blockedByTaskIds when blocking a task
13839
+ * @summary Update a task
13840
+ * @param {string} organisation The organisation ID
13841
+ * @param {string} taskId The task UUID
13842
+ * @param {UpdateTaskRequest} updateTaskRequest
13843
+ * @param {*} [options] Override http request option.
13844
+ * @throws {RequiredError}
13845
+ */
13846
+ updateTask(organisation: string, taskId: string, updateTaskRequest: UpdateTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateTask200Response>;
13847
+ };
13848
+ /**
13849
+ * AITaskManagementApi - object-oriented interface
13850
+ * @export
13851
+ * @class AITaskManagementApi
13852
+ * @extends {BaseAPI}
13853
+ */
13854
+ export declare class AITaskManagementApi extends BaseAPI {
13855
+ /**
13856
+ * Creates a new task for multi-agent coordination and workflow orchestration. * * **Key Features:** * - **Persistent State**: Tasks survive across conversations and sessions * - **Agent Assignment**: Pre-assign tasks to specific agents * - **Task Lists**: Group related tasks using taskListId (implicit - no need to create lists first) * - **Dependencies**: Define task dependencies for workflow orchestration * - **Metadata**: Store flexible JSON metadata for task-specific data * - **Progress Tracking**: Track progress from 0.0 to 1.0 * * **Use Cases:** * - Break down complex requests into manageable steps * - Assign work to specialized agents * - Track long-running operations * - Coordinate multi-agent workflows
13857
+ * @summary Create a new task
13858
+ * @param {string} organisation The organisation ID
13859
+ * @param {CreateTaskRequest} createTaskRequest
13860
+ * @param {*} [options] Override http request option.
13861
+ * @throws {RequiredError}
13862
+ * @memberof AITaskManagementApi
13863
+ */
13864
+ createTask(organisation: string, createTaskRequest: CreateTaskRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTask201Response, any, {}>>;
13865
+ /**
13866
+ * Permanently deletes a task. This action cannot be undone. * * **Dependency Protection:** * By default, deletion is blocked if other tasks depend on this task (TASK_HAS_DEPENDENTS error). * This prevents breaking workflows. * * **Cascade Delete:** * Use `?cascade=true` to delete the task AND all tasks that depend on it recursively. * Useful for cleaning up entire dependency chains. * * **Examples:** * - DELETE /tasks/{id} - Deletes task if no dependents, otherwise returns 409 error * - DELETE /tasks/{id}?cascade=true - Deletes task and all dependent tasks
13867
+ * @summary Delete a task
13868
+ * @param {string} organisation The organisation ID
13869
+ * @param {string} taskId The task UUID
13870
+ * @param {boolean} [cascade] If true, delete task and all dependent tasks recursively
13871
+ * @param {*} [options] Override http request option.
13872
+ * @throws {RequiredError}
13873
+ * @memberof AITaskManagementApi
13874
+ */
13875
+ deleteTask(organisation: string, taskId: string, cascade?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteTask200Response, any, {}>>;
13876
+ /**
13877
+ * Returns the full dependency graph for all tasks in a task list. * * **Use Cases:** * - Visualize task dependencies in a UI (DAG diagram) * - Analyze workflow structure and critical paths * - Find starting tasks (roots) and terminal tasks (leaves) * - Plan parallel execution by identifying independent task groups * * **Response Structure:** * - `taskCount`: Total number of tasks in the list * - `roots`: Task IDs with no dependencies (starting points) * - `leaves`: Task IDs with no dependents (terminal tasks) * - `graph`: Adjacency list with each task\'s dependencies and dependents
13878
+ * @summary Get dependency graph for a task list
13879
+ * @param {string} organisation The organisation ID
13880
+ * @param {string} taskListId The task list ID to get the dependency graph for
13881
+ * @param {*} [options] Override http request option.
13882
+ * @throws {RequiredError}
13883
+ * @memberof AITaskManagementApi
13884
+ */
13885
+ getDependencyGraph(organisation: string, taskListId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDependencyGraph200Response, any, {}>>;
13886
+ /**
13887
+ * Retrieves detailed information about a specific task including status, progress, dependencies, and results.
13888
+ * @summary Get task details
13889
+ * @param {string} organisation The organisation ID
13890
+ * @param {string} taskId The task UUID
13891
+ * @param {*} [options] Override http request option.
13892
+ * @throws {RequiredError}
13893
+ * @memberof AITaskManagementApi
13894
+ */
13895
+ getTask(organisation: string, taskId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTask200Response, any, {}>>;
13896
+ /**
13897
+ * Lists tasks for an organization with optional filtering. Filters can be combined for powerful queries. * * **Filter Examples:** * - All tasks in a list: ?taskListId=world-1 * - Pending tasks in a list: ?taskListId=world-1&status=pending * - Tasks assigned to an agent: ?assignedAgentId=agent-code-reviewer * - Combined: ?taskListId=world-1&status=in_progress&assignedAgentId=agent-1 * * **Reverse Dependency Lookup:** * Use `dependsOn` to find tasks that depend on a specific task (waiting for it to complete): * - ?dependsOn=task-123 - Returns task IDs only (lightweight) * - ?dependsOn=task-123&includeDetails=true - Returns full task objects * - ?dependsOn=task-123&status=pending - Pending tasks waiting for task-123 * * **Ordering:** * Tasks are returned in reverse chronological order (most recent first).
13898
+ * @summary List tasks with optional filtering
13899
+ * @param {string} organisation The organisation ID
13900
+ * @param {string} [taskListId] Filter tasks by task list ID. Task lists are implicit groupings - any string can be used.
13901
+ * @param {ListTasksStatusEnum} [status] Filter tasks by status
13902
+ * @param {string} [assignedAgentId] Filter tasks by assigned agent ID
13903
+ * @param {number} [limit] Maximum number of tasks to return (default 50, max 100)
13904
+ * @param {string} [dependsOn] Reverse lookup: find tasks that depend on this task ID. Returns tasks waiting for the specified task to complete.
13905
+ * @param {boolean} [includeDetails] When using dependsOn, return full task objects in addition to IDs. Default false (IDs only for lightweight responses).
13906
+ * @param {*} [options] Override http request option.
13907
+ * @throws {RequiredError}
13908
+ * @memberof AITaskManagementApi
13909
+ */
13910
+ listTasks(organisation: string, taskListId?: string, status?: ListTasksStatusEnum, assignedAgentId?: string, limit?: number, dependsOn?: string, includeDetails?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTasks200Response, any, {}>>;
13911
+ /**
13912
+ * Updates an existing task. All fields are optional - only provided fields will be updated. * * **Status Transitions:** * - Changing from **pending** to **in_progress** automatically sets startedAt timestamp * - Changing to **completed**, **failed**, or **cancelled** automatically sets completedAt timestamp * - Changing to **blocked** automatically sets blockedAt timestamp * - Changing from **blocked** to **in_progress** or **pending** clears blocked fields * - Completed tasks get a 30-day TTL for automatic cleanup * * **Progress Updates:** * - Update progress (0.0 to 1.0) to track completion percentage * - Update progressMessage for human-readable status updates * - Set result object when task completes successfully * - Set error string when task fails * - Set blockedReason and blockedByTaskIds when blocking a task
13913
+ * @summary Update a task
13914
+ * @param {string} organisation The organisation ID
13915
+ * @param {string} taskId The task UUID
13916
+ * @param {UpdateTaskRequest} updateTaskRequest
13917
+ * @param {*} [options] Override http request option.
13918
+ * @throws {RequiredError}
13919
+ * @memberof AITaskManagementApi
13920
+ */
13921
+ updateTask(organisation: string, taskId: string, updateTaskRequest: UpdateTaskRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateTask200Response, any, {}>>;
13922
+ }
13923
+ /**
13924
+ * @export
13925
+ */
13926
+ export declare const ListTasksStatusEnum: {
13927
+ readonly Pending: "pending";
13928
+ readonly InProgress: "in_progress";
13929
+ readonly Completed: "completed";
13930
+ readonly Failed: "failed";
13931
+ readonly Cancelled: "cancelled";
13932
+ readonly Blocked: "blocked";
13933
+ };
13934
+ export type ListTasksStatusEnum = typeof ListTasksStatusEnum[keyof typeof ListTasksStatusEnum];
11867
13935
  /**
11868
13936
  * AIToolsApi - axios parameter creator
11869
13937
  * @export
11870
13938
  */
11871
13939
  export declare const AIToolsApiAxiosParamCreator: (configuration?: Configuration) => {
13940
+ /**
13941
+ * Retrieves the status and synthesized result of a multi-tool orchestration. * * **Orchestration Pattern:** * When the AI requests multiple async tools simultaneously, an orchestration is created * to track all tool executions and synthesize their results into a single coherent response. * * **Flow:** * 1. AI requests multiple async tools (e.g., image generation + web search) * 2. Chat API creates orchestration and returns orchestrationId * 3. Tool Orchestrator Lambda polls all async tools * 4. When all tools complete, Orchestrator synthesizes results using AI * 5. Client polls this endpoint and receives final synthesized response * * **Status Values:** * - pending: Orchestration created, tools not yet started * - polling: Orchestrator is actively polling async tools * - synthesizing: All tools complete, AI is synthesizing response * - complete: Orchestration finished, synthesizedResponse available * - failed: Orchestration failed, error available * * **Polling Recommendations:** * - Poll every 2 seconds * - Maximum poll time: 10 minutes * - Orchestrator handles tool polling internally * * **Benefits over individual polling:** * - Single poll endpoint for multiple async tools * - AI synthesizes all results into coherent response * - Answers the original user question, not just tool summaries
13942
+ * @summary Get Orchestration Status
13943
+ * @param {string} organisation The organisation ID
13944
+ * @param {string} orchestrationId Orchestration identifier for aggregated async tool executions
13945
+ * @param {*} [options] Override http request option.
13946
+ * @throws {RequiredError}
13947
+ */
13948
+ getAIOrchestrationStatus: (organisation: string, orchestrationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11872
13949
  /**
11873
13950
  * Retrieves the status and result of an async tool execution. Used for polling long-running tools like image generation. * * **Async Tool Execution Pattern:** * This endpoint enables a polling pattern for long-running tools that would otherwise hit API Gateway\'s 30-second timeout. * * **Flow:** * 1. AI requests tool use (e.g., `generate_image`) * 2. Chat API returns `toolUse` with execution tracking info * 3. Client starts polling this endpoint with the `executionId` * 4. When `status === \'complete\'`, retrieve `result` and send back to AI * 5. AI incorporates result into final response * * **Status Values:** * - `pending`: Tool execution queued, not yet started * - `running`: Tool is currently executing * - `complete`: Tool execution finished successfully, `result` available * - `failed`: Tool execution failed, `error` available * * **Polling Recommendations:** * - Poll every 2-3 seconds for image generation * - Exponential backoff for other tools (start 1s, max 5s) * - Stop polling after 5 minutes (consider failed) * - Auto-cleanup after 24 hours (TTL) * * **Use Cases:** * - Image generation (10-15s typical runtime) * - Video processing * - Large file uploads/downloads * - Complex database queries * - External API calls with high latency
11874
13951
  * @summary Get async tool execution status and result
@@ -11910,6 +13987,15 @@ export declare const AIToolsApiAxiosParamCreator: (configuration?: Configuration
11910
13987
  * @export
11911
13988
  */
11912
13989
  export declare const AIToolsApiFp: (configuration?: Configuration) => {
13990
+ /**
13991
+ * Retrieves the status and synthesized result of a multi-tool orchestration. * * **Orchestration Pattern:** * When the AI requests multiple async tools simultaneously, an orchestration is created * to track all tool executions and synthesize their results into a single coherent response. * * **Flow:** * 1. AI requests multiple async tools (e.g., image generation + web search) * 2. Chat API creates orchestration and returns orchestrationId * 3. Tool Orchestrator Lambda polls all async tools * 4. When all tools complete, Orchestrator synthesizes results using AI * 5. Client polls this endpoint and receives final synthesized response * * **Status Values:** * - pending: Orchestration created, tools not yet started * - polling: Orchestrator is actively polling async tools * - synthesizing: All tools complete, AI is synthesizing response * - complete: Orchestration finished, synthesizedResponse available * - failed: Orchestration failed, error available * * **Polling Recommendations:** * - Poll every 2 seconds * - Maximum poll time: 10 minutes * - Orchestrator handles tool polling internally * * **Benefits over individual polling:** * - Single poll endpoint for multiple async tools * - AI synthesizes all results into coherent response * - Answers the original user question, not just tool summaries
13992
+ * @summary Get Orchestration Status
13993
+ * @param {string} organisation The organisation ID
13994
+ * @param {string} orchestrationId Orchestration identifier for aggregated async tool executions
13995
+ * @param {*} [options] Override http request option.
13996
+ * @throws {RequiredError}
13997
+ */
13998
+ getAIOrchestrationStatus(organisation: string, orchestrationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAIOrchestrationStatus200Response>>;
11913
13999
  /**
11914
14000
  * Retrieves the status and result of an async tool execution. Used for polling long-running tools like image generation. * * **Async Tool Execution Pattern:** * This endpoint enables a polling pattern for long-running tools that would otherwise hit API Gateway\'s 30-second timeout. * * **Flow:** * 1. AI requests tool use (e.g., `generate_image`) * 2. Chat API returns `toolUse` with execution tracking info * 3. Client starts polling this endpoint with the `executionId` * 4. When `status === \'complete\'`, retrieve `result` and send back to AI * 5. AI incorporates result into final response * * **Status Values:** * - `pending`: Tool execution queued, not yet started * - `running`: Tool is currently executing * - `complete`: Tool execution finished successfully, `result` available * - `failed`: Tool execution failed, `error` available * * **Polling Recommendations:** * - Poll every 2-3 seconds for image generation * - Exponential backoff for other tools (start 1s, max 5s) * - Stop polling after 5 minutes (consider failed) * - Auto-cleanup after 24 hours (TTL) * * **Use Cases:** * - Image generation (10-15s typical runtime) * - Video processing * - Large file uploads/downloads * - Complex database queries * - External API calls with high latency
11915
14001
  * @summary Get async tool execution status and result
@@ -11951,6 +14037,15 @@ export declare const AIToolsApiFp: (configuration?: Configuration) => {
11951
14037
  * @export
11952
14038
  */
11953
14039
  export declare const AIToolsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
14040
+ /**
14041
+ * Retrieves the status and synthesized result of a multi-tool orchestration. * * **Orchestration Pattern:** * When the AI requests multiple async tools simultaneously, an orchestration is created * to track all tool executions and synthesize their results into a single coherent response. * * **Flow:** * 1. AI requests multiple async tools (e.g., image generation + web search) * 2. Chat API creates orchestration and returns orchestrationId * 3. Tool Orchestrator Lambda polls all async tools * 4. When all tools complete, Orchestrator synthesizes results using AI * 5. Client polls this endpoint and receives final synthesized response * * **Status Values:** * - pending: Orchestration created, tools not yet started * - polling: Orchestrator is actively polling async tools * - synthesizing: All tools complete, AI is synthesizing response * - complete: Orchestration finished, synthesizedResponse available * - failed: Orchestration failed, error available * * **Polling Recommendations:** * - Poll every 2 seconds * - Maximum poll time: 10 minutes * - Orchestrator handles tool polling internally * * **Benefits over individual polling:** * - Single poll endpoint for multiple async tools * - AI synthesizes all results into coherent response * - Answers the original user question, not just tool summaries
14042
+ * @summary Get Orchestration Status
14043
+ * @param {string} organisation The organisation ID
14044
+ * @param {string} orchestrationId Orchestration identifier for aggregated async tool executions
14045
+ * @param {*} [options] Override http request option.
14046
+ * @throws {RequiredError}
14047
+ */
14048
+ getAIOrchestrationStatus(organisation: string, orchestrationId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetAIOrchestrationStatus200Response>;
11954
14049
  /**
11955
14050
  * Retrieves the status and result of an async tool execution. Used for polling long-running tools like image generation. * * **Async Tool Execution Pattern:** * This endpoint enables a polling pattern for long-running tools that would otherwise hit API Gateway\'s 30-second timeout. * * **Flow:** * 1. AI requests tool use (e.g., `generate_image`) * 2. Chat API returns `toolUse` with execution tracking info * 3. Client starts polling this endpoint with the `executionId` * 4. When `status === \'complete\'`, retrieve `result` and send back to AI * 5. AI incorporates result into final response * * **Status Values:** * - `pending`: Tool execution queued, not yet started * - `running`: Tool is currently executing * - `complete`: Tool execution finished successfully, `result` available * - `failed`: Tool execution failed, `error` available * * **Polling Recommendations:** * - Poll every 2-3 seconds for image generation * - Exponential backoff for other tools (start 1s, max 5s) * - Stop polling after 5 minutes (consider failed) * - Auto-cleanup after 24 hours (TTL) * * **Use Cases:** * - Image generation (10-15s typical runtime) * - Video processing * - Large file uploads/downloads * - Complex database queries * - External API calls with high latency
11956
14051
  * @summary Get async tool execution status and result
@@ -11994,6 +14089,16 @@ export declare const AIToolsApiFactory: (configuration?: Configuration, basePath
11994
14089
  * @extends {BaseAPI}
11995
14090
  */
11996
14091
  export declare class AIToolsApi extends BaseAPI {
14092
+ /**
14093
+ * Retrieves the status and synthesized result of a multi-tool orchestration. * * **Orchestration Pattern:** * When the AI requests multiple async tools simultaneously, an orchestration is created * to track all tool executions and synthesize their results into a single coherent response. * * **Flow:** * 1. AI requests multiple async tools (e.g., image generation + web search) * 2. Chat API creates orchestration and returns orchestrationId * 3. Tool Orchestrator Lambda polls all async tools * 4. When all tools complete, Orchestrator synthesizes results using AI * 5. Client polls this endpoint and receives final synthesized response * * **Status Values:** * - pending: Orchestration created, tools not yet started * - polling: Orchestrator is actively polling async tools * - synthesizing: All tools complete, AI is synthesizing response * - complete: Orchestration finished, synthesizedResponse available * - failed: Orchestration failed, error available * * **Polling Recommendations:** * - Poll every 2 seconds * - Maximum poll time: 10 minutes * - Orchestrator handles tool polling internally * * **Benefits over individual polling:** * - Single poll endpoint for multiple async tools * - AI synthesizes all results into coherent response * - Answers the original user question, not just tool summaries
14094
+ * @summary Get Orchestration Status
14095
+ * @param {string} organisation The organisation ID
14096
+ * @param {string} orchestrationId Orchestration identifier for aggregated async tool executions
14097
+ * @param {*} [options] Override http request option.
14098
+ * @throws {RequiredError}
14099
+ * @memberof AIToolsApi
14100
+ */
14101
+ getAIOrchestrationStatus(organisation: string, orchestrationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAIOrchestrationStatus200Response, any, {}>>;
11997
14102
  /**
11998
14103
  * Retrieves the status and result of an async tool execution. Used for polling long-running tools like image generation. * * **Async Tool Execution Pattern:** * This endpoint enables a polling pattern for long-running tools that would otherwise hit API Gateway\'s 30-second timeout. * * **Flow:** * 1. AI requests tool use (e.g., `generate_image`) * 2. Chat API returns `toolUse` with execution tracking info * 3. Client starts polling this endpoint with the `executionId` * 4. When `status === \'complete\'`, retrieve `result` and send back to AI * 5. AI incorporates result into final response * * **Status Values:** * - `pending`: Tool execution queued, not yet started * - `running`: Tool is currently executing * - `complete`: Tool execution finished successfully, `result` available * - `failed`: Tool execution failed, `error` available * * **Polling Recommendations:** * - Poll every 2-3 seconds for image generation * - Exponential backoff for other tools (start 1s, max 5s) * - Stop polling after 5 minutes (consider failed) * - Auto-cleanup after 24 hours (TTL) * * **Use Cases:** * - Image generation (10-15s typical runtime) * - Video processing * - Large file uploads/downloads * - Complex database queries * - External API calls with high latency
11999
14104
  * @summary Get async tool execution status and result
@@ -12085,7 +14190,7 @@ export declare const AIVectorDatabaseApiAxiosParamCreator: (configuration?: Conf
12085
14190
  */
12086
14191
  listVectorCollections: (organisation: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12087
14192
  /**
12088
- * Performs semantic search on a collection using vector similarity. Returns the most relevant documents based on meaning, not keyword matching. * * **Use Cases:** * - Find relevant documentation for user questions * - Power RAG (Retrieval Augmented Generation) in AI assistants * - Semantic search across knowledge bases
14193
+ * Performs semantic search on a collection using vector similarity. Returns the most relevant documents based on meaning, not keyword matching. * * **Three Search Modes:** * * 1. **Text Query** - Provide `query` string, server generates embedding * - Query text is embedded using the collection\'s embedding model * - Embeddings are cached for repeated queries * * 2. **Vector Query** - Provide pre-computed `vector` array * - Skip embedding generation (faster) * - Useful when you\'ve already embedded the query elsewhere * - Vector dimension must match collection (e.g., 1024 for Titan v2) * * 3. **Metadata List** - Set `listByMetadata: true` with `filter` * - Skip semantic search entirely * - Return all documents matching the filter * - Supports cursor-based pagination for large datasets * - Results ordered by sortBy/sortOrder (default: created_at DESC) * * **Filtering:** * - `filter.exact`: Exact match on metadata fields (AND logic) * - `filter.contains`: Array contains filter for tags (ANY match) * - Filters can be combined with semantic search or used alone with listByMetadata * * **Pagination (listByMetadata mode only):** * - Use `cursor` from previous response\'s `nextCursor` to get next page * - Uses keyset pagination for efficient traversal of large datasets * - Control sort with `sortBy` and `sortOrder` * * **Use Cases:** * - Find relevant documentation for user questions * - Power RAG (Retrieval Augmented Generation) in AI assistants * - Semantic search across knowledge bases * - List all artifacts by building/worker/tag
12089
14194
  * @summary Semantic Search Query
12090
14195
  * @param {string} organisation The organisation ID
12091
14196
  * @param {string} collectionId The collection ID
@@ -12146,7 +14251,7 @@ export declare const AIVectorDatabaseApiFp: (configuration?: Configuration) => {
12146
14251
  */
12147
14252
  listVectorCollections(organisation: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListVectorCollections200Response>>;
12148
14253
  /**
12149
- * Performs semantic search on a collection using vector similarity. Returns the most relevant documents based on meaning, not keyword matching. * * **Use Cases:** * - Find relevant documentation for user questions * - Power RAG (Retrieval Augmented Generation) in AI assistants * - Semantic search across knowledge bases
14254
+ * Performs semantic search on a collection using vector similarity. Returns the most relevant documents based on meaning, not keyword matching. * * **Three Search Modes:** * * 1. **Text Query** - Provide `query` string, server generates embedding * - Query text is embedded using the collection\'s embedding model * - Embeddings are cached for repeated queries * * 2. **Vector Query** - Provide pre-computed `vector` array * - Skip embedding generation (faster) * - Useful when you\'ve already embedded the query elsewhere * - Vector dimension must match collection (e.g., 1024 for Titan v2) * * 3. **Metadata List** - Set `listByMetadata: true` with `filter` * - Skip semantic search entirely * - Return all documents matching the filter * - Supports cursor-based pagination for large datasets * - Results ordered by sortBy/sortOrder (default: created_at DESC) * * **Filtering:** * - `filter.exact`: Exact match on metadata fields (AND logic) * - `filter.contains`: Array contains filter for tags (ANY match) * - Filters can be combined with semantic search or used alone with listByMetadata * * **Pagination (listByMetadata mode only):** * - Use `cursor` from previous response\'s `nextCursor` to get next page * - Uses keyset pagination for efficient traversal of large datasets * - Control sort with `sortBy` and `sortOrder` * * **Use Cases:** * - Find relevant documentation for user questions * - Power RAG (Retrieval Augmented Generation) in AI assistants * - Semantic search across knowledge bases * - List all artifacts by building/worker/tag
12150
14255
  * @summary Semantic Search Query
12151
14256
  * @param {string} organisation The organisation ID
12152
14257
  * @param {string} collectionId The collection ID
@@ -12207,7 +14312,7 @@ export declare const AIVectorDatabaseApiFactory: (configuration?: Configuration,
12207
14312
  */
12208
14313
  listVectorCollections(organisation: string, options?: RawAxiosRequestConfig): AxiosPromise<ListVectorCollections200Response>;
12209
14314
  /**
12210
- * Performs semantic search on a collection using vector similarity. Returns the most relevant documents based on meaning, not keyword matching. * * **Use Cases:** * - Find relevant documentation for user questions * - Power RAG (Retrieval Augmented Generation) in AI assistants * - Semantic search across knowledge bases
14315
+ * Performs semantic search on a collection using vector similarity. Returns the most relevant documents based on meaning, not keyword matching. * * **Three Search Modes:** * * 1. **Text Query** - Provide `query` string, server generates embedding * - Query text is embedded using the collection\'s embedding model * - Embeddings are cached for repeated queries * * 2. **Vector Query** - Provide pre-computed `vector` array * - Skip embedding generation (faster) * - Useful when you\'ve already embedded the query elsewhere * - Vector dimension must match collection (e.g., 1024 for Titan v2) * * 3. **Metadata List** - Set `listByMetadata: true` with `filter` * - Skip semantic search entirely * - Return all documents matching the filter * - Supports cursor-based pagination for large datasets * - Results ordered by sortBy/sortOrder (default: created_at DESC) * * **Filtering:** * - `filter.exact`: Exact match on metadata fields (AND logic) * - `filter.contains`: Array contains filter for tags (ANY match) * - Filters can be combined with semantic search or used alone with listByMetadata * * **Pagination (listByMetadata mode only):** * - Use `cursor` from previous response\'s `nextCursor` to get next page * - Uses keyset pagination for efficient traversal of large datasets * - Control sort with `sortBy` and `sortOrder` * * **Use Cases:** * - Find relevant documentation for user questions * - Power RAG (Retrieval Augmented Generation) in AI assistants * - Semantic search across knowledge bases * - List all artifacts by building/worker/tag
12211
14316
  * @summary Semantic Search Query
12212
14317
  * @param {string} organisation The organisation ID
12213
14318
  * @param {string} collectionId The collection ID
@@ -12274,7 +14379,7 @@ export declare class AIVectorDatabaseApi extends BaseAPI {
12274
14379
  */
12275
14380
  listVectorCollections(organisation: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListVectorCollections200Response, any, {}>>;
12276
14381
  /**
12277
- * Performs semantic search on a collection using vector similarity. Returns the most relevant documents based on meaning, not keyword matching. * * **Use Cases:** * - Find relevant documentation for user questions * - Power RAG (Retrieval Augmented Generation) in AI assistants * - Semantic search across knowledge bases
14382
+ * Performs semantic search on a collection using vector similarity. Returns the most relevant documents based on meaning, not keyword matching. * * **Three Search Modes:** * * 1. **Text Query** - Provide `query` string, server generates embedding * - Query text is embedded using the collection\'s embedding model * - Embeddings are cached for repeated queries * * 2. **Vector Query** - Provide pre-computed `vector` array * - Skip embedding generation (faster) * - Useful when you\'ve already embedded the query elsewhere * - Vector dimension must match collection (e.g., 1024 for Titan v2) * * 3. **Metadata List** - Set `listByMetadata: true` with `filter` * - Skip semantic search entirely * - Return all documents matching the filter * - Supports cursor-based pagination for large datasets * - Results ordered by sortBy/sortOrder (default: created_at DESC) * * **Filtering:** * - `filter.exact`: Exact match on metadata fields (AND logic) * - `filter.contains`: Array contains filter for tags (ANY match) * - Filters can be combined with semantic search or used alone with listByMetadata * * **Pagination (listByMetadata mode only):** * - Use `cursor` from previous response\'s `nextCursor` to get next page * - Uses keyset pagination for efficient traversal of large datasets * - Control sort with `sortBy` and `sortOrder` * * **Use Cases:** * - Find relevant documentation for user questions * - Power RAG (Retrieval Augmented Generation) in AI assistants * - Semantic search across knowledge bases * - List all artifacts by building/worker/tag
12278
14383
  * @summary Semantic Search Query
12279
14384
  * @param {string} organisation The organisation ID
12280
14385
  * @param {string} collectionId The collection ID
@@ -15485,6 +17590,69 @@ export declare class KVApi extends BaseAPI {
15485
17590
  */
15486
17591
  kVShow(organization: string, project: string, storeId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V2Store, any, {}>>;
15487
17592
  }
17593
+ /**
17594
+ * OrchestrationApi - axios parameter creator
17595
+ * @export
17596
+ */
17597
+ export declare const OrchestrationApiAxiosParamCreator: (configuration?: Configuration) => {
17598
+ /**
17599
+ * Retrieves the status and synthesized result of a multi-tool orchestration. * * **Orchestration Pattern:** * When the AI requests multiple async tools simultaneously, an orchestration is created * to track all tool executions and synthesize their results into a single coherent response. * * **Flow:** * 1. AI requests multiple async tools (e.g., image generation + web search) * 2. Chat API creates orchestration and returns orchestrationId * 3. Tool Orchestrator Lambda polls all async tools * 4. When all tools complete, Orchestrator synthesizes results using AI * 5. Client polls this endpoint and receives final synthesized response * * **Status Values:** * - pending: Orchestration created, tools not yet started * - polling: Orchestrator is actively polling async tools * - synthesizing: All tools complete, AI is synthesizing response * - complete: Orchestration finished, synthesizedResponse available * - failed: Orchestration failed, error available * * **Polling Recommendations:** * - Poll every 2 seconds * - Maximum poll time: 10 minutes * - Orchestrator handles tool polling internally * * **Benefits over individual polling:** * - Single poll endpoint for multiple async tools * - AI synthesizes all results into coherent response * - Answers the original user question, not just tool summaries
17600
+ * @summary Get Orchestration Status
17601
+ * @param {string} organisation The organisation ID
17602
+ * @param {string} orchestrationId Orchestration identifier for aggregated async tool executions
17603
+ * @param {*} [options] Override http request option.
17604
+ * @throws {RequiredError}
17605
+ */
17606
+ getAIOrchestrationStatus: (organisation: string, orchestrationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17607
+ };
17608
+ /**
17609
+ * OrchestrationApi - functional programming interface
17610
+ * @export
17611
+ */
17612
+ export declare const OrchestrationApiFp: (configuration?: Configuration) => {
17613
+ /**
17614
+ * Retrieves the status and synthesized result of a multi-tool orchestration. * * **Orchestration Pattern:** * When the AI requests multiple async tools simultaneously, an orchestration is created * to track all tool executions and synthesize their results into a single coherent response. * * **Flow:** * 1. AI requests multiple async tools (e.g., image generation + web search) * 2. Chat API creates orchestration and returns orchestrationId * 3. Tool Orchestrator Lambda polls all async tools * 4. When all tools complete, Orchestrator synthesizes results using AI * 5. Client polls this endpoint and receives final synthesized response * * **Status Values:** * - pending: Orchestration created, tools not yet started * - polling: Orchestrator is actively polling async tools * - synthesizing: All tools complete, AI is synthesizing response * - complete: Orchestration finished, synthesizedResponse available * - failed: Orchestration failed, error available * * **Polling Recommendations:** * - Poll every 2 seconds * - Maximum poll time: 10 minutes * - Orchestrator handles tool polling internally * * **Benefits over individual polling:** * - Single poll endpoint for multiple async tools * - AI synthesizes all results into coherent response * - Answers the original user question, not just tool summaries
17615
+ * @summary Get Orchestration Status
17616
+ * @param {string} organisation The organisation ID
17617
+ * @param {string} orchestrationId Orchestration identifier for aggregated async tool executions
17618
+ * @param {*} [options] Override http request option.
17619
+ * @throws {RequiredError}
17620
+ */
17621
+ getAIOrchestrationStatus(organisation: string, orchestrationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAIOrchestrationStatus200Response>>;
17622
+ };
17623
+ /**
17624
+ * OrchestrationApi - factory interface
17625
+ * @export
17626
+ */
17627
+ export declare const OrchestrationApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
17628
+ /**
17629
+ * Retrieves the status and synthesized result of a multi-tool orchestration. * * **Orchestration Pattern:** * When the AI requests multiple async tools simultaneously, an orchestration is created * to track all tool executions and synthesize their results into a single coherent response. * * **Flow:** * 1. AI requests multiple async tools (e.g., image generation + web search) * 2. Chat API creates orchestration and returns orchestrationId * 3. Tool Orchestrator Lambda polls all async tools * 4. When all tools complete, Orchestrator synthesizes results using AI * 5. Client polls this endpoint and receives final synthesized response * * **Status Values:** * - pending: Orchestration created, tools not yet started * - polling: Orchestrator is actively polling async tools * - synthesizing: All tools complete, AI is synthesizing response * - complete: Orchestration finished, synthesizedResponse available * - failed: Orchestration failed, error available * * **Polling Recommendations:** * - Poll every 2 seconds * - Maximum poll time: 10 minutes * - Orchestrator handles tool polling internally * * **Benefits over individual polling:** * - Single poll endpoint for multiple async tools * - AI synthesizes all results into coherent response * - Answers the original user question, not just tool summaries
17630
+ * @summary Get Orchestration Status
17631
+ * @param {string} organisation The organisation ID
17632
+ * @param {string} orchestrationId Orchestration identifier for aggregated async tool executions
17633
+ * @param {*} [options] Override http request option.
17634
+ * @throws {RequiredError}
17635
+ */
17636
+ getAIOrchestrationStatus(organisation: string, orchestrationId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetAIOrchestrationStatus200Response>;
17637
+ };
17638
+ /**
17639
+ * OrchestrationApi - object-oriented interface
17640
+ * @export
17641
+ * @class OrchestrationApi
17642
+ * @extends {BaseAPI}
17643
+ */
17644
+ export declare class OrchestrationApi extends BaseAPI {
17645
+ /**
17646
+ * Retrieves the status and synthesized result of a multi-tool orchestration. * * **Orchestration Pattern:** * When the AI requests multiple async tools simultaneously, an orchestration is created * to track all tool executions and synthesize their results into a single coherent response. * * **Flow:** * 1. AI requests multiple async tools (e.g., image generation + web search) * 2. Chat API creates orchestration and returns orchestrationId * 3. Tool Orchestrator Lambda polls all async tools * 4. When all tools complete, Orchestrator synthesizes results using AI * 5. Client polls this endpoint and receives final synthesized response * * **Status Values:** * - pending: Orchestration created, tools not yet started * - polling: Orchestrator is actively polling async tools * - synthesizing: All tools complete, AI is synthesizing response * - complete: Orchestration finished, synthesizedResponse available * - failed: Orchestration failed, error available * * **Polling Recommendations:** * - Poll every 2 seconds * - Maximum poll time: 10 minutes * - Orchestrator handles tool polling internally * * **Benefits over individual polling:** * - Single poll endpoint for multiple async tools * - AI synthesizes all results into coherent response * - Answers the original user question, not just tool summaries
17647
+ * @summary Get Orchestration Status
17648
+ * @param {string} organisation The organisation ID
17649
+ * @param {string} orchestrationId Orchestration identifier for aggregated async tool executions
17650
+ * @param {*} [options] Override http request option.
17651
+ * @throws {RequiredError}
17652
+ * @memberof OrchestrationApi
17653
+ */
17654
+ getAIOrchestrationStatus(organisation: string, orchestrationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAIOrchestrationStatus200Response, any, {}>>;
17655
+ }
15488
17656
  /**
15489
17657
  * OrganizationsApi - axios parameter creator
15490
17658
  * @export