@soat/sdk 0.15.10 → 0.15.12

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.mts CHANGED
@@ -432,6 +432,10 @@ type Agent = {
432
432
  * Subset of toolIds active per step
433
433
  */
434
434
  active_tool_ids?: Array<string> | null;
435
+ /**
436
+ * Guardrails attached at the agent scope, governing every tool call the agent makes.
437
+ */
438
+ guardrail_ids?: Array<string> | null;
435
439
  /**
436
440
  * Per-step overrides
437
441
  */
@@ -502,7 +506,7 @@ type Agent = {
502
506
  updated_at?: Date;
503
507
  };
504
508
  /**
505
- * One agent↔tool attachment. Exactly one of `tool_id` (persisted tool reference) or `tool` (inline ephemeral definition) per entry, plus the binding-scoped `approval_policy`.
509
+ * One agent↔tool attachment. Exactly one of `tool_id` (persisted tool reference) or `tool` (inline ephemeral definition) per entry. Tool-call gating is owned by [Guardrails](/docs/modules/guardrails), attached via `guardrail_ids` on the project, agent, or tool — not on the binding.
506
510
  */
507
511
  type ToolBinding = {
508
512
  /**
@@ -510,37 +514,7 @@ type ToolBinding = {
510
514
  */
511
515
  tool_id?: string;
512
516
  tool?: CreateToolRequest;
513
- approval_policy?: ToolApprovalPolicy;
514
517
  };
515
- /**
516
- * Allow / require-approval / deny gate evaluated by the platform on every call of the bound tool. `require_approval` files an item in the approvals queue; the call executes only if approved before expiry. Not supported on `client` tool bindings. See [Approval Policy](/docs/modules/agents#approval-policy).
517
- */
518
- type ToolApprovalPolicy = {
519
- /**
520
- * Effect applied when no rule matches.
521
- */
522
- default: 'allow' | 'require_approval' | 'deny';
523
- /**
524
- * Ordered rule list; first match wins.
525
- */
526
- rules?: Array<{
527
- /**
528
- * JSON Logic over `{ "action": …, "arguments": … }` — the resolved call.
529
- */
530
- when: {
531
- [key: string]: unknown;
532
- };
533
- effect: 'allow' | 'require_approval' | 'deny';
534
- }>;
535
- /**
536
- * Seconds until a filed approval item expires (default 86400 = 24h). Expiry is a server-enforced hard gate.
537
- */
538
- expires_in?: number;
539
- /**
540
- * Guidance injected into the tool's model-visible description telling the model how to justify guarded calls (via the `approval_*` fields). A default instruction is used when omitted.
541
- */
542
- reasoning_prompt?: string | null;
543
- } | null;
544
518
  type CreateAgentRequest = {
545
519
  /**
546
520
  * Public ID of the project
@@ -578,6 +552,10 @@ type CreateAgentRequest = {
578
552
  [key: string]: unknown;
579
553
  }>;
580
554
  active_tool_ids?: Array<string>;
555
+ /**
556
+ * Guardrails attached at the agent scope.
557
+ */
558
+ guardrail_ids?: Array<string> | null;
581
559
  step_rules?: Array<{
582
560
  [key: string]: unknown;
583
561
  }>;
@@ -643,7 +621,7 @@ type UpdateAgentRequest = {
643
621
  */
644
622
  tool_bindings?: Array<ToolBinding> | null;
645
623
  /**
646
- * Deprecated shorthand — replaces only the reference (`tool_id`) bindings, rewriting them bare (any `approval_policy` on them is dropped). Use `tool_bindings` instead.
624
+ * Deprecated shorthand — replaces only the reference (`tool_id`) bindings, rewriting them bare. Use `tool_bindings` instead.
647
625
  *
648
626
  * @deprecated
649
627
  */
@@ -663,6 +641,10 @@ type UpdateAgentRequest = {
663
641
  [key: string]: unknown;
664
642
  }> | null;
665
643
  active_tool_ids?: Array<string> | null;
644
+ /**
645
+ * Guardrails attached at the agent scope.
646
+ */
647
+ guardrail_ids?: Array<string> | null;
666
648
  step_rules?: Array<{
667
649
  [key: string]: unknown;
668
650
  }> | null;
@@ -753,6 +735,12 @@ type CreateAgentGenerationRequest = {
753
735
  * Logical action label recorded on the generation's usage meter, so spend can be rolled up per action (e.g. an A/B/C/D operating action).
754
736
  */
755
737
  action_id?: string;
738
+ /**
739
+ * Caller-supplied guardrail context (the `context.*` namespace guard and class expressions read at tool-dispatch time). Free-form and never interpreted by the platform; a guardrail may combine it with a `context_tool` per its `context_mode`. See the guardrails module.
740
+ */
741
+ guardrail_context?: {
742
+ [key: string]: unknown;
743
+ } | null;
756
744
  /**
757
745
  * Caller-supplied key/value metadata attached to the generation record for per-run audit attribution (e.g. the knowledge-corpus version that produced this action). Round-trips when the generation is fetched via the generations API. Reserved server-owned keys (`action_id`, `trigger_id`, `run_id`, `node_id`, `extraction`, and internal recovery state) cannot be set here and are rejected with 400.
758
746
  */
@@ -1026,6 +1014,47 @@ type ApprovalItem = {
1026
1014
  created_at?: Date;
1027
1015
  updated_at?: Date;
1028
1016
  };
1017
+ type AuditEntry = {
1018
+ id?: string;
1019
+ /**
1020
+ * Project the action targeted; null for global actions
1021
+ */
1022
+ project_id?: string | null;
1023
+ actor_type?: 'user' | 'api_key';
1024
+ /**
1025
+ * Public id of the principal (`user_…` or `key_…`)
1026
+ */
1027
+ actor_id?: string;
1028
+ /**
1029
+ * The permission-action string that authorized the request
1030
+ */
1031
+ action?: string;
1032
+ /**
1033
+ * SRN the action targeted (type-level `soat:{project}:{type}:*` on creates)
1034
+ */
1035
+ resource_srn?: string | null;
1036
+ /**
1037
+ * Target resource public id (from the SRN, or the response body on creates)
1038
+ */
1039
+ resource_public_id?: string | null;
1040
+ /**
1041
+ * HTTP status of the response
1042
+ */
1043
+ status?: number;
1044
+ /**
1045
+ * Per-request correlation id (also returned in the X-Request-Id header)
1046
+ */
1047
+ request_id?: string | null;
1048
+ ip?: string | null;
1049
+ user_agent?: string | null;
1050
+ /**
1051
+ * Kind-specific payload; multi-check routes record the remaining checks under `additional_checks`
1052
+ */
1053
+ detail?: {
1054
+ [key: string]: unknown;
1055
+ } | null;
1056
+ created_at?: Date;
1057
+ };
1029
1058
  type Chat = {
1030
1059
  /**
1031
1060
  * Public ID of the chat
@@ -1454,6 +1483,64 @@ type EmbeddingsResponse = {
1454
1483
  */
1455
1484
  embeddings?: Array<Array<number>>;
1456
1485
  };
1486
+ type ExceptionItem = {
1487
+ id?: string;
1488
+ project_id?: string;
1489
+ status?: 'open' | 'acknowledged' | 'resolved';
1490
+ severity?: 'info' | 'warning' | 'critical';
1491
+ /**
1492
+ * How the exception was filed
1493
+ */
1494
+ kind?: 'run_failed' | 'guardrail_tripwire' | 'approval_expired' | 'manual';
1495
+ /**
1496
+ * Human-readable one-line summary
1497
+ */
1498
+ title?: string;
1499
+ /**
1500
+ * Structured context (tool, args digest, error message, guardrail version)
1501
+ */
1502
+ detail?: {
1503
+ [key: string]: unknown;
1504
+ } | null;
1505
+ /**
1506
+ * How many times this exact failure has been observed while open
1507
+ */
1508
+ occurrence_count?: number;
1509
+ /**
1510
+ * Timestamp of the most recent occurrence
1511
+ */
1512
+ last_seen_at?: Date;
1513
+ /**
1514
+ * Originating orchestration run
1515
+ */
1516
+ run_id?: string | null;
1517
+ /**
1518
+ * Originating node id within the run's graph
1519
+ */
1520
+ node_id?: string | null;
1521
+ /**
1522
+ * Associated agent
1523
+ */
1524
+ agent_id?: string | null;
1525
+ /**
1526
+ * `<guardrailId>@<version>` for a guardrail_tripwire exception
1527
+ */
1528
+ guardrail_version?: string | null;
1529
+ /**
1530
+ * Acknowledging user's public ID
1531
+ */
1532
+ acknowledged_by?: string | null;
1533
+ /**
1534
+ * Resolving user's public ID
1535
+ */
1536
+ resolved_by?: string | null;
1537
+ /**
1538
+ * Optional note recorded at resolution
1539
+ */
1540
+ resolution_note?: string | null;
1541
+ created_at?: Date;
1542
+ updated_at?: Date;
1543
+ };
1457
1544
  type UploadFileBase64Request = {
1458
1545
  /**
1459
1546
  * Public ID of the project
@@ -1650,7 +1737,7 @@ type AgentResourceProperties = {
1650
1737
  */
1651
1738
  model?: string | null;
1652
1739
  /**
1653
- * Tools to attach, one binding object per tool: `{ tool_id, approval_policy? }`. Canonical form — cannot be combined with the deprecated `tool_ids`. Inline `tool` entries are not supported in templates; declare a tool resource and reference it via `tool_id` (a `{ "ref": … }` to a tool resource in the same template resolves at deploy time).
1740
+ * Tools to attach, one binding object per tool: `{ tool_id }`. Canonical form — cannot be combined with the deprecated `tool_ids`. Tool-call gating is owned by guardrails (attached via `guardrail_ids` on the project, agent, or tool), not by the binding. Inline `tool` entries are not supported in templates; declare a tool resource and reference it via `tool_id` (a `{ "ref": … }` to a tool resource in the same template resolves at deploy time).
1654
1741
  */
1655
1742
  tool_bindings?: Array<{
1656
1743
  [key: string]: unknown;
@@ -1686,6 +1773,10 @@ type AgentResourceProperties = {
1686
1773
  * Subset of tool_ids that are active
1687
1774
  */
1688
1775
  active_tool_ids?: Array<string> | null;
1776
+ /**
1777
+ * Guardrails attached at the agent scope.
1778
+ */
1779
+ guardrail_ids?: Array<string> | null;
1689
1780
  /**
1690
1781
  * Per-step overrides applied during multi-step generation. Steps not covered by a rule use the agent defaults.
1691
1782
  */
@@ -1950,6 +2041,10 @@ type ToolResourceProperties = {
1950
2041
  output_mapping?: {
1951
2042
  [key: string]: unknown;
1952
2043
  } | null;
2044
+ /**
2045
+ * Guardrails attached at the tool scope.
2046
+ */
2047
+ guardrail_ids?: Array<string> | null;
1953
2048
  };
1954
2049
  /**
1955
2050
  * Stores a text document in a project, optionally indexing it for knowledge retrieval.
@@ -2435,16 +2530,86 @@ type WorkflowResourceProperties = {
2435
2530
  [key: string]: unknown;
2436
2531
  } | null;
2437
2532
  };
2533
+ /**
2534
+ * 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).
2535
+ */
2536
+ type QuotaResourceProperties = {
2537
+ /**
2538
+ * The scope the quota applies to
2539
+ */
2540
+ scope: 'project' | 'api_key' | 'agent';
2541
+ /**
2542
+ * Public id of the api key / agent the quota applies to. NULL means all entities of that scope type in the project.
2543
+ */
2544
+ scope_ref?: string | null;
2545
+ /**
2546
+ * The metric being capped
2547
+ */
2548
+ metric: 'requests' | 'tokens' | 'cost_usd';
2549
+ /**
2550
+ * The window over which the metric is aggregated
2551
+ */
2552
+ window: 'rolling_1m' | 'rolling_1h' | 'rolling_24h' | 'calendar_month';
2553
+ /**
2554
+ * The cap. Positive integer for requests/tokens; fractional allowed for cost_usd.
2555
+ */
2556
+ limit: number;
2557
+ /**
2558
+ * enforce blocks with 429; monitor fires the webhook only
2559
+ */
2560
+ mode?: 'enforce' | 'monitor';
2561
+ };
2562
+ /**
2563
+ * 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.
2564
+ */
2565
+ type GuardrailResourceProperties = {
2566
+ /**
2567
+ * Human-readable name
2568
+ */
2569
+ name: string;
2570
+ /**
2571
+ * Optional description
2572
+ */
2573
+ description?: string | null;
2574
+ /**
2575
+ * A class literal (`A` / `B` / `C` / `D`) or a JSON Logic expression returning one. An invalid result resolves to `default_class`.
2576
+ */
2577
+ class: 'A' | 'B' | 'C' | 'D' | {
2578
+ [key: string]: unknown;
2579
+ };
2580
+ /**
2581
+ * Applied when the `class` expression returns anything other than a valid class. Defaults to `C` (fail-closed).
2582
+ */
2583
+ default_class?: 'A' | 'B' | 'C' | 'D';
2584
+ /**
2585
+ * A single JSON Logic expression; when the call classifies as `B` it executes only if this evaluates truthy.
2586
+ */
2587
+ guard?: {
2588
+ [key: string]: unknown;
2589
+ } | null;
2590
+ /**
2591
+ * When true, a passing guard still files an approval item.
2592
+ */
2593
+ escalate?: boolean | null;
2594
+ /**
2595
+ * Optional tool the platform calls at evaluation time to fetch fresh guardrail context.
2596
+ */
2597
+ context_tool_id?: string | null;
2598
+ /**
2599
+ * How tool-fetched context combines with the caller-supplied context.
2600
+ */
2601
+ context_mode?: 'merge' | 'replace';
2602
+ };
2438
2603
  type ResourceDeclaration = {
2439
2604
  /**
2440
2605
  * Resource type
2441
2606
  */
2442
- 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';
2607
+ 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';
2443
2608
  /**
2444
2609
  * 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.
2445
2610
  *
2446
2611
  */
2447
- properties: AgentResourceProperties | ActorResourceProperties | AiProviderResourceProperties | ToolResourceProperties | ApiKeyResourceProperties | ChatResourceProperties | ConversationResourceProperties | DiscussionResourceProperties | DocumentResourceProperties | FileResourceProperties | IngestionRuleResourceProperties | MemoryResourceProperties | MemoryEntryResourceProperties | OrchestrationResourceProperties | PolicyResourceProperties | ProjectPriceResourceProperties | SecretResourceProperties | SessionResourceProperties | WebhookResourceProperties | TriggerResourceProperties | WorkflowResourceProperties;
2612
+ properties: AgentResourceProperties | ActorResourceProperties | AiProviderResourceProperties | ToolResourceProperties | ApiKeyResourceProperties | ChatResourceProperties | ConversationResourceProperties | DiscussionResourceProperties | DocumentResourceProperties | FileResourceProperties | GuardrailResourceProperties | IngestionRuleResourceProperties | MemoryResourceProperties | MemoryEntryResourceProperties | OrchestrationResourceProperties | PolicyResourceProperties | ProjectPriceResourceProperties | QuotaResourceProperties | SecretResourceProperties | SessionResourceProperties | WebhookResourceProperties | TriggerResourceProperties | WorkflowResourceProperties;
2448
2613
  /**
2449
2614
  * Explicit dependency list. In addition to implicit `ref` dependencies.
2450
2615
  */
@@ -2697,6 +2862,148 @@ type UpdateGenerationRequest = {
2697
2862
  [key: string]: unknown;
2698
2863
  };
2699
2864
  };
2865
+ /**
2866
+ * The action-class document. `class` maps a call to an action class; `guard` gates class-B autonomy. Both are single JSON Logic expressions over the `args.*` / `context.*` / `soat.*` namespaces.
2867
+ *
2868
+ */
2869
+ type GuardrailDocument = {
2870
+ /**
2871
+ * A class literal (`A` / `B` / `C` / `D`) or a JSON Logic expression returning one. An invalid result resolves to `default_class`.
2872
+ *
2873
+ */
2874
+ class: 'A' | 'B' | 'C' | 'D' | {
2875
+ [key: string]: unknown;
2876
+ };
2877
+ /**
2878
+ * Applied when the `class` expression returns anything other than a valid class. Defaults to `C` (fail-closed).
2879
+ *
2880
+ */
2881
+ default_class?: 'A' | 'B' | 'C' | 'D';
2882
+ /**
2883
+ * A single JSON Logic expression; when the call classifies as `B` it must evaluate truthy to execute autonomously. Compose multiple conditions with `{ "and": [...] }`.
2884
+ *
2885
+ */
2886
+ guard?: {
2887
+ [key: string]: unknown;
2888
+ };
2889
+ /**
2890
+ * When `true`, a failing guard routes to approval instead of tripping fail-closed.
2891
+ *
2892
+ */
2893
+ escalate?: boolean;
2894
+ /**
2895
+ * 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.
2896
+ *
2897
+ */
2898
+ expires_in?: number;
2899
+ [key: string]: unknown;
2900
+ };
2901
+ type Guardrail = {
2902
+ /**
2903
+ * Public ID of the guardrail
2904
+ */
2905
+ id?: string;
2906
+ /**
2907
+ * Public ID of the owning project
2908
+ */
2909
+ project_id?: string;
2910
+ /**
2911
+ * Human-readable name
2912
+ */
2913
+ name?: string;
2914
+ /**
2915
+ * Optional description
2916
+ */
2917
+ description?: string | null;
2918
+ /**
2919
+ * Incremented on every document write; prior versions are archived
2920
+ */
2921
+ version?: number;
2922
+ document?: GuardrailDocument;
2923
+ /**
2924
+ * Optional tool the platform calls at evaluation time to fetch fresh guardrail context.
2925
+ *
2926
+ */
2927
+ context_tool_id?: string | null;
2928
+ /**
2929
+ * How tool-fetched context combines with the caller-supplied context.
2930
+ *
2931
+ */
2932
+ context_mode?: 'merge' | 'replace';
2933
+ created_at?: Date;
2934
+ updated_at?: Date;
2935
+ };
2936
+ /**
2937
+ * The record produced by evaluating a guardrail against one call — written to the audit trail at dispatch time (one per applying guardrail) and returned verbatim by the dry-run endpoint.
2938
+ *
2939
+ */
2940
+ type GuardrailEvaluation = {
2941
+ /**
2942
+ * Always `guardrail_evaluation`.
2943
+ */
2944
+ kind?: string;
2945
+ guardrail_id?: string;
2946
+ /**
2947
+ * The governing version; null for a dangling reference (fail-closed C).
2948
+ */
2949
+ guardrail_version?: number | null;
2950
+ scope?: 'project' | 'agent' | 'tool';
2951
+ tool?: string | null;
2952
+ action?: string | null;
2953
+ /**
2954
+ * The resolved class (or the applied default_class).
2955
+ */
2956
+ class?: 'A' | 'B' | 'C' | 'D';
2957
+ decision?: 'execute' | 'route_to_approval' | 'blocked' | 'tripwire';
2958
+ /**
2959
+ * The guard outcome; null when the call did not classify as B.
2960
+ */
2961
+ guard_result?: boolean | null;
2962
+ context_source?: 'caller' | 'tool' | 'merged' | 'none';
2963
+ /**
2964
+ * Flat map of only the vars the class/guard expressions referenced, keyed by fully-qualified path, frozen at evaluation-time values.
2965
+ *
2966
+ */
2967
+ context_snapshot?: {
2968
+ [key: string]: unknown;
2969
+ };
2970
+ agent_id?: string | null;
2971
+ run_id?: string | null;
2972
+ generation_id?: string | null;
2973
+ };
2974
+ type GuardrailVersion = {
2975
+ /**
2976
+ * Public ID of the guardrail this version belongs to
2977
+ */
2978
+ guardrail_id?: string;
2979
+ /**
2980
+ * The archived version number
2981
+ */
2982
+ version?: number;
2983
+ document?: GuardrailDocument;
2984
+ created_at?: Date;
2985
+ };
2986
+ type CreateGuardrailRequest = {
2987
+ /**
2988
+ * Public ID of the project
2989
+ */
2990
+ project_id?: string;
2991
+ /**
2992
+ * Human-readable name
2993
+ */
2994
+ name: string;
2995
+ description?: string | null;
2996
+ document: GuardrailDocument;
2997
+ context_tool_id?: string | null;
2998
+ context_mode?: 'merge' | 'replace';
2999
+ };
3000
+ type UpdateGuardrailRequest = {
3001
+ name?: string;
3002
+ description?: string | null;
3003
+ document?: GuardrailDocument;
3004
+ context_tool_id?: string | null;
3005
+ context_mode?: 'merge' | 'replace';
3006
+ };
2700
3007
  type IngestionRule = {
2701
3008
  id?: string;
2702
3009
  project_id?: string;
@@ -2863,6 +3170,46 @@ type MemoryEntryWriteResult = MemoryEntry & {
2863
3170
  */
2864
3171
  action?: 'created' | 'updated' | 'skipped';
2865
3172
  };
3173
+ /**
3174
+ * A point-in-time snapshot of the orchestration run queue.
3175
+ */
3176
+ type QueueStats = {
3177
+ /**
3178
+ * The active queue driver.
3179
+ */
3180
+ driver?: string;
3181
+ /**
3182
+ * Tasks waiting to be claimed now (unclaimed and past their `available_at`). Backoff-delayed tasks are excluded.
3183
+ */
3184
+ queue_depth?: number;
3185
+ /**
3186
+ * Tasks currently claimed with a valid (unexpired) lease.
3187
+ */
3188
+ claimed_tasks?: number;
3189
+ /**
3190
+ * Age in seconds of the oldest claimable-now task, or `null` when none are waiting.
3191
+ */
3192
+ oldest_queued_age_seconds?: number | null;
3193
+ /**
3194
+ * 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.
3195
+ */
3196
+ claim_latency_ms?: {
3197
+ p50?: number | null;
3198
+ p95?: number | null;
3199
+ window_seconds?: number;
3200
+ };
3201
+ /**
3202
+ * One row per project with any queued or claimed task.
3203
+ */
3204
+ per_project?: Array<{
3205
+ /**
3206
+ * Public project ID (proj_ prefix).
3207
+ */
3208
+ project_id?: string;
3209
+ queued?: number;
3210
+ claimed?: number;
3211
+ }>;
3212
+ };
2866
3213
  /**
2867
3214
  * A single execution unit in the orchestration graph.
2868
3215
  */
@@ -3335,6 +3682,14 @@ type ProjectRecord = {
3335
3682
  */
3336
3683
  id?: string;
3337
3684
  name?: string;
3685
+ /**
3686
+ * Guardrails attached at the project scope — the baseline governing every tool call by every agent in the project.
3687
+ */
3688
+ guardrail_ids?: Array<string> | null;
3689
+ /**
3690
+ * Maximum orchestration runs of this project driven at once. `null` means unlimited (the default). Enforced at queue claim time.
3691
+ */
3692
+ max_concurrent_runs?: number | null;
3338
3693
  created_at?: Date;
3339
3694
  updated_at?: Date;
3340
3695
  };
@@ -3400,13 +3755,33 @@ type UpsertProjectPricesRequest = {
3400
3755
  effective_from: Date;
3401
3756
  }>;
3402
3757
  };
3403
- type SessionRecord = {
3404
- /**
3405
- * Session public ID
3406
- */
3758
+ type Quota = {
3407
3759
  id?: string;
3760
+ project_id?: string;
3761
+ scope?: 'project' | 'api_key' | 'agent';
3762
+ scope_ref?: string | null;
3763
+ metric?: 'requests' | 'tokens' | 'cost_usd';
3764
+ window?: 'rolling_1m' | 'rolling_1h' | 'rolling_24h' | 'calendar_month';
3765
+ limit?: number;
3766
+ mode?: 'enforce' | 'monitor';
3408
3767
  /**
3409
- * Agent public ID
3768
+ * 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.
3769
+ */
3770
+ current_usage?: {
3771
+ window_key?: string;
3772
+ count?: number;
3773
+ resets_at?: Date;
3774
+ } | null;
3775
+ created_at?: Date;
3776
+ updated_at?: Date;
3777
+ };
3778
+ type SessionRecord = {
3779
+ /**
3780
+ * Session public ID
3781
+ */
3782
+ id?: string;
3783
+ /**
3784
+ * Agent public ID
3410
3785
  */
3411
3786
  agent_id?: string;
3412
3787
  /**
@@ -3758,6 +4133,10 @@ type Tool = {
3758
4133
  output_mapping?: {
3759
4134
  [key: string]: unknown;
3760
4135
  } | null;
4136
+ /**
4137
+ * Guardrails attached at the tool scope, governing this tool wherever it is used, by any agent.
4138
+ */
4139
+ guardrail_ids?: Array<string> | null;
3761
4140
  created_at?: Date;
3762
4141
  updated_at?: Date;
3763
4142
  };
@@ -3827,6 +4206,10 @@ type CreateToolRequest = {
3827
4206
  output_mapping?: {
3828
4207
  [key: string]: unknown;
3829
4208
  };
4209
+ /**
4210
+ * Guardrails attached at the tool scope.
4211
+ */
4212
+ guardrail_ids?: Array<string> | null;
3830
4213
  };
3831
4214
  type UpdateToolRequest = {
3832
4215
  name?: string;
@@ -3875,6 +4258,10 @@ type UpdateToolRequest = {
3875
4258
  output_mapping?: {
3876
4259
  [key: string]: unknown;
3877
4260
  } | null;
4261
+ /**
4262
+ * Guardrails attached at the tool scope.
4263
+ */
4264
+ guardrail_ids?: Array<string> | null;
3878
4265
  };
3879
4266
  type CallToolRequest = {
3880
4267
  /**
@@ -4492,7 +4879,7 @@ type WorkflowState = {
4492
4879
  initial?: boolean;
4493
4880
  terminal?: boolean;
4494
4881
  /**
4495
- * Reserved: `human` for a human-in-the-loop parking state.
4882
+ * `human` marks a human-in-the-loop parking state: the state never dispatches (declaring `on_enter` on it is rejected at validation) and the task parks until a principal fires a transition.
4496
4883
  */
4497
4884
  kind?: string;
4498
4885
  /**
@@ -4589,6 +4976,10 @@ type FileRecordWritable = {
4589
4976
  * Approval item ID
4590
4977
  */
4591
4978
  type ApprovalId = string;
4979
+ /**
4980
+ * Exception item ID
4981
+ */
4982
+ type ExceptionId = string;
4592
4983
  /**
4593
4984
  * Public ID of the orchestration (orch_...)
4594
4985
  */
@@ -5876,6 +6267,107 @@ type RejectApprovalResponses = {
5876
6267
  200: ApprovalItem;
5877
6268
  };
5878
6269
  type RejectApprovalResponse = RejectApprovalResponses[keyof RejectApprovalResponses];
6270
+ type ListAuditEntriesData = {
6271
+ body?: never;
6272
+ path?: never;
6273
+ query?: {
6274
+ /**
6275
+ * Project ID (scopes results; required if not using project key auth for a specific project)
6276
+ */
6277
+ project_id?: string;
6278
+ /**
6279
+ * Exact permission-action string, e.g. `secrets:DeleteSecret`
6280
+ */
6281
+ action?: string;
6282
+ /**
6283
+ * Public id of the principal (`user_…` or `key_…`)
6284
+ */
6285
+ actor_id?: string;
6286
+ /**
6287
+ * Exact target resource public id, e.g. `sec_…`
6288
+ */
6289
+ resource_public_id?: string;
6290
+ /**
6291
+ * SRN prefix match, e.g. `soat:{project}:secret:`
6292
+ */
6293
+ resource_srn?: string;
6294
+ /**
6295
+ * Only entries created at or after this timestamp (ISO 8601)
6296
+ */
6297
+ from?: Date;
6298
+ /**
6299
+ * Only entries created at or before this timestamp (ISO 8601)
6300
+ */
6301
+ to?: Date;
6302
+ /**
6303
+ * Number of results per page (1–200, default 25)
6304
+ */
6305
+ limit?: number;
6306
+ /**
6307
+ * Number of results to skip
6308
+ */
6309
+ offset?: number;
6310
+ };
6311
+ url: '/api/v1/audit-log';
6312
+ };
6313
+ type ListAuditEntriesErrors = {
6314
+ /**
6315
+ * Unauthorized
6316
+ */
6317
+ 401: unknown;
6318
+ /**
6319
+ * Forbidden
6320
+ */
6321
+ 403: unknown;
6322
+ /**
6323
+ * Internal server error
6324
+ */
6325
+ 500: unknown;
6326
+ };
6327
+ type ListAuditEntriesResponses = {
6328
+ /**
6329
+ * A page of audit entries
6330
+ */
6331
+ 200: {
6332
+ data?: Array<AuditEntry>;
6333
+ total?: number;
6334
+ limit?: number;
6335
+ offset?: number;
6336
+ };
6337
+ };
6338
+ type ListAuditEntriesResponse = ListAuditEntriesResponses[keyof ListAuditEntriesResponses];
6339
+ type GetAuditEntryData = {
6340
+ body?: never;
6341
+ path: {
6342
+ /**
6343
+ * Audit entry ID
6344
+ */
6345
+ entry_id: string;
6346
+ };
6347
+ query?: never;
6348
+ url: '/api/v1/audit-log/{entry_id}';
6349
+ };
6350
+ type GetAuditEntryErrors = {
6351
+ /**
6352
+ * Unauthorized
6353
+ */
6354
+ 401: unknown;
6355
+ /**
6356
+ * Forbidden
6357
+ */
6358
+ 403: unknown;
6359
+ /**
6360
+ * Audit entry not found
6361
+ */
6362
+ 404: unknown;
6363
+ };
6364
+ type GetAuditEntryResponses = {
6365
+ /**
6366
+ * Audit entry details
6367
+ */
6368
+ 200: AuditEntry;
6369
+ };
6370
+ type GetAuditEntryResponse = GetAuditEntryResponses[keyof GetAuditEntryResponses];
5879
6371
  type ListChatsData = {
5880
6372
  body?: never;
5881
6373
  path?: never;
@@ -7476,6 +7968,159 @@ type CreateEmbeddingsResponses = {
7476
7968
  200: EmbeddingsResponse;
7477
7969
  };
7478
7970
  type CreateEmbeddingsResponse = CreateEmbeddingsResponses[keyof CreateEmbeddingsResponses];
7971
+ type ListExceptionsData = {
7972
+ body?: never;
7973
+ path?: never;
7974
+ query?: {
7975
+ /**
7976
+ * Project ID (required if not using project key auth)
7977
+ */
7978
+ project_id?: string;
7979
+ /**
7980
+ * Filter by triage status
7981
+ */
7982
+ status?: 'open' | 'acknowledged' | 'resolved';
7983
+ /**
7984
+ * Filter by severity
7985
+ */
7986
+ severity?: 'info' | 'warning' | 'critical';
7987
+ /**
7988
+ * Filter by how the exception was filed
7989
+ */
7990
+ kind?: 'run_failed' | 'guardrail_tripwire' | 'approval_expired' | 'manual';
7991
+ };
7992
+ url: '/api/v1/exceptions';
7993
+ };
7994
+ type ListExceptionsErrors = {
7995
+ /**
7996
+ * Unauthorized
7997
+ */
7998
+ 401: unknown;
7999
+ /**
8000
+ * Forbidden
8001
+ */
8002
+ 403: unknown;
8003
+ /**
8004
+ * Internal server error
8005
+ */
8006
+ 500: unknown;
8007
+ };
8008
+ type ListExceptionsResponses = {
8009
+ /**
8010
+ * List of exception items
8011
+ */
8012
+ 200: Array<ExceptionItem>;
8013
+ };
8014
+ type ListExceptionsResponse = ListExceptionsResponses[keyof ListExceptionsResponses];
8015
+ type GetExceptionData = {
8016
+ body?: never;
8017
+ path: {
8018
+ /**
8019
+ * Exception item ID
8020
+ */
8021
+ exception_id: string;
8022
+ };
8023
+ query?: never;
8024
+ url: '/api/v1/exceptions/{exception_id}';
8025
+ };
8026
+ type GetExceptionErrors = {
8027
+ /**
8028
+ * Unauthorized
8029
+ */
8030
+ 401: unknown;
8031
+ /**
8032
+ * Forbidden
8033
+ */
8034
+ 403: unknown;
8035
+ /**
8036
+ * Exception item not found
8037
+ */
8038
+ 404: unknown;
8039
+ };
8040
+ type GetExceptionResponses = {
8041
+ /**
8042
+ * Exception item
8043
+ */
8044
+ 200: ExceptionItem;
8045
+ };
8046
+ type GetExceptionResponse = GetExceptionResponses[keyof GetExceptionResponses];
8047
+ type AcknowledgeExceptionData = {
8048
+ body?: never;
8049
+ path: {
8050
+ /**
8051
+ * Exception item ID
8052
+ */
8053
+ exception_id: string;
8054
+ };
8055
+ query?: never;
8056
+ url: '/api/v1/exceptions/{exception_id}/acknowledge';
8057
+ };
8058
+ type AcknowledgeExceptionErrors = {
8059
+ /**
8060
+ * Unauthorized
8061
+ */
8062
+ 401: unknown;
8063
+ /**
8064
+ * Forbidden
8065
+ */
8066
+ 403: unknown;
8067
+ /**
8068
+ * Exception item not found
8069
+ */
8070
+ 404: unknown;
8071
+ /**
8072
+ * Item already resolved
8073
+ */
8074
+ 409: unknown;
8075
+ };
8076
+ type AcknowledgeExceptionResponses = {
8077
+ /**
8078
+ * Exception item acknowledged
8079
+ */
8080
+ 200: ExceptionItem;
8081
+ };
8082
+ type AcknowledgeExceptionResponse = AcknowledgeExceptionResponses[keyof AcknowledgeExceptionResponses];
8083
+ type ResolveExceptionData = {
8084
+ body?: {
8085
+ /**
8086
+ * Optional resolution note
8087
+ */
8088
+ note?: string;
8089
+ };
8090
+ path: {
8091
+ /**
8092
+ * Exception item ID
8093
+ */
8094
+ exception_id: string;
8095
+ };
8096
+ query?: never;
8097
+ url: '/api/v1/exceptions/{exception_id}/resolve';
8098
+ };
8099
+ type ResolveExceptionErrors = {
8100
+ /**
8101
+ * Unauthorized
8102
+ */
8103
+ 401: unknown;
8104
+ /**
8105
+ * Forbidden
8106
+ */
8107
+ 403: unknown;
8108
+ /**
8109
+ * Exception item not found
8110
+ */
8111
+ 404: unknown;
8112
+ /**
8113
+ * Item already resolved
8114
+ */
8115
+ 409: unknown;
8116
+ };
8117
+ type ResolveExceptionResponses = {
8118
+ /**
8119
+ * Exception item resolved
8120
+ */
8121
+ 200: ExceptionItem;
8122
+ };
8123
+ type ResolveExceptionResponse = ResolveExceptionResponses[keyof ResolveExceptionResponses];
7479
8124
  type ListFilesData = {
7480
8125
  body?: never;
7481
8126
  path?: never;
@@ -8380,18 +9025,252 @@ type UpdateGenerationData = {
8380
9025
  body: UpdateGenerationRequest;
8381
9026
  path: {
8382
9027
  /**
8383
- * Public ID of the generation
9028
+ * Public ID of the generation
9029
+ */
9030
+ generation_id: string;
9031
+ };
9032
+ query?: never;
9033
+ url: '/api/v1/generations/{generation_id}';
9034
+ };
9035
+ type UpdateGenerationErrors = {
9036
+ /**
9037
+ * Bad Request (e.g. metadata is not an object or uses reserved keys)
9038
+ */
9039
+ 400: ErrorResponse;
9040
+ /**
9041
+ * Unauthorized
9042
+ */
9043
+ 401: ErrorResponse;
9044
+ /**
9045
+ * Forbidden
9046
+ */
9047
+ 403: ErrorResponse;
9048
+ /**
9049
+ * Generation not found
9050
+ */
9051
+ 404: ErrorResponse;
9052
+ };
9053
+ type UpdateGenerationError = UpdateGenerationErrors[keyof UpdateGenerationErrors];
9054
+ type UpdateGenerationResponses = {
9055
+ /**
9056
+ * Updated generation
9057
+ */
9058
+ 200: Generation;
9059
+ };
9060
+ type UpdateGenerationResponse = UpdateGenerationResponses[keyof UpdateGenerationResponses];
9061
+ type ListGuardrailsData = {
9062
+ body?: never;
9063
+ path?: never;
9064
+ query?: {
9065
+ /**
9066
+ * Project public ID to filter by
9067
+ */
9068
+ project_id?: string;
9069
+ };
9070
+ url: '/api/v1/guardrails';
9071
+ };
9072
+ type ListGuardrailsErrors = {
9073
+ /**
9074
+ * Unauthorized
9075
+ */
9076
+ 401: ErrorResponse;
9077
+ /**
9078
+ * Forbidden
9079
+ */
9080
+ 403: ErrorResponse;
9081
+ };
9082
+ type ListGuardrailsError = ListGuardrailsErrors[keyof ListGuardrailsErrors];
9083
+ type ListGuardrailsResponses = {
9084
+ /**
9085
+ * List of guardrails
9086
+ */
9087
+ 200: Array<Guardrail>;
9088
+ };
9089
+ type ListGuardrailsResponse = ListGuardrailsResponses[keyof ListGuardrailsResponses];
9090
+ type CreateGuardrailData = {
9091
+ body: CreateGuardrailRequest;
9092
+ path?: never;
9093
+ query?: never;
9094
+ url: '/api/v1/guardrails';
9095
+ };
9096
+ type CreateGuardrailErrors = {
9097
+ /**
9098
+ * Bad Request — invalid document or variable reference
9099
+ */
9100
+ 400: ErrorResponse;
9101
+ /**
9102
+ * Unauthorized
9103
+ */
9104
+ 401: ErrorResponse;
9105
+ /**
9106
+ * Forbidden
9107
+ */
9108
+ 403: ErrorResponse;
9109
+ };
9110
+ type CreateGuardrailError = CreateGuardrailErrors[keyof CreateGuardrailErrors];
9111
+ type CreateGuardrailResponses = {
9112
+ /**
9113
+ * Guardrail created
9114
+ */
9115
+ 201: Guardrail;
9116
+ };
9117
+ type CreateGuardrailResponse = CreateGuardrailResponses[keyof CreateGuardrailResponses];
9118
+ type DeleteGuardrailData = {
9119
+ body?: never;
9120
+ path: {
9121
+ guardrail_id: string;
9122
+ };
9123
+ query?: never;
9124
+ url: '/api/v1/guardrails/{guardrail_id}';
9125
+ };
9126
+ type DeleteGuardrailErrors = {
9127
+ /**
9128
+ * Unauthorized
9129
+ */
9130
+ 401: ErrorResponse;
9131
+ /**
9132
+ * Forbidden
9133
+ */
9134
+ 403: ErrorResponse;
9135
+ /**
9136
+ * Not found
9137
+ */
9138
+ 404: ErrorResponse;
9139
+ };
9140
+ type DeleteGuardrailError = DeleteGuardrailErrors[keyof DeleteGuardrailErrors];
9141
+ type DeleteGuardrailResponses = {
9142
+ /**
9143
+ * Deleted
9144
+ */
9145
+ 204: void;
9146
+ };
9147
+ type DeleteGuardrailResponse = DeleteGuardrailResponses[keyof DeleteGuardrailResponses];
9148
+ type GetGuardrailData = {
9149
+ body?: never;
9150
+ path: {
9151
+ guardrail_id: string;
9152
+ };
9153
+ query?: never;
9154
+ url: '/api/v1/guardrails/{guardrail_id}';
9155
+ };
9156
+ type GetGuardrailErrors = {
9157
+ /**
9158
+ * Unauthorized
9159
+ */
9160
+ 401: ErrorResponse;
9161
+ /**
9162
+ * Forbidden
9163
+ */
9164
+ 403: ErrorResponse;
9165
+ /**
9166
+ * Not found
9167
+ */
9168
+ 404: ErrorResponse;
9169
+ };
9170
+ type GetGuardrailError = GetGuardrailErrors[keyof GetGuardrailErrors];
9171
+ type GetGuardrailResponses = {
9172
+ /**
9173
+ * Guardrail
9174
+ */
9175
+ 200: Guardrail;
9176
+ };
9177
+ type GetGuardrailResponse = GetGuardrailResponses[keyof GetGuardrailResponses];
9178
+ type UpdateGuardrailData = {
9179
+ body: UpdateGuardrailRequest;
9180
+ path: {
9181
+ guardrail_id: string;
9182
+ };
9183
+ query?: never;
9184
+ url: '/api/v1/guardrails/{guardrail_id}';
9185
+ };
9186
+ type UpdateGuardrailErrors = {
9187
+ /**
9188
+ * Bad Request — invalid document or variable reference
9189
+ */
9190
+ 400: ErrorResponse;
9191
+ /**
9192
+ * Unauthorized
9193
+ */
9194
+ 401: ErrorResponse;
9195
+ /**
9196
+ * Forbidden
9197
+ */
9198
+ 403: ErrorResponse;
9199
+ /**
9200
+ * Not found
9201
+ */
9202
+ 404: ErrorResponse;
9203
+ };
9204
+ type UpdateGuardrailError = UpdateGuardrailErrors[keyof UpdateGuardrailErrors];
9205
+ type UpdateGuardrailResponses = {
9206
+ /**
9207
+ * Guardrail updated
9208
+ */
9209
+ 200: Guardrail;
9210
+ };
9211
+ type UpdateGuardrailResponse = UpdateGuardrailResponses[keyof UpdateGuardrailResponses];
9212
+ type GetGuardrailVersionData = {
9213
+ body?: never;
9214
+ path: {
9215
+ guardrail_id: string;
9216
+ version: number;
9217
+ };
9218
+ query?: never;
9219
+ url: '/api/v1/guardrails/{guardrail_id}/versions/{version}';
9220
+ };
9221
+ type GetGuardrailVersionErrors = {
9222
+ /**
9223
+ * Bad Request — version is not a positive integer
9224
+ */
9225
+ 400: ErrorResponse;
9226
+ /**
9227
+ * Unauthorized
9228
+ */
9229
+ 401: ErrorResponse;
9230
+ /**
9231
+ * Forbidden
9232
+ */
9233
+ 403: ErrorResponse;
9234
+ /**
9235
+ * Not found
9236
+ */
9237
+ 404: ErrorResponse;
9238
+ };
9239
+ type GetGuardrailVersionError = GetGuardrailVersionErrors[keyof GetGuardrailVersionErrors];
9240
+ type GetGuardrailVersionResponses = {
9241
+ /**
9242
+ * Archived guardrail version
9243
+ */
9244
+ 200: GuardrailVersion;
9245
+ };
9246
+ type GetGuardrailVersionResponse = GetGuardrailVersionResponses[keyof GetGuardrailVersionResponses];
9247
+ type EvaluateGuardrailData = {
9248
+ body?: {
9249
+ /**
9250
+ * The proposed call's arguments (the `args.*` namespace).
9251
+ */
9252
+ args?: {
9253
+ [key: string]: unknown;
9254
+ };
9255
+ /**
9256
+ * The caller-supplied guardrail context (the `context.*` namespace), combined with the context tool per `context_mode`.
9257
+ *
8384
9258
  */
8385
- generation_id: string;
9259
+ guardrail_context?: {
9260
+ [key: string]: unknown;
9261
+ };
9262
+ /**
9263
+ * Optional tool to resolve `soat.tool.*` against.
9264
+ */
9265
+ tool_id?: string;
9266
+ };
9267
+ path: {
9268
+ guardrail_id: string;
8386
9269
  };
8387
9270
  query?: never;
8388
- url: '/api/v1/generations/{generation_id}';
9271
+ url: '/api/v1/guardrails/{guardrail_id}/evaluate';
8389
9272
  };
8390
- type UpdateGenerationErrors = {
8391
- /**
8392
- * Bad Request (e.g. metadata is not an object or uses reserved keys)
8393
- */
8394
- 400: ErrorResponse;
9273
+ type EvaluateGuardrailErrors = {
8395
9274
  /**
8396
9275
  * Unauthorized
8397
9276
  */
@@ -8401,18 +9280,18 @@ type UpdateGenerationErrors = {
8401
9280
  */
8402
9281
  403: ErrorResponse;
8403
9282
  /**
8404
- * Generation not found
9283
+ * Not found
8405
9284
  */
8406
9285
  404: ErrorResponse;
8407
9286
  };
8408
- type UpdateGenerationError = UpdateGenerationErrors[keyof UpdateGenerationErrors];
8409
- type UpdateGenerationResponses = {
9287
+ type EvaluateGuardrailError = EvaluateGuardrailErrors[keyof EvaluateGuardrailErrors];
9288
+ type EvaluateGuardrailResponses = {
8410
9289
  /**
8411
- * Updated generation
9290
+ * The would-be evaluation record (nothing executed)
8412
9291
  */
8413
- 200: Generation;
9292
+ 200: GuardrailEvaluation;
8414
9293
  };
8415
- type UpdateGenerationResponse = UpdateGenerationResponses[keyof UpdateGenerationResponses];
9294
+ type EvaluateGuardrailResponse = EvaluateGuardrailResponses[keyof EvaluateGuardrailResponses];
8416
9295
  type ListIngestionRulesData = {
8417
9296
  body?: never;
8418
9297
  path?: never;
@@ -9215,6 +10094,29 @@ type ValidateOrchestrationResponses = {
9215
10094
  200: ValidationResult;
9216
10095
  };
9217
10096
  type ValidateOrchestrationResponse = ValidateOrchestrationResponses[keyof ValidateOrchestrationResponses];
10097
+ type GetQueueStatsData = {
10098
+ body?: never;
10099
+ path?: never;
10100
+ query?: never;
10101
+ url: '/api/v1/orchestrations/queue/stats';
10102
+ };
10103
+ type GetQueueStatsErrors = {
10104
+ /**
10105
+ * Unauthorized
10106
+ */
10107
+ 401: unknown;
10108
+ /**
10109
+ * Forbidden
10110
+ */
10111
+ 403: unknown;
10112
+ };
10113
+ type GetQueueStatsResponses = {
10114
+ /**
10115
+ * Queue stats snapshot
10116
+ */
10117
+ 200: QueueStats;
10118
+ };
10119
+ type GetQueueStatsResponse = GetQueueStatsResponses[keyof GetQueueStatsResponses];
9218
10120
  type DeleteOrchestrationData = {
9219
10121
  body?: never;
9220
10122
  path: {
@@ -9812,7 +10714,15 @@ type GetProjectResponses = {
9812
10714
  type GetProjectResponse = GetProjectResponses[keyof GetProjectResponses];
9813
10715
  type UpdateProjectData = {
9814
10716
  body: {
9815
- name: string;
10717
+ name?: string;
10718
+ /**
10719
+ * Guardrails attached at the project scope.
10720
+ */
10721
+ guardrail_ids?: Array<string> | null;
10722
+ /**
10723
+ * 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.
10724
+ */
10725
+ max_concurrent_runs?: number | null;
9816
10726
  };
9817
10727
  path: {
9818
10728
  /**
@@ -9916,6 +10826,211 @@ type UpdateProjectPricesResponses = {
9916
10826
  200: ProjectPricesResponse;
9917
10827
  };
9918
10828
  type UpdateProjectPricesResponse = UpdateProjectPricesResponses[keyof UpdateProjectPricesResponses];
10829
+ type ListQuotasData = {
10830
+ body?: never;
10831
+ path?: never;
10832
+ query?: {
10833
+ /**
10834
+ * Project ID (required if not using project key auth)
10835
+ */
10836
+ project_id?: string;
10837
+ };
10838
+ url: '/api/v1/quotas';
10839
+ };
10840
+ type ListQuotasErrors = {
10841
+ /**
10842
+ * Unauthorized
10843
+ */
10844
+ 401: unknown;
10845
+ /**
10846
+ * Forbidden
10847
+ */
10848
+ 403: unknown;
10849
+ /**
10850
+ * Internal server error
10851
+ */
10852
+ 500: unknown;
10853
+ };
10854
+ type ListQuotasResponses = {
10855
+ /**
10856
+ * List of quotas
10857
+ */
10858
+ 200: Array<Quota>;
10859
+ };
10860
+ type ListQuotasResponse = ListQuotasResponses[keyof ListQuotasResponses];
10861
+ type CreateQuotaData = {
10862
+ body: {
10863
+ /**
10864
+ * Project ID (required if not using project key auth)
10865
+ */
10866
+ project_id?: string;
10867
+ /**
10868
+ * The scope the quota applies to
10869
+ */
10870
+ scope: 'project' | 'api_key' | 'agent';
10871
+ /**
10872
+ * Public id of the api key / agent the quota applies to. NULL means all entities of that scope type in the project.
10873
+ */
10874
+ scope_ref?: string | null;
10875
+ /**
10876
+ * The metric being capped
10877
+ */
10878
+ metric: 'requests' | 'tokens' | 'cost_usd';
10879
+ /**
10880
+ * The window over which the metric is aggregated
10881
+ */
10882
+ window: 'rolling_1m' | 'rolling_1h' | 'rolling_24h' | 'calendar_month';
10883
+ /**
10884
+ * The cap. Must be a positive integer for requests/tokens; fractional values are allowed for cost_usd.
10885
+ */
10886
+ limit: number;
10887
+ /**
10888
+ * 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.
10889
+ */
10890
+ mode?: 'enforce' | 'monitor';
10891
+ };
10892
+ path?: never;
10893
+ query?: never;
10894
+ url: '/api/v1/quotas';
10895
+ };
10896
+ type CreateQuotaErrors = {
10897
+ /**
10898
+ * Bad request (invalid scope/metric/window/mode/limit)
10899
+ */
10900
+ 400: unknown;
10901
+ /**
10902
+ * Unauthorized
10903
+ */
10904
+ 401: unknown;
10905
+ /**
10906
+ * Forbidden
10907
+ */
10908
+ 403: unknown;
10909
+ /**
10910
+ * A matching quota already exists
10911
+ */
10912
+ 409: unknown;
10913
+ /**
10914
+ * Internal server error
10915
+ */
10916
+ 500: unknown;
10917
+ };
10918
+ type CreateQuotaResponses = {
10919
+ /**
10920
+ * Quota created successfully
10921
+ */
10922
+ 201: Quota;
10923
+ };
10924
+ type CreateQuotaResponse = CreateQuotaResponses[keyof CreateQuotaResponses];
10925
+ type DeleteQuotaData = {
10926
+ body?: never;
10927
+ path: {
10928
+ /**
10929
+ * Quota ID
10930
+ */
10931
+ quota_id: string;
10932
+ };
10933
+ query?: never;
10934
+ url: '/api/v1/quotas/{quota_id}';
10935
+ };
10936
+ type DeleteQuotaErrors = {
10937
+ /**
10938
+ * Unauthorized
10939
+ */
10940
+ 401: unknown;
10941
+ /**
10942
+ * Forbidden
10943
+ */
10944
+ 403: unknown;
10945
+ /**
10946
+ * Quota not found
10947
+ */
10948
+ 404: unknown;
10949
+ };
10950
+ type DeleteQuotaResponses = {
10951
+ /**
10952
+ * Quota deleted successfully
10953
+ */
10954
+ 204: void;
10955
+ };
10956
+ type DeleteQuotaResponse = DeleteQuotaResponses[keyof DeleteQuotaResponses];
10957
+ type GetQuotaData = {
10958
+ body?: never;
10959
+ path: {
10960
+ /**
10961
+ * Quota ID
10962
+ */
10963
+ quota_id: string;
10964
+ };
10965
+ query?: never;
10966
+ url: '/api/v1/quotas/{quota_id}';
10967
+ };
10968
+ type GetQuotaErrors = {
10969
+ /**
10970
+ * Unauthorized
10971
+ */
10972
+ 401: unknown;
10973
+ /**
10974
+ * Forbidden
10975
+ */
10976
+ 403: unknown;
10977
+ /**
10978
+ * Quota not found
10979
+ */
10980
+ 404: unknown;
10981
+ };
10982
+ type GetQuotaResponses = {
10983
+ /**
10984
+ * Quota details
10985
+ */
10986
+ 200: Quota;
10987
+ };
10988
+ type GetQuotaResponse = GetQuotaResponses[keyof GetQuotaResponses];
10989
+ type UpdateQuotaData = {
10990
+ body: {
10991
+ /**
10992
+ * New limit
10993
+ */
10994
+ limit?: number;
10995
+ /**
10996
+ * New mode
10997
+ */
10998
+ mode?: 'enforce' | 'monitor';
10999
+ };
11000
+ path: {
11001
+ /**
11002
+ * Quota ID
11003
+ */
11004
+ quota_id: string;
11005
+ };
11006
+ query?: never;
11007
+ url: '/api/v1/quotas/{quota_id}';
11008
+ };
11009
+ type UpdateQuotaErrors = {
11010
+ /**
11011
+ * Bad request
11012
+ */
11013
+ 400: unknown;
11014
+ /**
11015
+ * Unauthorized
11016
+ */
11017
+ 401: unknown;
11018
+ /**
11019
+ * Forbidden
11020
+ */
11021
+ 403: unknown;
11022
+ /**
11023
+ * Quota not found
11024
+ */
11025
+ 404: unknown;
11026
+ };
11027
+ type UpdateQuotaResponses = {
11028
+ /**
11029
+ * Quota updated successfully
11030
+ */
11031
+ 200: Quota;
11032
+ };
11033
+ type UpdateQuotaResponse = UpdateQuotaResponses[keyof UpdateQuotaResponses];
9919
11034
  type ListSecretsData = {
9920
11035
  body?: never;
9921
11036
  path?: never;
@@ -12533,6 +13648,20 @@ declare class Approvals {
12533
13648
  */
12534
13649
  static rejectApproval<ThrowOnError extends boolean = false>(options: Options<RejectApprovalData, ThrowOnError>): RequestResult<RejectApprovalResponses, RejectApprovalErrors, ThrowOnError>;
12535
13650
  }
13651
+ declare class AuditLog {
13652
+ /**
13653
+ * List audit entries
13654
+ *
13655
+ * 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.
13656
+ */
13657
+ static listAuditEntries<ThrowOnError extends boolean = false>(options?: Options<ListAuditEntriesData, ThrowOnError>): RequestResult<ListAuditEntriesResponses, ListAuditEntriesErrors, ThrowOnError>;
13658
+ /**
13659
+ * Get an audit entry
13660
+ *
13661
+ * Returns a single audit-log entry, including its `detail` payload
13662
+ */
13663
+ static getAuditEntry<ThrowOnError extends boolean = false>(options: Options<GetAuditEntryData, ThrowOnError>): RequestResult<GetAuditEntryResponses, GetAuditEntryErrors, ThrowOnError>;
13664
+ }
12536
13665
  declare class Chats {
12537
13666
  /**
12538
13667
  * List chats
@@ -12813,6 +13942,32 @@ declare class Embeddings {
12813
13942
  */
12814
13943
  static createEmbeddings<ThrowOnError extends boolean = false>(options: Options<CreateEmbeddingsData, ThrowOnError>): RequestResult<CreateEmbeddingsResponses, CreateEmbeddingsErrors, ThrowOnError>;
12815
13944
  }
13945
+ declare class Exceptions {
13946
+ /**
13947
+ * List exception items
13948
+ *
13949
+ * Returns exception items for a project, filterable by status, severity, and kind.
13950
+ */
13951
+ static listExceptions<ThrowOnError extends boolean = false>(options?: Options<ListExceptionsData, ThrowOnError>): RequestResult<ListExceptionsResponses, ListExceptionsErrors, ThrowOnError>;
13952
+ /**
13953
+ * Get an exception item
13954
+ *
13955
+ * Returns a single exception item with its full detail.
13956
+ */
13957
+ static getException<ThrowOnError extends boolean = false>(options: Options<GetExceptionData, ThrowOnError>): RequestResult<GetExceptionResponses, GetExceptionErrors, ThrowOnError>;
13958
+ /**
13959
+ * Acknowledge an exception item
13960
+ *
13961
+ * 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.
13962
+ */
13963
+ static acknowledgeException<ThrowOnError extends boolean = false>(options: Options<AcknowledgeExceptionData, ThrowOnError>): RequestResult<AcknowledgeExceptionResponses, AcknowledgeExceptionErrors, ThrowOnError>;
13964
+ /**
13965
+ * Resolve an exception item
13966
+ *
13967
+ * Moves the item to `resolved` ("fixed"), recording who and an optional note.
13968
+ */
13969
+ static resolveException<ThrowOnError extends boolean = false>(options: Options<ResolveExceptionData, ThrowOnError>): RequestResult<ResolveExceptionResponses, ResolveExceptionErrors, ThrowOnError>;
13970
+ }
12816
13971
  declare class Files {
12817
13972
  /**
12818
13973
  * List all files
@@ -12978,6 +14133,54 @@ declare class Generations {
12978
14133
  */
12979
14134
  static updateGeneration<ThrowOnError extends boolean = false>(options: Options<UpdateGenerationData, ThrowOnError>): RequestResult<UpdateGenerationResponses, UpdateGenerationErrors, ThrowOnError>;
12980
14135
  }
14136
+ declare class Guardrails {
14137
+ /**
14138
+ * List guardrails
14139
+ *
14140
+ * Returns all guardrails in the project.
14141
+ */
14142
+ static listGuardrails<ThrowOnError extends boolean = false>(options?: Options<ListGuardrailsData, ThrowOnError>): RequestResult<ListGuardrailsResponses, ListGuardrailsErrors, ThrowOnError>;
14143
+ /**
14144
+ * Create a guardrail
14145
+ *
14146
+ * Creates a new guardrail in the project. The `document` is validated on write: `class` must be a literal (A/B/C/D) or a JSON Logic expression, and every variable it (and `guard`) reference must resolve to the `args.*` / `context.*` / `soat.*` namespaces — an out-of-catalog `soat.*` key is rejected with 400.
14147
+ *
14148
+ */
14149
+ static createGuardrail<ThrowOnError extends boolean = false>(options: Options<CreateGuardrailData, ThrowOnError>): RequestResult<CreateGuardrailResponses, CreateGuardrailErrors, ThrowOnError>;
14150
+ /**
14151
+ * Delete a guardrail
14152
+ *
14153
+ * Deletes a guardrail and its archived versions by ID.
14154
+ */
14155
+ static deleteGuardrail<ThrowOnError extends boolean = false>(options: Options<DeleteGuardrailData, ThrowOnError>): RequestResult<DeleteGuardrailResponses, DeleteGuardrailErrors, ThrowOnError>;
14156
+ /**
14157
+ * Get a guardrail
14158
+ *
14159
+ * Returns a single guardrail by ID.
14160
+ */
14161
+ static getGuardrail<ThrowOnError extends boolean = false>(options: Options<GetGuardrailData, ThrowOnError>): RequestResult<GetGuardrailResponses, GetGuardrailErrors, ThrowOnError>;
14162
+ /**
14163
+ * Update a guardrail
14164
+ *
14165
+ * Updates an existing guardrail. A `document` write increments `version` and archives the prior document as a GuardrailVersion; metadata-only edits (name / description / context) leave the version untouched.
14166
+ *
14167
+ */
14168
+ static updateGuardrail<ThrowOnError extends boolean = false>(options: Options<UpdateGuardrailData, ThrowOnError>): RequestResult<UpdateGuardrailResponses, UpdateGuardrailErrors, ThrowOnError>;
14169
+ /**
14170
+ * Fetch an archived guardrail version
14171
+ *
14172
+ * Returns the exact `document` that governed at a given version. Approval items, activity entries, and exceptions record the version that governed them, so the audit chain survives edits.
14173
+ *
14174
+ */
14175
+ static getGuardrailVersion<ThrowOnError extends boolean = false>(options: Options<GetGuardrailVersionData, ThrowOnError>): RequestResult<GetGuardrailVersionResponses, GetGuardrailVersionErrors, ThrowOnError>;
14176
+ /**
14177
+ * Dry-run evaluate a guardrail
14178
+ *
14179
+ * Runs the full evaluation pipeline — the `class` expression, the guard, the context tool per `context_mode`, live `soat.*` resolution — against caller-supplied `args` and `guardrail_context`, and returns the exact `guardrail_evaluation` record a real call would produce. Nothing executes, no approval item is filed, and no activity entry is written. This is the adoption path: preview a document's decisions against production-shaped calls before attaching it — or before editing a widely-attached one. Pass an optional `tool_id` to resolve `soat.tool.*`.
14180
+ *
14181
+ */
14182
+ static evaluateGuardrail<ThrowOnError extends boolean = false>(options: Options<EvaluateGuardrailData, ThrowOnError>): RequestResult<EvaluateGuardrailResponses, EvaluateGuardrailErrors, ThrowOnError>;
14183
+ }
12981
14184
  declare class IngestionRules {
12982
14185
  /**
12983
14186
  * List ingestion rules
@@ -13102,6 +14305,13 @@ declare class Orchestrations {
13102
14305
  *
13103
14306
  */
13104
14307
  static validateOrchestration<ThrowOnError extends boolean = false>(options: Options<ValidateOrchestrationData, ThrowOnError>): RequestResult<ValidateOrchestrationResponses, ValidateOrchestrationErrors, ThrowOnError>;
14308
+ /**
14309
+ * Get orchestration queue stats
14310
+ *
14311
+ * 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`.
14312
+ *
14313
+ */
14314
+ static getQueueStats<ThrowOnError extends boolean = false>(options?: Options<GetQueueStatsData, ThrowOnError>): RequestResult<GetQueueStatsResponses, GetQueueStatsErrors, ThrowOnError>;
13105
14315
  /**
13106
14316
  * Delete an orchestration
13107
14317
  *
@@ -13218,9 +14428,9 @@ declare class Projects {
13218
14428
  */
13219
14429
  static getProject<ThrowOnError extends boolean = false>(options: Options<GetProjectData, ThrowOnError>): RequestResult<GetProjectResponses, GetProjectErrors, ThrowOnError>;
13220
14430
  /**
13221
- * Rename a project
14431
+ * Update a project
13222
14432
  *
13223
- * Updates a project's name. Requires admin role.
14433
+ * Updates a project's name and/or its attached guardrails (`guardrail_ids` — the project-scope baseline governing every tool call by every agent in the project). Requires admin role. Detaching a guardrail (removing an id) additionally requires guardrails:DetachGuardrail.
13224
14434
  */
13225
14435
  static updateProject<ThrowOnError extends boolean = false>(options: Options<UpdateProjectData, ThrowOnError>): RequestResult<UpdateProjectResponses, UpdateProjectErrors, ThrowOnError>;
13226
14436
  /**
@@ -13238,6 +14448,38 @@ declare class Projects {
13238
14448
  */
13239
14449
  static updateProjectPrices<ThrowOnError extends boolean = false>(options: Options<UpdateProjectPricesData, ThrowOnError>): RequestResult<UpdateProjectPricesResponses, UpdateProjectPricesErrors, ThrowOnError>;
13240
14450
  }
14451
+ declare class Quotas {
14452
+ /**
14453
+ * List quotas
14454
+ *
14455
+ * Returns the quotas defined in a project
14456
+ */
14457
+ static listQuotas<ThrowOnError extends boolean = false>(options?: Options<ListQuotasData, ThrowOnError>): RequestResult<ListQuotasResponses, ListQuotasErrors, ThrowOnError>;
14458
+ /**
14459
+ * Create a quota
14460
+ *
14461
+ * 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.
14462
+ */
14463
+ static createQuota<ThrowOnError extends boolean = false>(options: Options<CreateQuotaData, ThrowOnError>): RequestResult<CreateQuotaResponses, CreateQuotaErrors, ThrowOnError>;
14464
+ /**
14465
+ * Delete a quota
14466
+ *
14467
+ * Deletes a quota and drops its window counters
14468
+ */
14469
+ static deleteQuota<ThrowOnError extends boolean = false>(options: Options<DeleteQuotaData, ThrowOnError>): RequestResult<DeleteQuotaResponses, DeleteQuotaErrors, ThrowOnError>;
14470
+ /**
14471
+ * Get a quota
14472
+ *
14473
+ * Returns a specific quota, including current window usage
14474
+ */
14475
+ static getQuota<ThrowOnError extends boolean = false>(options: Options<GetQuotaData, ThrowOnError>): RequestResult<GetQuotaResponses, GetQuotaErrors, ThrowOnError>;
14476
+ /**
14477
+ * Update a quota
14478
+ *
14479
+ * Updates a quota's limit and/or mode. Other fields are immutable.
14480
+ */
14481
+ static updateQuota<ThrowOnError extends boolean = false>(options: Options<UpdateQuotaData, ThrowOnError>): RequestResult<UpdateQuotaResponses, UpdateQuotaErrors, ThrowOnError>;
14482
+ }
13241
14483
  declare class Secrets {
13242
14484
  /**
13243
14485
  * List secrets
@@ -13776,4 +15018,4 @@ declare class SoatClient {
13776
15018
  constructor({ baseUrl, token, headers }?: SoatClientOptions);
13777
15019
  }
13778
15020
  //#endregion
13779
- 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 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 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 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 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 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 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 ToolApprovalPolicy, 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 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 };
15021
+ 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 };