@soat/sdk 0.15.11 → 0.15.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -803,35 +803,80 @@ type SubmitToolOutputsRequest = {
803
803
  output: unknown;
804
804
  }>;
805
805
  };
806
+ /**
807
+ * Result of an agent generation. Mirrors the server's `GenerationResult`. When `status` is `completed` the model output is under `output`; when it is `requires_action` the pending client tool calls are under `required_action`.
808
+ *
809
+ */
806
810
  type AgentGenerationResponse = {
807
811
  /**
808
812
  * Public ID of the generation
809
813
  */
810
- id?: string;
814
+ id: string;
811
815
  /**
812
- * Generation status
816
+ * Public ID of the trace for this generation
813
817
  */
814
- status?: 'completed' | 'requires_action';
818
+ trace_id: string;
815
819
  /**
816
- * Final text output (when completed)
820
+ * Generation status
817
821
  */
818
- text?: string | null;
822
+ status: 'completed' | 'requires_action';
819
823
  /**
820
- * Structured object matching the agent's `output_schema` (when completed and `output_schema` is set)
824
+ * Model output (present when `status` is `completed`).
821
825
  */
822
- object?: {
823
- [key: string]: unknown;
826
+ output?: {
827
+ /**
828
+ * Model that produced the output
829
+ */
830
+ model: string;
831
+ /**
832
+ * Final text output
833
+ */
834
+ content: string;
835
+ /**
836
+ * Reason the model stopped generating
837
+ */
838
+ finish_reason: string;
839
+ /**
840
+ * Full AI SDK response messages (tool calls, tool results, final text)
841
+ */
842
+ response_messages?: Array<{
843
+ [key: string]: unknown;
844
+ }> | null;
845
+ /**
846
+ * Structured object matching the agent's `output_schema` (when `output_schema` is set)
847
+ */
848
+ object?: {
849
+ [key: string]: unknown;
850
+ } | null;
824
851
  } | null;
825
852
  /**
826
- * Pending tool calls (when requires_action)
853
+ * Pending action the caller must satisfy (present when `status` is `requires_action`).
827
854
  */
828
- tool_calls?: Array<{
829
- tool_call_id?: string;
830
- tool_name?: string;
831
- args?: {
832
- [key: string]: unknown;
833
- };
834
- }> | null;
855
+ required_action?: {
856
+ /**
857
+ * The kind of action required
858
+ */
859
+ type: 'submit_tool_outputs';
860
+ /**
861
+ * Pending tool calls to execute and submit outputs for
862
+ */
863
+ tool_calls: Array<{
864
+ /**
865
+ * Tool call ID
866
+ */
867
+ id?: string;
868
+ /**
869
+ * Name of the tool to invoke
870
+ */
871
+ tool_name?: string;
872
+ /**
873
+ * Arguments for the tool call
874
+ */
875
+ args?: {
876
+ [key: string]: unknown;
877
+ };
878
+ }>;
879
+ } | null;
835
880
  };
836
881
  type ProviderPrice = {
837
882
  /**
@@ -1014,6 +1059,47 @@ type ApprovalItem = {
1014
1059
  created_at?: Date;
1015
1060
  updated_at?: Date;
1016
1061
  };
1062
+ type AuditEntry = {
1063
+ id?: string;
1064
+ /**
1065
+ * Project the action targeted; null for global actions
1066
+ */
1067
+ project_id?: string | null;
1068
+ actor_type?: 'user' | 'api_key';
1069
+ /**
1070
+ * Public id of the principal (`user_…` or `key_…`)
1071
+ */
1072
+ actor_id?: string;
1073
+ /**
1074
+ * The permission-action string that authorized the request
1075
+ */
1076
+ action?: string;
1077
+ /**
1078
+ * SRN the action targeted (type-level `soat:{project}:{type}:*` on creates)
1079
+ */
1080
+ resource_srn?: string | null;
1081
+ /**
1082
+ * Target resource public id (from the SRN, or the response body on creates)
1083
+ */
1084
+ resource_public_id?: string | null;
1085
+ /**
1086
+ * HTTP status of the response
1087
+ */
1088
+ status?: number;
1089
+ /**
1090
+ * Per-request correlation id (also returned in the X-Request-Id header)
1091
+ */
1092
+ request_id?: string | null;
1093
+ ip?: string | null;
1094
+ user_agent?: string | null;
1095
+ /**
1096
+ * Kind-specific payload; multi-check routes record the remaining checks under `additional_checks`
1097
+ */
1098
+ detail?: {
1099
+ [key: string]: unknown;
1100
+ } | null;
1101
+ created_at?: Date;
1102
+ };
1017
1103
  type Chat = {
1018
1104
  /**
1019
1105
  * Public ID of the chat
@@ -1442,6 +1528,64 @@ type EmbeddingsResponse = {
1442
1528
  */
1443
1529
  embeddings?: Array<Array<number>>;
1444
1530
  };
1531
+ type ExceptionItem = {
1532
+ id?: string;
1533
+ project_id?: string;
1534
+ status?: 'open' | 'acknowledged' | 'resolved';
1535
+ severity?: 'info' | 'warning' | 'critical';
1536
+ /**
1537
+ * How the exception was filed
1538
+ */
1539
+ kind?: 'run_failed' | 'guardrail_tripwire' | 'approval_expired' | 'manual';
1540
+ /**
1541
+ * Human-readable one-line summary
1542
+ */
1543
+ title?: string;
1544
+ /**
1545
+ * Structured context (tool, args digest, error message, guardrail version)
1546
+ */
1547
+ detail?: {
1548
+ [key: string]: unknown;
1549
+ } | null;
1550
+ /**
1551
+ * How many times this exact failure has been observed while open
1552
+ */
1553
+ occurrence_count?: number;
1554
+ /**
1555
+ * Timestamp of the most recent occurrence
1556
+ */
1557
+ last_seen_at?: Date;
1558
+ /**
1559
+ * Originating orchestration run
1560
+ */
1561
+ run_id?: string | null;
1562
+ /**
1563
+ * Originating node id within the run's graph
1564
+ */
1565
+ node_id?: string | null;
1566
+ /**
1567
+ * Associated agent
1568
+ */
1569
+ agent_id?: string | null;
1570
+ /**
1571
+ * `<guardrailId>@<version>` for a guardrail_tripwire exception
1572
+ */
1573
+ guardrail_version?: string | null;
1574
+ /**
1575
+ * Acknowledging user's public ID
1576
+ */
1577
+ acknowledged_by?: string | null;
1578
+ /**
1579
+ * Resolving user's public ID
1580
+ */
1581
+ resolved_by?: string | null;
1582
+ /**
1583
+ * Optional note recorded at resolution
1584
+ */
1585
+ resolution_note?: string | null;
1586
+ created_at?: Date;
1587
+ updated_at?: Date;
1588
+ };
1445
1589
  type UploadFileBase64Request = {
1446
1590
  /**
1447
1591
  * Public ID of the project
@@ -2431,16 +2575,86 @@ type WorkflowResourceProperties = {
2431
2575
  [key: string]: unknown;
2432
2576
  } | null;
2433
2577
  };
2578
+ /**
2579
+ * Creates a quota — a project-scoped cap that blocks (`enforce`) or reports (`monitor`) when a windowed aggregate is exceeded. `requests` quotas are enforced by the request middleware; `tokens`/`cost_usd` quotas at the pre-generation check. Mirrors the quotas REST contract; `scope`, `metric`, and `window` are immutable after creation (only `limit` and `mode` update).
2580
+ */
2581
+ type QuotaResourceProperties = {
2582
+ /**
2583
+ * The scope the quota applies to
2584
+ */
2585
+ scope: 'project' | 'api_key' | 'agent';
2586
+ /**
2587
+ * Public id of the api key / agent the quota applies to. NULL means all entities of that scope type in the project.
2588
+ */
2589
+ scope_ref?: string | null;
2590
+ /**
2591
+ * The metric being capped
2592
+ */
2593
+ metric: 'requests' | 'tokens' | 'cost_usd';
2594
+ /**
2595
+ * The window over which the metric is aggregated
2596
+ */
2597
+ window: 'rolling_1m' | 'rolling_1h' | 'rolling_24h' | 'calendar_month';
2598
+ /**
2599
+ * The cap. Positive integer for requests/tokens; fractional allowed for cost_usd.
2600
+ */
2601
+ limit: number;
2602
+ /**
2603
+ * enforce blocks with 429; monitor fires the webhook only
2604
+ */
2605
+ mode?: 'enforce' | 'monitor';
2606
+ };
2607
+ /**
2608
+ * Creates a guardrail — an action-class document (`class`/`guard`) that gates tool-call autonomy. Attach it to a tool or agent via that resource's `guardrail_ids` (a `{ "ref": … }` to this resource in the same template resolves to its physical id at deploy time). Mirrors the guardrails REST contract; `class`/`default_class`/`guard`/`escalate` are flattened here from the REST API's single `document` object.
2609
+ */
2610
+ type GuardrailResourceProperties = {
2611
+ /**
2612
+ * Human-readable name
2613
+ */
2614
+ name: string;
2615
+ /**
2616
+ * Optional description
2617
+ */
2618
+ description?: string | null;
2619
+ /**
2620
+ * A class literal (`A` / `B` / `C` / `D`) or a JSON Logic expression returning one. An invalid result resolves to `default_class`.
2621
+ */
2622
+ class: 'A' | 'B' | 'C' | 'D' | {
2623
+ [key: string]: unknown;
2624
+ };
2625
+ /**
2626
+ * Applied when the `class` expression returns anything other than a valid class. Defaults to `C` (fail-closed).
2627
+ */
2628
+ default_class?: 'A' | 'B' | 'C' | 'D';
2629
+ /**
2630
+ * A single JSON Logic expression; when the call classifies as `B` it executes only if this evaluates truthy.
2631
+ */
2632
+ guard?: {
2633
+ [key: string]: unknown;
2634
+ } | null;
2635
+ /**
2636
+ * When true, a passing guard still files an approval item.
2637
+ */
2638
+ escalate?: boolean | null;
2639
+ /**
2640
+ * Optional tool the platform calls at evaluation time to fetch fresh guardrail context.
2641
+ */
2642
+ context_tool_id?: string | null;
2643
+ /**
2644
+ * How tool-fetched context combines with the caller-supplied context.
2645
+ */
2646
+ context_mode?: 'merge' | 'replace';
2647
+ };
2434
2648
  type ResourceDeclaration = {
2435
2649
  /**
2436
2650
  * Resource type
2437
2651
  */
2438
- type: 'ai_provider' | 'tool' | 'agent' | 'actor' | 'api_key' | 'chat' | 'conversation' | 'document' | 'file' | 'ingestion_rule' | 'memory' | 'memory_entry' | 'orchestration' | 'policy' | 'project_price' | 'secret' | 'session' | 'webhook' | 'trigger' | 'workflow';
2652
+ type: 'ai_provider' | 'tool' | 'agent' | 'actor' | 'api_key' | 'chat' | 'conversation' | 'document' | 'file' | 'guardrail' | 'ingestion_rule' | 'memory' | 'memory_entry' | 'orchestration' | 'policy' | 'project_price' | 'quota' | 'secret' | 'session' | 'webhook' | 'trigger' | 'workflow';
2439
2653
  /**
2440
2654
  * Resource properties. Values may use `{ "ref": "logicalId" }` to reference physical IDs of other resources in the template, `{ "param": "ParamName" }` to substitute a parameter value, or `{ "sub": "text ${ParamName}" }` to interpolate parameter values into a string.
2441
2655
  *
2442
2656
  */
2443
- properties: AgentResourceProperties | ActorResourceProperties | AiProviderResourceProperties | ToolResourceProperties | ApiKeyResourceProperties | ChatResourceProperties | ConversationResourceProperties | DiscussionResourceProperties | DocumentResourceProperties | FileResourceProperties | IngestionRuleResourceProperties | MemoryResourceProperties | MemoryEntryResourceProperties | OrchestrationResourceProperties | PolicyResourceProperties | ProjectPriceResourceProperties | SecretResourceProperties | SessionResourceProperties | WebhookResourceProperties | TriggerResourceProperties | WorkflowResourceProperties;
2657
+ properties: AgentResourceProperties | ActorResourceProperties | AiProviderResourceProperties | ToolResourceProperties | ApiKeyResourceProperties | ChatResourceProperties | ConversationResourceProperties | DiscussionResourceProperties | DocumentResourceProperties | FileResourceProperties | GuardrailResourceProperties | IngestionRuleResourceProperties | MemoryResourceProperties | MemoryEntryResourceProperties | OrchestrationResourceProperties | PolicyResourceProperties | ProjectPriceResourceProperties | QuotaResourceProperties | SecretResourceProperties | SessionResourceProperties | WebhookResourceProperties | TriggerResourceProperties | WorkflowResourceProperties;
2444
2658
  /**
2445
2659
  * Explicit dependency list. In addition to implicit `ref` dependencies.
2446
2660
  */
@@ -2722,6 +2936,11 @@ type GuardrailDocument = {
2722
2936
  *
2723
2937
  */
2724
2938
  escalate?: boolean;
2939
+ /**
2940
+ * Default approval window in seconds for a class-C approval this guardrail files. Omitted → the platform's 24h default. When several guardrails apply, the governing (strictest-matching) one's value is used.
2941
+ *
2942
+ */
2943
+ expires_in?: number;
2725
2944
  [key: string]: unknown;
2726
2945
  };
2727
2946
  type Guardrail = {
@@ -2996,6 +3215,46 @@ type MemoryEntryWriteResult = MemoryEntry & {
2996
3215
  */
2997
3216
  action?: 'created' | 'updated' | 'skipped';
2998
3217
  };
3218
+ /**
3219
+ * A point-in-time snapshot of the orchestration run queue.
3220
+ */
3221
+ type QueueStats = {
3222
+ /**
3223
+ * The active queue driver.
3224
+ */
3225
+ driver?: string;
3226
+ /**
3227
+ * Tasks waiting to be claimed now (unclaimed and past their `available_at`). Backoff-delayed tasks are excluded.
3228
+ */
3229
+ queue_depth?: number;
3230
+ /**
3231
+ * Tasks currently claimed with a valid (unexpired) lease.
3232
+ */
3233
+ claimed_tasks?: number;
3234
+ /**
3235
+ * Age in seconds of the oldest claimable-now task, or `null` when none are waiting.
3236
+ */
3237
+ oldest_queued_age_seconds?: number | null;
3238
+ /**
3239
+ * Claim-latency percentiles (time from a task becoming available to being claimed) over a rolling in-process window. `p50`/`p95` are `null` when no claim happened in the window.
3240
+ */
3241
+ claim_latency_ms?: {
3242
+ p50?: number | null;
3243
+ p95?: number | null;
3244
+ window_seconds?: number;
3245
+ };
3246
+ /**
3247
+ * One row per project with any queued or claimed task.
3248
+ */
3249
+ per_project?: Array<{
3250
+ /**
3251
+ * Public project ID (proj_ prefix).
3252
+ */
3253
+ project_id?: string;
3254
+ queued?: number;
3255
+ claimed?: number;
3256
+ }>;
3257
+ };
2999
3258
  /**
3000
3259
  * A single execution unit in the orchestration graph.
3001
3260
  */
@@ -3472,6 +3731,10 @@ type ProjectRecord = {
3472
3731
  * Guardrails attached at the project scope — the baseline governing every tool call by every agent in the project.
3473
3732
  */
3474
3733
  guardrail_ids?: Array<string> | null;
3734
+ /**
3735
+ * Maximum orchestration runs of this project driven at once. `null` means unlimited (the default). Enforced at queue claim time.
3736
+ */
3737
+ max_concurrent_runs?: number | null;
3475
3738
  created_at?: Date;
3476
3739
  updated_at?: Date;
3477
3740
  };
@@ -3537,6 +3800,26 @@ type UpsertProjectPricesRequest = {
3537
3800
  effective_from: Date;
3538
3801
  }>;
3539
3802
  };
3803
+ type Quota = {
3804
+ id?: string;
3805
+ project_id?: string;
3806
+ scope?: 'project' | 'api_key' | 'agent';
3807
+ scope_ref?: string | null;
3808
+ metric?: 'requests' | 'tokens' | 'cost_usd';
3809
+ window?: 'rolling_1m' | 'rolling_1h' | 'rolling_24h' | 'calendar_month';
3810
+ limit?: number;
3811
+ mode?: 'enforce' | 'monitor';
3812
+ /**
3813
+ * Current fixed-window usage for the requests metric. Null for token/cost quotas (which aggregate the usage meter at check time rather than keeping a counter) and in list responses.
3814
+ */
3815
+ current_usage?: {
3816
+ window_key?: string;
3817
+ count?: number;
3818
+ resets_at?: Date;
3819
+ } | null;
3820
+ created_at?: Date;
3821
+ updated_at?: Date;
3822
+ };
3540
3823
  type SessionRecord = {
3541
3824
  /**
3542
3825
  * Session public ID
@@ -4738,6 +5021,10 @@ type FileRecordWritable = {
4738
5021
  * Approval item ID
4739
5022
  */
4740
5023
  type ApprovalId = string;
5024
+ /**
5025
+ * Exception item ID
5026
+ */
5027
+ type ExceptionId = string;
4741
5028
  /**
4742
5029
  * Public ID of the orchestration (orch_...)
4743
5030
  */
@@ -5112,6 +5399,14 @@ type ListAgentsData = {
5112
5399
  * Project public ID to filter by
5113
5400
  */
5114
5401
  project_id?: string;
5402
+ /**
5403
+ * Maximum number of results to return
5404
+ */
5405
+ limit?: number;
5406
+ /**
5407
+ * Number of results to skip
5408
+ */
5409
+ offset?: number;
5115
5410
  };
5116
5411
  url: '/api/v1/agents';
5117
5412
  };
@@ -5130,7 +5425,12 @@ type ListAgentsResponses = {
5130
5425
  /**
5131
5426
  * List of agents
5132
5427
  */
5133
- 200: Array<Agent>;
5428
+ 200: {
5429
+ data: Array<Agent>;
5430
+ total: number;
5431
+ limit: number;
5432
+ offset: number;
5433
+ };
5134
5434
  };
5135
5435
  type ListAgentsResponse = ListAgentsResponses[keyof ListAgentsResponses];
5136
5436
  type CreateAgentData = {
@@ -5406,15 +5706,20 @@ type ListAiProvidersResponses = {
5406
5706
  /**
5407
5707
  * List of AI providers
5408
5708
  */
5409
- 200: Array<{
5410
- id?: string;
5411
- name?: string;
5412
- provider?: 'openai' | 'anthropic' | 'google' | 'xai' | 'groq' | 'ollama' | 'azure' | 'bedrock' | 'gateway' | 'custom';
5413
- default_model?: string;
5414
- project_id?: string;
5415
- created_at?: Date;
5416
- updated_at?: Date;
5417
- }>;
5709
+ 200: {
5710
+ data: Array<{
5711
+ id?: string;
5712
+ name?: string;
5713
+ provider?: 'openai' | 'anthropic' | 'google' | 'xai' | 'groq' | 'ollama' | 'azure' | 'bedrock' | 'gateway' | 'custom';
5714
+ default_model?: string;
5715
+ project_id?: string;
5716
+ created_at?: Date;
5717
+ updated_at?: Date;
5718
+ }>;
5719
+ total: number;
5720
+ limit: number;
5721
+ offset: number;
5722
+ };
5418
5723
  };
5419
5724
  type ListAiProvidersResponse = ListAiProvidersResponses[keyof ListAiProvidersResponses];
5420
5725
  type CreateAiProviderData = {
@@ -5693,7 +5998,16 @@ type UpdateAiProviderPricesResponse = UpdateAiProviderPricesResponses[keyof Upda
5693
5998
  type ListApiKeysData = {
5694
5999
  body?: never;
5695
6000
  path?: never;
5696
- query?: never;
6001
+ query?: {
6002
+ /**
6003
+ * Maximum number of results to return
6004
+ */
6005
+ limit?: number;
6006
+ /**
6007
+ * Number of results to skip
6008
+ */
6009
+ offset?: number;
6010
+ };
5697
6011
  url: '/api/v1/api-keys';
5698
6012
  };
5699
6013
  type ListApiKeysErrors = {
@@ -5706,7 +6020,12 @@ type ListApiKeysResponses = {
5706
6020
  /**
5707
6021
  * List of API keys
5708
6022
  */
5709
- 200: Array<ApiKeyRecord>;
6023
+ 200: {
6024
+ data: Array<ApiKeyRecord>;
6025
+ total: number;
6026
+ limit: number;
6027
+ offset: number;
6028
+ };
5710
6029
  };
5711
6030
  type ListApiKeysResponse = ListApiKeysResponses[keyof ListApiKeysResponses];
5712
6031
  type CreateApiKeyData = {
@@ -5877,10 +6196,22 @@ type ListApprovalsData = {
5877
6196
  * Return only items expiring at or before this timestamp
5878
6197
  */
5879
6198
  expires_before?: Date;
6199
+ /**
6200
+ * Maximum number of results to return
6201
+ */
6202
+ limit?: number;
6203
+ /**
6204
+ * Number of results to skip
6205
+ */
6206
+ offset?: number;
5880
6207
  };
5881
6208
  url: '/api/v1/approvals';
5882
6209
  };
5883
6210
  type ListApprovalsErrors = {
6211
+ /**
6212
+ * Invalid `status` or `origin` filter value
6213
+ */
6214
+ 400: unknown;
5884
6215
  /**
5885
6216
  * Unauthorized
5886
6217
  */
@@ -5898,7 +6229,12 @@ type ListApprovalsResponses = {
5898
6229
  /**
5899
6230
  * List of approval items
5900
6231
  */
5901
- 200: Array<ApprovalItem>;
6232
+ 200: {
6233
+ data: Array<ApprovalItem>;
6234
+ total: number;
6235
+ limit: number;
6236
+ offset: number;
6237
+ };
5902
6238
  };
5903
6239
  type ListApprovalsResponse = ListApprovalsResponses[keyof ListApprovalsResponses];
5904
6240
  type GetApprovalData = {
@@ -6025,23 +6361,132 @@ type RejectApprovalResponses = {
6025
6361
  200: ApprovalItem;
6026
6362
  };
6027
6363
  type RejectApprovalResponse = RejectApprovalResponses[keyof RejectApprovalResponses];
6028
- type ListChatsData = {
6364
+ type ListAuditEntriesData = {
6029
6365
  body?: never;
6030
6366
  path?: never;
6031
6367
  query?: {
6032
6368
  /**
6033
- * Project public ID to filter by
6369
+ * Project ID (scopes results; required if not using project key auth for a specific project)
6034
6370
  */
6035
6371
  project_id?: string;
6036
- };
6037
- url: '/api/v1/chats';
6038
- };
6039
- type ListChatsErrors = {
6040
- /**
6041
- * Unauthorized
6042
- */
6043
- 401: ErrorResponse;
6044
- /**
6372
+ /**
6373
+ * Exact permission-action string, e.g. `secrets:DeleteSecret`
6374
+ */
6375
+ action?: string;
6376
+ /**
6377
+ * Public id of the principal (`user_…` or `key_…`)
6378
+ */
6379
+ actor_id?: string;
6380
+ /**
6381
+ * Exact target resource public id, e.g. `sec_…`
6382
+ */
6383
+ resource_public_id?: string;
6384
+ /**
6385
+ * SRN prefix match, e.g. `soat:{project}:secret:`
6386
+ */
6387
+ resource_srn?: string;
6388
+ /**
6389
+ * Only entries created at or after this timestamp (ISO 8601)
6390
+ */
6391
+ from?: Date;
6392
+ /**
6393
+ * Only entries created at or before this timestamp (ISO 8601)
6394
+ */
6395
+ to?: Date;
6396
+ /**
6397
+ * Number of results per page (1–200, default 25)
6398
+ */
6399
+ limit?: number;
6400
+ /**
6401
+ * Number of results to skip
6402
+ */
6403
+ offset?: number;
6404
+ };
6405
+ url: '/api/v1/audit-log';
6406
+ };
6407
+ type ListAuditEntriesErrors = {
6408
+ /**
6409
+ * Unauthorized
6410
+ */
6411
+ 401: unknown;
6412
+ /**
6413
+ * Forbidden
6414
+ */
6415
+ 403: unknown;
6416
+ /**
6417
+ * Internal server error
6418
+ */
6419
+ 500: unknown;
6420
+ };
6421
+ type ListAuditEntriesResponses = {
6422
+ /**
6423
+ * A page of audit entries
6424
+ */
6425
+ 200: {
6426
+ data?: Array<AuditEntry>;
6427
+ total?: number;
6428
+ limit?: number;
6429
+ offset?: number;
6430
+ };
6431
+ };
6432
+ type ListAuditEntriesResponse = ListAuditEntriesResponses[keyof ListAuditEntriesResponses];
6433
+ type GetAuditEntryData = {
6434
+ body?: never;
6435
+ path: {
6436
+ /**
6437
+ * Audit entry ID
6438
+ */
6439
+ entry_id: string;
6440
+ };
6441
+ query?: never;
6442
+ url: '/api/v1/audit-log/{entry_id}';
6443
+ };
6444
+ type GetAuditEntryErrors = {
6445
+ /**
6446
+ * Unauthorized
6447
+ */
6448
+ 401: unknown;
6449
+ /**
6450
+ * Forbidden
6451
+ */
6452
+ 403: unknown;
6453
+ /**
6454
+ * Audit entry not found
6455
+ */
6456
+ 404: unknown;
6457
+ };
6458
+ type GetAuditEntryResponses = {
6459
+ /**
6460
+ * Audit entry details
6461
+ */
6462
+ 200: AuditEntry;
6463
+ };
6464
+ type GetAuditEntryResponse = GetAuditEntryResponses[keyof GetAuditEntryResponses];
6465
+ type ListChatsData = {
6466
+ body?: never;
6467
+ path?: never;
6468
+ query?: {
6469
+ /**
6470
+ * Project public ID to filter by
6471
+ */
6472
+ project_id?: string;
6473
+ /**
6474
+ * Maximum number of results to return
6475
+ */
6476
+ limit?: number;
6477
+ /**
6478
+ * Number of results to skip
6479
+ */
6480
+ offset?: number;
6481
+ };
6482
+ url: '/api/v1/chats';
6483
+ };
6484
+ type ListChatsErrors = {
6485
+ /**
6486
+ * Unauthorized
6487
+ */
6488
+ 401: ErrorResponse;
6489
+ /**
6045
6490
  * Forbidden
6046
6491
  */
6047
6492
  403: ErrorResponse;
@@ -6051,7 +6496,12 @@ type ListChatsResponses = {
6051
6496
  /**
6052
6497
  * List of chats
6053
6498
  */
6054
- 200: Array<Chat>;
6499
+ 200: {
6500
+ data: Array<Chat>;
6501
+ total: number;
6502
+ limit: number;
6503
+ offset: number;
6504
+ };
6055
6505
  };
6056
6506
  type ListChatsResponse = ListChatsResponses[keyof ListChatsResponses];
6057
6507
  type CreateChatData = {
@@ -7625,6 +8075,172 @@ type CreateEmbeddingsResponses = {
7625
8075
  200: EmbeddingsResponse;
7626
8076
  };
7627
8077
  type CreateEmbeddingsResponse = CreateEmbeddingsResponses[keyof CreateEmbeddingsResponses];
8078
+ type ListExceptionsData = {
8079
+ body?: never;
8080
+ path?: never;
8081
+ query?: {
8082
+ /**
8083
+ * Project ID (required if not using project key auth)
8084
+ */
8085
+ project_id?: string;
8086
+ /**
8087
+ * Filter by triage status
8088
+ */
8089
+ status?: 'open' | 'acknowledged' | 'resolved';
8090
+ /**
8091
+ * Filter by severity
8092
+ */
8093
+ severity?: 'info' | 'warning' | 'critical';
8094
+ /**
8095
+ * Filter by how the exception was filed
8096
+ */
8097
+ kind?: 'run_failed' | 'guardrail_tripwire' | 'approval_expired' | 'manual';
8098
+ /**
8099
+ * Maximum number of results to return
8100
+ */
8101
+ limit?: number;
8102
+ /**
8103
+ * Number of results to skip
8104
+ */
8105
+ offset?: number;
8106
+ };
8107
+ url: '/api/v1/exceptions';
8108
+ };
8109
+ type ListExceptionsErrors = {
8110
+ /**
8111
+ * Unauthorized
8112
+ */
8113
+ 401: unknown;
8114
+ /**
8115
+ * Forbidden
8116
+ */
8117
+ 403: unknown;
8118
+ /**
8119
+ * Internal server error
8120
+ */
8121
+ 500: unknown;
8122
+ };
8123
+ type ListExceptionsResponses = {
8124
+ /**
8125
+ * List of exception items
8126
+ */
8127
+ 200: {
8128
+ data: Array<ExceptionItem>;
8129
+ total: number;
8130
+ limit: number;
8131
+ offset: number;
8132
+ };
8133
+ };
8134
+ type ListExceptionsResponse = ListExceptionsResponses[keyof ListExceptionsResponses];
8135
+ type GetExceptionData = {
8136
+ body?: never;
8137
+ path: {
8138
+ /**
8139
+ * Exception item ID
8140
+ */
8141
+ exception_id: string;
8142
+ };
8143
+ query?: never;
8144
+ url: '/api/v1/exceptions/{exception_id}';
8145
+ };
8146
+ type GetExceptionErrors = {
8147
+ /**
8148
+ * Unauthorized
8149
+ */
8150
+ 401: unknown;
8151
+ /**
8152
+ * Forbidden
8153
+ */
8154
+ 403: unknown;
8155
+ /**
8156
+ * Exception item not found
8157
+ */
8158
+ 404: unknown;
8159
+ };
8160
+ type GetExceptionResponses = {
8161
+ /**
8162
+ * Exception item
8163
+ */
8164
+ 200: ExceptionItem;
8165
+ };
8166
+ type GetExceptionResponse = GetExceptionResponses[keyof GetExceptionResponses];
8167
+ type AcknowledgeExceptionData = {
8168
+ body?: never;
8169
+ path: {
8170
+ /**
8171
+ * Exception item ID
8172
+ */
8173
+ exception_id: string;
8174
+ };
8175
+ query?: never;
8176
+ url: '/api/v1/exceptions/{exception_id}/acknowledge';
8177
+ };
8178
+ type AcknowledgeExceptionErrors = {
8179
+ /**
8180
+ * Unauthorized
8181
+ */
8182
+ 401: unknown;
8183
+ /**
8184
+ * Forbidden
8185
+ */
8186
+ 403: unknown;
8187
+ /**
8188
+ * Exception item not found
8189
+ */
8190
+ 404: unknown;
8191
+ /**
8192
+ * Item already resolved
8193
+ */
8194
+ 409: unknown;
8195
+ };
8196
+ type AcknowledgeExceptionResponses = {
8197
+ /**
8198
+ * Exception item acknowledged
8199
+ */
8200
+ 200: ExceptionItem;
8201
+ };
8202
+ type AcknowledgeExceptionResponse = AcknowledgeExceptionResponses[keyof AcknowledgeExceptionResponses];
8203
+ type ResolveExceptionData = {
8204
+ body?: {
8205
+ /**
8206
+ * Optional resolution note
8207
+ */
8208
+ note?: string;
8209
+ };
8210
+ path: {
8211
+ /**
8212
+ * Exception item ID
8213
+ */
8214
+ exception_id: string;
8215
+ };
8216
+ query?: never;
8217
+ url: '/api/v1/exceptions/{exception_id}/resolve';
8218
+ };
8219
+ type ResolveExceptionErrors = {
8220
+ /**
8221
+ * Unauthorized
8222
+ */
8223
+ 401: unknown;
8224
+ /**
8225
+ * Forbidden
8226
+ */
8227
+ 403: unknown;
8228
+ /**
8229
+ * Exception item not found
8230
+ */
8231
+ 404: unknown;
8232
+ /**
8233
+ * Item already resolved
8234
+ */
8235
+ 409: unknown;
8236
+ };
8237
+ type ResolveExceptionResponses = {
8238
+ /**
8239
+ * Exception item resolved
8240
+ */
8241
+ 200: ExceptionItem;
8242
+ };
8243
+ type ResolveExceptionResponse = ResolveExceptionResponses[keyof ResolveExceptionResponses];
7628
8244
  type ListFilesData = {
7629
8245
  body?: never;
7630
8246
  path?: never;
@@ -8230,6 +8846,14 @@ type ListFormationsData = {
8230
8846
  * Project ID (required if not using project key auth)
8231
8847
  */
8232
8848
  project_id?: string;
8849
+ /**
8850
+ * Maximum number of results to return
8851
+ */
8852
+ limit?: number;
8853
+ /**
8854
+ * Number of results to skip
8855
+ */
8856
+ offset?: number;
8233
8857
  };
8234
8858
  url: '/api/v1/formations';
8235
8859
  };
@@ -8247,7 +8871,12 @@ type ListFormationsResponses = {
8247
8871
  /**
8248
8872
  * List of formations
8249
8873
  */
8250
- 200: Array<Formation>;
8874
+ 200: {
8875
+ data: Array<Formation>;
8876
+ total: number;
8877
+ limit: number;
8878
+ offset: number;
8879
+ };
8251
8880
  };
8252
8881
  type ListFormationsResponse = ListFormationsResponses[keyof ListFormationsResponses];
8253
8882
  type CreateFormationData = {
@@ -8419,7 +9048,16 @@ type ListFormationEventsData = {
8419
9048
  path: {
8420
9049
  formation_id: string;
8421
9050
  };
8422
- query?: never;
9051
+ query?: {
9052
+ /**
9053
+ * Maximum number of results to return
9054
+ */
9055
+ limit?: number;
9056
+ /**
9057
+ * Number of results to skip
9058
+ */
9059
+ offset?: number;
9060
+ };
8423
9061
  url: '/api/v1/formations/{formation_id}/events';
8424
9062
  };
8425
9063
  type ListFormationEventsErrors = {
@@ -8440,7 +9078,12 @@ type ListFormationEventsResponses = {
8440
9078
  /**
8441
9079
  * List of operations
8442
9080
  */
8443
- 200: Array<FormationOperation>;
9081
+ 200: {
9082
+ data: Array<FormationOperation>;
9083
+ total: number;
9084
+ limit: number;
9085
+ offset: number;
9086
+ };
8444
9087
  };
8445
9088
  type ListFormationEventsResponse = ListFormationEventsResponses[keyof ListFormationEventsResponses];
8446
9089
  type ListGenerationsData = {
@@ -8570,6 +9213,14 @@ type ListGuardrailsData = {
8570
9213
  * Project public ID to filter by
8571
9214
  */
8572
9215
  project_id?: string;
9216
+ /**
9217
+ * Maximum number of results to return
9218
+ */
9219
+ limit?: number;
9220
+ /**
9221
+ * Number of results to skip
9222
+ */
9223
+ offset?: number;
8573
9224
  };
8574
9225
  url: '/api/v1/guardrails';
8575
9226
  };
@@ -8588,7 +9239,12 @@ type ListGuardrailsResponses = {
8588
9239
  /**
8589
9240
  * List of guardrails
8590
9241
  */
8591
- 200: Array<Guardrail>;
9242
+ 200: {
9243
+ data: Array<Guardrail>;
9244
+ total: number;
9245
+ limit: number;
9246
+ offset: number;
9247
+ };
8592
9248
  };
8593
9249
  type ListGuardrailsResponse = ListGuardrailsResponses[keyof ListGuardrailsResponses];
8594
9250
  type CreateGuardrailData = {
@@ -8833,7 +9489,12 @@ type ListIngestionRulesResponses = {
8833
9489
  /**
8834
9490
  * List of ingestion rules
8835
9491
  */
8836
- 200: Array<IngestionRule>;
9492
+ 200: {
9493
+ data: Array<IngestionRule>;
9494
+ total: number;
9495
+ limit: number;
9496
+ offset: number;
9497
+ };
8837
9498
  };
8838
9499
  type ListIngestionRulesResponse = ListIngestionRulesResponses[keyof ListIngestionRulesResponses];
8839
9500
  type CreateIngestionRuleData = {
@@ -9120,6 +9781,14 @@ type ListMemoriesData = {
9120
9781
  *
9121
9782
  */
9122
9783
  tags?: Array<string>;
9784
+ /**
9785
+ * Maximum number of results to return
9786
+ */
9787
+ limit?: number;
9788
+ /**
9789
+ * Number of results to skip
9790
+ */
9791
+ offset?: number;
9123
9792
  };
9124
9793
  url: '/api/v1/memories';
9125
9794
  };
@@ -9141,7 +9810,12 @@ type ListMemoriesResponses = {
9141
9810
  /**
9142
9811
  * List of memories
9143
9812
  */
9144
- 200: Array<Memory>;
9813
+ 200: {
9814
+ data: Array<Memory>;
9815
+ total: number;
9816
+ limit: number;
9817
+ offset: number;
9818
+ };
9145
9819
  };
9146
9820
  type ListMemoriesResponse = ListMemoriesResponses[keyof ListMemoriesResponses];
9147
9821
  type CreateMemoryData = {
@@ -9312,6 +9986,14 @@ type ListMemoryEntriesData = {
9312
9986
  * Memory container to list entries from (mem_...)
9313
9987
  */
9314
9988
  memory_id: string;
9989
+ /**
9990
+ * Maximum number of results to return
9991
+ */
9992
+ limit?: number;
9993
+ /**
9994
+ * Number of results to skip
9995
+ */
9996
+ offset?: number;
9315
9997
  };
9316
9998
  url: '/api/v1/memory-entries';
9317
9999
  };
@@ -9337,7 +10019,12 @@ type ListMemoryEntriesResponses = {
9337
10019
  /**
9338
10020
  * List of memory entries
9339
10021
  */
9340
- 200: Array<MemoryEntry>;
10022
+ 200: {
10023
+ data: Array<MemoryEntry>;
10024
+ total: number;
10025
+ limit: number;
10026
+ offset: number;
10027
+ };
9341
10028
  };
9342
10029
  type ListMemoryEntriesResponse = ListMemoryEntriesResponses[keyof ListMemoryEntriesResponses];
9343
10030
  type CreateMemoryEntryData = {
@@ -9532,6 +10219,14 @@ type ListOrchestrationsData = {
9532
10219
  * Filter by project public ID
9533
10220
  */
9534
10221
  project_id?: string;
10222
+ /**
10223
+ * Maximum number of results to return
10224
+ */
10225
+ limit?: number;
10226
+ /**
10227
+ * Number of results to skip
10228
+ */
10229
+ offset?: number;
9535
10230
  };
9536
10231
  url: '/api/v1/orchestrations';
9537
10232
  };
@@ -9549,7 +10244,12 @@ type ListOrchestrationsResponses = {
9549
10244
  /**
9550
10245
  * List of orchestrations
9551
10246
  */
9552
- 200: Array<Orchestration>;
10247
+ 200: {
10248
+ data: Array<Orchestration>;
10249
+ total: number;
10250
+ limit: number;
10251
+ offset: number;
10252
+ };
9553
10253
  };
9554
10254
  type ListOrchestrationsResponse = ListOrchestrationsResponses[keyof ListOrchestrationsResponses];
9555
10255
  type CreateOrchestrationData = {
@@ -9598,6 +10298,29 @@ type ValidateOrchestrationResponses = {
9598
10298
  200: ValidationResult;
9599
10299
  };
9600
10300
  type ValidateOrchestrationResponse = ValidateOrchestrationResponses[keyof ValidateOrchestrationResponses];
10301
+ type GetQueueStatsData = {
10302
+ body?: never;
10303
+ path?: never;
10304
+ query?: never;
10305
+ url: '/api/v1/orchestrations/queue/stats';
10306
+ };
10307
+ type GetQueueStatsErrors = {
10308
+ /**
10309
+ * Unauthorized
10310
+ */
10311
+ 401: unknown;
10312
+ /**
10313
+ * Forbidden
10314
+ */
10315
+ 403: unknown;
10316
+ };
10317
+ type GetQueueStatsResponses = {
10318
+ /**
10319
+ * Queue stats snapshot
10320
+ */
10321
+ 200: QueueStats;
10322
+ };
10323
+ type GetQueueStatsResponse = GetQueueStatsResponses[keyof GetQueueStatsResponses];
9601
10324
  type DeleteOrchestrationData = {
9602
10325
  body?: never;
9603
10326
  path: {
@@ -9706,6 +10429,14 @@ type ListOrchestrationRunsData = {
9706
10429
  * Filter by orchestration public ID (orch_...)
9707
10430
  */
9708
10431
  orchestration_id?: string;
10432
+ /**
10433
+ * Maximum number of results to return
10434
+ */
10435
+ limit?: number;
10436
+ /**
10437
+ * Number of results to skip
10438
+ */
10439
+ offset?: number;
9709
10440
  };
9710
10441
  url: '/api/v1/orchestration-runs';
9711
10442
  };
@@ -9723,7 +10454,12 @@ type ListOrchestrationRunsResponses = {
9723
10454
  /**
9724
10455
  * List of runs
9725
10456
  */
9726
- 200: Array<OrchestrationRun>;
10457
+ 200: {
10458
+ data: Array<OrchestrationRun>;
10459
+ total: number;
10460
+ limit: number;
10461
+ offset: number;
10462
+ };
9727
10463
  };
9728
10464
  type ListOrchestrationRunsResponse = ListOrchestrationRunsResponses[keyof ListOrchestrationRunsResponses];
9729
10465
  type StartOrchestrationRunData = {
@@ -9909,6 +10645,14 @@ type ListPoliciesData = {
9909
10645
  * Return only policies attached to this user (user_...)
9910
10646
  */
9911
10647
  user_id?: string;
10648
+ /**
10649
+ * Maximum number of results to return
10650
+ */
10651
+ limit?: number;
10652
+ /**
10653
+ * Number of results to skip
10654
+ */
10655
+ offset?: number;
9912
10656
  };
9913
10657
  url: '/api/v1/policies';
9914
10658
  };
@@ -9926,7 +10670,12 @@ type ListPoliciesResponses = {
9926
10670
  /**
9927
10671
  * List of policies
9928
10672
  */
9929
- 200: Array<PolicyRecord>;
10673
+ 200: {
10674
+ data: Array<PolicyRecord>;
10675
+ total: number;
10676
+ limit: number;
10677
+ offset: number;
10678
+ };
9930
10679
  };
9931
10680
  type ListPoliciesResponse = ListPoliciesResponses[keyof ListPoliciesResponses];
9932
10681
  type CreatePolicyData = {
@@ -10069,7 +10818,16 @@ type UpdatePolicyResponse = UpdatePolicyResponses[keyof UpdatePolicyResponses];
10069
10818
  type ListProjectsData = {
10070
10819
  body?: never;
10071
10820
  path?: never;
10072
- query?: never;
10821
+ query?: {
10822
+ /**
10823
+ * Maximum number of results to return
10824
+ */
10825
+ limit?: number;
10826
+ /**
10827
+ * Number of results to skip
10828
+ */
10829
+ offset?: number;
10830
+ };
10073
10831
  url: '/api/v1/projects';
10074
10832
  };
10075
10833
  type ListProjectsErrors = {
@@ -10082,7 +10840,12 @@ type ListProjectsResponses = {
10082
10840
  /**
10083
10841
  * List of projects
10084
10842
  */
10085
- 200: Array<ProjectRecord>;
10843
+ 200: {
10844
+ data: Array<ProjectRecord>;
10845
+ total: number;
10846
+ limit: number;
10847
+ offset: number;
10848
+ };
10086
10849
  };
10087
10850
  type ListProjectsResponse = ListProjectsResponses[keyof ListProjectsResponses];
10088
10851
  type CreateProjectData = {
@@ -10120,59 +10883,278 @@ type CreateProjectResponses = {
10120
10883
  type CreateProjectResponse = CreateProjectResponses[keyof CreateProjectResponses];
10121
10884
  type DeleteProjectData = {
10122
10885
  body?: never;
10123
- path: {
10886
+ path: {
10887
+ /**
10888
+ * Project public ID (proj_ prefix)
10889
+ */
10890
+ project_id: string;
10891
+ };
10892
+ query?: {
10893
+ /**
10894
+ * When `true`, deletes all of the project's dependent resources instead of returning `409 PROJECT_HAS_DEPENDENTS`.
10895
+ *
10896
+ */
10897
+ force?: boolean;
10898
+ };
10899
+ url: '/api/v1/projects/{project_id}';
10900
+ };
10901
+ type DeleteProjectErrors = {
10902
+ /**
10903
+ * Unauthorized
10904
+ */
10905
+ 401: unknown;
10906
+ /**
10907
+ * Forbidden (non-admin user)
10908
+ */
10909
+ 403: unknown;
10910
+ /**
10911
+ * Project not found
10912
+ */
10913
+ 404: unknown;
10914
+ /**
10915
+ * Project has dependent resources (pass `force=true` to delete anyway)
10916
+ */
10917
+ 409: ErrorResponse;
10918
+ };
10919
+ type DeleteProjectError = DeleteProjectErrors[keyof DeleteProjectErrors];
10920
+ type DeleteProjectResponses = {
10921
+ /**
10922
+ * Project deleted successfully
10923
+ */
10924
+ 204: void;
10925
+ };
10926
+ type DeleteProjectResponse = DeleteProjectResponses[keyof DeleteProjectResponses];
10927
+ type GetProjectData = {
10928
+ body?: never;
10929
+ path: {
10930
+ /**
10931
+ * Project public ID (proj_ prefix)
10932
+ */
10933
+ project_id: string;
10934
+ };
10935
+ query?: never;
10936
+ url: '/api/v1/projects/{project_id}';
10937
+ };
10938
+ type GetProjectErrors = {
10939
+ /**
10940
+ * Unauthorized
10941
+ */
10942
+ 401: unknown;
10943
+ /**
10944
+ * Forbidden
10945
+ */
10946
+ 403: unknown;
10947
+ /**
10948
+ * Project not found
10949
+ */
10950
+ 404: unknown;
10951
+ };
10952
+ type GetProjectResponses = {
10953
+ /**
10954
+ * Project details
10955
+ */
10956
+ 200: ProjectRecord;
10957
+ };
10958
+ type GetProjectResponse = GetProjectResponses[keyof GetProjectResponses];
10959
+ type UpdateProjectData = {
10960
+ body: {
10961
+ name?: string;
10962
+ /**
10963
+ * Guardrails attached at the project scope.
10964
+ */
10965
+ guardrail_ids?: Array<string> | null;
10966
+ /**
10967
+ * Maximum orchestration runs of this project driven at once. `null` clears the limit (unlimited); otherwise an integer >= 1. Enforced at queue claim time — excess runs stay queued until a slot frees.
10968
+ */
10969
+ max_concurrent_runs?: number | null;
10970
+ };
10971
+ path: {
10972
+ /**
10973
+ * Project public ID (proj_ prefix)
10974
+ */
10975
+ project_id: string;
10976
+ };
10977
+ query?: never;
10978
+ url: '/api/v1/projects/{project_id}';
10979
+ };
10980
+ type UpdateProjectErrors = {
10981
+ /**
10982
+ * Invalid request body
10983
+ */
10984
+ 400: unknown;
10985
+ /**
10986
+ * Unauthorized
10987
+ */
10988
+ 401: unknown;
10989
+ /**
10990
+ * Forbidden (non-admin user)
10991
+ */
10992
+ 403: unknown;
10993
+ /**
10994
+ * Project not found
10995
+ */
10996
+ 404: unknown;
10997
+ };
10998
+ type UpdateProjectResponses = {
10999
+ /**
11000
+ * Project updated successfully
11001
+ */
11002
+ 200: ProjectRecord;
11003
+ };
11004
+ type UpdateProjectResponse = UpdateProjectResponses[keyof UpdateProjectResponses];
11005
+ type GetProjectPricesData = {
11006
+ body?: never;
11007
+ path: {
11008
+ /**
11009
+ * Project public ID (proj_ prefix)
11010
+ */
11011
+ project_id: string;
11012
+ };
11013
+ query?: never;
11014
+ url: '/api/v1/projects/{project_id}/prices';
11015
+ };
11016
+ type GetProjectPricesErrors = {
11017
+ /**
11018
+ * Unauthorized
11019
+ */
11020
+ 401: unknown;
11021
+ /**
11022
+ * Forbidden
11023
+ */
11024
+ 403: unknown;
11025
+ /**
11026
+ * Project not found
11027
+ */
11028
+ 404: unknown;
11029
+ };
11030
+ type GetProjectPricesResponses = {
11031
+ /**
11032
+ * The project's price rows
11033
+ */
11034
+ 200: ProjectPricesResponse;
11035
+ };
11036
+ type GetProjectPricesResponse = GetProjectPricesResponses[keyof GetProjectPricesResponses];
11037
+ type UpdateProjectPricesData = {
11038
+ body: UpsertProjectPricesRequest;
11039
+ path: {
11040
+ /**
11041
+ * Project public ID (proj_ prefix)
11042
+ */
11043
+ project_id: string;
11044
+ };
11045
+ query?: never;
11046
+ url: '/api/v1/projects/{project_id}/prices';
11047
+ };
11048
+ type UpdateProjectPricesErrors = {
11049
+ /**
11050
+ * Bad Request (e.g. non-future effective_from)
11051
+ */
11052
+ 400: unknown;
11053
+ /**
11054
+ * Unauthorized
11055
+ */
11056
+ 401: unknown;
11057
+ /**
11058
+ * Forbidden
11059
+ */
11060
+ 403: unknown;
11061
+ /**
11062
+ * Project not found
11063
+ */
11064
+ 404: unknown;
11065
+ };
11066
+ type UpdateProjectPricesResponses = {
11067
+ /**
11068
+ * The upserted price rows
11069
+ */
11070
+ 200: ProjectPricesResponse;
11071
+ };
11072
+ type UpdateProjectPricesResponse = UpdateProjectPricesResponses[keyof UpdateProjectPricesResponses];
11073
+ type ListQuotasData = {
11074
+ body?: never;
11075
+ path?: never;
11076
+ query?: {
10124
11077
  /**
10125
- * Project public ID (proj_ prefix)
11078
+ * Project ID (required if not using project key auth)
10126
11079
  */
10127
- project_id: string;
10128
- };
10129
- query?: {
11080
+ project_id?: string;
10130
11081
  /**
10131
- * When `true`, deletes all of the project's dependent resources instead of returning `409 PROJECT_HAS_DEPENDENTS`.
10132
- *
11082
+ * Maximum number of results to return
10133
11083
  */
10134
- force?: boolean;
11084
+ limit?: number;
11085
+ /**
11086
+ * Number of results to skip
11087
+ */
11088
+ offset?: number;
10135
11089
  };
10136
- url: '/api/v1/projects/{project_id}';
11090
+ url: '/api/v1/quotas';
10137
11091
  };
10138
- type DeleteProjectErrors = {
11092
+ type ListQuotasErrors = {
10139
11093
  /**
10140
11094
  * Unauthorized
10141
11095
  */
10142
11096
  401: unknown;
10143
11097
  /**
10144
- * Forbidden (non-admin user)
11098
+ * Forbidden
10145
11099
  */
10146
11100
  403: unknown;
10147
11101
  /**
10148
- * Project not found
10149
- */
10150
- 404: unknown;
10151
- /**
10152
- * Project has dependent resources (pass `force=true` to delete anyway)
11102
+ * Internal server error
10153
11103
  */
10154
- 409: ErrorResponse;
11104
+ 500: unknown;
10155
11105
  };
10156
- type DeleteProjectError = DeleteProjectErrors[keyof DeleteProjectErrors];
10157
- type DeleteProjectResponses = {
11106
+ type ListQuotasResponses = {
10158
11107
  /**
10159
- * Project deleted successfully
11108
+ * List of quotas
10160
11109
  */
10161
- 204: void;
11110
+ 200: {
11111
+ data: Array<Quota>;
11112
+ total: number;
11113
+ limit: number;
11114
+ offset: number;
11115
+ };
10162
11116
  };
10163
- type DeleteProjectResponse = DeleteProjectResponses[keyof DeleteProjectResponses];
10164
- type GetProjectData = {
10165
- body?: never;
10166
- path: {
11117
+ type ListQuotasResponse = ListQuotasResponses[keyof ListQuotasResponses];
11118
+ type CreateQuotaData = {
11119
+ body: {
10167
11120
  /**
10168
- * Project public ID (proj_ prefix)
11121
+ * Project ID (required if not using project key auth)
10169
11122
  */
10170
- project_id: string;
11123
+ project_id?: string;
11124
+ /**
11125
+ * The scope the quota applies to
11126
+ */
11127
+ scope: 'project' | 'api_key' | 'agent';
11128
+ /**
11129
+ * Public id of the api key / agent the quota applies to. NULL means all entities of that scope type in the project.
11130
+ */
11131
+ scope_ref?: string | null;
11132
+ /**
11133
+ * The metric being capped
11134
+ */
11135
+ metric: 'requests' | 'tokens' | 'cost_usd';
11136
+ /**
11137
+ * The window over which the metric is aggregated
11138
+ */
11139
+ window: 'rolling_1m' | 'rolling_1h' | 'rolling_24h' | 'calendar_month';
11140
+ /**
11141
+ * The cap. Must be a positive integer for requests/tokens; fractional values are allowed for cost_usd.
11142
+ */
11143
+ limit: number;
11144
+ /**
11145
+ * enforce blocks with 429 (requests at the middleware, tokens/cost_usd at the pre-generation check); monitor is a pass-through no-op until the webhook phase ships.
11146
+ */
11147
+ mode?: 'enforce' | 'monitor';
10171
11148
  };
11149
+ path?: never;
10172
11150
  query?: never;
10173
- url: '/api/v1/projects/{project_id}';
11151
+ url: '/api/v1/quotas';
10174
11152
  };
10175
- type GetProjectErrors = {
11153
+ type CreateQuotaErrors = {
11154
+ /**
11155
+ * Bad request (invalid scope/metric/window/mode/limit)
11156
+ */
11157
+ 400: unknown;
10176
11158
  /**
10177
11159
  * Unauthorized
10178
11160
  */
@@ -10182,71 +11164,65 @@ type GetProjectErrors = {
10182
11164
  */
10183
11165
  403: unknown;
10184
11166
  /**
10185
- * Project not found
11167
+ * A matching quota already exists
10186
11168
  */
10187
- 404: unknown;
11169
+ 409: unknown;
11170
+ /**
11171
+ * Internal server error
11172
+ */
11173
+ 500: unknown;
10188
11174
  };
10189
- type GetProjectResponses = {
11175
+ type CreateQuotaResponses = {
10190
11176
  /**
10191
- * Project details
11177
+ * Quota created successfully
10192
11178
  */
10193
- 200: ProjectRecord;
11179
+ 201: Quota;
10194
11180
  };
10195
- type GetProjectResponse = GetProjectResponses[keyof GetProjectResponses];
10196
- type UpdateProjectData = {
10197
- body: {
10198
- name?: string;
10199
- /**
10200
- * Guardrails attached at the project scope.
10201
- */
10202
- guardrail_ids?: Array<string> | null;
10203
- };
11181
+ type CreateQuotaResponse = CreateQuotaResponses[keyof CreateQuotaResponses];
11182
+ type DeleteQuotaData = {
11183
+ body?: never;
10204
11184
  path: {
10205
11185
  /**
10206
- * Project public ID (proj_ prefix)
11186
+ * Quota ID
10207
11187
  */
10208
- project_id: string;
11188
+ quota_id: string;
10209
11189
  };
10210
11190
  query?: never;
10211
- url: '/api/v1/projects/{project_id}';
11191
+ url: '/api/v1/quotas/{quota_id}';
10212
11192
  };
10213
- type UpdateProjectErrors = {
10214
- /**
10215
- * Invalid request body
10216
- */
10217
- 400: unknown;
11193
+ type DeleteQuotaErrors = {
10218
11194
  /**
10219
11195
  * Unauthorized
10220
11196
  */
10221
11197
  401: unknown;
10222
11198
  /**
10223
- * Forbidden (non-admin user)
11199
+ * Forbidden
10224
11200
  */
10225
11201
  403: unknown;
10226
11202
  /**
10227
- * Project not found
11203
+ * Quota not found
10228
11204
  */
10229
11205
  404: unknown;
10230
11206
  };
10231
- type UpdateProjectResponses = {
11207
+ type DeleteQuotaResponses = {
10232
11208
  /**
10233
- * Project updated successfully
11209
+ * Quota deleted successfully
10234
11210
  */
10235
- 200: ProjectRecord;
11211
+ 204: void;
10236
11212
  };
10237
- type UpdateProjectResponse = UpdateProjectResponses[keyof UpdateProjectResponses];
10238
- type GetProjectPricesData = {
11213
+ type DeleteQuotaResponse = DeleteQuotaResponses[keyof DeleteQuotaResponses];
11214
+ type GetQuotaData = {
10239
11215
  body?: never;
10240
11216
  path: {
10241
11217
  /**
10242
- * Project public ID (proj_ prefix)
11218
+ * Quota ID
10243
11219
  */
10244
- project_id: string;
11220
+ quota_id: string;
10245
11221
  };
10246
11222
  query?: never;
10247
- url: '/api/v1/projects/{project_id}/prices';
11223
+ url: '/api/v1/quotas/{quota_id}';
10248
11224
  };
10249
- type GetProjectPricesErrors = {
11225
+ type GetQuotaErrors = {
10250
11226
  /**
10251
11227
  * Unauthorized
10252
11228
  */
@@ -10256,31 +11232,40 @@ type GetProjectPricesErrors = {
10256
11232
  */
10257
11233
  403: unknown;
10258
11234
  /**
10259
- * Project not found
11235
+ * Quota not found
10260
11236
  */
10261
11237
  404: unknown;
10262
11238
  };
10263
- type GetProjectPricesResponses = {
11239
+ type GetQuotaResponses = {
10264
11240
  /**
10265
- * The project's price rows
11241
+ * Quota details
10266
11242
  */
10267
- 200: ProjectPricesResponse;
11243
+ 200: Quota;
10268
11244
  };
10269
- type GetProjectPricesResponse = GetProjectPricesResponses[keyof GetProjectPricesResponses];
10270
- type UpdateProjectPricesData = {
10271
- body: UpsertProjectPricesRequest;
11245
+ type GetQuotaResponse = GetQuotaResponses[keyof GetQuotaResponses];
11246
+ type UpdateQuotaData = {
11247
+ body: {
11248
+ /**
11249
+ * New limit
11250
+ */
11251
+ limit?: number;
11252
+ /**
11253
+ * New mode
11254
+ */
11255
+ mode?: 'enforce' | 'monitor';
11256
+ };
10272
11257
  path: {
10273
11258
  /**
10274
- * Project public ID (proj_ prefix)
11259
+ * Quota ID
10275
11260
  */
10276
- project_id: string;
11261
+ quota_id: string;
10277
11262
  };
10278
11263
  query?: never;
10279
- url: '/api/v1/projects/{project_id}/prices';
11264
+ url: '/api/v1/quotas/{quota_id}';
10280
11265
  };
10281
- type UpdateProjectPricesErrors = {
11266
+ type UpdateQuotaErrors = {
10282
11267
  /**
10283
- * Bad Request (e.g. non-future effective_from)
11268
+ * Bad request
10284
11269
  */
10285
11270
  400: unknown;
10286
11271
  /**
@@ -10292,17 +11277,17 @@ type UpdateProjectPricesErrors = {
10292
11277
  */
10293
11278
  403: unknown;
10294
11279
  /**
10295
- * Project not found
11280
+ * Quota not found
10296
11281
  */
10297
11282
  404: unknown;
10298
11283
  };
10299
- type UpdateProjectPricesResponses = {
11284
+ type UpdateQuotaResponses = {
10300
11285
  /**
10301
- * The upserted price rows
11286
+ * Quota updated successfully
10302
11287
  */
10303
- 200: ProjectPricesResponse;
11288
+ 200: Quota;
10304
11289
  };
10305
- type UpdateProjectPricesResponse = UpdateProjectPricesResponses[keyof UpdateProjectPricesResponses];
11290
+ type UpdateQuotaResponse = UpdateQuotaResponses[keyof UpdateQuotaResponses];
10306
11291
  type ListSecretsData = {
10307
11292
  body?: never;
10308
11293
  path?: never;
@@ -10340,17 +11325,22 @@ type ListSecretsResponses = {
10340
11325
  /**
10341
11326
  * List of secrets
10342
11327
  */
10343
- 200: Array<{
10344
- id?: string;
10345
- name?: string;
10346
- /**
10347
- * Whether an encrypted value is stored for this secret
10348
- */
10349
- has_value?: boolean;
10350
- project_id?: string;
10351
- created_at?: Date;
10352
- updated_at?: Date;
10353
- }>;
11328
+ 200: {
11329
+ data: Array<{
11330
+ id?: string;
11331
+ name?: string;
11332
+ /**
11333
+ * Whether an encrypted value is stored for this secret
11334
+ */
11335
+ has_value?: boolean;
11336
+ project_id?: string;
11337
+ created_at?: Date;
11338
+ updated_at?: Date;
11339
+ }>;
11340
+ total: number;
11341
+ limit: number;
11342
+ offset: number;
11343
+ };
10354
11344
  };
10355
11345
  type ListSecretsResponse = ListSecretsResponses[keyof ListSecretsResponses];
10356
11346
  type CreateSecretData = {
@@ -10949,6 +11939,14 @@ type ListTasksData = {
10949
11939
  state?: string;
10950
11940
  status?: 'open' | 'closed';
10951
11941
  assignee?: string;
11942
+ /**
11943
+ * Maximum number of results to return
11944
+ */
11945
+ limit?: number;
11946
+ /**
11947
+ * Number of results to skip
11948
+ */
11949
+ offset?: number;
10952
11950
  };
10953
11951
  url: '/api/v1/tasks';
10954
11952
  };
@@ -10966,7 +11964,12 @@ type ListTasksResponses = {
10966
11964
  /**
10967
11965
  * A list of tasks
10968
11966
  */
10969
- 200: Array<Task>;
11967
+ 200: {
11968
+ data: Array<Task>;
11969
+ total: number;
11970
+ limit: number;
11971
+ offset: number;
11972
+ };
10970
11973
  };
10971
11974
  type ListTasksResponse = ListTasksResponses[keyof ListTasksResponses];
10972
11975
  type CreateTaskData = {
@@ -11165,6 +12168,14 @@ type ListToolsData = {
11165
12168
  * Project public ID to filter by
11166
12169
  */
11167
12170
  project_id?: string;
12171
+ /**
12172
+ * Maximum number of results to return
12173
+ */
12174
+ limit?: number;
12175
+ /**
12176
+ * Number of results to skip
12177
+ */
12178
+ offset?: number;
11168
12179
  };
11169
12180
  url: '/api/v1/tools';
11170
12181
  };
@@ -11184,7 +12195,10 @@ type ListToolsResponses = {
11184
12195
  * List of tools
11185
12196
  */
11186
12197
  200: {
11187
- data?: Array<Tool>;
12198
+ data: Array<Tool>;
12199
+ total: number;
12200
+ limit: number;
12201
+ offset: number;
11188
12202
  };
11189
12203
  };
11190
12204
  type ListToolsResponse = ListToolsResponses[keyof ListToolsResponses];
@@ -11472,6 +12486,14 @@ type ListTriggersData = {
11472
12486
  project_id?: string;
11473
12487
  type?: 'manual' | 'webhook' | 'schedule';
11474
12488
  target_type?: 'orchestration' | 'agent' | 'tool';
12489
+ /**
12490
+ * Maximum number of results to return
12491
+ */
12492
+ limit?: number;
12493
+ /**
12494
+ * Number of results to skip
12495
+ */
12496
+ offset?: number;
11475
12497
  };
11476
12498
  url: '/api/v1/triggers';
11477
12499
  };
@@ -11489,7 +12511,12 @@ type ListTriggersResponses = {
11489
12511
  /**
11490
12512
  * A list of triggers
11491
12513
  */
11492
- 200: Array<Trigger>;
12514
+ 200: {
12515
+ data: Array<Trigger>;
12516
+ total: number;
12517
+ limit: number;
12518
+ offset: number;
12519
+ };
11493
12520
  };
11494
12521
  type ListTriggersResponse = ListTriggersResponses[keyof ListTriggersResponses];
11495
12522
  type CreateTriggerData = {
@@ -11889,6 +12916,14 @@ type ListUsageThresholdsData = {
11889
12916
  * Filter by project public ID
11890
12917
  */
11891
12918
  project_id?: string;
12919
+ /**
12920
+ * Maximum number of results to return
12921
+ */
12922
+ limit?: number;
12923
+ /**
12924
+ * Number of results to skip
12925
+ */
12926
+ offset?: number;
11892
12927
  };
11893
12928
  url: '/api/v1/usage/thresholds';
11894
12929
  };
@@ -11908,7 +12943,10 @@ type ListUsageThresholdsResponses = {
11908
12943
  * The usage thresholds
11909
12944
  */
11910
12945
  200: {
11911
- data?: Array<UsageThreshold>;
12946
+ data: Array<UsageThreshold>;
12947
+ total: number;
12948
+ limit: number;
12949
+ offset: number;
11912
12950
  };
11913
12951
  };
11914
12952
  type ListUsageThresholdsResponse = ListUsageThresholdsResponses[keyof ListUsageThresholdsResponses];
@@ -12083,7 +13121,16 @@ type GetCurrentUserResponse = GetCurrentUserResponses[keyof GetCurrentUserRespon
12083
13121
  type ListUsersData = {
12084
13122
  body?: never;
12085
13123
  path?: never;
12086
- query?: never;
13124
+ query?: {
13125
+ /**
13126
+ * Maximum number of results to return
13127
+ */
13128
+ limit?: number;
13129
+ /**
13130
+ * Number of results to skip
13131
+ */
13132
+ offset?: number;
13133
+ };
12087
13134
  url: '/api/v1/users';
12088
13135
  };
12089
13136
  type ListUsersErrors = {
@@ -12097,7 +13144,12 @@ type ListUsersResponses = {
12097
13144
  /**
12098
13145
  * List of users returned successfully
12099
13146
  */
12100
- 200: Array<UserRecord>;
13147
+ 200: {
13148
+ data: Array<UserRecord>;
13149
+ total: number;
13150
+ limit: number;
13151
+ offset: number;
13152
+ };
12101
13153
  };
12102
13154
  type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
12103
13155
  type CreateUserData = {
@@ -12283,6 +13335,14 @@ type ListWebhooksData = {
12283
13335
  path?: never;
12284
13336
  query?: {
12285
13337
  project_id?: string;
13338
+ /**
13339
+ * Maximum number of results to return
13340
+ */
13341
+ limit?: number;
13342
+ /**
13343
+ * Number of results to skip
13344
+ */
13345
+ offset?: number;
12286
13346
  };
12287
13347
  url: '/api/v1/webhooks';
12288
13348
  };
@@ -12300,7 +13360,12 @@ type ListWebhooksResponses = {
12300
13360
  /**
12301
13361
  * A list of webhooks
12302
13362
  */
12303
- 200: Array<Webhook>;
13363
+ 200: {
13364
+ data: Array<Webhook>;
13365
+ total: number;
13366
+ limit: number;
13367
+ offset: number;
13368
+ };
12304
13369
  };
12305
13370
  type ListWebhooksResponse = ListWebhooksResponses[keyof ListWebhooksResponses];
12306
13371
  type CreateWebhookData = {
@@ -12547,6 +13612,14 @@ type ListWorkflowsData = {
12547
13612
  path?: never;
12548
13613
  query?: {
12549
13614
  project_id?: string;
13615
+ /**
13616
+ * Maximum number of results to return
13617
+ */
13618
+ limit?: number;
13619
+ /**
13620
+ * Number of results to skip
13621
+ */
13622
+ offset?: number;
12550
13623
  };
12551
13624
  url: '/api/v1/workflows';
12552
13625
  };
@@ -12564,7 +13637,12 @@ type ListWorkflowsResponses = {
12564
13637
  /**
12565
13638
  * A list of workflows
12566
13639
  */
12567
- 200: Array<Workflow>;
13640
+ 200: {
13641
+ data: Array<Workflow>;
13642
+ total: number;
13643
+ limit: number;
13644
+ offset: number;
13645
+ };
12568
13646
  };
12569
13647
  type ListWorkflowsResponse = ListWorkflowsResponses[keyof ListWorkflowsResponses];
12570
13648
  type CreateWorkflowData = {
@@ -12920,6 +13998,20 @@ declare class Approvals {
12920
13998
  */
12921
13999
  static rejectApproval<ThrowOnError extends boolean = false>(options: Options<RejectApprovalData, ThrowOnError>): RequestResult<RejectApprovalResponses, RejectApprovalErrors, ThrowOnError>;
12922
14000
  }
14001
+ declare class AuditLog {
14002
+ /**
14003
+ * List audit entries
14004
+ *
14005
+ * Returns audit-log entries visible to the caller, newest first. All filters are optional and combine with AND. `resource_srn` is a prefix match (e.g. `soat:{project}:secret:` matches every secret action); every other filter is exact.
14006
+ */
14007
+ static listAuditEntries<ThrowOnError extends boolean = false>(options?: Options<ListAuditEntriesData, ThrowOnError>): RequestResult<ListAuditEntriesResponses, ListAuditEntriesErrors, ThrowOnError>;
14008
+ /**
14009
+ * Get an audit entry
14010
+ *
14011
+ * Returns a single audit-log entry, including its `detail` payload
14012
+ */
14013
+ static getAuditEntry<ThrowOnError extends boolean = false>(options: Options<GetAuditEntryData, ThrowOnError>): RequestResult<GetAuditEntryResponses, GetAuditEntryErrors, ThrowOnError>;
14014
+ }
12923
14015
  declare class Chats {
12924
14016
  /**
12925
14017
  * List chats
@@ -13200,6 +14292,32 @@ declare class Embeddings {
13200
14292
  */
13201
14293
  static createEmbeddings<ThrowOnError extends boolean = false>(options: Options<CreateEmbeddingsData, ThrowOnError>): RequestResult<CreateEmbeddingsResponses, CreateEmbeddingsErrors, ThrowOnError>;
13202
14294
  }
14295
+ declare class Exceptions {
14296
+ /**
14297
+ * List exception items
14298
+ *
14299
+ * Returns exception items for a project, filterable by status, severity, and kind.
14300
+ */
14301
+ static listExceptions<ThrowOnError extends boolean = false>(options?: Options<ListExceptionsData, ThrowOnError>): RequestResult<ListExceptionsResponses, ListExceptionsErrors, ThrowOnError>;
14302
+ /**
14303
+ * Get an exception item
14304
+ *
14305
+ * Returns a single exception item with its full detail.
14306
+ */
14307
+ static getException<ThrowOnError extends boolean = false>(options: Options<GetExceptionData, ThrowOnError>): RequestResult<GetExceptionResponses, GetExceptionErrors, ThrowOnError>;
14308
+ /**
14309
+ * Acknowledge an exception item
14310
+ *
14311
+ * Moves the item to `acknowledged` ("someone is on it"), recording who. A no-op that returns the item unchanged when already acknowledged; rejected when already resolved.
14312
+ */
14313
+ static acknowledgeException<ThrowOnError extends boolean = false>(options: Options<AcknowledgeExceptionData, ThrowOnError>): RequestResult<AcknowledgeExceptionResponses, AcknowledgeExceptionErrors, ThrowOnError>;
14314
+ /**
14315
+ * Resolve an exception item
14316
+ *
14317
+ * Moves the item to `resolved` ("fixed"), recording who and an optional note.
14318
+ */
14319
+ static resolveException<ThrowOnError extends boolean = false>(options: Options<ResolveExceptionData, ThrowOnError>): RequestResult<ResolveExceptionResponses, ResolveExceptionErrors, ThrowOnError>;
14320
+ }
13203
14321
  declare class Files {
13204
14322
  /**
13205
14323
  * List all files
@@ -13537,6 +14655,13 @@ declare class Orchestrations {
13537
14655
  *
13538
14656
  */
13539
14657
  static validateOrchestration<ThrowOnError extends boolean = false>(options: Options<ValidateOrchestrationData, ThrowOnError>): RequestResult<ValidateOrchestrationResponses, ValidateOrchestrationErrors, ThrowOnError>;
14658
+ /**
14659
+ * Get orchestration queue stats
14660
+ *
14661
+ * Returns a point-in-time snapshot of the orchestration run queue: how many tasks are waiting to be claimed (`queue_depth`), how many are currently claimed with a valid lease (`claimed_tasks`), the age of the oldest waiting task, recent claim-latency percentiles over a rolling in-process window, and a per-project breakdown. Intended for admin/operator policies; guarded by `orchestrations:GetQueueStats`. A project-scoped caller sees only their own projects under `per_project`.
14662
+ *
14663
+ */
14664
+ static getQueueStats<ThrowOnError extends boolean = false>(options?: Options<GetQueueStatsData, ThrowOnError>): RequestResult<GetQueueStatsResponses, GetQueueStatsErrors, ThrowOnError>;
13540
14665
  /**
13541
14666
  * Delete an orchestration
13542
14667
  *
@@ -13673,6 +14798,38 @@ declare class Projects {
13673
14798
  */
13674
14799
  static updateProjectPrices<ThrowOnError extends boolean = false>(options: Options<UpdateProjectPricesData, ThrowOnError>): RequestResult<UpdateProjectPricesResponses, UpdateProjectPricesErrors, ThrowOnError>;
13675
14800
  }
14801
+ declare class Quotas {
14802
+ /**
14803
+ * List quotas
14804
+ *
14805
+ * Returns the quotas defined in a project
14806
+ */
14807
+ static listQuotas<ThrowOnError extends boolean = false>(options?: Options<ListQuotasData, ThrowOnError>): RequestResult<ListQuotasResponses, ListQuotasErrors, ThrowOnError>;
14808
+ /**
14809
+ * Create a quota
14810
+ *
14811
+ * Creates a project-scoped quota. `scope: agent` with `metric: requests` and `scope: api_key` with `metric: tokens`/`cost_usd` are both rejected with 400 (no attribution exists to enforce them). A duplicate quota (same project, scope, scope_ref, metric, window) is rejected with 409.
14812
+ */
14813
+ static createQuota<ThrowOnError extends boolean = false>(options: Options<CreateQuotaData, ThrowOnError>): RequestResult<CreateQuotaResponses, CreateQuotaErrors, ThrowOnError>;
14814
+ /**
14815
+ * Delete a quota
14816
+ *
14817
+ * Deletes a quota and drops its window counters
14818
+ */
14819
+ static deleteQuota<ThrowOnError extends boolean = false>(options: Options<DeleteQuotaData, ThrowOnError>): RequestResult<DeleteQuotaResponses, DeleteQuotaErrors, ThrowOnError>;
14820
+ /**
14821
+ * Get a quota
14822
+ *
14823
+ * Returns a specific quota, including current window usage
14824
+ */
14825
+ static getQuota<ThrowOnError extends boolean = false>(options: Options<GetQuotaData, ThrowOnError>): RequestResult<GetQuotaResponses, GetQuotaErrors, ThrowOnError>;
14826
+ /**
14827
+ * Update a quota
14828
+ *
14829
+ * Updates a quota's limit and/or mode. Other fields are immutable.
14830
+ */
14831
+ static updateQuota<ThrowOnError extends boolean = false>(options: Options<UpdateQuotaData, ThrowOnError>): RequestResult<UpdateQuotaResponses, UpdateQuotaErrors, ThrowOnError>;
14832
+ }
13676
14833
  declare class Secrets {
13677
14834
  /**
13678
14835
  * List secrets
@@ -14211,4 +15368,4 @@ declare class SoatClient {
14211
15368
  constructor({ baseUrl, token, headers }?: SoatClientOptions);
14212
15369
  }
14213
15370
  //#endregion
14214
- export { type ActorRecord, type ActorResourceProperties, Actors, type AddConversationMessageData, type AddConversationMessageError, type AddConversationMessageErrors, type AddConversationMessageResponse, type AddConversationMessageResponses, type AddSessionMessageData, type AddSessionMessageError, type AddSessionMessageErrors, type AddSessionMessageRequest, type AddSessionMessageResponse, type AddSessionMessageResponse2, type AddSessionMessageResponses, type AddSessionMessageSaved, type Agent, type AgentGenerationResponse, type AgentResourceProperties, Agents, type AiProviderResourceProperties, AiProviders, type ApiKeyCreated, type ApiKeyRecord, type ApiKeyResourceProperties, ApiKeys, type ApprovalId, type ApprovalItem, Approvals, type ApproveApprovalData, type ApproveApprovalErrors, type ApproveApprovalResponse, type ApproveApprovalResponses, type AttachUserPoliciesData, type AttachUserPoliciesError, type AttachUserPoliciesErrors, type AttachUserPoliciesResponse, type AttachUserPoliciesResponses, type BootstrapUserData, type BootstrapUserError, type BootstrapUserErrors, type BootstrapUserResponse, type BootstrapUserResponses, type CallToolData, type CallToolError, type CallToolErrors, type CallToolRequest, type CallToolResponse, type CallToolResponses, type CancelOrchestrationRunData, type CancelOrchestrationRunErrors, type CancelOrchestrationRunResponse, type CancelOrchestrationRunResponses, type Chat, type ChatCompletionChoice, type ChatCompletionForChatRequest, type ChatCompletionRequest, type ChatCompletionResponse, type ChatCompletionResponseMessage, type ChatMessage, type ChatMessageInput, type ChatResourceProperties, Chats, type ClientOptions, type CompleteIngestionCallbackData, type CompleteIngestionCallbackError, type CompleteIngestionCallbackErrors, type CompleteIngestionCallbackResponse, type CompleteIngestionCallbackResponses, type ConversationMessageRecord, type ConversationRecord, type ConversationResourceProperties, Conversations, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentData, type CreateAgentError, type CreateAgentErrors, type CreateAgentGenerationData, type CreateAgentGenerationError, type CreateAgentGenerationErrors, type CreateAgentGenerationRequest, type CreateAgentGenerationResponse, type CreateAgentGenerationResponses, type CreateAgentRequest, type CreateAgentResponse, type CreateAgentResponses, type CreateAiProviderData, type CreateAiProviderErrors, type CreateAiProviderResponse, type CreateAiProviderResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChatCompletionData, type CreateChatCompletionError, type CreateChatCompletionErrors, type CreateChatCompletionForChatData, type CreateChatCompletionForChatError, type CreateChatCompletionForChatErrors, type CreateChatCompletionForChatResponse, type CreateChatCompletionForChatResponses, type CreateChatCompletionResponse, type CreateChatCompletionResponses, type CreateChatData, type CreateChatError, type CreateChatErrors, type CreateChatRequest, type CreateChatResponse, type CreateChatResponses, type CreateConversationData, type CreateConversationError, type CreateConversationErrors, type CreateConversationResponse, type CreateConversationResponses, type CreateDiscussionData, type CreateDiscussionError, type CreateDiscussionErrors, type CreateDiscussionResponse, type CreateDiscussionResponses, type CreateDiscussionRunData, type CreateDiscussionRunError, type CreateDiscussionRunErrors, type CreateDiscussionRunResponse, type CreateDiscussionRunResponses, type CreateDocumentData, type CreateDocumentError, type CreateDocumentErrors, type CreateDocumentResponse, type CreateDocumentResponses, type CreateEmbeddingsData, type CreateEmbeddingsError, type CreateEmbeddingsErrors, type CreateEmbeddingsResponse, type CreateEmbeddingsResponses, type CreateFileData, type CreateFileError, type CreateFileErrors, type CreateFileResponse, type CreateFileResponses, type CreateFormationData, type CreateFormationErrors, type CreateFormationResponse, type CreateFormationResponses, type CreateGuardrailData, type CreateGuardrailError, type CreateGuardrailErrors, type CreateGuardrailRequest, type CreateGuardrailResponse, type CreateGuardrailResponses, type CreateIngestionRuleData, type CreateIngestionRuleErrors, type CreateIngestionRuleResponse, type CreateIngestionRuleResponses, type CreateMemoryData, type CreateMemoryEntryData, type CreateMemoryEntryErrors, type CreateMemoryEntryResponse, type CreateMemoryEntryResponses, type CreateMemoryErrors, type CreateMemoryResponse, type CreateMemoryResponses, type CreateOrchestrationData, type CreateOrchestrationErrors, type CreateOrchestrationRequest, type CreateOrchestrationResponse, type CreateOrchestrationResponses, type CreatePolicyData, type CreatePolicyError, type CreatePolicyErrors, type CreatePolicyResponse, type CreatePolicyResponses, type CreatePresignedUrlData, type CreatePresignedUrlError, type CreatePresignedUrlErrors, type CreatePresignedUrlResponse, type CreatePresignedUrlResponses, type CreateProjectData, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateSecretData, type CreateSecretErrors, type CreateSecretResponse, type CreateSecretResponses, type CreateSessionData, type CreateSessionError, type CreateSessionErrors, type CreateSessionRequest, type CreateSessionResponse, type CreateSessionResponses, type CreateTaskData, type CreateTaskErrors, type CreateTaskRequest, type CreateTaskResponse, type CreateTaskResponses, type CreateToolData, type CreateToolError, type CreateToolErrors, type CreateToolRequest, type CreateToolResponse, type CreateToolResponses, type CreateTriggerData, type CreateTriggerErrors, type CreateTriggerRequest, type CreateTriggerResponse, type CreateTriggerResponses, type CreateUsageThresholdData, type CreateUsageThresholdError, type CreateUsageThresholdErrors, type CreateUsageThresholdRequest, type CreateUsageThresholdResponse, type CreateUsageThresholdResponses, type CreateUserData, type CreateUserError, type CreateUserErrors, type CreateUserResponse, type CreateUserResponses, type CreateWebhookData, type CreateWebhookErrors, type CreateWebhookRequest, type CreateWebhookResponse, type CreateWebhookResponses, type CreateWorkflowData, type CreateWorkflowErrors, type CreateWorkflowRequest, type CreateWorkflowResponse, type CreateWorkflowResponses, type DeleteActorData, type DeleteActorError, type DeleteActorErrors, type DeleteActorResponse, type DeleteActorResponses, type DeleteAgentData, type DeleteAgentError, type DeleteAgentErrors, type DeleteAgentResponse, type DeleteAgentResponses, type DeleteAiProviderData, type DeleteAiProviderErrors, type DeleteAiProviderResponse, type DeleteAiProviderResponses, type DeleteApiKeyData, type DeleteApiKeyErrors, type DeleteApiKeyResponse, type DeleteApiKeyResponses, type DeleteChatData, type DeleteChatError, type DeleteChatErrors, type DeleteChatResponse, type DeleteChatResponses, type DeleteConversationData, type DeleteConversationError, type DeleteConversationErrors, type DeleteConversationResponse, type DeleteConversationResponses, type DeleteDiscussionData, type DeleteDiscussionError, type DeleteDiscussionErrors, type DeleteDiscussionResponse, type DeleteDiscussionResponses, type DeleteDocumentData, type DeleteDocumentError, type DeleteDocumentErrors, type DeleteDocumentResponse, type DeleteDocumentResponses, type DeleteFileData, type DeleteFileError, type DeleteFileErrors, type DeleteFileResponse, type DeleteFileResponses, type DeleteFormationData, type DeleteFormationErrors, type DeleteFormationResponse, type DeleteFormationResponses, type DeleteGuardrailData, type DeleteGuardrailError, type DeleteGuardrailErrors, type DeleteGuardrailResponse, type DeleteGuardrailResponses, type DeleteIngestionRuleData, type DeleteIngestionRuleErrors, type DeleteIngestionRuleResponse, type DeleteIngestionRuleResponses, type DeleteMemoryData, type DeleteMemoryEntryData, type DeleteMemoryEntryErrors, type DeleteMemoryEntryResponse, type DeleteMemoryEntryResponses, type DeleteMemoryErrors, type DeleteMemoryResponse, type DeleteMemoryResponses, type DeleteOrchestrationData, type DeleteOrchestrationErrors, type DeleteOrchestrationResponse, type DeleteOrchestrationResponses, type DeletePolicyData, type DeletePolicyErrors, type DeletePolicyResponse, type DeletePolicyResponses, type DeleteProjectData, type DeleteProjectError, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteSecretData, type DeleteSecretErrors, type DeleteSecretResponses, type DeleteSessionData, type DeleteSessionError, type DeleteSessionErrors, type DeleteSessionResponse, type DeleteSessionResponses, type DeleteTaskData, type DeleteTaskErrors, type DeleteTaskResponse, type DeleteTaskResponses, type DeleteToolData, type DeleteToolError, type DeleteToolErrors, type DeleteToolResponse, type DeleteToolResponses, type DeleteTriggerData, type DeleteTriggerErrors, type DeleteTriggerResponse, type DeleteTriggerResponses, type DeleteUsageThresholdData, type DeleteUsageThresholdError, type DeleteUsageThresholdErrors, type DeleteUsageThresholdResponse, type DeleteUsageThresholdResponses, type DeleteUserData, type DeleteUserError, type DeleteUserErrors, type DeleteUserResponse, type DeleteUserResponses, type DeleteWebhookData, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type DeleteWorkflowData, type DeleteWorkflowErrors, type DeleteWorkflowResponse, type DeleteWorkflowResponses, type Delivery, type DeliveryListResponse, type DiscussionRecord, type DiscussionResourceProperties, type DiscussionRunRecord, Discussions, type DocumentKnowledgeResult, type DocumentMessageContent, type DocumentRecord, type DocumentResourceProperties, type DocumentStatusRecord, Documents, type DownloadFileBase64Data, type DownloadFileBase64Error, type DownloadFileBase64Errors, type DownloadFileBase64Response, type DownloadFileBase64Responses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, Embeddings, type EmbeddingsResponse, type ErrorResponse, type EvaluateGuardrailData, type EvaluateGuardrailError, type EvaluateGuardrailErrors, type EvaluateGuardrailResponse, type EvaluateGuardrailResponses, type FileRecord, type FileRecordWritable, type FileResourceProperties, Files, type FireTriggerData, type FireTriggerErrors, type FireTriggerRequest, type FireTriggerResponse, type FireTriggerResponses, type Formation, type FormationEvent, type FormationOperation, type FormationResource, type FormationTemplate, type FormationTemplateInput, Formations, type GenerateConversationMessageCompleted, type GenerateConversationMessageData, type GenerateConversationMessageError, type GenerateConversationMessageErrors, type GenerateConversationMessageRequiresAction, type GenerateConversationMessageResponse, type GenerateConversationMessageResponse2, type GenerateConversationMessageResponses, type GenerateSessionRequest, type GenerateSessionResponse, type GenerateSessionResponseData, type GenerateSessionResponseError, type GenerateSessionResponseErrors, type GenerateSessionResponseResponse, type GenerateSessionResponseResponses, type Generation, Generations, type GetActorData, type GetActorError, type GetActorErrors, type GetActorResponse, type GetActorResponses, type GetActorTagsData, type GetActorTagsError, type GetActorTagsErrors, type GetActorTagsResponse, type GetActorTagsResponses, type GetAgentData, type GetAgentError, type GetAgentErrors, type GetAgentResponse, type GetAgentResponses, type GetAiProviderData, type GetAiProviderErrors, type GetAiProviderPricesData, type GetAiProviderPricesErrors, type GetAiProviderPricesResponse, type GetAiProviderPricesResponses, type GetAiProviderResponse, type GetAiProviderResponses, type GetApiKeyData, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, type GetApprovalData, type GetApprovalErrors, type GetApprovalResponse, type GetApprovalResponses, type GetChatData, type GetChatError, type GetChatErrors, type GetChatResponse, type GetChatResponses, type GetConversationData, type GetConversationError, type GetConversationErrors, type GetConversationResponse, type GetConversationResponses, type GetConversationTagsData, type GetConversationTagsError, type GetConversationTagsErrors, type GetConversationTagsResponse, type GetConversationTagsResponses, type GetCurrentUserData, type GetCurrentUserError, type GetCurrentUserErrors, type GetCurrentUserResponse, type GetCurrentUserResponses, type GetDiscussionData, type GetDiscussionError, type GetDiscussionErrors, type GetDiscussionResponse, type GetDiscussionResponses, type GetDiscussionRunData, type GetDiscussionRunError, type GetDiscussionRunErrors, type GetDiscussionRunResponse, type GetDiscussionRunResponses, type GetDocumentData, type GetDocumentError, type GetDocumentErrors, type GetDocumentResponse, type GetDocumentResponses, type GetDocumentStatusData, type GetDocumentStatusError, type GetDocumentStatusErrors, type GetDocumentStatusResponse, type GetDocumentStatusResponses, type GetDocumentTagsData, type GetDocumentTagsError, type GetDocumentTagsErrors, type GetDocumentTagsResponse, type GetDocumentTagsResponses, type GetFileData, type GetFileError, type GetFileErrors, type GetFileResponse, type GetFileResponses, type GetFileTagsData, type GetFileTagsError, type GetFileTagsErrors, type GetFileTagsResponse, type GetFileTagsResponses, type GetFormationData, type GetFormationErrors, type GetFormationResponse, type GetFormationResponses, type GetGenerationData, type GetGenerationError, type GetGenerationErrors, type GetGenerationResponse, type GetGenerationResponses, type GetGuardrailData, type GetGuardrailError, type GetGuardrailErrors, type GetGuardrailResponse, type GetGuardrailResponses, type GetGuardrailVersionData, type GetGuardrailVersionError, type GetGuardrailVersionErrors, type GetGuardrailVersionResponse, type GetGuardrailVersionResponses, type GetIngestionRuleData, type GetIngestionRuleErrors, type GetIngestionRuleResponse, type GetIngestionRuleResponses, type GetMemoryData, type GetMemoryEntryData, type GetMemoryEntryErrors, type GetMemoryEntryResponse, type GetMemoryEntryResponses, type GetMemoryErrors, type GetMemoryResponse, type GetMemoryResponses, type GetOrchestrationData, type GetOrchestrationErrors, type GetOrchestrationResponse, type GetOrchestrationResponses, type GetOrchestrationRunData, type GetOrchestrationRunErrors, type GetOrchestrationRunResponse, type GetOrchestrationRunResponses, type GetPolicyData, type GetPolicyErrors, type GetPolicyResponse, type GetPolicyResponses, type GetPriceBookData, type GetPriceBookError, type GetPriceBookErrors, type GetPriceBookResponse, type GetPriceBookResponses, type GetProjectData, type GetProjectErrors, type GetProjectPricesData, type GetProjectPricesErrors, type GetProjectPricesResponse, type GetProjectPricesResponses, type GetProjectResponse, type GetProjectResponses, type GetSecretData, type GetSecretErrors, type GetSecretResponse, type GetSecretResponses, type GetSessionData, type GetSessionError, type GetSessionErrors, type GetSessionResponse, type GetSessionResponses, type GetSessionTagsData, type GetSessionTagsError, type GetSessionTagsErrors, type GetSessionTagsResponse, type GetSessionTagsResponses, type GetTaskData, type GetTaskErrors, type GetTaskHistoryData, type GetTaskHistoryErrors, type GetTaskHistoryResponse, type GetTaskHistoryResponses, type GetTaskResponse, type GetTaskResponses, type GetToolData, type GetToolError, type GetToolErrors, type GetToolResponse, type GetToolResponses, type GetTraceData, type GetTraceError, type GetTraceErrors, type GetTraceResponse, type GetTraceResponses, type GetTraceTreeData, type GetTraceTreeError, type GetTraceTreeErrors, type GetTraceTreeResponse, type GetTraceTreeResponses, type GetTriggerData, type GetTriggerErrors, type GetTriggerFiringData, type GetTriggerFiringErrors, type GetTriggerFiringResponse, type GetTriggerFiringResponses, type GetTriggerResponse, type GetTriggerResponses, type GetTriggerSecretData, type GetTriggerSecretErrors, type GetTriggerSecretResponse, type GetTriggerSecretResponses, type GetUsageData, type GetUsageError, type GetUsageErrors, type GetUsageReceiptData, type GetUsageReceiptError, type GetUsageReceiptErrors, type GetUsageReceiptResponse, type GetUsageReceiptResponses, type GetUsageResponse, type GetUsageResponses, type GetUserData, type GetUserError, type GetUserErrors, type GetUserResponse, type GetUserResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type GetWebhookSecretData, type GetWebhookSecretErrors, type GetWebhookSecretResponse, type GetWebhookSecretResponses, type GetWorkflowData, type GetWorkflowErrors, type GetWorkflowResponse, type GetWorkflowResponses, type Guardrail, type GuardrailDocument, type GuardrailEvaluation, type GuardrailVersion, Guardrails, type HumanInputRequest, type IngestDocumentData, type IngestDocumentError, type IngestDocumentErrors, type IngestDocumentResponse, type IngestDocumentResponses, type IngestedDocumentRecord, type IngestionRule, type IngestionRuleResourceProperties, IngestionRules, Knowledge, type KnowledgeResult, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListAiProvidersData, type ListAiProvidersErrors, type ListAiProvidersResponse, type ListAiProvidersResponses, type ListApiKeysData, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListApprovalsData, type ListApprovalsErrors, type ListApprovalsResponse, type ListApprovalsResponses, type ListChatsData, type ListChatsError, type ListChatsErrors, type ListChatsResponse, type ListChatsResponses, type ListConversationMessagesData, type ListConversationMessagesError, type ListConversationMessagesErrors, type ListConversationMessagesResponse, type ListConversationMessagesResponses, type ListConversationsData, type ListConversationsError, type ListConversationsErrors, type ListConversationsResponse, type ListConversationsResponses, type ListDiscussionRunsData, type ListDiscussionRunsError, type ListDiscussionRunsErrors, type ListDiscussionRunsResponse, type ListDiscussionRunsResponses, type ListDiscussionsData, type ListDiscussionsError, type ListDiscussionsErrors, type ListDiscussionsResponse, type ListDiscussionsResponses, type ListDocumentsData, type ListDocumentsError, type ListDocumentsErrors, type ListDocumentsResponse, type ListDocumentsResponses, type ListFilesData, type ListFilesError, type ListFilesErrors, type ListFilesResponse, type ListFilesResponses, type ListFormationEventsData, type ListFormationEventsErrors, type ListFormationEventsResponse, type ListFormationEventsResponses, type ListFormationsData, type ListFormationsErrors, type ListFormationsResponse, type ListFormationsResponses, type ListGenerationsData, type ListGenerationsError, type ListGenerationsErrors, type ListGenerationsResponse, type ListGenerationsResponses, type ListGuardrailsData, type ListGuardrailsError, type ListGuardrailsErrors, type ListGuardrailsResponse, type ListGuardrailsResponses, type ListIngestionRulesData, type ListIngestionRulesErrors, type ListIngestionRulesResponse, type ListIngestionRulesResponses, type ListMemoriesData, type ListMemoriesErrors, type ListMemoriesResponse, type ListMemoriesResponses, type ListMemoryEntriesData, type ListMemoryEntriesErrors, type ListMemoryEntriesResponse, type ListMemoryEntriesResponses, type ListOrchestrationRunsData, type ListOrchestrationRunsErrors, type ListOrchestrationRunsResponse, type ListOrchestrationRunsResponses, type ListOrchestrationsData, type ListOrchestrationsErrors, type ListOrchestrationsResponse, type ListOrchestrationsResponses, type ListPoliciesData, type ListPoliciesErrors, type ListPoliciesResponse, type ListPoliciesResponses, type ListProjectsData, type ListProjectsErrors, type ListProjectsResponse, type ListProjectsResponses, type ListSecretsData, type ListSecretsErrors, type ListSecretsResponse, type ListSecretsResponses, type ListSessionsData, type ListSessionsError, type ListSessionsErrors, type ListSessionsResponse, type ListSessionsResponses, type ListTasksData, type ListTasksErrors, type ListTasksResponse, type ListTasksResponses, type ListToolsData, type ListToolsError, type ListToolsErrors, type ListToolsResponse, type ListToolsResponses, type ListTracesData, type ListTracesError, type ListTracesErrors, type ListTracesResponse, type ListTracesResponses, type ListTriggerFiringsData, type ListTriggerFiringsErrors, type ListTriggerFiringsResponse, type ListTriggerFiringsResponses, type ListTriggersData, type ListTriggersErrors, type ListTriggersResponse, type ListTriggersResponses, type ListUsageMetersData, type ListUsageMetersError, type ListUsageMetersErrors, type ListUsageMetersResponse, type ListUsageMetersResponses, type ListUsageThresholdsData, type ListUsageThresholdsError, type ListUsageThresholdsErrors, type ListUsageThresholdsResponse, type ListUsageThresholdsResponses, type ListUsersData, type ListUsersError, type ListUsersErrors, type ListUsersResponse, type ListUsersResponses, type ListWebhookDeliveriesData, type ListWebhookDeliveriesErrors, type ListWebhookDeliveriesResponse, type ListWebhookDeliveriesResponses, type ListWebhooksData, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type ListWorkflowsData, type ListWorkflowsErrors, type ListWorkflowsResponse, type ListWorkflowsResponses, type LoginResponse, type LoginUserData, type LoginUserError, type LoginUserErrors, type LoginUserResponse, type LoginUserResponses, Memories, type Memory, MemoryEntries, type MemoryEntry, type MemoryEntryResourceProperties, type MemoryEntryWriteResult, type MemoryKnowledgeResult, type MemoryResourceProperties, type MergeActorTagsData, type MergeActorTagsError, type MergeActorTagsErrors, type MergeActorTagsResponse, type MergeActorTagsResponses, type MergeConversationTagsData, type MergeConversationTagsError, type MergeConversationTagsErrors, type MergeConversationTagsResponse, type MergeConversationTagsResponses, type MergeDocumentTagsData, type MergeDocumentTagsError, type MergeDocumentTagsErrors, type MergeDocumentTagsResponse, type MergeDocumentTagsResponses, type MergeFileTagsData, type MergeFileTagsError, type MergeFileTagsErrors, type MergeFileTagsResponse, type MergeFileTagsResponses, type MergeSessionTagsData, type MergeSessionTagsError, type MergeSessionTagsErrors, type MergeSessionTagsResponse, type MergeSessionTagsResponses, type NodeExecution, type Options, type Orchestration, type OrchestrationEdge, type OrchestrationId, type OrchestrationNode, type OrchestrationResourceProperties, type OrchestrationRun, Orchestrations, type ParameterDeclaration, type ParticipantInput, type ParticipantRecord, type PatchAgentData, type PatchAgentError, type PatchAgentErrors, type PatchAgentResponse, type PatchAgentResponses, type PlanChange, type PlanFormationData, type PlanFormationErrors, type PlanFormationResponse, type PlanFormationResponses, type PlanResult, Policies, type PolicyDocument, type PolicyRecord, type PolicyResourceProperties, type PolicyStatement, type PresignedUrlRequest, type PresignedUrlResponse, type Price, type PriceBookResponse, type ProjectPrice, type ProjectPriceResourceProperties, type ProjectPricesResponse, type ProjectRecord, Projects, type ProviderPrice, type ProviderPricesResponse, type ReingestDocumentData, type ReingestDocumentError, type ReingestDocumentErrors, type ReingestDocumentResponse, type ReingestDocumentResponses, type RejectApprovalData, type RejectApprovalErrors, type RejectApprovalResponse, type RejectApprovalResponses, type RemoveConversationMessageData, type RemoveConversationMessageError, type RemoveConversationMessageErrors, type RemoveConversationMessageResponse, type RemoveConversationMessageResponses, type ReplaceActorTagsData, type ReplaceActorTagsError, type ReplaceActorTagsErrors, type ReplaceActorTagsResponse, type ReplaceActorTagsResponses, type ReplaceConversationTagsData, type ReplaceConversationTagsError, type ReplaceConversationTagsErrors, type ReplaceConversationTagsResponse, type ReplaceConversationTagsResponses, type ReplaceDocumentTagsData, type ReplaceDocumentTagsError, type ReplaceDocumentTagsErrors, type ReplaceDocumentTagsResponse, type ReplaceDocumentTagsResponses, type ReplaceFileTagsData, type ReplaceFileTagsError, type ReplaceFileTagsErrors, type ReplaceFileTagsResponse, type ReplaceFileTagsResponses, type ReplaceSessionTagsData, type ReplaceSessionTagsError, type ReplaceSessionTagsErrors, type ReplaceSessionTagsResponse, type ReplaceSessionTagsResponses, type RequiredAction, type ResourceDeclaration, type ResumeOrchestrationRunData, type ResumeOrchestrationRunErrors, type ResumeOrchestrationRunResponse, type ResumeOrchestrationRunResponses, type RotateTriggerSecretData, type RotateTriggerSecretErrors, type RotateTriggerSecretResponse, type RotateTriggerSecretResponses, type RotateWebhookSecretData, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RunId, type RunUsageTotals, type SearchKnowledgeData, type SearchKnowledgeError, type SearchKnowledgeErrors, type SearchKnowledgeResponse, type SearchKnowledgeResponses, type SecretResourceProperties, Secrets, type SendSessionMessageResponse, type SessionId, type SessionRecord, type SessionResourceProperties, Sessions, SoatClient, type SoatClientOptions, type StartOrchestrationRunData, type StartOrchestrationRunErrors, type StartOrchestrationRunResponse, type StartOrchestrationRunResponses, type StartRunRequest, type SubmitAgentToolOutputsData, type SubmitAgentToolOutputsError, type SubmitAgentToolOutputsErrors, type SubmitAgentToolOutputsResponse, type SubmitAgentToolOutputsResponses, type SubmitHumanInputData, type SubmitHumanInputErrors, type SubmitHumanInputResponse, type SubmitHumanInputResponses, type SubmitSessionToolOutputsData, type SubmitSessionToolOutputsError, type SubmitSessionToolOutputsErrors, type SubmitSessionToolOutputsRequest, type SubmitSessionToolOutputsResponse, type SubmitSessionToolOutputsResponses, type SubmitToolOutputsRequest, type SynthesisConfig, type Task, type TaskTransition, Tasks, type Tool, type ToolBinding, type ToolOutputMessageContent, type ToolResourceProperties, Tools, type Trace, type TraceTreeNode, Traces, type TransitionTaskData, type TransitionTaskErrors, type TransitionTaskRequest, type TransitionTaskResponse, type TransitionTaskResponses, type Trigger, type TriggerFiring, type TriggerFiringListResponse, type TriggerResourceProperties, type TriggerSecretResponse, type TriggerWithSecret, Triggers, type UpdateActorData, type UpdateActorError, type UpdateActorErrors, type UpdateActorResponse, type UpdateActorResponses, type UpdateAgentData, type UpdateAgentError, type UpdateAgentErrors, type UpdateAgentRequest, type UpdateAgentResponse, type UpdateAgentResponses, type UpdateAiProviderData, type UpdateAiProviderErrors, type UpdateAiProviderPricesData, type UpdateAiProviderPricesErrors, type UpdateAiProviderPricesResponse, type UpdateAiProviderPricesResponses, type UpdateAiProviderResponses, type UpdateApiKeyData, type UpdateApiKeyError, type UpdateApiKeyErrors, type UpdateApiKeyResponse, type UpdateApiKeyResponses, type UpdateConversationData, type UpdateConversationError, type UpdateConversationErrors, type UpdateConversationResponse, type UpdateConversationResponses, type UpdateDiscussionData, type UpdateDiscussionError, type UpdateDiscussionErrors, type UpdateDiscussionResponse, type UpdateDiscussionResponses, type UpdateDocumentData, type UpdateDocumentError, type UpdateDocumentErrors, type UpdateDocumentResponse, type UpdateDocumentResponses, type UpdateFileMetadataData, type UpdateFileMetadataError, type UpdateFileMetadataErrors, type UpdateFileMetadataResponse, type UpdateFileMetadataResponses, type UpdateFormationData, type UpdateFormationErrors, type UpdateFormationResponse, type UpdateFormationResponses, type UpdateGenerationData, type UpdateGenerationError, type UpdateGenerationErrors, type UpdateGenerationRequest, type UpdateGenerationResponse, type UpdateGenerationResponses, type UpdateGuardrailData, type UpdateGuardrailError, type UpdateGuardrailErrors, type UpdateGuardrailRequest, type UpdateGuardrailResponse, type UpdateGuardrailResponses, type UpdateIngestionRuleData, type UpdateIngestionRuleErrors, type UpdateIngestionRuleResponse, type UpdateIngestionRuleResponses, type UpdateMemoryData, type UpdateMemoryEntryData, type UpdateMemoryEntryErrors, type UpdateMemoryEntryResponse, type UpdateMemoryEntryResponses, type UpdateMemoryErrors, type UpdateMemoryResponse, type UpdateMemoryResponses, type UpdateOrchestrationData, type UpdateOrchestrationErrors, type UpdateOrchestrationRequest, type UpdateOrchestrationResponse, type UpdateOrchestrationResponses, type UpdatePolicyData, type UpdatePolicyError, type UpdatePolicyErrors, type UpdatePolicyResponse, type UpdatePolicyResponses, type UpdateProjectData, type UpdateProjectErrors, type UpdateProjectPricesData, type UpdateProjectPricesErrors, type UpdateProjectPricesResponse, type UpdateProjectPricesResponses, type UpdateProjectResponse, type UpdateProjectResponses, type UpdateSecretData, type UpdateSecretErrors, type UpdateSecretResponses, type UpdateSessionData, type UpdateSessionError, type UpdateSessionErrors, type UpdateSessionRequest, type UpdateSessionResponse, type UpdateSessionResponses, type UpdateTaskData, type UpdateTaskErrors, type UpdateTaskRequest, type UpdateTaskResponse, type UpdateTaskResponses, type UpdateToolData, type UpdateToolError, type UpdateToolErrors, type UpdateToolRequest, type UpdateToolResponse, type UpdateToolResponses, type UpdateTriggerData, type UpdateTriggerErrors, type UpdateTriggerRequest, type UpdateTriggerResponse, type UpdateTriggerResponses, type UpdateWebhookData, type UpdateWebhookErrors, type UpdateWebhookRequest, type UpdateWebhookResponse, type UpdateWebhookResponses, type UpdateWorkflowData, type UpdateWorkflowErrors, type UpdateWorkflowRequest, type UpdateWorkflowResponse, type UpdateWorkflowResponses, type UploadFileBase64Data, type UploadFileBase64Error, type UploadFileBase64Errors, type UploadFileBase64Request, type UploadFileBase64Response, type UploadFileBase64Responses, type UploadFileData, type UploadFileError, type UploadFileErrors, type UploadFileResponse, type UploadFileResponses, type UploadFileWithTokenData, type UploadFileWithTokenError, type UploadFileWithTokenErrors, type UploadFileWithTokenRequest, type UploadFileWithTokenResponse, type UploadFileWithTokenResponses, type UpsertPriceBookData, type UpsertPriceBookError, type UpsertPriceBookErrors, type UpsertPriceBookResponse, type UpsertPriceBookResponses, type UpsertPricesRequest, type UpsertProjectPricesRequest, type UpsertProviderPricesRequest, Usage, type UsageAggregate, type UsageAggregateTotals, type UsageComponent, type UsageEvent, type UsageReceipt, type UsageThreshold, type UserRecord, Users, type ValidateFormationData, type ValidateFormationErrors, type ValidateFormationResponse, type ValidateFormationResponses, type ValidateOrchestrationData, type ValidateOrchestrationErrors, type ValidateOrchestrationRequest, type ValidateOrchestrationResponse, type ValidateOrchestrationResponses, type ValidationError, type ValidationResult, type Webhook, type WebhookResourceProperties, type WebhookSecretResponse, type WebhookWithSecret, Webhooks, type Workflow, type WorkflowResourceProperties, type WorkflowState, type WorkflowTransition, Workflows, createClient, createConfig };
15371
+ export { type AcknowledgeExceptionData, type AcknowledgeExceptionErrors, type AcknowledgeExceptionResponse, type AcknowledgeExceptionResponses, type ActorRecord, type ActorResourceProperties, Actors, type AddConversationMessageData, type AddConversationMessageError, type AddConversationMessageErrors, type AddConversationMessageResponse, type AddConversationMessageResponses, type AddSessionMessageData, type AddSessionMessageError, type AddSessionMessageErrors, type AddSessionMessageRequest, type AddSessionMessageResponse, type AddSessionMessageResponse2, type AddSessionMessageResponses, type AddSessionMessageSaved, type Agent, type AgentGenerationResponse, type AgentResourceProperties, Agents, type AiProviderResourceProperties, AiProviders, type ApiKeyCreated, type ApiKeyRecord, type ApiKeyResourceProperties, ApiKeys, type ApprovalId, type ApprovalItem, Approvals, type ApproveApprovalData, type ApproveApprovalErrors, type ApproveApprovalResponse, type ApproveApprovalResponses, type AttachUserPoliciesData, type AttachUserPoliciesError, type AttachUserPoliciesErrors, type AttachUserPoliciesResponse, type AttachUserPoliciesResponses, type AuditEntry, AuditLog, type BootstrapUserData, type BootstrapUserError, type BootstrapUserErrors, type BootstrapUserResponse, type BootstrapUserResponses, type CallToolData, type CallToolError, type CallToolErrors, type CallToolRequest, type CallToolResponse, type CallToolResponses, type CancelOrchestrationRunData, type CancelOrchestrationRunErrors, type CancelOrchestrationRunResponse, type CancelOrchestrationRunResponses, type Chat, type ChatCompletionChoice, type ChatCompletionForChatRequest, type ChatCompletionRequest, type ChatCompletionResponse, type ChatCompletionResponseMessage, type ChatMessage, type ChatMessageInput, type ChatResourceProperties, Chats, type ClientOptions, type CompleteIngestionCallbackData, type CompleteIngestionCallbackError, type CompleteIngestionCallbackErrors, type CompleteIngestionCallbackResponse, type CompleteIngestionCallbackResponses, type ConversationMessageRecord, type ConversationRecord, type ConversationResourceProperties, Conversations, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentData, type CreateAgentError, type CreateAgentErrors, type CreateAgentGenerationData, type CreateAgentGenerationError, type CreateAgentGenerationErrors, type CreateAgentGenerationRequest, type CreateAgentGenerationResponse, type CreateAgentGenerationResponses, type CreateAgentRequest, type CreateAgentResponse, type CreateAgentResponses, type CreateAiProviderData, type CreateAiProviderErrors, type CreateAiProviderResponse, type CreateAiProviderResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChatCompletionData, type CreateChatCompletionError, type CreateChatCompletionErrors, type CreateChatCompletionForChatData, type CreateChatCompletionForChatError, type CreateChatCompletionForChatErrors, type CreateChatCompletionForChatResponse, type CreateChatCompletionForChatResponses, type CreateChatCompletionResponse, type CreateChatCompletionResponses, type CreateChatData, type CreateChatError, type CreateChatErrors, type CreateChatRequest, type CreateChatResponse, type CreateChatResponses, type CreateConversationData, type CreateConversationError, type CreateConversationErrors, type CreateConversationResponse, type CreateConversationResponses, type CreateDiscussionData, type CreateDiscussionError, type CreateDiscussionErrors, type CreateDiscussionResponse, type CreateDiscussionResponses, type CreateDiscussionRunData, type CreateDiscussionRunError, type CreateDiscussionRunErrors, type CreateDiscussionRunResponse, type CreateDiscussionRunResponses, type CreateDocumentData, type CreateDocumentError, type CreateDocumentErrors, type CreateDocumentResponse, type CreateDocumentResponses, type CreateEmbeddingsData, type CreateEmbeddingsError, type CreateEmbeddingsErrors, type CreateEmbeddingsResponse, type CreateEmbeddingsResponses, type CreateFileData, type CreateFileError, type CreateFileErrors, type CreateFileResponse, type CreateFileResponses, type CreateFormationData, type CreateFormationErrors, type CreateFormationResponse, type CreateFormationResponses, type CreateGuardrailData, type CreateGuardrailError, type CreateGuardrailErrors, type CreateGuardrailRequest, type CreateGuardrailResponse, type CreateGuardrailResponses, type CreateIngestionRuleData, type CreateIngestionRuleErrors, type CreateIngestionRuleResponse, type CreateIngestionRuleResponses, type CreateMemoryData, type CreateMemoryEntryData, type CreateMemoryEntryErrors, type CreateMemoryEntryResponse, type CreateMemoryEntryResponses, type CreateMemoryErrors, type CreateMemoryResponse, type CreateMemoryResponses, type CreateOrchestrationData, type CreateOrchestrationErrors, type CreateOrchestrationRequest, type CreateOrchestrationResponse, type CreateOrchestrationResponses, type CreatePolicyData, type CreatePolicyError, type CreatePolicyErrors, type CreatePolicyResponse, type CreatePolicyResponses, type CreatePresignedUrlData, type CreatePresignedUrlError, type CreatePresignedUrlErrors, type CreatePresignedUrlResponse, type CreatePresignedUrlResponses, type CreateProjectData, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateQuotaData, type CreateQuotaErrors, type CreateQuotaResponse, type CreateQuotaResponses, type CreateSecretData, type CreateSecretErrors, type CreateSecretResponse, type CreateSecretResponses, type CreateSessionData, type CreateSessionError, type CreateSessionErrors, type CreateSessionRequest, type CreateSessionResponse, type CreateSessionResponses, type CreateTaskData, type CreateTaskErrors, type CreateTaskRequest, type CreateTaskResponse, type CreateTaskResponses, type CreateToolData, type CreateToolError, type CreateToolErrors, type CreateToolRequest, type CreateToolResponse, type CreateToolResponses, type CreateTriggerData, type CreateTriggerErrors, type CreateTriggerRequest, type CreateTriggerResponse, type CreateTriggerResponses, type CreateUsageThresholdData, type CreateUsageThresholdError, type CreateUsageThresholdErrors, type CreateUsageThresholdRequest, type CreateUsageThresholdResponse, type CreateUsageThresholdResponses, type CreateUserData, type CreateUserError, type CreateUserErrors, type CreateUserResponse, type CreateUserResponses, type CreateWebhookData, type CreateWebhookErrors, type CreateWebhookRequest, type CreateWebhookResponse, type CreateWebhookResponses, type CreateWorkflowData, type CreateWorkflowErrors, type CreateWorkflowRequest, type CreateWorkflowResponse, type CreateWorkflowResponses, type DeleteActorData, type DeleteActorError, type DeleteActorErrors, type DeleteActorResponse, type DeleteActorResponses, type DeleteAgentData, type DeleteAgentError, type DeleteAgentErrors, type DeleteAgentResponse, type DeleteAgentResponses, type DeleteAiProviderData, type DeleteAiProviderErrors, type DeleteAiProviderResponse, type DeleteAiProviderResponses, type DeleteApiKeyData, type DeleteApiKeyErrors, type DeleteApiKeyResponse, type DeleteApiKeyResponses, type DeleteChatData, type DeleteChatError, type DeleteChatErrors, type DeleteChatResponse, type DeleteChatResponses, type DeleteConversationData, type DeleteConversationError, type DeleteConversationErrors, type DeleteConversationResponse, type DeleteConversationResponses, type DeleteDiscussionData, type DeleteDiscussionError, type DeleteDiscussionErrors, type DeleteDiscussionResponse, type DeleteDiscussionResponses, type DeleteDocumentData, type DeleteDocumentError, type DeleteDocumentErrors, type DeleteDocumentResponse, type DeleteDocumentResponses, type DeleteFileData, type DeleteFileError, type DeleteFileErrors, type DeleteFileResponse, type DeleteFileResponses, type DeleteFormationData, type DeleteFormationErrors, type DeleteFormationResponse, type DeleteFormationResponses, type DeleteGuardrailData, type DeleteGuardrailError, type DeleteGuardrailErrors, type DeleteGuardrailResponse, type DeleteGuardrailResponses, type DeleteIngestionRuleData, type DeleteIngestionRuleErrors, type DeleteIngestionRuleResponse, type DeleteIngestionRuleResponses, type DeleteMemoryData, type DeleteMemoryEntryData, type DeleteMemoryEntryErrors, type DeleteMemoryEntryResponse, type DeleteMemoryEntryResponses, type DeleteMemoryErrors, type DeleteMemoryResponse, type DeleteMemoryResponses, type DeleteOrchestrationData, type DeleteOrchestrationErrors, type DeleteOrchestrationResponse, type DeleteOrchestrationResponses, type DeletePolicyData, type DeletePolicyErrors, type DeletePolicyResponse, type DeletePolicyResponses, type DeleteProjectData, type DeleteProjectError, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteQuotaData, type DeleteQuotaErrors, type DeleteQuotaResponse, type DeleteQuotaResponses, type DeleteSecretData, type DeleteSecretErrors, type DeleteSecretResponses, type DeleteSessionData, type DeleteSessionError, type DeleteSessionErrors, type DeleteSessionResponse, type DeleteSessionResponses, type DeleteTaskData, type DeleteTaskErrors, type DeleteTaskResponse, type DeleteTaskResponses, type DeleteToolData, type DeleteToolError, type DeleteToolErrors, type DeleteToolResponse, type DeleteToolResponses, type DeleteTriggerData, type DeleteTriggerErrors, type DeleteTriggerResponse, type DeleteTriggerResponses, type DeleteUsageThresholdData, type DeleteUsageThresholdError, type DeleteUsageThresholdErrors, type DeleteUsageThresholdResponse, type DeleteUsageThresholdResponses, type DeleteUserData, type DeleteUserError, type DeleteUserErrors, type DeleteUserResponse, type DeleteUserResponses, type DeleteWebhookData, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type DeleteWorkflowData, type DeleteWorkflowErrors, type DeleteWorkflowResponse, type DeleteWorkflowResponses, type Delivery, type DeliveryListResponse, type DiscussionRecord, type DiscussionResourceProperties, type DiscussionRunRecord, Discussions, type DocumentKnowledgeResult, type DocumentMessageContent, type DocumentRecord, type DocumentResourceProperties, type DocumentStatusRecord, Documents, type DownloadFileBase64Data, type DownloadFileBase64Error, type DownloadFileBase64Errors, type DownloadFileBase64Response, type DownloadFileBase64Responses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, Embeddings, type EmbeddingsResponse, type ErrorResponse, type EvaluateGuardrailData, type EvaluateGuardrailError, type EvaluateGuardrailErrors, type EvaluateGuardrailResponse, type EvaluateGuardrailResponses, type ExceptionId, type ExceptionItem, Exceptions, type FileRecord, type FileRecordWritable, type FileResourceProperties, Files, type FireTriggerData, type FireTriggerErrors, type FireTriggerRequest, type FireTriggerResponse, type FireTriggerResponses, type Formation, type FormationEvent, type FormationOperation, type FormationResource, type FormationTemplate, type FormationTemplateInput, Formations, type GenerateConversationMessageCompleted, type GenerateConversationMessageData, type GenerateConversationMessageError, type GenerateConversationMessageErrors, type GenerateConversationMessageRequiresAction, type GenerateConversationMessageResponse, type GenerateConversationMessageResponse2, type GenerateConversationMessageResponses, type GenerateSessionRequest, type GenerateSessionResponse, type GenerateSessionResponseData, type GenerateSessionResponseError, type GenerateSessionResponseErrors, type GenerateSessionResponseResponse, type GenerateSessionResponseResponses, type Generation, Generations, type GetActorData, type GetActorError, type GetActorErrors, type GetActorResponse, type GetActorResponses, type GetActorTagsData, type GetActorTagsError, type GetActorTagsErrors, type GetActorTagsResponse, type GetActorTagsResponses, type GetAgentData, type GetAgentError, type GetAgentErrors, type GetAgentResponse, type GetAgentResponses, type GetAiProviderData, type GetAiProviderErrors, type GetAiProviderPricesData, type GetAiProviderPricesErrors, type GetAiProviderPricesResponse, type GetAiProviderPricesResponses, type GetAiProviderResponse, type GetAiProviderResponses, type GetApiKeyData, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, type GetApprovalData, type GetApprovalErrors, type GetApprovalResponse, type GetApprovalResponses, type GetAuditEntryData, type GetAuditEntryErrors, type GetAuditEntryResponse, type GetAuditEntryResponses, type GetChatData, type GetChatError, type GetChatErrors, type GetChatResponse, type GetChatResponses, type GetConversationData, type GetConversationError, type GetConversationErrors, type GetConversationResponse, type GetConversationResponses, type GetConversationTagsData, type GetConversationTagsError, type GetConversationTagsErrors, type GetConversationTagsResponse, type GetConversationTagsResponses, type GetCurrentUserData, type GetCurrentUserError, type GetCurrentUserErrors, type GetCurrentUserResponse, type GetCurrentUserResponses, type GetDiscussionData, type GetDiscussionError, type GetDiscussionErrors, type GetDiscussionResponse, type GetDiscussionResponses, type GetDiscussionRunData, type GetDiscussionRunError, type GetDiscussionRunErrors, type GetDiscussionRunResponse, type GetDiscussionRunResponses, type GetDocumentData, type GetDocumentError, type GetDocumentErrors, type GetDocumentResponse, type GetDocumentResponses, type GetDocumentStatusData, type GetDocumentStatusError, type GetDocumentStatusErrors, type GetDocumentStatusResponse, type GetDocumentStatusResponses, type GetDocumentTagsData, type GetDocumentTagsError, type GetDocumentTagsErrors, type GetDocumentTagsResponse, type GetDocumentTagsResponses, type GetExceptionData, type GetExceptionErrors, type GetExceptionResponse, type GetExceptionResponses, type GetFileData, type GetFileError, type GetFileErrors, type GetFileResponse, type GetFileResponses, type GetFileTagsData, type GetFileTagsError, type GetFileTagsErrors, type GetFileTagsResponse, type GetFileTagsResponses, type GetFormationData, type GetFormationErrors, type GetFormationResponse, type GetFormationResponses, type GetGenerationData, type GetGenerationError, type GetGenerationErrors, type GetGenerationResponse, type GetGenerationResponses, type GetGuardrailData, type GetGuardrailError, type GetGuardrailErrors, type GetGuardrailResponse, type GetGuardrailResponses, type GetGuardrailVersionData, type GetGuardrailVersionError, type GetGuardrailVersionErrors, type GetGuardrailVersionResponse, type GetGuardrailVersionResponses, type GetIngestionRuleData, type GetIngestionRuleErrors, type GetIngestionRuleResponse, type GetIngestionRuleResponses, type GetMemoryData, type GetMemoryEntryData, type GetMemoryEntryErrors, type GetMemoryEntryResponse, type GetMemoryEntryResponses, type GetMemoryErrors, type GetMemoryResponse, type GetMemoryResponses, type GetOrchestrationData, type GetOrchestrationErrors, type GetOrchestrationResponse, type GetOrchestrationResponses, type GetOrchestrationRunData, type GetOrchestrationRunErrors, type GetOrchestrationRunResponse, type GetOrchestrationRunResponses, type GetPolicyData, type GetPolicyErrors, type GetPolicyResponse, type GetPolicyResponses, type GetPriceBookData, type GetPriceBookError, type GetPriceBookErrors, type GetPriceBookResponse, type GetPriceBookResponses, type GetProjectData, type GetProjectErrors, type GetProjectPricesData, type GetProjectPricesErrors, type GetProjectPricesResponse, type GetProjectPricesResponses, type GetProjectResponse, type GetProjectResponses, type GetQueueStatsData, type GetQueueStatsErrors, type GetQueueStatsResponse, type GetQueueStatsResponses, type GetQuotaData, type GetQuotaErrors, type GetQuotaResponse, type GetQuotaResponses, type GetSecretData, type GetSecretErrors, type GetSecretResponse, type GetSecretResponses, type GetSessionData, type GetSessionError, type GetSessionErrors, type GetSessionResponse, type GetSessionResponses, type GetSessionTagsData, type GetSessionTagsError, type GetSessionTagsErrors, type GetSessionTagsResponse, type GetSessionTagsResponses, type GetTaskData, type GetTaskErrors, type GetTaskHistoryData, type GetTaskHistoryErrors, type GetTaskHistoryResponse, type GetTaskHistoryResponses, type GetTaskResponse, type GetTaskResponses, type GetToolData, type GetToolError, type GetToolErrors, type GetToolResponse, type GetToolResponses, type GetTraceData, type GetTraceError, type GetTraceErrors, type GetTraceResponse, type GetTraceResponses, type GetTraceTreeData, type GetTraceTreeError, type GetTraceTreeErrors, type GetTraceTreeResponse, type GetTraceTreeResponses, type GetTriggerData, type GetTriggerErrors, type GetTriggerFiringData, type GetTriggerFiringErrors, type GetTriggerFiringResponse, type GetTriggerFiringResponses, type GetTriggerResponse, type GetTriggerResponses, type GetTriggerSecretData, type GetTriggerSecretErrors, type GetTriggerSecretResponse, type GetTriggerSecretResponses, type GetUsageData, type GetUsageError, type GetUsageErrors, type GetUsageReceiptData, type GetUsageReceiptError, type GetUsageReceiptErrors, type GetUsageReceiptResponse, type GetUsageReceiptResponses, type GetUsageResponse, type GetUsageResponses, type GetUserData, type GetUserError, type GetUserErrors, type GetUserResponse, type GetUserResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type GetWebhookSecretData, type GetWebhookSecretErrors, type GetWebhookSecretResponse, type GetWebhookSecretResponses, type GetWorkflowData, type GetWorkflowErrors, type GetWorkflowResponse, type GetWorkflowResponses, type Guardrail, type GuardrailDocument, type GuardrailEvaluation, type GuardrailResourceProperties, type GuardrailVersion, Guardrails, type HumanInputRequest, type IngestDocumentData, type IngestDocumentError, type IngestDocumentErrors, type IngestDocumentResponse, type IngestDocumentResponses, type IngestedDocumentRecord, type IngestionRule, type IngestionRuleResourceProperties, IngestionRules, Knowledge, type KnowledgeResult, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListAiProvidersData, type ListAiProvidersErrors, type ListAiProvidersResponse, type ListAiProvidersResponses, type ListApiKeysData, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListApprovalsData, type ListApprovalsErrors, type ListApprovalsResponse, type ListApprovalsResponses, type ListAuditEntriesData, type ListAuditEntriesErrors, type ListAuditEntriesResponse, type ListAuditEntriesResponses, type ListChatsData, type ListChatsError, type ListChatsErrors, type ListChatsResponse, type ListChatsResponses, type ListConversationMessagesData, type ListConversationMessagesError, type ListConversationMessagesErrors, type ListConversationMessagesResponse, type ListConversationMessagesResponses, type ListConversationsData, type ListConversationsError, type ListConversationsErrors, type ListConversationsResponse, type ListConversationsResponses, type ListDiscussionRunsData, type ListDiscussionRunsError, type ListDiscussionRunsErrors, type ListDiscussionRunsResponse, type ListDiscussionRunsResponses, type ListDiscussionsData, type ListDiscussionsError, type ListDiscussionsErrors, type ListDiscussionsResponse, type ListDiscussionsResponses, type ListDocumentsData, type ListDocumentsError, type ListDocumentsErrors, type ListDocumentsResponse, type ListDocumentsResponses, type ListExceptionsData, type ListExceptionsErrors, type ListExceptionsResponse, type ListExceptionsResponses, type ListFilesData, type ListFilesError, type ListFilesErrors, type ListFilesResponse, type ListFilesResponses, type ListFormationEventsData, type ListFormationEventsErrors, type ListFormationEventsResponse, type ListFormationEventsResponses, type ListFormationsData, type ListFormationsErrors, type ListFormationsResponse, type ListFormationsResponses, type ListGenerationsData, type ListGenerationsError, type ListGenerationsErrors, type ListGenerationsResponse, type ListGenerationsResponses, type ListGuardrailsData, type ListGuardrailsError, type ListGuardrailsErrors, type ListGuardrailsResponse, type ListGuardrailsResponses, type ListIngestionRulesData, type ListIngestionRulesErrors, type ListIngestionRulesResponse, type ListIngestionRulesResponses, type ListMemoriesData, type ListMemoriesErrors, type ListMemoriesResponse, type ListMemoriesResponses, type ListMemoryEntriesData, type ListMemoryEntriesErrors, type ListMemoryEntriesResponse, type ListMemoryEntriesResponses, type ListOrchestrationRunsData, type ListOrchestrationRunsErrors, type ListOrchestrationRunsResponse, type ListOrchestrationRunsResponses, type ListOrchestrationsData, type ListOrchestrationsErrors, type ListOrchestrationsResponse, type ListOrchestrationsResponses, type ListPoliciesData, type ListPoliciesErrors, type ListPoliciesResponse, type ListPoliciesResponses, type ListProjectsData, type ListProjectsErrors, type ListProjectsResponse, type ListProjectsResponses, type ListQuotasData, type ListQuotasErrors, type ListQuotasResponse, type ListQuotasResponses, type ListSecretsData, type ListSecretsErrors, type ListSecretsResponse, type ListSecretsResponses, type ListSessionsData, type ListSessionsError, type ListSessionsErrors, type ListSessionsResponse, type ListSessionsResponses, type ListTasksData, type ListTasksErrors, type ListTasksResponse, type ListTasksResponses, type ListToolsData, type ListToolsError, type ListToolsErrors, type ListToolsResponse, type ListToolsResponses, type ListTracesData, type ListTracesError, type ListTracesErrors, type ListTracesResponse, type ListTracesResponses, type ListTriggerFiringsData, type ListTriggerFiringsErrors, type ListTriggerFiringsResponse, type ListTriggerFiringsResponses, type ListTriggersData, type ListTriggersErrors, type ListTriggersResponse, type ListTriggersResponses, type ListUsageMetersData, type ListUsageMetersError, type ListUsageMetersErrors, type ListUsageMetersResponse, type ListUsageMetersResponses, type ListUsageThresholdsData, type ListUsageThresholdsError, type ListUsageThresholdsErrors, type ListUsageThresholdsResponse, type ListUsageThresholdsResponses, type ListUsersData, type ListUsersError, type ListUsersErrors, type ListUsersResponse, type ListUsersResponses, type ListWebhookDeliveriesData, type ListWebhookDeliveriesErrors, type ListWebhookDeliveriesResponse, type ListWebhookDeliveriesResponses, type ListWebhooksData, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type ListWorkflowsData, type ListWorkflowsErrors, type ListWorkflowsResponse, type ListWorkflowsResponses, type LoginResponse, type LoginUserData, type LoginUserError, type LoginUserErrors, type LoginUserResponse, type LoginUserResponses, Memories, type Memory, MemoryEntries, type MemoryEntry, type MemoryEntryResourceProperties, type MemoryEntryWriteResult, type MemoryKnowledgeResult, type MemoryResourceProperties, type MergeActorTagsData, type MergeActorTagsError, type MergeActorTagsErrors, type MergeActorTagsResponse, type MergeActorTagsResponses, type MergeConversationTagsData, type MergeConversationTagsError, type MergeConversationTagsErrors, type MergeConversationTagsResponse, type MergeConversationTagsResponses, type MergeDocumentTagsData, type MergeDocumentTagsError, type MergeDocumentTagsErrors, type MergeDocumentTagsResponse, type MergeDocumentTagsResponses, type MergeFileTagsData, type MergeFileTagsError, type MergeFileTagsErrors, type MergeFileTagsResponse, type MergeFileTagsResponses, type MergeSessionTagsData, type MergeSessionTagsError, type MergeSessionTagsErrors, type MergeSessionTagsResponse, type MergeSessionTagsResponses, type NodeExecution, type Options, type Orchestration, type OrchestrationEdge, type OrchestrationId, type OrchestrationNode, type OrchestrationResourceProperties, type OrchestrationRun, Orchestrations, type ParameterDeclaration, type ParticipantInput, type ParticipantRecord, type PatchAgentData, type PatchAgentError, type PatchAgentErrors, type PatchAgentResponse, type PatchAgentResponses, type PlanChange, type PlanFormationData, type PlanFormationErrors, type PlanFormationResponse, type PlanFormationResponses, type PlanResult, Policies, type PolicyDocument, type PolicyRecord, type PolicyResourceProperties, type PolicyStatement, type PresignedUrlRequest, type PresignedUrlResponse, type Price, type PriceBookResponse, type ProjectPrice, type ProjectPriceResourceProperties, type ProjectPricesResponse, type ProjectRecord, Projects, type ProviderPrice, type ProviderPricesResponse, type QueueStats, type Quota, type QuotaResourceProperties, Quotas, type ReingestDocumentData, type ReingestDocumentError, type ReingestDocumentErrors, type ReingestDocumentResponse, type ReingestDocumentResponses, type RejectApprovalData, type RejectApprovalErrors, type RejectApprovalResponse, type RejectApprovalResponses, type RemoveConversationMessageData, type RemoveConversationMessageError, type RemoveConversationMessageErrors, type RemoveConversationMessageResponse, type RemoveConversationMessageResponses, type ReplaceActorTagsData, type ReplaceActorTagsError, type ReplaceActorTagsErrors, type ReplaceActorTagsResponse, type ReplaceActorTagsResponses, type ReplaceConversationTagsData, type ReplaceConversationTagsError, type ReplaceConversationTagsErrors, type ReplaceConversationTagsResponse, type ReplaceConversationTagsResponses, type ReplaceDocumentTagsData, type ReplaceDocumentTagsError, type ReplaceDocumentTagsErrors, type ReplaceDocumentTagsResponse, type ReplaceDocumentTagsResponses, type ReplaceFileTagsData, type ReplaceFileTagsError, type ReplaceFileTagsErrors, type ReplaceFileTagsResponse, type ReplaceFileTagsResponses, type ReplaceSessionTagsData, type ReplaceSessionTagsError, type ReplaceSessionTagsErrors, type ReplaceSessionTagsResponse, type ReplaceSessionTagsResponses, type RequiredAction, type ResolveExceptionData, type ResolveExceptionErrors, type ResolveExceptionResponse, type ResolveExceptionResponses, type ResourceDeclaration, type ResumeOrchestrationRunData, type ResumeOrchestrationRunErrors, type ResumeOrchestrationRunResponse, type ResumeOrchestrationRunResponses, type RotateTriggerSecretData, type RotateTriggerSecretErrors, type RotateTriggerSecretResponse, type RotateTriggerSecretResponses, type RotateWebhookSecretData, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RunId, type RunUsageTotals, type SearchKnowledgeData, type SearchKnowledgeError, type SearchKnowledgeErrors, type SearchKnowledgeResponse, type SearchKnowledgeResponses, type SecretResourceProperties, Secrets, type SendSessionMessageResponse, type SessionId, type SessionRecord, type SessionResourceProperties, Sessions, SoatClient, type SoatClientOptions, type StartOrchestrationRunData, type StartOrchestrationRunErrors, type StartOrchestrationRunResponse, type StartOrchestrationRunResponses, type StartRunRequest, type SubmitAgentToolOutputsData, type SubmitAgentToolOutputsError, type SubmitAgentToolOutputsErrors, type SubmitAgentToolOutputsResponse, type SubmitAgentToolOutputsResponses, type SubmitHumanInputData, type SubmitHumanInputErrors, type SubmitHumanInputResponse, type SubmitHumanInputResponses, type SubmitSessionToolOutputsData, type SubmitSessionToolOutputsError, type SubmitSessionToolOutputsErrors, type SubmitSessionToolOutputsRequest, type SubmitSessionToolOutputsResponse, type SubmitSessionToolOutputsResponses, type SubmitToolOutputsRequest, type SynthesisConfig, type Task, type TaskTransition, Tasks, type Tool, type ToolBinding, type ToolOutputMessageContent, type ToolResourceProperties, Tools, type Trace, type TraceTreeNode, Traces, type TransitionTaskData, type TransitionTaskErrors, type TransitionTaskRequest, type TransitionTaskResponse, type TransitionTaskResponses, type Trigger, type TriggerFiring, type TriggerFiringListResponse, type TriggerResourceProperties, type TriggerSecretResponse, type TriggerWithSecret, Triggers, type UpdateActorData, type UpdateActorError, type UpdateActorErrors, type UpdateActorResponse, type UpdateActorResponses, type UpdateAgentData, type UpdateAgentError, type UpdateAgentErrors, type UpdateAgentRequest, type UpdateAgentResponse, type UpdateAgentResponses, type UpdateAiProviderData, type UpdateAiProviderErrors, type UpdateAiProviderPricesData, type UpdateAiProviderPricesErrors, type UpdateAiProviderPricesResponse, type UpdateAiProviderPricesResponses, type UpdateAiProviderResponses, type UpdateApiKeyData, type UpdateApiKeyError, type UpdateApiKeyErrors, type UpdateApiKeyResponse, type UpdateApiKeyResponses, type UpdateConversationData, type UpdateConversationError, type UpdateConversationErrors, type UpdateConversationResponse, type UpdateConversationResponses, type UpdateDiscussionData, type UpdateDiscussionError, type UpdateDiscussionErrors, type UpdateDiscussionResponse, type UpdateDiscussionResponses, type UpdateDocumentData, type UpdateDocumentError, type UpdateDocumentErrors, type UpdateDocumentResponse, type UpdateDocumentResponses, type UpdateFileMetadataData, type UpdateFileMetadataError, type UpdateFileMetadataErrors, type UpdateFileMetadataResponse, type UpdateFileMetadataResponses, type UpdateFormationData, type UpdateFormationErrors, type UpdateFormationResponse, type UpdateFormationResponses, type UpdateGenerationData, type UpdateGenerationError, type UpdateGenerationErrors, type UpdateGenerationRequest, type UpdateGenerationResponse, type UpdateGenerationResponses, type UpdateGuardrailData, type UpdateGuardrailError, type UpdateGuardrailErrors, type UpdateGuardrailRequest, type UpdateGuardrailResponse, type UpdateGuardrailResponses, type UpdateIngestionRuleData, type UpdateIngestionRuleErrors, type UpdateIngestionRuleResponse, type UpdateIngestionRuleResponses, type UpdateMemoryData, type UpdateMemoryEntryData, type UpdateMemoryEntryErrors, type UpdateMemoryEntryResponse, type UpdateMemoryEntryResponses, type UpdateMemoryErrors, type UpdateMemoryResponse, type UpdateMemoryResponses, type UpdateOrchestrationData, type UpdateOrchestrationErrors, type UpdateOrchestrationRequest, type UpdateOrchestrationResponse, type UpdateOrchestrationResponses, type UpdatePolicyData, type UpdatePolicyError, type UpdatePolicyErrors, type UpdatePolicyResponse, type UpdatePolicyResponses, type UpdateProjectData, type UpdateProjectErrors, type UpdateProjectPricesData, type UpdateProjectPricesErrors, type UpdateProjectPricesResponse, type UpdateProjectPricesResponses, type UpdateProjectResponse, type UpdateProjectResponses, type UpdateQuotaData, type UpdateQuotaErrors, type UpdateQuotaResponse, type UpdateQuotaResponses, type UpdateSecretData, type UpdateSecretErrors, type UpdateSecretResponses, type UpdateSessionData, type UpdateSessionError, type UpdateSessionErrors, type UpdateSessionRequest, type UpdateSessionResponse, type UpdateSessionResponses, type UpdateTaskData, type UpdateTaskErrors, type UpdateTaskRequest, type UpdateTaskResponse, type UpdateTaskResponses, type UpdateToolData, type UpdateToolError, type UpdateToolErrors, type UpdateToolRequest, type UpdateToolResponse, type UpdateToolResponses, type UpdateTriggerData, type UpdateTriggerErrors, type UpdateTriggerRequest, type UpdateTriggerResponse, type UpdateTriggerResponses, type UpdateWebhookData, type UpdateWebhookErrors, type UpdateWebhookRequest, type UpdateWebhookResponse, type UpdateWebhookResponses, type UpdateWorkflowData, type UpdateWorkflowErrors, type UpdateWorkflowRequest, type UpdateWorkflowResponse, type UpdateWorkflowResponses, type UploadFileBase64Data, type UploadFileBase64Error, type UploadFileBase64Errors, type UploadFileBase64Request, type UploadFileBase64Response, type UploadFileBase64Responses, type UploadFileData, type UploadFileError, type UploadFileErrors, type UploadFileResponse, type UploadFileResponses, type UploadFileWithTokenData, type UploadFileWithTokenError, type UploadFileWithTokenErrors, type UploadFileWithTokenRequest, type UploadFileWithTokenResponse, type UploadFileWithTokenResponses, type UpsertPriceBookData, type UpsertPriceBookError, type UpsertPriceBookErrors, type UpsertPriceBookResponse, type UpsertPriceBookResponses, type UpsertPricesRequest, type UpsertProjectPricesRequest, type UpsertProviderPricesRequest, Usage, type UsageAggregate, type UsageAggregateTotals, type UsageComponent, type UsageEvent, type UsageReceipt, type UsageThreshold, type UserRecord, Users, type ValidateFormationData, type ValidateFormationErrors, type ValidateFormationResponse, type ValidateFormationResponses, type ValidateOrchestrationData, type ValidateOrchestrationErrors, type ValidateOrchestrationRequest, type ValidateOrchestrationResponse, type ValidateOrchestrationResponses, type ValidationError, type ValidationResult, type Webhook, type WebhookResourceProperties, type WebhookSecretResponse, type WebhookWithSecret, Webhooks, type Workflow, type WorkflowResourceProperties, type WorkflowState, type WorkflowTransition, Workflows, createClient, createConfig };