@soat/sdk 0.22.1 → 0.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -453,18 +453,6 @@ type Agent = {
453
453
  * Tools attached to this agent, one binding object per tool — the canonical attachment field. See [Tool Bindings](/docs/modules/agents#tool-bindings).
454
454
  */
455
455
  tool_bindings?: Array<ToolBinding> | null;
456
- /**
457
- * Deprecated — derived view of the reference (`tool_id`) entries in `tool_bindings`. Use `tool_bindings` instead.
458
- *
459
- * @deprecated
460
- */
461
- tool_ids?: Array<string> | null;
462
- /**
463
- * Deprecated — derived view of the inline (`tool`) entries in `tool_bindings`. Use `tool_bindings` instead. See [Inline Tool Definitions](/docs/modules/agents#inline-ephemeral-tool-definitions).
464
- *
465
- * @deprecated
466
- */
467
- tools?: Array<CreateToolRequest> | null;
468
456
  /**
469
457
  * Maximum agent loop steps before stopping
470
458
  */
@@ -480,7 +468,7 @@ type Agent = {
480
468
  [key: string]: unknown;
481
469
  }> | null;
482
470
  /**
483
- * Subset of toolIds active per step
471
+ * Subset of the bound tools that are active
484
472
  */
485
473
  active_tool_ids?: Array<string> | null;
486
474
  /**
@@ -681,21 +669,9 @@ type CreateAgentRequest = {
681
669
  instructions?: string;
682
670
  model?: string;
683
671
  /**
684
- * Tools to attach, one binding object per tool — the canonical attachment field. Cannot be combined with the deprecated `tool_ids`/`tools` shorthands (400). See [Tool Bindings](/docs/modules/agents#tool-bindings).
672
+ * Tools to attach, one binding object per tool — the only attachment field. An entry is either a reference (`{ "tool_id": … }`) or an inline definition (`{ "tool": … }`). See [Tool Bindings](/docs/modules/agents#tool-bindings).
685
673
  */
686
674
  tool_bindings?: Array<ToolBinding>;
687
- /**
688
- * Deprecated shorthand — each entry becomes a bare `{ "tool_id": … }` binding. Use `tool_bindings` instead.
689
- *
690
- * @deprecated
691
- */
692
- tool_ids?: Array<string>;
693
- /**
694
- * Deprecated shorthand — each entry becomes a bare `{ "tool": … }` binding (an ephemeral definition: no separate Tool resource is created, any `project_id` on an entry is ignored, entries never appear in `GET /tools`, cannot be targeted by `active_tool_ids`/`step_rules`, and cannot be of type `pipeline`). Use `tool_bindings` instead.
695
- *
696
- * @deprecated
697
- */
698
- tools?: Array<CreateToolRequest>;
699
675
  max_steps?: number;
700
676
  /**
701
677
  * Tool choice strategy. Accepts a string (`"auto"`, `"required"`) or an object (`{ "type": "tool", "tool_name": "my_tool" }`).
@@ -785,21 +761,9 @@ type UpdateAgentRequest = {
785
761
  instructions?: string | null;
786
762
  model?: string | null;
787
763
  /**
788
- * Tools attached to the agent — the canonical attachment field. Replaces the whole binding list; set to `null` to clear. Cannot be combined with the deprecated `tool_ids`/`tools` shorthands (400). See [Tool Bindings](/docs/modules/agents#tool-bindings).
764
+ * Tools attached to the agent — the only attachment field. Replaces the whole binding list; set to `null` to clear. See [Tool Bindings](/docs/modules/agents#tool-bindings).
789
765
  */
790
766
  tool_bindings?: Array<ToolBinding> | null;
791
- /**
792
- * Deprecated shorthand — replaces only the reference (`tool_id`) bindings, rewriting them bare. Use `tool_bindings` instead.
793
- *
794
- * @deprecated
795
- */
796
- tool_ids?: Array<string> | null;
797
- /**
798
- * Deprecated shorthand — replaces only the inline (`tool`) bindings (ephemeral definitions: no separate Tool resource is created, any `project_id` on an entry is ignored, entries never appear in `GET /tools`, cannot be targeted by `active_tool_ids`/`step_rules`, and cannot be of type `pipeline`). Set to `null` to clear the inline bindings. Use `tool_bindings` instead.
799
- *
800
- * @deprecated
801
- */
802
- tools?: Array<CreateToolRequest> | null;
803
767
  max_steps?: number | null;
804
768
  /**
805
769
  * Tool choice strategy. Accepts a string (`"auto"`, `"required"`) or an object (`{ "type": "tool", "tool_name": "my_tool" }`).
@@ -878,7 +842,7 @@ type UpdateAgentRequest = {
878
842
  };
879
843
  type CreateAgentGenerationRequest = {
880
844
  messages: Array<{
881
- role: 'system' | 'user' | 'assistant';
845
+ role: 'user' | 'assistant';
882
846
  content: string | ToolOutputMessageContent | DocumentMessageContent;
883
847
  }>;
884
848
  /**
@@ -886,7 +850,7 @@ type CreateAgentGenerationRequest = {
886
850
  */
887
851
  stream?: boolean;
888
852
  /**
889
- * Optional trace ID to group generations
853
+ * Optional trace ID to group generations. Each generation appends its own steps to the trace's steps object, and `step_count` covers them all.
890
854
  */
891
855
  trace_id?: string;
892
856
  /**
@@ -1388,7 +1352,7 @@ type Chat = {
1388
1352
  /**
1389
1353
  * Optional system message sent with every completion
1390
1354
  */
1391
- system_message?: string | null;
1355
+ instructions?: string | null;
1392
1356
  /**
1393
1357
  * Optional model override for this chat
1394
1358
  */
@@ -1413,14 +1377,14 @@ type CreateChatRequest = {
1413
1377
  /**
1414
1378
  * Optional system message applied to all completions on this chat
1415
1379
  */
1416
- system_message?: string;
1380
+ instructions?: string;
1417
1381
  /**
1418
1382
  * Optional default model override
1419
1383
  */
1420
1384
  model?: string;
1421
1385
  };
1422
1386
  type ChatMessageInput = {
1423
- role: 'system' | 'user' | 'assistant';
1387
+ role: 'user' | 'assistant';
1424
1388
  /**
1425
1389
  * Text content of the message (mutually exclusive with documentId)
1426
1390
  */
@@ -1431,41 +1395,31 @@ type ChatMessageInput = {
1431
1395
  */
1432
1396
  document_id?: string;
1433
1397
  };
1434
- type ChatCompletionForChatRequest = {
1435
- messages: Array<ChatMessageInput>;
1436
- /**
1437
- * Override the chat's default model for this call
1438
- */
1439
- model?: string;
1440
- /**
1441
- * When `true` the response is an SSE stream.
1442
- */
1443
- stream?: boolean;
1444
- };
1445
- type ChatMessage = {
1398
+ type ChatCompletionRequest = {
1446
1399
  /**
1447
- * Role of the message author
1400
+ * Public ID of the AI provider to run the completion against. Mutually exclusive with `chat_id`; exactly one of the two is required.
1401
+ *
1448
1402
  */
1449
- role: 'system' | 'user' | 'assistant';
1403
+ ai_provider_id?: string;
1450
1404
  /**
1451
- * Text content of the message
1405
+ * Public ID of a stored chat supplying the provider, model and instructions. Mutually exclusive with `ai_provider_id`; exactly one of the two is required.
1406
+ *
1452
1407
  */
1453
- content: string;
1454
- };
1455
- type ChatCompletionRequest = {
1408
+ chat_id?: string;
1456
1409
  /**
1457
- * Public ID of the AI provider to use.
1410
+ * Model identifier. Overrides the provider's `default_model`, or the chat's `model`, when specified.
1411
+ *
1458
1412
  */
1459
- ai_provider_id: string;
1413
+ model?: string;
1460
1414
  /**
1461
- * Model identifier. Overrides the provider's `default_model` when specified.
1415
+ * System instructions for this call. Sent to the provider as its `instructions` argument rather than as a message, which is the only place the AI SDK accepts system content (`allowSystemInMessages` defaults to false). This field is the only channel — a `role: "system"` entry in `messages` is refused with `400 SYSTEM_MESSAGE_NOT_ALLOWED`. With `chat_id`, this replaces the chat's stored `instructions` for this call only; the stored value applies when the request carries none, and the two are never merged.
1462
1416
  *
1463
1417
  */
1464
- model?: string;
1418
+ instructions?: string;
1465
1419
  /**
1466
1420
  * Ordered list of chat messages
1467
1421
  */
1468
- messages: Array<ChatMessage>;
1422
+ messages: Array<ChatMessageInput>;
1469
1423
  /**
1470
1424
  * When `true` the response is an SSE stream of delta chunks. When `false` (default) a single JSON object is returned.
1471
1425
  *
@@ -1619,6 +1573,10 @@ type DocumentRecord = {
1619
1573
  * Original filename
1620
1574
  */
1621
1575
  filename?: string;
1576
+ /**
1577
+ * Media type of the source file the document was ingested from. Absent when the underlying file is gone.
1578
+ */
1579
+ content_type?: string;
1622
1580
  /**
1623
1581
  * File size in bytes
1624
1582
  */
@@ -2171,17 +2129,11 @@ type AgentResourceProperties = {
2171
2129
  */
2172
2130
  model?: string | null;
2173
2131
  /**
2174
- * 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).
2132
+ * Tools to attach, one binding object per tool: `{ tool_id }`. 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).
2175
2133
  */
2176
2134
  tool_bindings?: Array<{
2177
2135
  [key: string]: unknown;
2178
2136
  }> | null;
2179
- /**
2180
- * Deprecated shorthand — each entry becomes a bare `{ "tool_id": … }` binding. Use `tool_bindings` instead.
2181
- *
2182
- * @deprecated
2183
- */
2184
- tool_ids?: Array<string> | null;
2185
2137
  /**
2186
2138
  * Maximum number of agentic steps per generation
2187
2139
  */
@@ -2204,7 +2156,7 @@ type AgentResourceProperties = {
2204
2156
  tool_name?: string | null;
2205
2157
  }> | null;
2206
2158
  /**
2207
- * Subset of tool_ids that are active
2159
+ * Subset of the bound tools that are active
2208
2160
  */
2209
2161
  active_tool_ids?: Array<string> | null;
2210
2162
  /**
@@ -2771,7 +2723,7 @@ type ChatResourceProperties = {
2771
2723
  /**
2772
2724
  * System message to set the assistant behaviour
2773
2725
  */
2774
- system_message?: string | null;
2726
+ instructions?: string | null;
2775
2727
  /**
2776
2728
  * Model override; defaults to the AI provider's default model
2777
2729
  */
@@ -3006,7 +2958,7 @@ type OrchestrationResourceProperties = {
3006
2958
  } | null;
3007
2959
  };
3008
2960
  /**
3009
- * Creates a workflow — a state-machine definition (named states, allowed transitions, guards, and per-state automation) that tasks live in. State and transition dispatch references (`agent_id`, `orchestration_id` inside an `on_enter` block) accept `{ "ref": "LogicalId" }` expressions to point at agents or orchestrations declared in the same template, so a workflow plus the agents that service its states can deploy as one stack. Mirrors the workflows REST contract (`states`, `transitions`, `payload_schema`).
2961
+ * Creates a workflow — a state-machine definition (named states, allowed transitions, guards, and per-state automation) that tasks live in. State and transition dispatch references (`agent_id`, `orchestration_id`, `tool_id` inside an `on_enter` block) accept `{ "ref": "LogicalId" }` expressions to point at agents, orchestrations or tools declared in the same template, so a workflow plus the agents and tools that service its states can deploy as one stack. Mirrors the workflows REST contract (`states`, `transitions`, `payload_schema`).
3010
2962
  */
3011
2963
  type WorkflowResourceProperties = {
3012
2964
  /**
@@ -3198,6 +3150,11 @@ type Formation = {
3198
3150
  resolved_parameters?: {
3199
3151
  [key: string]: string;
3200
3152
  } | null;
3153
+ /**
3154
+ * Why the formation is `failed` or `delete_failed`, in the same `{ code, message, meta }` shape as an error response. Null in every other status, and cleared by the next successful deploy. This is the reason a `2xx` deploy response can report `status: "failed"` without a second call to `list-formation-events`.
3155
+ *
3156
+ */
3157
+ error?: FormationError | null;
3201
3158
  /**
3202
3159
  * Resources managed by this formation (present on get/create/update)
3203
3160
  */
@@ -3243,10 +3200,32 @@ type PlanChange = {
3243
3200
  type PlanResult = {
3244
3201
  changes?: Array<PlanChange>;
3245
3202
  };
3203
+ /**
3204
+ * Why a deploy or teardown failed, in the one error shape the API has. Carried on the formation itself and on the operation that failed.
3205
+ */
3206
+ type FormationError = {
3207
+ /**
3208
+ * The failing operation's error code (`VALIDATION_FAILED`, `RESOURCE_NOT_FOUND`, `FORMATION_DELETE_FAILED`, …), or `UNKNOWN` when the underlying failure carried no code.
3209
+ */
3210
+ code: string;
3211
+ /**
3212
+ * The failure, as reported by the resource that raised it.
3213
+ */
3214
+ message: string;
3215
+ /**
3216
+ * Context for the failure. A failed apply names the resource that broke it (`logical_id`, `resource_type`); a failed teardown lists every blocker under `failures`.
3217
+ */
3218
+ meta?: {
3219
+ [key: string]: unknown;
3220
+ };
3221
+ };
3246
3222
  type FormationEvent = {
3247
3223
  timestamp?: Date;
3248
3224
  logical_id?: string;
3249
3225
  resource_type?: string;
3226
+ /**
3227
+ * What the deploy did to the resource: `create`, `update`, `delete`, `no-op`, `rollback` (a resource created earlier in this deploy that was walked back after a later failure), or `rollback-skipped` (a `deletion_policy: retain` resource left standing by that unwind).
3228
+ */
3250
3229
  action?: string;
3251
3230
  status?: 'succeeded' | 'failed';
3252
3231
  physical_resource_id?: string | null;
@@ -3261,9 +3240,10 @@ type FormationOperation = {
3261
3240
  status?: 'pending' | 'running' | 'succeeded' | 'failed';
3262
3241
  events?: Array<FormationEvent> | null;
3263
3242
  plan?: PlanResult | null;
3264
- error?: {
3265
- [key: string]: unknown;
3266
- } | null;
3243
+ /**
3244
+ * Why this operation failed. Null for a succeeded or running operation. The same bag the formation itself carries while that failure is its current state.
3245
+ */
3246
+ error?: FormationError | null;
3267
3247
  created_at?: Date;
3268
3248
  updated_at?: Date;
3269
3249
  };
@@ -3435,6 +3415,151 @@ type UpdateGenerationRequest = {
3435
3415
  [key: string]: unknown;
3436
3416
  };
3437
3417
  };
3418
+ /**
3419
+ * Token counts for one step. A field is null when the provider did not report it — null rather than 0, so "not reported" stays distinguishable from "none used".
3420
+ *
3421
+ */
3422
+ type TranscriptUsage = {
3423
+ input_tokens?: number | null;
3424
+ output_tokens?: number | null;
3425
+ total_tokens?: number | null;
3426
+ };
3427
+ /**
3428
+ * One tool call the model made during a step.
3429
+ */
3430
+ type TranscriptToolCall = {
3431
+ /**
3432
+ * The call's ID, as the model provider issued it (e.g. `call_…`), used to correlate it with an entry in `tool_results`. Null when the stored step did not record one.
3433
+ *
3434
+ */
3435
+ id?: string | null;
3436
+ tool_name?: string | null;
3437
+ /**
3438
+ * The arguments the model supplied, as a value. This payload is tool-owned: its keys are passed through exactly as they were recorded and are never inspected or rewritten by SOAT.
3439
+ *
3440
+ */
3441
+ args?: unknown;
3442
+ };
3443
+ /**
3444
+ * One tool's answer to a call in the same step. A call that failed is reported here too, with `result` null and `error` set — so a reader sees successes and failures in one ordered list keyed by the call they answer.
3445
+ *
3446
+ */
3447
+ type TranscriptToolResult = {
3448
+ /**
3449
+ * The `id` of the `tool_calls` entry this answers.
3450
+ */
3451
+ tool_call_id?: string | null;
3452
+ tool_name?: string | null;
3453
+ /**
3454
+ * What the tool returned, as a value. Tool-owned: keys are passed through verbatim. Null when the call errored.
3455
+ *
3456
+ */
3457
+ result?: unknown;
3458
+ /**
3459
+ * The tool's failure, when the step recorded one.
3460
+ */
3461
+ error?: unknown;
3462
+ };
3463
+ /**
3464
+ * One model step. Projected from the stored step at read time — the stored shape is provider- and SDK-specific and is never put on the wire.
3465
+ *
3466
+ */
3467
+ type TranscriptStep = {
3468
+ /**
3469
+ * Zero-based position of this step in the turn. Positional rather than the model's own step number, which restarts at zero when a paused turn resumes.
3470
+ *
3471
+ */
3472
+ index?: number;
3473
+ /**
3474
+ * The text this step produced. Empty for a step that only called tools.
3475
+ *
3476
+ */
3477
+ text?: string;
3478
+ /**
3479
+ * Why this step stopped.
3480
+ */
3481
+ finish_reason?: string | null;
3482
+ tool_calls?: Array<TranscriptToolCall>;
3483
+ tool_results?: Array<TranscriptToolResult>;
3484
+ /**
3485
+ * Null when the step recorded no usage.
3486
+ */
3487
+ usage?: TranscriptUsage | null;
3488
+ };
3489
+ /**
3490
+ * One generation's turn, read back step by step. Assembled at read time from the generation record and the trace's steps object — never stored, so it dies with the content it projects.
3491
+ *
3492
+ */
3493
+ type GenerationTranscript = {
3494
+ generation_id?: string;
3495
+ trace_id?: string | null;
3496
+ project_id?: string;
3497
+ agent_id?: string;
3498
+ /**
3499
+ * Agent config version that served the turn.
3500
+ */
3501
+ agent_version?: number | null;
3502
+ /**
3503
+ * Lifecycle status of the generation. Disambiguates an empty `steps` caused by a run still in flight from one caused by erased content.
3504
+ *
3505
+ */
3506
+ status?: 'in_progress' | 'requires_action' | 'completed' | 'failed';
3507
+ stop_reason?: string | null;
3508
+ started_at?: Date;
3509
+ completed_at?: Date | null;
3510
+ /**
3511
+ * Number of steps this turn recorded. A counter rather than content, so it survives a purge and still reports the size of a turn whose steps are gone. Scoped to the generation, not the trace: a trace that groups several generations counts them all in its own `step_count`, while each transcript reports only its own.
3512
+ *
3513
+ */
3514
+ step_count?: number;
3515
+ /**
3516
+ * The messages the turn was asked, as recorded. Message content is caller-owned and passed through verbatim. Null when the content was never stored, has been purged, or predates input recording.
3517
+ *
3518
+ */
3519
+ input?: Array<{
3520
+ [key: string]: unknown;
3521
+ }> | null;
3522
+ /**
3523
+ * The turn's steps in order. Empty for a run still in progress, and for one whose content is unavailable — `status` and `content_redacted_at` say which.
3524
+ *
3525
+ */
3526
+ steps?: Array<TranscriptStep>;
3527
+ /**
3528
+ * The turn's final answer. Null when there are no steps to derive it from.
3529
+ *
3530
+ */
3531
+ output?: {
3532
+ /**
3533
+ * The last step that produced text. Null for a turn that only called tools.
3534
+ *
3535
+ */
3536
+ content?: string | null;
3537
+ /**
3538
+ * The finish reason of the actual last step.
3539
+ */
3540
+ finish_reason?: string | null;
3541
+ } | null;
3542
+ /**
3543
+ * Structured error payload when the generation failed.
3544
+ */
3545
+ error?: {
3546
+ [key: string]: unknown;
3547
+ } | null;
3548
+ /**
3549
+ * When the generation's content was erased; null while it is intact.
3550
+ *
3551
+ */
3552
+ content_redacted_at?: Date | null;
3553
+ /**
3554
+ * Principal kind that erased the content.
3555
+ */
3556
+ content_redacted_by_principal_type?: string | null;
3557
+ /**
3558
+ * Public ID of that principal. `zero_retention` when the content was never stored, distinguishing it from content erased later.
3559
+ *
3560
+ */
3561
+ content_redacted_by_principal_id?: string | null;
3562
+ };
3438
3563
  /**
3439
3564
  * 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.
3440
3565
  *
@@ -3698,7 +3823,11 @@ type DocumentKnowledgeResult = {
3698
3823
  */
3699
3824
  content: string | null;
3700
3825
  /**
3701
- * Semantic similarity score (0–1). Only present when `query` was provided.
3826
+ * Implementation-defined relevance ranking — higher is better. The **ordering** it produces is the contract; the absolute value is not, and the formula behind it may change (a future hybrid ranking would fuse several signals here). It is the field `min_score` filters on and the field results are sorted by. Only present when `query` was provided. Use `similarity_score` when you need the raw cosine value.
3827
+ */
3828
+ score?: number;
3829
+ /**
3830
+ * Raw cosine similarity (0–1) between the query and this result. Pinned to that meaning — unlike `score`, it is never redefined. Only present when `query` was provided.
3702
3831
  */
3703
3832
  similarity_score?: number;
3704
3833
  /**
@@ -3732,7 +3861,11 @@ type MemoryKnowledgeResult = {
3732
3861
  */
3733
3862
  content: string;
3734
3863
  /**
3735
- * Semantic similarity score (0–1). Only present when `query` was provided.
3864
+ * Implementation-defined relevance ranking — higher is better. The **ordering** it produces is the contract; the absolute value is not, and the formula behind it may change (a future hybrid ranking would fuse several signals here). It is the field `min_score` filters on and the field results are sorted by. Only present when `query` was provided. Use `similarity_score` when you need the raw cosine value.
3865
+ */
3866
+ score?: number;
3867
+ /**
3868
+ * Raw cosine similarity (0–1) between the query and this result. Pinned to that meaning — unlike `score`, it is never redefined. Only present when `query` was provided.
3736
3869
  */
3737
3870
  similarity_score?: number;
3738
3871
  /**
@@ -3771,14 +3904,30 @@ type MemoryEntry = {
3771
3904
  metadata?: {
3772
3905
  [key: string]: unknown;
3773
3906
  } | null;
3907
+ /**
3908
+ * The generation whose turn produced this entry. Set for entries written by the `write_memory` tool and by automatic extraction; null for manual and orchestration writes. Recorded when the entry is created and never rewritten by a later merge.
3909
+ */
3910
+ source_generation_id?: string | null;
3911
+ /**
3912
+ * The conversation the producing turn belonged to. Null when the entry did not come from a conversation (a direct agent generation, a manual write, or an orchestration write).
3913
+ */
3914
+ source_conversation_id?: string | null;
3915
+ /**
3916
+ * When the entry was superseded. Null means the entry is currently valid. Invalidated entries are excluded from listing, from write deduplication, and from knowledge search, but remain readable by ID for audit.
3917
+ */
3918
+ invalidated_at?: Date | null;
3919
+ /**
3920
+ * The entry that replaced this one, when it was superseded. Null for valid entries.
3921
+ */
3922
+ superseded_by_entry_id?: string | null;
3774
3923
  created_at?: Date;
3775
3924
  updated_at?: Date;
3776
3925
  };
3777
3926
  type MemoryEntryWriteResult = MemoryEntry & {
3778
3927
  /**
3779
- * The outcome of the write operation
3928
+ * The outcome of the write operation. `superseded` means the incoming content contradicted an existing entry, which was invalidated and replaced — it is produced by the LLM-arbitrated write path and does not occur until that ships.
3780
3929
  */
3781
- action?: 'created' | 'updated' | 'skipped';
3930
+ action?: 'created' | 'updated' | 'skipped' | 'superseded';
3782
3931
  };
3783
3932
  type ModelRouteTarget = {
3784
3933
  /**
@@ -4576,6 +4725,45 @@ type SessionRecord = {
4576
4725
  * Timestamp of the last activity on the session (message added or response generated).
4577
4726
  */
4578
4727
  last_activity_at?: Date | null;
4728
+ /**
4729
+ * Public ID of the session this one was forked from, or null when it was not forked. Also null once that parent is deleted — a fork survives its parent and keeps its own history.
4730
+ *
4731
+ */
4732
+ forked_from_session_id?: string | null;
4733
+ /**
4734
+ * The parent conversation position this session branched after, or null when it is not a fork or was forked at the tip.
4735
+ *
4736
+ */
4737
+ forked_from_position?: number | null;
4738
+ };
4739
+ type ForkSessionRequest = {
4740
+ /**
4741
+ * The parent conversation `position` to branch after. Messages at positions 0..N are carried into the fork. Omit it to branch at the tip (the whole history).
4742
+ *
4743
+ */
4744
+ fork_at_position?: number;
4745
+ /**
4746
+ * Agent the fork runs against. Defaults to the parent session's agent; overriding it is the point of forking — same context, a different agent or agent version. Must belong to the same project as the session being forked.
4747
+ *
4748
+ */
4749
+ agent_id?: string;
4750
+ /**
4751
+ * Optional name for the forked session
4752
+ */
4753
+ name?: string;
4754
+ /**
4755
+ * Optional tags for the forked session
4756
+ */
4757
+ tags?: {
4758
+ [key: string]: string;
4759
+ };
4760
+ /**
4761
+ * Overrides the parent's `tool_context` on the fork. Omit it and the fork inherits the parent's, so the branch is faithful to the run it came from.
4762
+ *
4763
+ */
4764
+ tool_context?: {
4765
+ [key: string]: string;
4766
+ } | null;
4579
4767
  };
4580
4768
  type CreateSessionRequest = {
4581
4769
  /**
@@ -4775,7 +4963,7 @@ type Task = {
4775
4963
  last_result?: unknown;
4776
4964
  assignee?: string | null;
4777
4965
  /**
4778
- * { kind, id, status } of the current state's dispatch, if any. Carries an additional `attempt` (1-based) while the state's `on_enter.retry` policy is in effect.
4966
+ * { kind, id, status } of the current state's dispatch, if any. `kind` is `generation`, `orchestration_run` or `tool_call`; a `tool_call` always carries a null `id`, since a direct tool call leaves no addressable record. Carries an additional `attempt` (1-based) while the state's `on_enter.retry` policy is in effect.
4779
4967
  */
4780
4968
  active_dispatch?: {
4781
4969
  [key: string]: unknown;
@@ -4808,12 +4996,23 @@ type TaskTransition = {
4808
4996
  */
4809
4997
  principal_kind?: 'user' | 'api_key' | 'automation' | 'approval';
4810
4998
  /**
4811
- * Public id of the principal that made the move — the user (`user_...`), or for `api_key` auth the key's own id (`key_...`), distinguishing which key acted. Null for `automation`, which has no principal: the cause is carried by `generation_id` / `orchestration_run_id`.
4999
+ * Public id of the principal that made the move — the user (`user_...`), or for `api_key` auth the key's own id (`key_...`), distinguishing which key acted. Null for `automation`, which has no principal: the cause is carried by `generation_id` / `orchestration_run_id` / `tool_id`, one per dispatch kind — exactly one of which is set on an automation move.
4812
5000
  *
4813
5001
  */
4814
5002
  principal_id?: string | null;
5003
+ /**
5004
+ * Set when an `agent` dispatch's generation caused the move.
5005
+ */
4815
5006
  generation_id?: string | null;
5007
+ /**
5008
+ * Set when an `orchestration` dispatch's run caused the move.
5009
+ */
4816
5010
  orchestration_run_id?: string | null;
5011
+ /**
5012
+ * Set when a `tool` dispatch caused the move. A tool call produces no addressable record of its own, so the tool it called is what records why the task moved.
5013
+ *
5014
+ */
5015
+ tool_id?: string | null;
4817
5016
  note?: string | null;
4818
5017
  created_at?: Date;
4819
5018
  };
@@ -5432,6 +5631,11 @@ type UsageEvent = {
5432
5631
  *
5433
5632
  */
5434
5633
  meter_type?: string;
5634
+ /**
5635
+ * What the spend was incurred for. `eval` is an eval run's item generations and `eval_judge` an `llm_judge` scorer's own completion, so verification spend is `source` in (`eval`, `eval_judge`) and the two are distinct so running a suite can be priced apart from grading it. Null for ordinary agent traffic.
5636
+ *
5637
+ */
5638
+ source?: string | null;
5435
5639
  /**
5436
5640
  * As-billed SKU vendor slug, retained even if the AI provider is deleted. `soat` for platform meter types.
5437
5641
  *
@@ -5507,7 +5711,7 @@ type UsageAggregate = {
5507
5711
  * Upper bound applied, echoed back; null when unbounded
5508
5712
  */
5509
5713
  to?: Date | null;
5510
- group_by?: 'model' | 'agent' | 'run' | 'day' | 'meter_type' | 'actor' | 'session';
5714
+ group_by?: 'model' | 'agent' | 'run' | 'day' | 'meter_type' | 'actor' | 'session' | 'source';
5511
5715
  /**
5512
5716
  * Meter-type filter applied, echoed back; null when unfiltered
5513
5717
  */
@@ -5764,6 +5968,13 @@ type Delivery = {
5764
5968
  status_code?: number | null;
5765
5969
  attempts?: number;
5766
5970
  last_attempt_at?: Date | null;
5971
+ /**
5972
+ * When the delivery becomes eligible for its next attempt. Set while
5973
+ * the delivery is pending and a retry is still owed; null once it has
5974
+ * succeeded or exhausted its attempts.
5975
+ *
5976
+ */
5977
+ next_attempt_at?: Date | null;
5767
5978
  response_body?: string | null;
5768
5979
  created_at?: Date;
5769
5980
  updated_at?: Date;
@@ -5775,7 +5986,7 @@ type DeliveryListResponse = {
5775
5986
  offset?: number;
5776
5987
  };
5777
5988
  /**
5778
- * A named state. Exactly one state must be `initial: true`; any number may be `terminal: true`. A `kind: human` state never dispatches — the task parks until a transition fires. `on_enter` (§5) dispatches one agent generation or orchestration run on entry, optionally under a `retry` policy (`max_attempts` 1-10, `backoff_seconds`, `backoff_multiplier`) that re-runs execution failures before `on_failure` applies.
5989
+ * A named state. Exactly one state must be `initial: true`; any number may be `terminal: true`. A `kind: human` state never dispatches — the task parks until a transition fires. `on_enter` (§5) dispatches exactly one of an agent generation (`kind: agent`, `agent_id`), an orchestration run (`kind: orchestration`, `orchestration_id`) or a tool call (`kind: tool`, `tool_id`, optional `operation_id`) on entry, optionally under a `retry` policy (`max_attempts` 1-10, `backoff_seconds`, `backoff_multiplier`) that re-runs execution failures before `on_failure` applies. A `tool` dispatch settles within the dispatch and is adjudicated by the same guardrails as an orchestration `tool` node; for anything that must wait (a delay, a poll, a multi-step pipeline, or an approval-gated tool), dispatch an orchestration instead.
5779
5990
  */
5780
5991
  type WorkflowState = {
5781
5992
  name: string;
@@ -7151,7 +7362,7 @@ type ListAiProviderModelsData = {
7151
7362
  };
7152
7363
  type ListAiProviderModelsErrors = {
7153
7364
  /**
7154
- * The provider type cannot enumerate models, or the record is missing configuration the listing needs (a Vertex project, a Bedrock region, a linked API key).
7365
+ * The provider type or authentication mode cannot enumerate models (including Vertex express mode), or the record is missing configuration the listing needs (a Vertex project from either `config.project` or the service-account key file, a Bedrock region, or — for the API-key provider types — a linked secret).
7155
7366
  *
7156
7367
  */
7157
7368
  400: unknown;
@@ -7308,6 +7519,10 @@ type CreateApiKeyErrors = {
7308
7519
  * Unauthorized
7309
7520
  */
7310
7521
  401: unknown;
7522
+ /**
7523
+ * Forbidden (a project-scoped credential named a different project, or asked for an unscoped key)
7524
+ */
7525
+ 403: ErrorResponse;
7311
7526
  };
7312
7527
  type CreateApiKeyError = CreateApiKeyErrors[keyof CreateApiKeyErrors];
7313
7528
  type CreateApiKeyResponses = {
@@ -7334,7 +7549,7 @@ type DeleteApiKeyErrors = {
7334
7549
  */
7335
7550
  401: unknown;
7336
7551
  /**
7337
- * Forbidden (not the key owner or admin)
7552
+ * Forbidden (not the key owner or admin, or the credential is scoped to a different project)
7338
7553
  */
7339
7554
  403: unknown;
7340
7555
  /**
@@ -7366,7 +7581,7 @@ type GetApiKeyErrors = {
7366
7581
  */
7367
7582
  401: unknown;
7368
7583
  /**
7369
- * Forbidden (not the key owner or admin)
7584
+ * Forbidden (not the key owner or admin, or the credential is scoped to a different project)
7370
7585
  */
7371
7586
  403: unknown;
7372
7587
  /**
@@ -7412,7 +7627,7 @@ type UpdateApiKeyErrors = {
7412
7627
  */
7413
7628
  401: unknown;
7414
7629
  /**
7415
- * Forbidden (not the key owner or admin)
7630
+ * Forbidden (not the key owner or admin, or the credential is scoped to a different project)
7416
7631
  */
7417
7632
  403: unknown;
7418
7633
  /**
@@ -7957,36 +8172,6 @@ type GetChatResponses = {
7957
8172
  200: Chat;
7958
8173
  };
7959
8174
  type GetChatResponse = GetChatResponses[keyof GetChatResponses];
7960
- type CreateChatCompletionForChatData = {
7961
- body: ChatCompletionForChatRequest;
7962
- path: {
7963
- chat_id: string;
7964
- };
7965
- query?: never;
7966
- url: '/api/v1/chats/{chat_id}/completions';
7967
- };
7968
- type CreateChatCompletionForChatErrors = {
7969
- /**
7970
- * Bad Request
7971
- */
7972
- 400: ErrorResponse;
7973
- /**
7974
- * Unauthorized
7975
- */
7976
- 401: ErrorResponse;
7977
- /**
7978
- * Chat or AI provider not found
7979
- */
7980
- 404: ErrorResponse;
7981
- };
7982
- type CreateChatCompletionForChatError = CreateChatCompletionForChatErrors[keyof CreateChatCompletionForChatErrors];
7983
- type CreateChatCompletionForChatResponses = {
7984
- /**
7985
- * Chat completion result (JSON or SSE stream)
7986
- */
7987
- 200: ChatCompletionResponse;
7988
- };
7989
- type CreateChatCompletionForChatResponse = CreateChatCompletionForChatResponses[keyof CreateChatCompletionForChatResponses];
7990
8175
  type CreateChatCompletionData = {
7991
8176
  body: ChatCompletionRequest;
7992
8177
  path?: never;
@@ -7995,13 +8180,17 @@ type CreateChatCompletionData = {
7995
8180
  };
7996
8181
  type CreateChatCompletionErrors = {
7997
8182
  /**
7998
- * Bad Request — `messages` is missing or empty, or `ai_provider_id` is missing
8183
+ * Bad Request — `messages` is missing or empty; a `role: "system"` entry appears in `messages`; neither `ai_provider_id` nor `chat_id` was given, or both were; or `chat_id` names a chat that does not exist.
7999
8184
  */
8000
8185
  400: ErrorResponse;
8001
8186
  /**
8002
8187
  * Unauthorized — missing or invalid bearer token
8003
8188
  */
8004
8189
  401: ErrorResponse;
8190
+ /**
8191
+ * Forbidden — the caller lacks `chats:CreateChatCompletion` on the project the call belongs to: the chat's project for `chat_id`, the AI provider's project for `ai_provider_id`.
8192
+ */
8193
+ 403: ErrorResponse;
8005
8194
  /**
8006
8195
  * AI provider not found
8007
8196
  */
@@ -8274,7 +8463,7 @@ type AddConversationMessageData = {
8274
8463
  /**
8275
8464
  * Role of the message sender
8276
8465
  */
8277
- role: 'user' | 'assistant' | 'system';
8466
+ role: 'user' | 'assistant';
8278
8467
  /**
8279
8468
  * Optional actor ID to associate with this message (user identity)
8280
8469
  */
@@ -9433,6 +9622,61 @@ type CreateDatasetItemResponses = {
9433
9622
  201: DatasetItem;
9434
9623
  };
9435
9624
  type CreateDatasetItemResponse = CreateDatasetItemResponses[keyof CreateDatasetItemResponses];
9625
+ type CreateDatasetItemFromGenerationData = {
9626
+ body: {
9627
+ /**
9628
+ * The completed generation to promote. Must belong to the same project as the dataset.
9629
+ */
9630
+ generation_id: string;
9631
+ /**
9632
+ * Reference answer. Omit to use the generation's own answer; pass `null` to store the item with no reference answer.
9633
+ */
9634
+ expected_output?: string | null;
9635
+ /**
9636
+ * Free-form tags, opaque to the platform
9637
+ */
9638
+ metadata?: {
9639
+ [key: string]: unknown;
9640
+ } | null;
9641
+ };
9642
+ path: {
9643
+ /**
9644
+ * Dataset ID
9645
+ */
9646
+ dataset_id: string;
9647
+ };
9648
+ query?: never;
9649
+ url: '/api/v1/datasets/{dataset_id}/items/from-generation';
9650
+ };
9651
+ type CreateDatasetItemFromGenerationErrors = {
9652
+ /**
9653
+ * Bad request (generation_id missing, or the generation belongs to a different project than the dataset)
9654
+ */
9655
+ 400: unknown;
9656
+ /**
9657
+ * Unauthorized
9658
+ */
9659
+ 401: unknown;
9660
+ /**
9661
+ * Forbidden
9662
+ */
9663
+ 403: unknown;
9664
+ /**
9665
+ * Dataset or generation not found
9666
+ */
9667
+ 404: unknown;
9668
+ /**
9669
+ * The generation has not completed, or its content was never stored or has been purged
9670
+ */
9671
+ 409: unknown;
9672
+ };
9673
+ type CreateDatasetItemFromGenerationResponses = {
9674
+ /**
9675
+ * Dataset item created from the generation
9676
+ */
9677
+ 201: DatasetItem;
9678
+ };
9679
+ type CreateDatasetItemFromGenerationResponse = CreateDatasetItemFromGenerationResponses[keyof CreateDatasetItemFromGenerationResponses];
9436
9680
  type DeleteDatasetItemData = {
9437
9681
  body?: never;
9438
9682
  path: {
@@ -10836,6 +11080,11 @@ type DeleteFormationErrors = {
10836
11080
  * Not Found
10837
11081
  */
10838
11082
  404: unknown;
11083
+ /**
11084
+ * One or more resources could not be deleted (`FORMATION_DELETE_FAILED`). `error.meta.failures` lists each one as `{ logical_id, resource_type, error }`. The `message` says whether the pre-flight caught it (nothing deleted, formation still `active`) or it surfaced mid-teardown (formation left in `delete_failed`).
11085
+ *
11086
+ */
11087
+ 409: unknown;
10839
11088
  };
10840
11089
  type DeleteFormationResponses = {
10841
11090
  /**
@@ -11119,6 +11368,39 @@ type PurgeGenerationContentResponses = {
11119
11368
  200: Generation;
11120
11369
  };
11121
11370
  type PurgeGenerationContentResponse = PurgeGenerationContentResponses[keyof PurgeGenerationContentResponses];
11371
+ type GetGenerationTranscriptData = {
11372
+ body?: never;
11373
+ path: {
11374
+ /**
11375
+ * Public ID of the generation
11376
+ */
11377
+ generation_id: string;
11378
+ };
11379
+ query?: never;
11380
+ url: '/api/v1/generations/{generation_id}/transcript';
11381
+ };
11382
+ type GetGenerationTranscriptErrors = {
11383
+ /**
11384
+ * Unauthorized
11385
+ */
11386
+ 401: ErrorResponse;
11387
+ /**
11388
+ * Forbidden
11389
+ */
11390
+ 403: ErrorResponse;
11391
+ /**
11392
+ * Generation not found
11393
+ */
11394
+ 404: ErrorResponse;
11395
+ };
11396
+ type GetGenerationTranscriptError = GetGenerationTranscriptErrors[keyof GetGenerationTranscriptErrors];
11397
+ type GetGenerationTranscriptResponses = {
11398
+ /**
11399
+ * The generation's transcript
11400
+ */
11401
+ 200: GenerationTranscript;
11402
+ };
11403
+ type GetGenerationTranscriptResponse = GetGenerationTranscriptResponses[keyof GetGenerationTranscriptResponses];
11122
11404
  type ListGuardrailsData = {
11123
11405
  body?: never;
11124
11406
  path?: never;
@@ -11712,7 +11994,7 @@ type SearchKnowledgeData = {
11712
11994
  */
11713
11995
  query?: string;
11714
11996
  /**
11715
- * Minimum similarity score (0–1). Results with lower scores are excluded. Only applies when `query` is provided.
11997
+ * Minimum `score` a result must reach to be returned. Filters on the implementation-defined `score`, not on `similarity_score`, so the cutoff follows the ranking. Only applies when `query` is provided. Because the scale behind `score` is not part of the contract, treat a tuned value as tied to the deployment rather than portable.
11716
11998
  */
11717
11999
  min_score?: number;
11718
12000
  /**
@@ -11990,6 +12272,10 @@ type ListMemoryEntriesData = {
11990
12272
  * Number of results to skip
11991
12273
  */
11992
12274
  offset?: number;
12275
+ /**
12276
+ * Include invalidated (superseded) entries. They are excluded by default; set this to audit the supersede history.
12277
+ */
12278
+ include_invalidated?: boolean;
11993
12279
  };
11994
12280
  url: '/api/v1/memory-entries';
11995
12281
  };
@@ -14188,6 +14474,84 @@ type SubmitSessionToolOutputsResponses = {
14188
14474
  200: SendSessionMessageResponse;
14189
14475
  };
14190
14476
  type SubmitSessionToolOutputsResponse = SubmitSessionToolOutputsResponses[keyof SubmitSessionToolOutputsResponses];
14477
+ type ForkSessionData = {
14478
+ body?: ForkSessionRequest;
14479
+ path: {
14480
+ /**
14481
+ * Session public ID
14482
+ */
14483
+ session_id: string;
14484
+ };
14485
+ query?: never;
14486
+ url: '/api/v1/sessions/{session_id}/fork';
14487
+ };
14488
+ type ForkSessionErrors = {
14489
+ /**
14490
+ * `fork_at_position` names no message in the parent conversation, or `agent_id` is unknown or belongs to another project
14491
+ */
14492
+ 400: ErrorResponse;
14493
+ /**
14494
+ * Authentication required
14495
+ */
14496
+ 401: ErrorResponse;
14497
+ /**
14498
+ * Insufficient permissions
14499
+ */
14500
+ 403: ErrorResponse;
14501
+ /**
14502
+ * Not found
14503
+ */
14504
+ 404: ErrorResponse;
14505
+ };
14506
+ type ForkSessionError = ForkSessionErrors[keyof ForkSessionErrors];
14507
+ type ForkSessionResponses = {
14508
+ /**
14509
+ * Fork created
14510
+ */
14511
+ 201: SessionRecord;
14512
+ };
14513
+ type ForkSessionResponse = ForkSessionResponses[keyof ForkSessionResponses];
14514
+ type ListSessionForksData = {
14515
+ body?: never;
14516
+ path: {
14517
+ /**
14518
+ * Session public ID
14519
+ */
14520
+ session_id: string;
14521
+ };
14522
+ query?: {
14523
+ limit?: number;
14524
+ offset?: number;
14525
+ };
14526
+ url: '/api/v1/sessions/{session_id}/forks';
14527
+ };
14528
+ type ListSessionForksErrors = {
14529
+ /**
14530
+ * Authentication required
14531
+ */
14532
+ 401: ErrorResponse;
14533
+ /**
14534
+ * Insufficient permissions
14535
+ */
14536
+ 403: ErrorResponse;
14537
+ /**
14538
+ * Not found
14539
+ */
14540
+ 404: ErrorResponse;
14541
+ };
14542
+ type ListSessionForksError = ListSessionForksErrors[keyof ListSessionForksErrors];
14543
+ type ListSessionForksResponses = {
14544
+ /**
14545
+ * Paginated list of forks
14546
+ */
14547
+ 200: {
14548
+ data?: Array<SessionRecord>;
14549
+ total?: number;
14550
+ limit?: number;
14551
+ offset?: number;
14552
+ };
14553
+ };
14554
+ type ListSessionForksResponse = ListSessionForksResponses[keyof ListSessionForksResponses];
14191
14555
  type GetSessionTagsData = {
14192
14556
  body?: never;
14193
14557
  path: {
@@ -15239,6 +15603,11 @@ type ListUsageMetersData = {
15239
15603
  *
15240
15604
  */
15241
15605
  meter_type?: string;
15606
+ /**
15607
+ * Filter by what the spend was incurred for. `eval` is an eval run's item generations and `eval_judge` an `llm_judge` scorer's own completion, so verification spend is `source` in (`eval`, `eval_judge`). Ordinary agent traffic carries no source and is matched by neither.
15608
+ *
15609
+ */
15610
+ source?: string;
15242
15611
  limit?: number;
15243
15612
  offset?: number;
15244
15613
  };
@@ -15276,10 +15645,10 @@ type GetUsageData = {
15276
15645
  */
15277
15646
  project_id: string;
15278
15647
  /**
15279
- * Dimension to bucket by. `day` buckets on the event's UTC calendar day; the others bucket on the matching column.
15648
+ * Dimension to bucket by. `day` buckets on the event's UTC calendar day; the others bucket on the matching column. `source` buckets by what the spend was incurred for (`eval`, `eval_judge`), which is how verification spend is priced apart from the traffic serving real users; unlabelled traffic collapses into the single `null` bucket.
15280
15649
  *
15281
15650
  */
15282
- group_by: 'model' | 'agent' | 'run' | 'day' | 'meter_type' | 'actor' | 'session';
15651
+ group_by: 'model' | 'agent' | 'run' | 'day' | 'meter_type' | 'actor' | 'session' | 'source';
15283
15652
  /**
15284
15653
  * Inclusive lower bound (ISO-8601 timestamp) on the event created_at. Omit for no lower bound.
15285
15654
  *
@@ -15961,6 +16330,38 @@ type GetWebhookDeliveryResponses = {
15961
16330
  200: Delivery;
15962
16331
  };
15963
16332
  type GetWebhookDeliveryResponse = GetWebhookDeliveryResponses[keyof GetWebhookDeliveryResponses];
16333
+ type RedeliverWebhookDeliveryData = {
16334
+ body?: never;
16335
+ path: {
16336
+ /**
16337
+ * Delivery to send again (wh_deliv_...)
16338
+ */
16339
+ delivery_id: string;
16340
+ };
16341
+ query?: never;
16342
+ url: '/api/v1/webhook-deliveries/{delivery_id}/redeliver';
16343
+ };
16344
+ type RedeliverWebhookDeliveryErrors = {
16345
+ /**
16346
+ * Unauthorized
16347
+ */
16348
+ 401: unknown;
16349
+ /**
16350
+ * Forbidden
16351
+ */
16352
+ 403: unknown;
16353
+ /**
16354
+ * Delivery not found
16355
+ */
16356
+ 404: unknown;
16357
+ };
16358
+ type RedeliverWebhookDeliveryResponses = {
16359
+ /**
16360
+ * Redelivery queued; poll the returned delivery for its outcome
16361
+ */
16362
+ 202: Delivery;
16363
+ };
16364
+ type RedeliverWebhookDeliveryResponse = RedeliverWebhookDeliveryResponses[keyof RedeliverWebhookDeliveryResponses];
15964
16365
  type GetWebhookSecretData = {
15965
16366
  body?: never;
15966
16367
  path: {
@@ -16518,6 +16919,8 @@ declare class AiProviders {
16518
16919
  * Asks the provider which models it can run, using this provider record's own credentials and configuration, and returns provider-native model ids — the same strings `default_model` and an agent's `model` carry.
16519
16920
  * Which models are reachable is a property of the credential, not of the provider type: a Vertex provider sees only the publisher models its Google Cloud project and location serve, and a Bedrock provider only the foundation models enabled in its region. Reading the list is how a caller avoids pinning a model that fails at generation time.
16520
16921
  * Not every provider type can answer. `azure` lists deployments an operator named rather than models, and `ollama` lists whatever was pulled onto that host, so both return `400 MODEL_LISTING_UNSUPPORTED`.
16922
+ * Listing resolves credentials the same way generation does, so a record that can generate can list. The API-key types (`openai`, `groq`, `xai`, `gateway`, `custom`, `anthropic`, `google`) use the record's linked secret and cannot list without one. `bedrock` and `vertex` use the linked secret when there is one — IAM keys or a Bedrock API key, a Google service-account key — and otherwise fall back to the server environment (the AWS default credential chain, Google Application Default Credentials), so a record with no `secret_id` can still list.
16923
+ * A Vertex record needs no `config.project` when its secret is a service-account key, since the key file names its own project. A Vertex record in express mode (API key) cannot list at all: express mode is a global, project-less endpoint and the publisher-model catalogue is per-project, so it returns `400 MODEL_LISTING_UNSUPPORTED`.
16521
16924
  *
16522
16925
  */
16523
16926
  static listAiProviderModels<ThrowOnError extends boolean = false>(options: Options<ListAiProviderModelsData, ThrowOnError>): RequestResult<ListAiProviderModelsResponses, ListAiProviderModelsErrors, ThrowOnError>;
@@ -16540,33 +16943,33 @@ declare class ApiKeys {
16540
16943
  /**
16541
16944
  * List API keys
16542
16945
  *
16543
- * Lists API keys accessible to the caller. - JWT admin: returns all API keys. - JWT regular user: returns only the user's own API keys. - API key: returns only API keys scoped to the key's project.
16946
+ * Lists API keys accessible to the caller. - JWT admin: returns all API keys. - JWT regular user: returns only the user's own API keys. - Project-scoped credential (API key or OAuth token): returns only API keys scoped to that project.
16544
16947
  *
16545
16948
  */
16546
16949
  static listApiKeys<ThrowOnError extends boolean = false>(options?: Options<ListApiKeysData, ThrowOnError>): RequestResult<ListApiKeysResponses, ListApiKeysErrors, ThrowOnError>;
16547
16950
  /**
16548
16951
  * Create an API key
16549
16952
  *
16550
- * Creates a new API key for the authenticated user. - `project_id` is optional. When set, the key is scoped to that single project. When omitted or null, the key is **unscoped** and spans every project its owner can reach. - If `policy_ids` is provided, the key's effective permissions are the intersection of the user's policies and the key's policies. - Otherwise the key inherits the user's permissions (confined to the key's project when scoped).
16953
+ * Creates a new API key for the authenticated user. - `project_id` is optional. When set, the key is scoped to that single project. When omitted or null, the key is **unscoped** and spans every project its owner can reach. - If `policy_ids` is provided, the key's effective permissions are the intersection of the user's policies and the key's policies. - Otherwise the key inherits the user's permissions (confined to the key's project when scoped). - When the request is authenticated with a **project-scoped credential**, the new key is confined to that same project: omitting `project_id` defaults to it, naming a different project returns `403 API_KEY_PROJECT_SCOPE`, and `project_id: null` (an unscoped key) is likewise refused. Minting an unscoped key requires an unscoped credential.
16551
16954
  *
16552
16955
  */
16553
16956
  static createApiKey<ThrowOnError extends boolean = false>(options: Options<CreateApiKeyData, ThrowOnError>): RequestResult<CreateApiKeyResponses, CreateApiKeyErrors, ThrowOnError>;
16554
16957
  /**
16555
16958
  * Delete an API key
16556
16959
  *
16557
- * Deletes an API key. Only the owner or an admin can delete it.
16960
+ * Deletes an API key. Only the owner or an admin can delete it, and a project-scoped credential can only delete keys in its own project.
16558
16961
  */
16559
16962
  static deleteApiKey<ThrowOnError extends boolean = false>(options: Options<DeleteApiKeyData, ThrowOnError>): RequestResult<DeleteApiKeyResponses, DeleteApiKeyErrors, ThrowOnError>;
16560
16963
  /**
16561
16964
  * Get an API key
16562
16965
  *
16563
- * Returns details of an API key. Only the owner or an admin can access it.
16966
+ * Returns details of an API key. Only the owner or an admin can access it, and a project-scoped credential can only reach keys in its own project.
16564
16967
  */
16565
16968
  static getApiKey<ThrowOnError extends boolean = false>(options: Options<GetApiKeyData, ThrowOnError>): RequestResult<GetApiKeyResponses, GetApiKeyErrors, ThrowOnError>;
16566
16969
  /**
16567
16970
  * Update an API key
16568
16971
  *
16569
- * Updates an API key's name, project scope, or policies. The project scope can be changed to another project, set (scoping a previously unscoped key), or cleared with null (unscoping the key). Only the owner or an admin can update it.
16972
+ * Updates an API key's name, project scope, or policies. The project scope can be changed to another project, set (scoping a previously unscoped key), or cleared with null (unscoping the key). Only the owner or an admin can update it. A project-scoped credential can only update keys in its own project, and cannot move a key to another project or unscope it.
16570
16973
  */
16571
16974
  static updateApiKey<ThrowOnError extends boolean = false>(options: Options<UpdateApiKeyData, ThrowOnError>): RequestResult<UpdateApiKeyResponses, UpdateApiKeyErrors, ThrowOnError>;
16572
16975
  }
@@ -16648,16 +17051,15 @@ declare class Chats {
16648
17051
  */
16649
17052
  static getChat<ThrowOnError extends boolean = false>(options: Options<GetChatData, ThrowOnError>): RequestResult<GetChatResponses, GetChatErrors, ThrowOnError>;
16650
17053
  /**
16651
- * Create a chat completion for a stored chat
17054
+ * Create a chat completion
16652
17055
  *
16653
- * Runs a completion using the AI provider and settings stored in the chat. Pass `stream: true` for SSE streaming. A system message in `messages` overrides the chat's stored system message for this call only. Messages may use `documentId` instead of `content`.
17056
+ * OpenAI Chat Completions-compatible endpoint. Mirrors OpenAI's `POST /v1/chat/completions` path so an OpenAI SDK can target it by base URL alone.
16654
17057
  *
16655
- */
16656
- static createChatCompletionForChat<ThrowOnError extends boolean = false>(options: Options<CreateChatCompletionForChatData, ThrowOnError>): RequestResult<CreateChatCompletionForChatResponses, CreateChatCompletionForChatErrors, ThrowOnError>;
16657
- /**
16658
- * Create a chat completion (stateless)
17058
+ * Names exactly one target. With `ai_provider_id` the completion is stateless: the provider's secret is decrypted and the appropriate Vercel AI SDK provider is called, with no server-side model fallback. With `chat_id` the stored chat supplies the provider (or the project's `default_model_route_id`), model and instructions.
17059
+ *
17060
+ * System content travels only in `instructions` — a `role: "system"` entry in `messages` is refused with `400 SYSTEM_MESSAGE_NOT_ALLOWED`. With `chat_id`, a request `instructions` replaces the chat's stored one for this call only; the stored value applies when the request carries none, and the two are never merged.
16659
17061
  *
16660
- * OpenAI Chat Completions-compatible endpoint. Mirrors OpenAI's `POST /v1/chat/completions` path so an OpenAI SDK can target it by base URL alone. Resolves the AI provider from `ai_provider_id`, decrypts its secret, and calls the appropriate Vercel AI SDK provider. `ai_provider_id` is required — there is no server-side model fallback.
17062
+ * Messages may use `document_id` instead of `content` with either target. Chats hold no message history send the full `messages` array every time.
16661
17063
  *
16662
17064
  */
16663
17065
  static createChatCompletion<ThrowOnError extends boolean = false>(options: Options<CreateChatCompletionData, ThrowOnError>): RequestResult<CreateChatCompletionResponses, CreateChatCompletionErrors, ThrowOnError>;
@@ -16907,6 +17309,18 @@ declare class Evaluations {
16907
17309
  * Adds one test case. `input` is replayed verbatim as the generation's messages, so it must be a non-empty array of `{ role, content }`.
16908
17310
  */
16909
17311
  static createDatasetItem<ThrowOnError extends boolean = false>(options: Options<CreateDatasetItemData, ThrowOnError>): RequestResult<CreateDatasetItemResponses, CreateDatasetItemErrors, ThrowOnError>;
17312
+ /**
17313
+ * Curate a dataset item from a generation
17314
+ *
17315
+ * Promotes a real, completed generation into a test case: its input messages become the item's `input`, and its own answer becomes `expected_output` unless you supply one. Use it to build an evaluation set out of production traffic rather than hand-authoring fixtures.
17316
+ *
17317
+ * The item is a **copy**, not a view. It keeps working after the source generation's content is purged, and `source_generation_id` goes null if that generation is deleted — a purge can never quietly stop a suite from being runnable.
17318
+ *
17319
+ * Requires both `evaluations:CreateDataset` and `generations:GetGeneration`: the call copies content out of a generation, so a principal that may not read that generation may not curate it either.
17320
+ *
17321
+ * Only a **completed** generation can be promoted (`409 GENERATION_NOT_COMPLETED`), and only while its content is still available: an agent or project running with `trace_content_mode: none` never stored the input, and a purged or expired generation no longer has it (`409 GENERATION_CONTENT_UNAVAILABLE`). Generations that predate input recording answer the same way.
17322
+ */
17323
+ static createDatasetItemFromGeneration<ThrowOnError extends boolean = false>(options: Options<CreateDatasetItemFromGenerationData, ThrowOnError>): RequestResult<CreateDatasetItemFromGenerationResponses, CreateDatasetItemFromGenerationErrors, ThrowOnError>;
16910
17324
  /**
16911
17325
  * Delete a dataset item
16912
17326
  *
@@ -17132,6 +17546,8 @@ declare class Formations {
17132
17546
  *
17133
17547
  * Validates the template, creates the formation record, then provisions all declared resources in dependency order.
17134
17548
  *
17549
+ * A **template-shape** error is refused with `400`. A **deploy** failure is not: the operation ran, so the formation is returned with `201` and `status: "failed"`, and `error` explains why (the resources created before the failure are rolled back). Read `status` — a `2xx` here means the deploy was attempted, not that it worked. The `soat` CLI exits non-zero on that body so `create-formation && …` does not lie.
17550
+ *
17135
17551
  */
17136
17552
  static createFormation<ThrowOnError extends boolean = false>(options: Options<CreateFormationData, ThrowOnError>): RequestResult<CreateFormationResponses, CreateFormationErrors, ThrowOnError>;
17137
17553
  /**
@@ -17139,6 +17555,10 @@ declare class Formations {
17139
17555
  *
17140
17556
  * Deletes the formation stack and all its managed resources in reverse dependency order.
17141
17557
  *
17558
+ * A resource the platform refuses to delete on its own — most often an agent that has generation or trace history — fails the teardown with `409 FORMATION_DELETE_FAILED`, naming every blocking resource in `error.meta.failures`. Resolve the blockers (for an agent, `DELETE /api/v1/agents/{agent_id}?force=true` also removes its generations and traces, and `deletion_policy: retain` exempts it from teardown entirely) and delete the formation again.
17559
+ *
17560
+ * A refusal the platform can foresee is found by a pre-flight, before the first delete: nothing is removed, and the formation stays `active` and intact for the retry. An unforeseeable error surfaces mid-teardown instead, where resources deleted before the blocker stay deleted and the formation is left in `delete_failed`. The error message states which happened.
17561
+ *
17142
17562
  */
17143
17563
  static deleteFormation<ThrowOnError extends boolean = false>(options: Options<DeleteFormationData, ThrowOnError>): RequestResult<DeleteFormationResponses, DeleteFormationErrors, ThrowOnError>;
17144
17564
  /**
@@ -17152,6 +17572,8 @@ declare class Formations {
17152
17572
  *
17153
17573
  * Applies a new template to the formation. Resources are created, updated, or deleted to reconcile the current state with the desired state.
17154
17574
  *
17575
+ * A **template-shape** error is refused with `400`. A **deploy** failure is not: the operation ran, so the formation is returned with `200` and `status: "failed"`, and `error` explains why. Read `status` — a `2xx` here means the deploy was attempted, not that it worked. The `soat` CLI exits non-zero on that body so `update-formation && …` does not lie.
17576
+ *
17155
17577
  */
17156
17578
  static updateFormation<ThrowOnError extends boolean = false>(options: Options<UpdateFormationData, ThrowOnError>): RequestResult<UpdateFormationResponses, UpdateFormationErrors, ThrowOnError>;
17157
17579
  /**
@@ -17197,6 +17619,17 @@ declare class Generations {
17197
17619
  *
17198
17620
  */
17199
17621
  static purgeGenerationContent<ThrowOnError extends boolean = false>(options: Options<PurgeGenerationContentData, ThrowOnError>): RequestResult<PurgeGenerationContentResponses, PurgeGenerationContentErrors, ThrowOnError>;
17622
+ /**
17623
+ * Get a generation's transcript
17624
+ *
17625
+ * Returns one generation's turn read back as an ordered sequence of steps: what it was asked, each model step with its tool calls and results, and how it ended.
17626
+ *
17627
+ * The transcript is assembled at read time from the generation record and the trace's steps object; nothing is stored, so it cannot outlive the content it projects. Requires `traces:GetTrace` in addition to `generations:GetGeneration`, because the response merges content from both resources.
17628
+ *
17629
+ * A generation whose content is unavailable — never written under zero-retention, or cleared by a purge — returns `200` with the skeleton rather than an error: `input` and `output` are null, `steps` is empty, and the `content_redacted_*` fields say which happened. `content_redacted_by_principal_id` is `zero_retention` when the content was never stored, and the purging principal's ID when it was erased later. A generation that is still running returns the same shape with an empty `steps`; `status` disambiguates the two.
17630
+ *
17631
+ */
17632
+ static getGenerationTranscript<ThrowOnError extends boolean = false>(options: Options<GetGenerationTranscriptData, ThrowOnError>): RequestResult<GetGenerationTranscriptResponses, GetGenerationTranscriptErrors, ThrowOnError>;
17200
17633
  }
17201
17634
  declare class Guardrails {
17202
17635
  /**
@@ -17475,7 +17908,7 @@ declare class Orchestrations {
17475
17908
  /**
17476
17909
  * Start an orchestration run
17477
17910
  *
17478
- * Creates a new run for the orchestration named by orchestration_id. By default the run executes durably in the background: the response returns immediately with status "queued" (a worker then claims it and moves it to "running") and progress is observed via get-orchestration-run or run lifecycle webhook events (orchestration_runs.started/awaiting_input/succeeded/failed). Delay and poll waits park the run as "sleeping" and are woken by a background scheduler, surviving restarts. Pass wait=true to block until the run reaches a terminal or awaiting_input state (the legacy synchronous behaviour).
17911
+ * Creates a new run for the orchestration named by orchestration_id. By default the run executes durably in the background: the response returns immediately with status "queued" (a worker then claims it and moves it to "running") and progress is observed via get-orchestration-run or run lifecycle webhook events (orchestration_runs.started/awaiting_input/succeeded/failed). Delay and poll waits park the run as "sleeping" and are woken by a background scheduler, surviving restarts. Pass wait=true to block until the run reaches a terminal or awaiting_input state.
17479
17912
  */
17480
17913
  static startOrchestrationRun<ThrowOnError extends boolean = false>(options: Options<StartOrchestrationRunData, ThrowOnError>): RequestResult<StartOrchestrationRunResponses, StartOrchestrationRunErrors, ThrowOnError>;
17481
17914
  /**
@@ -17702,6 +18135,24 @@ declare class Sessions {
17702
18135
  *
17703
18136
  */
17704
18137
  static submitSessionToolOutputs<ThrowOnError extends boolean = false>(options: Options<SubmitSessionToolOutputsData, ThrowOnError>): RequestResult<SubmitSessionToolOutputsResponses, SubmitSessionToolOutputsErrors, ThrowOnError>;
18138
+ /**
18139
+ * Fork a session
18140
+ *
18141
+ * Branches a new session from a point in this session's history: same context, different continuation.
18142
+ *
18143
+ * The fork gets its own conversation whose messages **reference the same documents** as the parent rather than copying them, so there is one stored copy of the content and a retention purge erases it from both. Recorded tool results ride along on those messages and are **replayed** as model input on the fork's next turn — forking never re-invokes a tool, so exploring a "what if" cannot send an email or charge a card a second time. The consequence to accept is that a forked turn sees the tool data as it was, not as it is now.
18144
+ *
18145
+ * The fork is created **inert**: `auto_generate` is false and no generation is triggered. Drive it with the normal message and generate endpoints. The fork has no actor — attach one only if the branch is meant to be driven by the same end user, since `single_session_per_actor` agents allow one open session per actor.
18146
+ *
18147
+ */
18148
+ static forkSession<ThrowOnError extends boolean = false>(options: Options<ForkSessionData, ThrowOnError>): RequestResult<ForkSessionResponses, ForkSessionErrors, ThrowOnError>;
18149
+ /**
18150
+ * List a session's forks
18151
+ *
18152
+ * Returns the sessions forked directly from this one. One level of lineage: a fork of a fork is listed under its own parent.
18153
+ *
18154
+ */
18155
+ static listSessionForks<ThrowOnError extends boolean = false>(options: Options<ListSessionForksData, ThrowOnError>): RequestResult<ListSessionForksResponses, ListSessionForksErrors, ThrowOnError>;
17705
18156
  /**
17706
18157
  * Get session tags
17707
18158
  *
@@ -17904,7 +18355,7 @@ declare class Usage {
17904
18355
  /**
17905
18356
  * List usage meters
17906
18357
  *
17907
- * Returns the raw usage-meter rows the caller can access, most recent first, optionally filtered by agent, generation, trace, actor, or session. Each row is the per-generation token usage as reported by the provider, for audit and reconciliation.
18358
+ * Returns the raw usage-meter rows the caller can access, most recent first, optionally filtered by agent, generation, trace, actor, session, or `source`. Each row is the per-generation token usage as reported by the provider, for audit and reconciliation.
17908
18359
  *
17909
18360
  */
17910
18361
  static listUsageMeters<ThrowOnError extends boolean = false>(options?: Options<ListUsageMetersData, ThrowOnError>): RequestResult<ListUsageMetersResponses, ListUsageMetersErrors, ThrowOnError>;
@@ -18051,6 +18502,17 @@ declare class Webhooks {
18051
18502
  * Retrieves the details of a specific webhook delivery
18052
18503
  */
18053
18504
  static getWebhookDelivery<ThrowOnError extends boolean = false>(options: Options<GetWebhookDeliveryData, ThrowOnError>): RequestResult<GetWebhookDeliveryResponses, GetWebhookDeliveryErrors, ThrowOnError>;
18505
+ /**
18506
+ * Redeliver a webhook delivery
18507
+ *
18508
+ * Queues the stored payload of an existing delivery to be sent again.
18509
+ *
18510
+ * A new delivery record is created rather than the original being reset,
18511
+ * so the original attempt stays in the history. The send happens in the
18512
+ * background: poll the returned delivery to observe its outcome.
18513
+ *
18514
+ */
18515
+ static redeliverWebhookDelivery<ThrowOnError extends boolean = false>(options: Options<RedeliverWebhookDeliveryData, ThrowOnError>): RequestResult<RedeliverWebhookDeliveryResponses, RedeliverWebhookDeliveryErrors, ThrowOnError>;
18054
18516
  /**
18055
18517
  * Get webhook secret
18056
18518
  *
@@ -18206,4 +18668,4 @@ declare class SoatClient {
18206
18668
  constructor({ baseUrl, token, headers }?: SoatClientOptions);
18207
18669
  }
18208
18670
  //#endregion
18209
- export { type AbortAgentReleaseData, type AbortAgentReleaseError, type AbortAgentReleaseErrors, type AbortAgentReleaseResponse, type AbortAgentReleaseResponses, type AcceptedGenerationResponse, type AcknowledgeExceptionData, type AcknowledgeExceptionErrors, type AcknowledgeExceptionResponse, type AcknowledgeExceptionResponses, Activity, type ActivityEntry, 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 AgentRelease, type AgentResourceProperties, type AgentVersion, AgentVersions, Agents, type AggregateScores, type AiProviderResourceProperties, AiProviders, type ApiKeyCreated, type ApiKeyRecord, type ApiKeyResourceProperties, ApiKeys, type ApprovalId, type ApprovalItem, type ApprovalRecurrenceGroup, Approvals, type ApproveApprovalData, type ApproveApprovalErrors, type ApproveApprovalResponse, type ApproveApprovalResponses, type AttachUserPoliciesData, type AttachUserPoliciesError, type AttachUserPoliciesErrors, type AttachUserPoliciesResponse, type AttachUserPoliciesResponses, type AuditEntry, AuditLog, type BaselineComparison, type BootstrapUserData, type BootstrapUserError, type BootstrapUserErrors, type BootstrapUserResponse, type BootstrapUserResponses, type CallToolData, type CallToolError, type CallToolErrors, type CallToolRequest, type CallToolResponses, type CancelEvalRunData, type CancelEvalRunErrors, type CancelEvalRunResponse, type CancelEvalRunResponses, 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 ContainsScorer, 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 CreateDatasetData, type CreateDatasetErrors, type CreateDatasetItemData, type CreateDatasetItemErrors, type CreateDatasetItemResponse, type CreateDatasetItemResponses, type CreateDatasetResponse, type CreateDatasetResponses, type CreateDocumentData, type CreateDocumentError, type CreateDocumentErrors, type CreateDocumentResponse, type CreateDocumentResponses, type CreateEmbeddingsData, type CreateEmbeddingsError, type CreateEmbeddingsErrors, type CreateEmbeddingsResponse, type CreateEmbeddingsResponses, type CreateEvalData, type CreateEvalErrors, type CreateEvalResponse, type CreateEvalResponses, 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 CreateModelRouteData, type CreateModelRouteErrors, type CreateModelRouteResponse, type CreateModelRouteResponses, 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 Dataset, type DatasetItem, type DatasetItemInput, type DatasetItemResourceProperties, type DatasetResourceProperties, 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 DeleteDatasetData, type DeleteDatasetErrors, type DeleteDatasetItemData, type DeleteDatasetItemErrors, type DeleteDatasetItemResponse, type DeleteDatasetItemResponses, type DeleteDatasetResponse, type DeleteDatasetResponses, type DeleteDocumentData, type DeleteDocumentError, type DeleteDocumentErrors, type DeleteDocumentResponse, type DeleteDocumentResponses, type DeleteEvalData, type DeleteEvalErrors, type DeleteEvalResponse, type DeleteEvalResponses, 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 DeleteModelRouteData, type DeleteModelRouteErrors, type DeleteModelRouteResponse, type DeleteModelRouteResponses, 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 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 Eval, type EvalResourceProperties, type EvalResult, type EvalRun, type EvaluateGuardrailData, type EvaluateGuardrailError, type EvaluateGuardrailErrors, type EvaluateGuardrailResponse, type EvaluateGuardrailResponses, Evaluations, type ExactMatchScorer, type ExceptionId, type ExceptionItem, Exceptions, type ExportAuditEntriesData, type ExportAuditEntriesErrors, type ExportAuditEntriesResponse, type ExportAuditEntriesResponses, 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 GetAgentVersionData, type GetAgentVersionError, type GetAgentVersionErrors, type GetAgentVersionResponse, type GetAgentVersionResponses, 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 GetDatasetData, type GetDatasetErrors, type GetDatasetResponse, type GetDatasetResponses, 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 GetEvalData, type GetEvalErrors, type GetEvalResponse, type GetEvalResponses, type GetEvalRunData, type GetEvalRunErrors, type GetEvalRunResponse, type GetEvalRunResponses, 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 GetModelRouteData, type GetModelRouteErrors, type GetModelRouteResponse, type GetModelRouteResponses, type GetOrchestrationData, type GetOrchestrationErrors, type GetOrchestrationResponse, type GetOrchestrationResponses, type GetOrchestrationRunData, type GetOrchestrationRunErrors, type GetOrchestrationRunResponse, type GetOrchestrationRunResponses, type GetOrchestrationVersionData, type GetOrchestrationVersionErrors, type GetOrchestrationVersionResponse, type GetOrchestrationVersionResponses, 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 GetWorkflowVersionData, type GetWorkflowVersionErrors, type GetWorkflowVersionResponse, type GetWorkflowVersionResponses, 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, type JsonLogicScorer, Knowledge, type KnowledgeResult, type ListActivityData, type ListActivityErrors, type ListActivityResponse, type ListActivityResponses, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAgentVersionsData, type ListAgentVersionsError, type ListAgentVersionsErrors, type ListAgentVersionsResponse, type ListAgentVersionsResponses, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListAiProviderModelsData, type ListAiProviderModelsErrors, type ListAiProviderModelsResponse, type ListAiProviderModelsResponses, type ListAiProvidersData, type ListAiProvidersErrors, type ListAiProvidersResponse, type ListAiProvidersResponses, type ListApiKeysData, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListApprovalRecurrencesData, type ListApprovalRecurrencesErrors, type ListApprovalRecurrencesResponse, type ListApprovalRecurrencesResponses, 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 ListDatasetItemsData, type ListDatasetItemsErrors, type ListDatasetItemsResponse, type ListDatasetItemsResponses, type ListDatasetsData, type ListDatasetsErrors, type ListDatasetsResponse, type ListDatasetsResponses, type ListDocumentsData, type ListDocumentsError, type ListDocumentsErrors, type ListDocumentsResponse, type ListDocumentsResponses, type ListEvalResultsData, type ListEvalResultsErrors, type ListEvalResultsResponse, type ListEvalResultsResponses, type ListEvalRunsData, type ListEvalRunsErrors, type ListEvalRunsResponse, type ListEvalRunsResponses, type ListEvalsData, type ListEvalsErrors, type ListEvalsResponse, type ListEvalsResponses, 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 ListGuardrailVersionsData, type ListGuardrailVersionsError, type ListGuardrailVersionsErrors, type ListGuardrailVersionsResponse, type ListGuardrailVersionsResponses, 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 ListModelRoutesData, type ListModelRoutesErrors, type ListModelRoutesResponse, type ListModelRoutesResponses, type ListOrchestrationRunsData, type ListOrchestrationRunsErrors, type ListOrchestrationRunsResponse, type ListOrchestrationRunsResponses, type ListOrchestrationVersionsData, type ListOrchestrationVersionsErrors, type ListOrchestrationVersionsResponse, type ListOrchestrationVersionsResponses, 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 ListWorkflowVersionsData, type ListWorkflowVersionsErrors, type ListWorkflowVersionsResponse, type ListWorkflowVersionsResponses, type ListWorkflowsData, type ListWorkflowsErrors, type ListWorkflowsResponse, type ListWorkflowsResponses, type LlmJudgeScorer, 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 ModelRoute, type ModelRouteResourceProperties, type ModelRouteTarget, ModelRoutes, type NodeExecution, type Options, type Orchestration, type OrchestrationEdge, type OrchestrationId, type OrchestrationNode, type OrchestrationResourceProperties, type OrchestrationRun, type OrchestrationRunId, type OrchestrationVersion, Orchestrations, type OutputSchemaScorer, type ParameterDeclaration, 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 PromoteAgentReleaseData, type PromoteAgentReleaseError, type PromoteAgentReleaseErrors, type PromoteAgentReleaseResponse, type PromoteAgentReleaseResponses, type ProviderModelsResponse, type ProviderPrice, type ProviderPricesResponse, type PurgeGenerationContentData, type PurgeGenerationContentError, type PurgeGenerationContentErrors, type PurgeGenerationContentResponse, type PurgeGenerationContentResponses, type PurgeTraceContentData, type PurgeTraceContentError, type PurgeTraceContentErrors, type PurgeTraceContentResponse, type PurgeTraceContentResponses, 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 RestoreAgentVersionData, type RestoreAgentVersionError, type RestoreAgentVersionErrors, type RestoreAgentVersionRequest, type RestoreAgentVersionResponse, type RestoreAgentVersionResponses, type RestoreGuardrailVersionData, type RestoreGuardrailVersionError, type RestoreGuardrailVersionErrors, type RestoreGuardrailVersionRequest, type RestoreGuardrailVersionResponse, type RestoreGuardrailVersionResponses, type RestoreOrchestrationVersionData, type RestoreOrchestrationVersionErrors, type RestoreOrchestrationVersionRequest, type RestoreOrchestrationVersionResponse, type RestoreOrchestrationVersionResponses, type RestoreWorkflowVersionData, type RestoreWorkflowVersionErrors, type RestoreWorkflowVersionRequest, type RestoreWorkflowVersionResponse, type RestoreWorkflowVersionResponses, 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 RunUsageTotals, type ScorerResult, type Scorers, type SearchKnowledgeData, type SearchKnowledgeError, type SearchKnowledgeErrors, type SearchKnowledgeResponse, type SearchKnowledgeResponses, type SecretResourceProperties, Secrets, type SendSessionMessageResponse, type SessionId, type SessionRecord, type SessionResourceProperties, Sessions, type SetAgentReleaseData, type SetAgentReleaseError, type SetAgentReleaseErrors, type SetAgentReleaseRequest, type SetAgentReleaseResponse, type SetAgentReleaseResponses, SoatClient, type SoatClientOptions, type StartEvalRunData, type StartEvalRunErrors, type StartEvalRunResponse, type StartEvalRunResponses, 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 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 UpdateDatasetData, type UpdateDatasetErrors, type UpdateDatasetItemData, type UpdateDatasetItemErrors, type UpdateDatasetItemResponse, type UpdateDatasetItemResponses, type UpdateDatasetResponse, type UpdateDatasetResponses, type UpdateDocumentData, type UpdateDocumentError, type UpdateDocumentErrors, type UpdateDocumentResponse, type UpdateDocumentResponses, type UpdateEvalData, type UpdateEvalErrors, type UpdateEvalResponse, type UpdateEvalResponses, 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 UpdateModelRouteData, type UpdateModelRouteErrors, type UpdateModelRouteResponse, type UpdateModelRouteResponses, 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 UsageAggregateComponent, 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, type WorkflowVersion, Workflows, createClient, createConfig };
18671
+ export { type AbortAgentReleaseData, type AbortAgentReleaseError, type AbortAgentReleaseErrors, type AbortAgentReleaseResponse, type AbortAgentReleaseResponses, type AcceptedGenerationResponse, type AcknowledgeExceptionData, type AcknowledgeExceptionErrors, type AcknowledgeExceptionResponse, type AcknowledgeExceptionResponses, Activity, type ActivityEntry, 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 AgentRelease, type AgentResourceProperties, type AgentVersion, AgentVersions, Agents, type AggregateScores, type AiProviderResourceProperties, AiProviders, type ApiKeyCreated, type ApiKeyRecord, type ApiKeyResourceProperties, ApiKeys, type ApprovalId, type ApprovalItem, type ApprovalRecurrenceGroup, Approvals, type ApproveApprovalData, type ApproveApprovalErrors, type ApproveApprovalResponse, type ApproveApprovalResponses, type AttachUserPoliciesData, type AttachUserPoliciesError, type AttachUserPoliciesErrors, type AttachUserPoliciesResponse, type AttachUserPoliciesResponses, type AuditEntry, AuditLog, type BaselineComparison, type BootstrapUserData, type BootstrapUserError, type BootstrapUserErrors, type BootstrapUserResponse, type BootstrapUserResponses, type CallToolData, type CallToolError, type CallToolErrors, type CallToolRequest, type CallToolResponses, type CancelEvalRunData, type CancelEvalRunErrors, type CancelEvalRunResponse, type CancelEvalRunResponses, type CancelOrchestrationRunData, type CancelOrchestrationRunErrors, type CancelOrchestrationRunResponse, type CancelOrchestrationRunResponses, type Chat, type ChatCompletionChoice, type ChatCompletionRequest, type ChatCompletionResponse, type ChatCompletionResponseMessage, type ChatMessageInput, type ChatResourceProperties, Chats, type ClientOptions, type CompleteIngestionCallbackData, type CompleteIngestionCallbackError, type CompleteIngestionCallbackErrors, type CompleteIngestionCallbackResponse, type CompleteIngestionCallbackResponses, type ContainsScorer, 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 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 CreateDatasetData, type CreateDatasetErrors, type CreateDatasetItemData, type CreateDatasetItemErrors, type CreateDatasetItemFromGenerationData, type CreateDatasetItemFromGenerationErrors, type CreateDatasetItemFromGenerationResponse, type CreateDatasetItemFromGenerationResponses, type CreateDatasetItemResponse, type CreateDatasetItemResponses, type CreateDatasetResponse, type CreateDatasetResponses, type CreateDocumentData, type CreateDocumentError, type CreateDocumentErrors, type CreateDocumentResponse, type CreateDocumentResponses, type CreateEmbeddingsData, type CreateEmbeddingsError, type CreateEmbeddingsErrors, type CreateEmbeddingsResponse, type CreateEmbeddingsResponses, type CreateEvalData, type CreateEvalErrors, type CreateEvalResponse, type CreateEvalResponses, 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 CreateModelRouteData, type CreateModelRouteErrors, type CreateModelRouteResponse, type CreateModelRouteResponses, 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 Dataset, type DatasetItem, type DatasetItemInput, type DatasetItemResourceProperties, type DatasetResourceProperties, 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 DeleteDatasetData, type DeleteDatasetErrors, type DeleteDatasetItemData, type DeleteDatasetItemErrors, type DeleteDatasetItemResponse, type DeleteDatasetItemResponses, type DeleteDatasetResponse, type DeleteDatasetResponses, type DeleteDocumentData, type DeleteDocumentError, type DeleteDocumentErrors, type DeleteDocumentResponse, type DeleteDocumentResponses, type DeleteEvalData, type DeleteEvalErrors, type DeleteEvalResponse, type DeleteEvalResponses, 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 DeleteModelRouteData, type DeleteModelRouteErrors, type DeleteModelRouteResponse, type DeleteModelRouteResponses, 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 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 Eval, type EvalResourceProperties, type EvalResult, type EvalRun, type EvaluateGuardrailData, type EvaluateGuardrailError, type EvaluateGuardrailErrors, type EvaluateGuardrailResponse, type EvaluateGuardrailResponses, Evaluations, type ExactMatchScorer, type ExceptionId, type ExceptionItem, Exceptions, type ExportAuditEntriesData, type ExportAuditEntriesErrors, type ExportAuditEntriesResponse, type ExportAuditEntriesResponses, type FileRecord, type FileRecordWritable, type FileResourceProperties, Files, type FireTriggerData, type FireTriggerErrors, type FireTriggerRequest, type FireTriggerResponse, type FireTriggerResponses, type ForkSessionData, type ForkSessionError, type ForkSessionErrors, type ForkSessionRequest, type ForkSessionResponse, type ForkSessionResponses, type Formation, type FormationError, 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, type GenerationTranscript, 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 GetAgentVersionData, type GetAgentVersionError, type GetAgentVersionErrors, type GetAgentVersionResponse, type GetAgentVersionResponses, 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 GetDatasetData, type GetDatasetErrors, type GetDatasetResponse, type GetDatasetResponses, 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 GetEvalData, type GetEvalErrors, type GetEvalResponse, type GetEvalResponses, type GetEvalRunData, type GetEvalRunErrors, type GetEvalRunResponse, type GetEvalRunResponses, 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 GetGenerationTranscriptData, type GetGenerationTranscriptError, type GetGenerationTranscriptErrors, type GetGenerationTranscriptResponse, type GetGenerationTranscriptResponses, 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 GetModelRouteData, type GetModelRouteErrors, type GetModelRouteResponse, type GetModelRouteResponses, type GetOrchestrationData, type GetOrchestrationErrors, type GetOrchestrationResponse, type GetOrchestrationResponses, type GetOrchestrationRunData, type GetOrchestrationRunErrors, type GetOrchestrationRunResponse, type GetOrchestrationRunResponses, type GetOrchestrationVersionData, type GetOrchestrationVersionErrors, type GetOrchestrationVersionResponse, type GetOrchestrationVersionResponses, 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 GetWorkflowVersionData, type GetWorkflowVersionErrors, type GetWorkflowVersionResponse, type GetWorkflowVersionResponses, 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, type JsonLogicScorer, Knowledge, type KnowledgeResult, type ListActivityData, type ListActivityErrors, type ListActivityResponse, type ListActivityResponses, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAgentVersionsData, type ListAgentVersionsError, type ListAgentVersionsErrors, type ListAgentVersionsResponse, type ListAgentVersionsResponses, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListAiProviderModelsData, type ListAiProviderModelsErrors, type ListAiProviderModelsResponse, type ListAiProviderModelsResponses, type ListAiProvidersData, type ListAiProvidersErrors, type ListAiProvidersResponse, type ListAiProvidersResponses, type ListApiKeysData, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListApprovalRecurrencesData, type ListApprovalRecurrencesErrors, type ListApprovalRecurrencesResponse, type ListApprovalRecurrencesResponses, 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 ListDatasetItemsData, type ListDatasetItemsErrors, type ListDatasetItemsResponse, type ListDatasetItemsResponses, type ListDatasetsData, type ListDatasetsErrors, type ListDatasetsResponse, type ListDatasetsResponses, type ListDocumentsData, type ListDocumentsError, type ListDocumentsErrors, type ListDocumentsResponse, type ListDocumentsResponses, type ListEvalResultsData, type ListEvalResultsErrors, type ListEvalResultsResponse, type ListEvalResultsResponses, type ListEvalRunsData, type ListEvalRunsErrors, type ListEvalRunsResponse, type ListEvalRunsResponses, type ListEvalsData, type ListEvalsErrors, type ListEvalsResponse, type ListEvalsResponses, 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 ListGuardrailVersionsData, type ListGuardrailVersionsError, type ListGuardrailVersionsErrors, type ListGuardrailVersionsResponse, type ListGuardrailVersionsResponses, 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 ListModelRoutesData, type ListModelRoutesErrors, type ListModelRoutesResponse, type ListModelRoutesResponses, type ListOrchestrationRunsData, type ListOrchestrationRunsErrors, type ListOrchestrationRunsResponse, type ListOrchestrationRunsResponses, type ListOrchestrationVersionsData, type ListOrchestrationVersionsErrors, type ListOrchestrationVersionsResponse, type ListOrchestrationVersionsResponses, 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 ListSessionForksData, type ListSessionForksError, type ListSessionForksErrors, type ListSessionForksResponse, type ListSessionForksResponses, 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 ListWorkflowVersionsData, type ListWorkflowVersionsErrors, type ListWorkflowVersionsResponse, type ListWorkflowVersionsResponses, type ListWorkflowsData, type ListWorkflowsErrors, type ListWorkflowsResponse, type ListWorkflowsResponses, type LlmJudgeScorer, 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 ModelRoute, type ModelRouteResourceProperties, type ModelRouteTarget, ModelRoutes, type NodeExecution, type Options, type Orchestration, type OrchestrationEdge, type OrchestrationId, type OrchestrationNode, type OrchestrationResourceProperties, type OrchestrationRun, type OrchestrationRunId, type OrchestrationVersion, Orchestrations, type OutputSchemaScorer, type ParameterDeclaration, 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 PromoteAgentReleaseData, type PromoteAgentReleaseError, type PromoteAgentReleaseErrors, type PromoteAgentReleaseResponse, type PromoteAgentReleaseResponses, type ProviderModelsResponse, type ProviderPrice, type ProviderPricesResponse, type PurgeGenerationContentData, type PurgeGenerationContentError, type PurgeGenerationContentErrors, type PurgeGenerationContentResponse, type PurgeGenerationContentResponses, type PurgeTraceContentData, type PurgeTraceContentError, type PurgeTraceContentErrors, type PurgeTraceContentResponse, type PurgeTraceContentResponses, type QueueStats, type Quota, type QuotaResourceProperties, Quotas, type RedeliverWebhookDeliveryData, type RedeliverWebhookDeliveryErrors, type RedeliverWebhookDeliveryResponse, type RedeliverWebhookDeliveryResponses, 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 RestoreAgentVersionData, type RestoreAgentVersionError, type RestoreAgentVersionErrors, type RestoreAgentVersionRequest, type RestoreAgentVersionResponse, type RestoreAgentVersionResponses, type RestoreGuardrailVersionData, type RestoreGuardrailVersionError, type RestoreGuardrailVersionErrors, type RestoreGuardrailVersionRequest, type RestoreGuardrailVersionResponse, type RestoreGuardrailVersionResponses, type RestoreOrchestrationVersionData, type RestoreOrchestrationVersionErrors, type RestoreOrchestrationVersionRequest, type RestoreOrchestrationVersionResponse, type RestoreOrchestrationVersionResponses, type RestoreWorkflowVersionData, type RestoreWorkflowVersionErrors, type RestoreWorkflowVersionRequest, type RestoreWorkflowVersionResponse, type RestoreWorkflowVersionResponses, 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 RunUsageTotals, type ScorerResult, type Scorers, type SearchKnowledgeData, type SearchKnowledgeError, type SearchKnowledgeErrors, type SearchKnowledgeResponse, type SearchKnowledgeResponses, type SecretResourceProperties, Secrets, type SendSessionMessageResponse, type SessionId, type SessionRecord, type SessionResourceProperties, Sessions, type SetAgentReleaseData, type SetAgentReleaseError, type SetAgentReleaseErrors, type SetAgentReleaseRequest, type SetAgentReleaseResponse, type SetAgentReleaseResponses, SoatClient, type SoatClientOptions, type StartEvalRunData, type StartEvalRunErrors, type StartEvalRunResponse, type StartEvalRunResponses, 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 Task, type TaskTransition, Tasks, type Tool, type ToolBinding, type ToolOutputMessageContent, type ToolResourceProperties, Tools, type Trace, type TraceTreeNode, Traces, type TranscriptStep, type TranscriptToolCall, type TranscriptToolResult, type TranscriptUsage, 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 UpdateDatasetData, type UpdateDatasetErrors, type UpdateDatasetItemData, type UpdateDatasetItemErrors, type UpdateDatasetItemResponse, type UpdateDatasetItemResponses, type UpdateDatasetResponse, type UpdateDatasetResponses, type UpdateDocumentData, type UpdateDocumentError, type UpdateDocumentErrors, type UpdateDocumentResponse, type UpdateDocumentResponses, type UpdateEvalData, type UpdateEvalErrors, type UpdateEvalResponse, type UpdateEvalResponses, 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 UpdateModelRouteData, type UpdateModelRouteErrors, type UpdateModelRouteResponse, type UpdateModelRouteResponses, 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 UsageAggregateComponent, 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, type WorkflowVersion, Workflows, createClient, createConfig };