@soat/sdk 0.50.0 → 0.52.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
@@ -484,27 +484,6 @@ type Agent = {
484
484
  * Public ID of the memory store the agent can write to during generation. When set, a write_memory tool is automatically available to the agent.
485
485
  */
486
486
  write_memory_store_id?: string | null;
487
- /**
488
- * Automatic fact extraction from completed generation turns (requires write_memory_store_id). Pass `true` to enable with defaults, or an object to customize the provider, model, and prompt used for the extraction completion. Extracted facts are written to the write memory store through the standard dedup/merge/skip algorithm.
489
- */
490
- extraction?: boolean | {
491
- /**
492
- * Defaults to true when the object form is used. Set false to keep the configuration but disable extraction.
493
- */
494
- enabled?: boolean;
495
- /**
496
- * AI provider override for extraction calls. Must belong to the agent's project. Its default_model becomes the model fallback.
497
- */
498
- ai_provider_id?: string;
499
- /**
500
- * Model override for extraction calls.
501
- */
502
- model?: string;
503
- /**
504
- * Replaces the default task instructions. The JSON response contract and the conversation transcript are always appended by the server.
505
- */
506
- prompt?: string;
507
- };
508
487
  } | null;
509
488
  /**
510
489
  * JSON Schema describing the structured object the model must return. When set, non-streaming generations constrain output to this schema and the parsed value is returned as `output.object`. The schema is enforced on the way back, not just sent to the model: an object that violates it fails the generation with 502 `OUTPUT_SCHEMA_VALIDATION_FAILED`, naming the violated field. Constraints beyond `required`/`type` (`minLength`, `enum`, `pattern`, `minItems`) are honored and are what reject a structurally valid but degenerate answer. See the Structured Output section in the Agents module docs.
@@ -707,27 +686,6 @@ type CreateAgentRequest = {
707
686
  * Public ID of the memory store the agent can write to during generation. When set, a write_memory tool is automatically available to the agent.
708
687
  */
709
688
  write_memory_store_id?: string | null;
710
- /**
711
- * Automatic fact extraction from completed generation turns (requires write_memory_store_id). Pass `true` to enable with defaults, or an object to customize the provider, model, and prompt used for the extraction completion. Extracted facts are written to the write memory store through the standard dedup/merge/skip algorithm.
712
- */
713
- extraction?: boolean | {
714
- /**
715
- * Defaults to true when the object form is used. Set false to keep the configuration but disable extraction.
716
- */
717
- enabled?: boolean;
718
- /**
719
- * AI provider override for extraction calls. Must belong to the agent's project. Its default_model becomes the model fallback.
720
- */
721
- ai_provider_id?: string;
722
- /**
723
- * Model override for extraction calls.
724
- */
725
- model?: string;
726
- /**
727
- * Replaces the default task instructions. The JSON response contract and the conversation transcript are always appended by the server.
728
- */
729
- prompt?: string;
730
- };
731
689
  };
732
690
  /**
733
691
  * JSON Schema describing the structured object the model must return. When set, non-streaming generations constrain output to this schema and the parsed value is returned as `output.object`. The schema is enforced on the way back, not just sent to the model: an object that violates it fails the generation with 502 `OUTPUT_SCHEMA_VALIDATION_FAILED`, naming the violated field. Constraints beyond `required`/`type` (`minLength`, `enum`, `pattern`, `minItems`) are honored and are what reject a structurally valid but degenerate answer. See the Structured Output section in the Agents module docs.
@@ -824,27 +782,6 @@ type UpdateAgentRequest = {
824
782
  * Public ID of the memory store the agent can write to during generation. When set, a write_memory tool is automatically available to the agent.
825
783
  */
826
784
  write_memory_store_id?: string | null;
827
- /**
828
- * Automatic fact extraction from completed generation turns (requires write_memory_store_id). Pass `true` to enable with defaults, or an object to customize the provider, model, and prompt used for the extraction completion. Extracted facts are written to the write memory store through the standard dedup/merge/skip algorithm.
829
- */
830
- extraction?: boolean | {
831
- /**
832
- * Defaults to true when the object form is used. Set false to keep the configuration but disable extraction.
833
- */
834
- enabled?: boolean;
835
- /**
836
- * AI provider override for extraction calls. Must belong to the agent's project. Its default_model becomes the model fallback.
837
- */
838
- ai_provider_id?: string;
839
- /**
840
- * Model override for extraction calls.
841
- */
842
- model?: string;
843
- /**
844
- * Replaces the default task instructions. The JSON response contract and the conversation transcript are always appended by the server.
845
- */
846
- prompt?: string;
847
- };
848
785
  } | null;
849
786
  /**
850
787
  * JSON Schema describing the structured object the model must return. When set, non-streaming generations constrain output to this schema and the parsed value is returned as `output.object`. The schema is enforced on the way back, not just sent to the model: an object that violates it fails the generation with 502 `OUTPUT_SCHEMA_VALIDATION_FAILED`, naming the violated field. Constraints beyond `required`/`type` (`minLength`, `enum`, `pattern`, `minItems`) are honored and are what reject a structurally valid but degenerate answer. See the Structured Output section in the Agents module docs.
@@ -929,10 +866,6 @@ type CreateAgentGenerationRequest = {
929
866
  metadata?: {
930
867
  [key: string]: unknown;
931
868
  } | null;
932
- /**
933
- * Per-turn override of the agent's `knowledge_config.extraction` default. Omit to follow the agent's stored config. Set `false` to suppress automatic memory store extraction for this turn (e.g. an operational or tool-listing turn that would only add noise to a curated memory store). Set `true` to force extraction on for this turn even when the agent does not enable it by default, provided the agent has a `write_memory_store_id`. Has no effect on streaming or `requires_action` turns, which never extract.
934
- */
935
- extract?: boolean;
936
869
  /**
937
870
  * Per-generation knowledge retrieval override. Array filters (memory_store_ids, document_ids, document_paths) are unioned with the agent's stored knowledge_config; `tags` pairs are merged with the override winning per key; scalar fields (min_score, limit) use the per-generation value when present.
938
871
  */
@@ -2417,27 +2350,6 @@ type AgentResourceProperties = {
2417
2350
  * Public ID of the memory store the agent can write to. When set, a `write_memory` tool is automatically available to the agent.
2418
2351
  */
2419
2352
  write_memory_store_id?: string | null;
2420
- /**
2421
- * Automatic fact extraction from completed generation turns (requires write_memory_store_id). Pass `true` to enable with defaults, or an object to customize the provider, model, and prompt used for the extraction completion.
2422
- */
2423
- extraction?: boolean | {
2424
- /**
2425
- * Defaults to true when the object form is used. Set false to keep the configuration but disable extraction.
2426
- */
2427
- enabled?: boolean;
2428
- /**
2429
- * AI provider override for extraction calls. Must belong to the agent's project. Its default_model becomes the model fallback.
2430
- */
2431
- ai_provider_id?: string;
2432
- /**
2433
- * Model override for extraction calls.
2434
- */
2435
- model?: string;
2436
- /**
2437
- * Replaces the default task instructions. The JSON response contract and the conversation transcript are always appended by the server.
2438
- */
2439
- prompt?: string;
2440
- };
2441
2353
  } | null;
2442
2354
  /**
2443
2355
  * JSON Schema describing the structured object the model must return. Non-streaming generations are constrained to this schema; the parsed value is returned as `output.object`.
@@ -2735,6 +2647,14 @@ type MemoryStoreResourceProperties = {
2735
2647
  */
2736
2648
  description?: string | null;
2737
2649
  tags?: NullableTagBag;
2650
+ /**
2651
+ * Cosine similarity at or above which an incoming fact is already known and the write is skipped. Null uses the algorithm constant (0.95). This is where a template sets the corpus's dedup policy: a `memory` resource has no threshold of its own.
2652
+ */
2653
+ duplicate_threshold?: number | null;
2654
+ /**
2655
+ * Cosine similarity at or above which an incoming fact restates a known one that has changed, retiring it. Null uses the algorithm constant (0.90). Must be lower than the effective `duplicate_threshold`.
2656
+ */
2657
+ supersede_threshold?: number | null;
2738
2658
  };
2739
2659
  /**
2740
2660
  * Adds a single memory to a memory store.
@@ -2811,7 +2731,7 @@ type WebhookResourceProperties = {
2811
2731
  */
2812
2732
  url: string;
2813
2733
  /**
2814
- * Event types to subscribe to (e.g. memory store.updated)
2734
+ * Event types to subscribe to (e.g. `documents.ingested`)
2815
2735
  */
2816
2736
  events: Array<string>;
2817
2737
  };
@@ -3091,6 +3011,57 @@ type IngestionRuleResourceProperties = {
3091
3011
  [key: string]: unknown;
3092
3012
  } | null;
3093
3013
  };
3014
+ /**
3015
+ * Declares what a memory store accepts from completed agent turns: a selector, an event, and a handler. With neither `agent_id` nor `tool_id` the built-in extractor runs, configurable through `prompt`, `ai_provider_id` and `model`. See the Memory Rules section of the Memories module docs.
3016
+ */
3017
+ type MemoryRuleResourceProperties = {
3018
+ /**
3019
+ * Public ID of the destination memory store
3020
+ */
3021
+ memory_store_id: string;
3022
+ /**
3023
+ * `agents.generation.completed` (once per completed turn, and the only event the built-in extractor may bind to) or `conversations.message.generated` (per persisted assistant reply, custom handlers only).
3024
+ */
3025
+ on: string;
3026
+ /**
3027
+ * Agents whose turns this rule reads; null is every agent in the project
3028
+ */
3029
+ source_agent_ids?: Array<string> | null;
3030
+ /**
3031
+ * Handler agent ID (mutually exclusive with tool_id)
3032
+ */
3033
+ agent_id?: string | null;
3034
+ /**
3035
+ * Handler tool ID (mutually exclusive with agent_id)
3036
+ */
3037
+ tool_id?: string | null;
3038
+ /**
3039
+ * Operation id, for a tool handler
3040
+ */
3041
+ action?: string | null;
3042
+ /**
3043
+ * Merged into a tool handler's input before invocation
3044
+ */
3045
+ preset_parameters?: {
3046
+ [key: string]: unknown;
3047
+ } | null;
3048
+ /**
3049
+ * Replaces the built-in extractor's task instructions (no handler only)
3050
+ */
3051
+ prompt?: string | null;
3052
+ /**
3053
+ * Provider override for the built-in extractor (no handler only)
3054
+ */
3055
+ ai_provider_id?: string | null;
3056
+ /**
3057
+ * Model override for the built-in extractor (no handler only)
3058
+ */
3059
+ model?: string | null;
3060
+ /**
3061
+ * A disabled rule is kept and never fires
3062
+ */
3063
+ enabled?: boolean;
3064
+ };
3094
3065
  /**
3095
3066
  * Creates a DAG orchestration that wires agents, tools, and knowledge lookups into a repeatable pipeline within the formation's project. Node resource references (`agent_id`, `tool_id`, `memory_store_id`, `orchestration_id`) accept `{ "ref": "LogicalId" }` expressions to point at other resources declared in the same template — the basis for deploying an agent "squad" (a team of agents plus the flow that coordinates them) as a single stack.
3096
3067
  */
@@ -3239,7 +3210,7 @@ type GuardrailResourceProperties = {
3239
3210
  };
3240
3211
  type ResourceDeclaration = {
3241
3212
  /**
3242
- * Resource type. The built-in types are `ai_provider`, `tool`, `agent`, `actor`, `api_key`, `chat`, `conversation`, `dataset`, `dataset_item`, `document`, `file`, `guardrail`, `ingestion_rule`, `memory store`, `memory`, `model_route`, `eval`, `orchestration`, `policy`, `project_price`, `quota`, `secret`, `session`, `webhook`, `trigger` and `workflow`.
3213
+ * Resource type. The built-in types are `ai_provider`, `tool`, `agent`, `actor`, `api_key`, `chat`, `conversation`, `dataset`, `dataset_item`, `document`, `file`, `guardrail`, `ingestion_rule`, `memory_store`, `memory`, `memory_rule`, `model_route`, `eval`, `orchestration`, `policy`, `project_price`, `quota`, `secret`, `session`, `webhook`, `trigger` and `workflow`.
3243
3214
  *
3244
3215
  * This is deliberately not an enum: a deployment operator can register additional resource types backed by their own handler, and those are declared here exactly like a built-in one. The set a given deployment accepts is authoritative in the server, which rejects an unregistered type with `VALIDATION_FAILED` and lists what it does support.
3245
3216
  *
@@ -3275,7 +3246,7 @@ type FormationResource = {
3275
3246
  */
3276
3247
  logical_id?: string;
3277
3248
  /**
3278
- * Resource type (e.g. agent, memory store)
3249
+ * Resource type (e.g. `agent`, `memory_store`)
3279
3250
  */
3280
3251
  resource_type?: string;
3281
3252
  /**
@@ -3481,6 +3452,11 @@ type Generation = {
3481
3452
  *
3482
3453
  */
3483
3454
  chain_id?: string | null;
3455
+ /**
3456
+ * Public ID of the conversation this turn served, or null for a generation started outside one — a direct call, a trigger, an orchestration node. This is the edge a memory assertion walks up to reach the conversation a fact was learned in.
3457
+ *
3458
+ */
3459
+ conversation_id?: string | null;
3484
3460
  /**
3485
3461
  * Public ID of the session this generation was dispatched through, or null for a generation started outside one. This is the link a per-session cost reading follows; the session's own `usage` field reports the roll-up directly.
3486
3462
  *
@@ -3555,27 +3531,35 @@ type Generation = {
3555
3531
  */
3556
3532
  agent_version?: number | null;
3557
3533
  /**
3558
- * Memory store-extraction summary recorded for this generation. Set when the agent's `knowledge_config.extraction` produced one for this turn.
3534
+ * What each [memory rule](/docs/modules/memories#memory-rules) bound to `agents.generation.completed` wrote for this turn, keyed by the rule's id — a store may have several rules, and one flat pair of counts could not say which produced them. Absent when no rule fired. Rules bound to `conversations.message.generated` are recorded in `memory_assertions` only. The rows behind every count are in `memory_assertions`, so the summary and what it summarizes can be reconciled.
3559
3535
  *
3560
3536
  */
3561
3537
  extraction?: {
3562
- /**
3563
- * Number of extraction candidates considered
3564
- */
3565
- candidates?: number;
3566
- /**
3567
- * Number of new memories created
3568
- */
3569
- created?: number;
3570
- /**
3571
- * Number of existing memories updated
3572
- */
3573
- updated?: number;
3574
- /**
3575
- * Number of candidates skipped (e.g. duplicates)
3576
- */
3577
- skipped?: number;
3538
+ [key: string]: {
3539
+ /**
3540
+ * Number of candidates the rule's handler proposed
3541
+ */
3542
+ candidates?: number;
3543
+ /**
3544
+ * Number of new memories created
3545
+ */
3546
+ created?: number;
3547
+ /**
3548
+ * Number of candidates that restated a known fact that had changed, retiring the memory holding it
3549
+ *
3550
+ */
3551
+ superseded?: number;
3552
+ /**
3553
+ * Number of candidates skipped (e.g. duplicates)
3554
+ */
3555
+ skipped?: number;
3556
+ };
3578
3557
  } | null;
3558
+ /**
3559
+ * Every memory write this turn made, oldest first — each memory rule's firings and the agent's own `write_memory` calls alike, which the `extraction` counts never covered. Present on the single read only; a listing would make it one extra query per generation.
3560
+ *
3561
+ */
3562
+ memory_assertions?: Array<MemoryAssertion>;
3579
3563
  /**
3580
3564
  * What this turn's tool definitions cost to send — the one part of a prompt no provider reports and no caller can derive, since the tool block is a constant inside the reported totals and identical on every step.
3581
3565
  *
@@ -4071,6 +4055,19 @@ type DocumentKnowledgeResult = {
4071
4055
  * Reciprocal-rank-fusion relevance ranking — higher is better. The **ordering** it produces is the contract; the absolute value is not, is deliberately not rescaled into 0–1, and the formula behind it may change. Results are sorted by it. Nothing filters on it: `min_similarity` filters `similarity_score`. Only present when `query` was provided. Use `similarity_score` when you need the raw cosine value.
4072
4056
  */
4073
4057
  score?: number;
4058
+ /**
4059
+ * Which retrieval channels ranked this result before fusion, and its 1-based position in that channel's own ordering. A channel that did not return the result is absent, so presence reads as "this channel found it". `score` says where the result landed; this says how it got there — `{ "lexical": 1 }` is a pure token hit, `{ "vector": 2, "lexical": 1 }` a result both channels found and fusion promoted. Only present when `query` was provided; a channel that degraded is absent from every result. Diagnostic: nothing filters or sorts on it.
4060
+ */
4061
+ signals?: {
4062
+ /**
4063
+ * Rank in the vector (cosine) channel, best first.
4064
+ */
4065
+ vector?: number;
4066
+ /**
4067
+ * Rank in the lexical (full-text) channel, best first.
4068
+ */
4069
+ lexical?: number;
4070
+ };
4074
4071
  /**
4075
4072
  * Raw cosine similarity (0–1) between the query and this result. Pinned to that meaning — unlike `score`, it is never redefined — and populated on every result of a `query` search, a lexical-only hit included. Absent only when the embedding provider was unreachable and the search answered from the lexical channel alone, where there is no query vector to measure against.
4076
4073
  */
@@ -4109,6 +4106,19 @@ type MemoryKnowledgeResult = {
4109
4106
  * Reciprocal-rank-fusion relevance ranking — higher is better. The **ordering** it produces is the contract; the absolute value is not, is deliberately not rescaled into 0–1, and the formula behind it may change. Results are sorted by it. Nothing filters on it: `min_similarity` filters `similarity_score`. Only present when `query` was provided. Use `similarity_score` when you need the raw cosine value.
4110
4107
  */
4111
4108
  score?: number;
4109
+ /**
4110
+ * Which retrieval channels ranked this result before fusion, and its 1-based position in that channel's own ordering. A channel that did not return the result is absent, so presence reads as "this channel found it". `score` says where the result landed; this says how it got there — `{ "lexical": 1 }` is a pure token hit, `{ "vector": 2, "lexical": 1 }` a result both channels found and fusion promoted. Only present when `query` was provided; a channel that degraded is absent from every result. Diagnostic: nothing filters or sorts on it.
4111
+ */
4112
+ signals?: {
4113
+ /**
4114
+ * Rank in the vector (cosine) channel, best first.
4115
+ */
4116
+ vector?: number;
4117
+ /**
4118
+ * Rank in the lexical (full-text) channel, best first.
4119
+ */
4120
+ lexical?: number;
4121
+ };
4112
4122
  /**
4113
4123
  * Raw cosine similarity (0–1) between the query and this result. Pinned to that meaning — unlike `score`, it is never redefined — and populated on every result of a `query` search, a lexical-only hit included. Absent only when the embedding provider was unreachable and the search answered from the lexical channel alone, where there is no query vector to measure against.
4114
4124
  */
@@ -4125,6 +4135,9 @@ type MemoryKnowledgeResult = {
4125
4135
  type Memory = {
4126
4136
  id?: string;
4127
4137
  memory_store_id?: string;
4138
+ /**
4139
+ * The text this memory currently holds. Stored once per distinct text per store and shared with every assertion that stated it, so a memory carries no copy of its own.
4140
+ */
4128
4141
  content?: string;
4129
4142
  /**
4130
4143
  * Whether there is a source to point at. `conversation` means `source_id` names the conversation this fact was learned in; `manual` means there is nothing to point at — a direct API write, or an agent write made outside a conversation.
@@ -4145,7 +4158,7 @@ type Memory = {
4145
4158
  [key: string]: unknown;
4146
4159
  } | null;
4147
4160
  /**
4148
- * When the memory was superseded. Null means the memory is currently valid. Invalidated memories are excluded from listing, from write deduplication, and from knowledge search, but remain readable by ID for audit.
4161
+ * When the memory was superseded. Null means the memory is currently valid. Invalidated memories are excluded from listing, from write deduplication, and from knowledge search, but remain readable by ID — with their original text — for audit.
4149
4162
  */
4150
4163
  invalidated_at?: Date | null;
4151
4164
  /**
@@ -4157,9 +4170,81 @@ type Memory = {
4157
4170
  };
4158
4171
  type MemoryWriteResult = Memory & {
4159
4172
  /**
4160
- * The outcome of the write operation. `updated` means an existing memory was rewritten to absorb the incoming fact — it is produced only by the LLM consolidation on agent write paths (the `write_memory` tool and automatic extraction), never by this endpoint, which creates instead of merging. `superseded` means the incoming content contradicted an existing memory, which was invalidated and replaced — it is produced by the LLM-arbitrated write path and does not occur until that ships.
4173
+ * The outcome of the write. `created` means the fact was distinct and a new memory holds it. `superseded` means it restated a fact that had changed: the matched memory was invalidated, points at the replacement, and the replacement is what is returned. `skipped` means the fact was already known and the existing memory is returned unchanged. Every outcome is recorded as an assertion, readable at `GET /api/v1/memories/{memory_id}/assertions`.
4161
4174
  */
4162
- action?: 'created' | 'updated' | 'skipped' | 'superseded';
4175
+ action?: 'created' | 'superseded' | 'skipped';
4176
+ };
4177
+ /**
4178
+ * One write attempt against a memory store: some principal, through some mechanism, claimed a fact. Append-only, and recorded whatever the outcome — including the skips, which left no record anywhere before.
4179
+ */
4180
+ type MemoryAssertion = {
4181
+ id?: string;
4182
+ memory_store_id?: string;
4183
+ /**
4184
+ * The memory this assertion resolved into: the new memory for `created` and `superseded`, the existing memory that matched for `skipped`. Null only once that memory has been deleted.
4185
+ */
4186
+ memory_id?: string | null;
4187
+ /**
4188
+ * The memory this assertion retired, on a `superseded` outcome; null otherwise. Read back from `memories.superseded_by_memory_id` rather than stored here, because validity lives on the memory — where every read filters it — and exactly one memory is superseded per assertion.
4189
+ */
4190
+ superseded_memory_id?: string | null;
4191
+ /**
4192
+ * The text as asserted, which is not necessarily the memory's text: a `skipped` assertion records what was claimed, while the memory keeps what it already held.
4193
+ */
4194
+ content?: string;
4195
+ /**
4196
+ * Which door the write came through. `tool` is the agent's `write_memory` call mid-turn; `rule` is a post-turn pass over the finished turn; `api` is `POST /api/v1/memories`; `formation` is a `memory` resource in an applied template. It answers *how*, never *who* — the principal fields answer that.
4197
+ */
4198
+ mechanism?: 'tool' | 'rule' | 'api' | 'formation';
4199
+ /**
4200
+ * The memory rule whose firing wrote this, set only when `mechanism` is `rule` — the built-in extractor included, since that is a rule with no handler. Null once the rule has been deleted, and on assertions written before memory rules shipped.
4201
+ */
4202
+ rule_id?: string | null;
4203
+ /**
4204
+ * The turn that asserted the fact — the origin of anything an agent wrote, and the edge a conversation is reachable from. Null on the `api` and `formation` doors, which have no generation behind them.
4205
+ */
4206
+ generation_id?: string | null;
4207
+ /**
4208
+ * Who claimed the fact, in the vocabulary a generation records its starter with, plus `agent`. On both agent doors the principal is the agent itself — the extractor runs under its identity.
4209
+ */
4210
+ principal_type?: string;
4211
+ principal_id?: string;
4212
+ /**
4213
+ * What the write resolved to. `created` is a distinct fact, `superseded` is the same fact changed (the top match was invalidated and replaced), `skipped` is a fact already known.
4214
+ */
4215
+ outcome?: 'created' | 'superseded' | 'skipped';
4216
+ /**
4217
+ * The cosine similarity the outcome was decided against — the top match's, or the declared target's when `declared` is true, where it decides nothing and only records how far apart the two statements were. Null when there was nothing to compare against, or when the content could not be embedded.
4218
+ */
4219
+ similarity?: number | null;
4220
+ /**
4221
+ * Whether the write named the memory it replaced (`supersedes` on create) instead of the thresholds choosing one. Always false on a `created` or `skipped` outcome.
4222
+ */
4223
+ declared?: boolean;
4224
+ created_at?: Date;
4225
+ };
4226
+ /**
4227
+ * The event a firing reads. `agents.generation.completed` fires once per completed turn whatever the transport, and is the only event the built-in extractor may bind to. `conversations.message.generated` fires per persisted assistant reply and is conversation-backed, so it is for custom handlers.
4228
+ */
4229
+ type MemoryRuleEvent = 'agents.generation.completed' | 'conversations.message.generated';
4230
+ type MemoryRule = {
4231
+ id?: string;
4232
+ memory_store_id?: string;
4233
+ project_id?: string;
4234
+ on?: MemoryRuleEvent;
4235
+ source_agent_ids?: Array<string> | null;
4236
+ agent_id?: string | null;
4237
+ tool_id?: string | null;
4238
+ action?: string | null;
4239
+ preset_parameters?: {
4240
+ [key: string]: unknown;
4241
+ } | null;
4242
+ prompt?: string | null;
4243
+ ai_provider_id?: string | null;
4244
+ model?: string | null;
4245
+ enabled?: boolean;
4246
+ created_at?: Date;
4247
+ updated_at?: Date;
4163
4248
  };
4164
4249
  type MemoryStore = {
4165
4250
  id?: string;
@@ -4170,6 +4255,14 @@ type MemoryStore = {
4170
4255
  * Key-value tags for filtering in knowledge search.
4171
4256
  */
4172
4257
  tags?: NullableTagBag;
4258
+ /**
4259
+ * The store's duplicate cutoff, or `null` when it has never been set. Reported as `null` rather than as the constant it resolves to: a store with no policy must read differently from one pinned to today's default.
4260
+ */
4261
+ duplicate_threshold?: number | null;
4262
+ /**
4263
+ * The store's supersede cutoff, or `null` when it has never been set.
4264
+ */
4265
+ supersede_threshold?: number | null;
4173
4266
  created_at?: Date;
4174
4267
  updated_at?: Date;
4175
4268
  };
@@ -4502,7 +4595,7 @@ type OrchestrationNode = {
4502
4595
  */
4503
4596
  parallelism?: number;
4504
4597
  /**
4505
- * For loop and sub_orchestration nodes — allowlist of the run's `tool_context` keys the child run inherits. When `null` (the default), the child inherits the parent's whole bag — the behavior of every graph authored before this field existed. When set, only the listed keys are handed down, so a run holding a broad credential can delegate one step to a shared sub-graph without passing on what that sub-graph does not need; `[]` hands down nothing. Matching is case-insensitive, since an entry names a key that becomes an HTTP header name; an entry outside that grammar is rejected at write time with `INVALID_TOOL_CONTEXT_KEY`. The server-derived identity keys (`session_id`, `actor_id`, `actor_external_id`) are unaffected — they are re-derived per generation in the child regardless of this list. Ignored for other node types.
4598
+ * For loop and sub_orchestration nodes — allowlist of the run's `tool_context` keys the child run inherits. When `null` (the default), the child inherits the parent's whole bag. When set, only the listed keys are handed down, so a run holding a broad credential can delegate one step to a shared sub-graph without passing on what that sub-graph does not need; `[]` hands down nothing. Matching is case-insensitive, since an entry names a key that becomes an HTTP header name; an entry outside that grammar is rejected at write time with `INVALID_TOOL_CONTEXT_KEY`. The server-derived identity keys (`session_id`, `actor_id`, `actor_external_id`) are unaffected — they are re-derived per generation in the child regardless of this list. Ignored for other node types.
4506
4599
  */
4507
4600
  context_keys?: Array<string> | null;
4508
4601
  /**
@@ -5627,7 +5720,7 @@ type Tool = {
5627
5720
  */
5628
5721
  denied_actions?: Array<string> | null;
5629
5722
  /**
5630
- * Optional allowlist of `tool_context` keys that may be forwarded to this tool as prefixed context headers (`X-Soat-Context-<key>` by default). When `null`, every key in the caller's `tool_context` is forwarded — the behavior of every tool created before this field existed. When set, only the listed keys are, so a per-user credential in `tool_context` can be confined to the tools that need it; `[]` forwards none. The server-pinned identity keys (`session_id`, `actor_id`, `actor_external_id`) are always forwarded. A key consumed by a `{{context:<key>}}` token in this tool's own headers is substituted regardless of this list — the tool declared that header itself.
5723
+ * Optional allowlist of `tool_context` keys that may be forwarded to this tool as prefixed context headers (`X-Soat-Context-<key>` by default). When `null`, every key in the caller's `tool_context` is forwarded. When set, only the listed keys are, so a per-user credential in `tool_context` can be confined to the tools that need it; `[]` forwards none. The server-pinned identity keys (`session_id`, `actor_id`, `actor_external_id`) are always forwarded. A key consumed by a `{{context:<key>}}` token in this tool's own headers is substituted regardless of this list — the tool declared that header itself.
5631
5724
  */
5632
5725
  context_keys?: Array<string> | null;
5633
5726
  /**
@@ -5713,7 +5806,7 @@ type CreateToolRequest = {
5713
5806
  */
5714
5807
  denied_actions?: Array<string>;
5715
5808
  /**
5716
- * Optional allowlist of `tool_context` keys that may be forwarded to this tool as prefixed context headers (`X-Soat-Context-<key>` by default). When `null` or omitted, every key in the caller's `tool_context` is forwarded — the behavior of every tool created before this field existed. When set, only the listed keys are, so a per-user credential in `tool_context` can be confined to the tools that need it; `[]` forwards none. The server-pinned identity keys (`session_id`, `actor_id`, `actor_external_id`) are always forwarded. A key consumed by a `{{context:<key>}}` token in this tool's own headers is substituted regardless of this list — the tool declared that header itself.
5809
+ * Optional allowlist of `tool_context` keys that may be forwarded to this tool as prefixed context headers (`X-Soat-Context-<key>` by default). When `null` or omitted, every key in the caller's `tool_context` is forwarded. When set, only the listed keys are, so a per-user credential in `tool_context` can be confined to the tools that need it; `[]` forwards none. The server-pinned identity keys (`session_id`, `actor_id`, `actor_external_id`) are always forwarded. A key consumed by a `{{context:<key>}}` token in this tool's own headers is substituted regardless of this list — the tool declared that header itself.
5717
5810
  */
5718
5811
  context_keys?: Array<string> | null;
5719
5812
  /**
@@ -5781,7 +5874,7 @@ type UpdateToolRequest = {
5781
5874
  */
5782
5875
  denied_actions?: Array<string> | null;
5783
5876
  /**
5784
- * Optional allowlist of `tool_context` keys that may be forwarded to this tool as prefixed context headers (`X-Soat-Context-<key>` by default). When `null` or omitted, every key in the caller's `tool_context` is forwarded — the behavior of every tool created before this field existed. When set, only the listed keys are, so a per-user credential in `tool_context` can be confined to the tools that need it; `[]` forwards none. The server-pinned identity keys (`session_id`, `actor_id`, `actor_external_id`) are always forwarded. A key consumed by a `{{context:<key>}}` token in this tool's own headers is substituted regardless of this list — the tool declared that header itself.
5877
+ * Optional allowlist of `tool_context` keys that may be forwarded to this tool as prefixed context headers (`X-Soat-Context-<key>` by default). When `null` or omitted, every key in the caller's `tool_context` is forwarded. When set, only the listed keys are, so a per-user credential in `tool_context` can be confined to the tools that need it; `[]` forwards none. The server-pinned identity keys (`session_id`, `actor_id`, `actor_external_id`) are always forwarded. A key consumed by a `{{context:<key>}}` token in this tool's own headers is substituted regardless of this list — the tool declared that header itself.
5785
5878
  */
5786
5879
  context_keys?: Array<string> | null;
5787
5880
  /**
@@ -12776,24 +12869,26 @@ type SearchKnowledgeData = {
12776
12869
  * Minimum raw cosine `similarity_score` a **vector** candidate must reach to take part in ranking, applied before fusion. Only applies when `query` is provided. Lexical candidates are deliberately exempt: a result that literally contains the searched token is the evidence, and dropping it for a low cosine is the failure hybrid search exists to prevent. Not a floor on `score`, whose fused value encodes rank position rather than similarity.
12777
12870
  */
12778
12871
  min_similarity?: number;
12779
- /**
12780
- * Deprecated alias for `min_similarity`, with identical behavior. While ranking was single-signal `score` equaled `similarity_score`, so this has only ever filtered cosine and an existing value keeps returning the same results. `min_similarity` wins when both are sent. Removed in v2.
12781
- *
12782
- * @deprecated
12783
- */
12784
- min_score?: number;
12785
12872
  /**
12786
12873
  * The `k` in the reciprocal rank fusion term `1 / (k + rank)`, which sets how steeply a result's contribution decays with its position in each ranked list. A smaller value weights the very top of each list more heavily. Defaults to the deployment's `KNOWLEDGE_RRF_K`, itself 60 by default. Only applies when `query` is provided.
12787
12874
  */
12788
12875
  rrf_k?: number;
12789
12876
  /**
12790
- * Half-life, in days, of a recency decay applied to **memory store** results after fusion: a result's `score` is multiplied by `2 ^ (-age_in_days / recency_half_life_days)`, where age is measured from its `updated_at`. Document results are never decayed. `0` — the default, and the default of the deployment's `KNOWLEDGE_RECENCY_HALF_LIFE_DAYS` — disables the blend entirely; it is a switch, not a lower bound, and sending `0` turns off a deployment-wide decay for this one request. Accepts fractions (`0.5` is twelve hours). How many ranks a given half-life costs depends on `rrf_k`. Only applies when `query` is provided.
12877
+ * Half-life, in days, of a recency decay applied to **memory store** results after fusion: a result's `score` is multiplied by `2 ^ (-age_in_days / recency_half_life_days)`, where age is measured from its `updated_at`. Document results are never decayed. `0` — the default, and the default of the deployment's `KNOWLEDGE_RECENCY_HALF_LIFE_DAYS` — disables the blend entirely; it is a switch, not a lower bound, and sending `0` turns off a deployment-wide decay for this one request. Accepts fractions (`0.5` is twelve hours). How many ranks a given half-life costs depends on `rrf_k`. Only applies when `query` is provided. **No value is known to be safe in general**: every half-life measured against the reference corpus that lifted recency-sensitive queries also cost relevance-sensitive ones, which is why this ships disabled. Measure against your own corpus before setting it — see the Retrieval Quality guide.
12791
12878
  */
12792
12879
  recency_half_life_days?: number;
12793
12880
  /**
12794
12881
  * Maximum number of results to return (default 10). A value above 100 is clamped to 100 — the ceiling bounds the vector scan this one request performs, so a larger `limit` returns everything there is up to that many rows rather than being refused.
12795
12882
  */
12796
12883
  limit?: number;
12884
+ /**
12885
+ * Set `false` to leave the document store out of this search. A `query` names no store, so it reaches both; the store-specific filters narrow *within* a store rather than choosing between them. This is the switch, and a filter naming the other store never overrides it. `false` for both stores is `400`.
12886
+ */
12887
+ include_documents?: boolean;
12888
+ /**
12889
+ * Set `false` to leave the memory store out of this search. The mirror of `include_documents`, for a caller that wants documents alone.
12890
+ */
12891
+ include_memories?: boolean;
12797
12892
  /**
12798
12893
  * Search memories within these specific memory stores
12799
12894
  */
@@ -12807,7 +12902,7 @@ type SearchKnowledgeData = {
12807
12902
  */
12808
12903
  document_ids?: Array<string>;
12809
12904
  /**
12810
- * Filter results to documents and memories whose `tags` contain every one of these key-value pairs (exact, case-sensitive match). The only filter that scopes both stores, so passing it alone searches both. For memories it matches at memory granularity: a memory is returned when its parent memory store's tags match or its own do.
12905
+ * Filter results to documents and memories whose `tags` contain every one of these key-value pairs (exact, case-sensitive match). Scopes both stores, so passing it alone searches both — as `query` does. For memories it matches at memory granularity: a memory is returned when its parent memory store's tags match or its own do.
12811
12906
  */
12812
12907
  tags?: TagBag;
12813
12908
  };
@@ -12926,9 +13021,17 @@ type CreateMemoryData = {
12926
13021
  [key: string]: unknown;
12927
13022
  };
12928
13023
  /**
12929
- * Cosine similarity score at or above which the incoming content is considered a duplicate of an existing memory and skipped (default 0.95). Below it the memory is always created.
13024
+ * The memory this write replaces, named outright. The declaration outranks the thresholds in both directions: the target is retired and the write returns `superseded` however similar or distant the two texts are. This is what reaches a contradiction cosine cannot see ("The office is in Lisbon" then "We closed the Lisbon office"). The target must be a still-valid memory in the same memory store, and the caller needs `memories:UpdateMemory` on it as well as `memories:CreateMemory` on the store.
13025
+ */
13026
+ supersedes?: string;
13027
+ /**
13028
+ * Cosine similarity at or above which the incoming content is a duplicate of an existing memory and the write is skipped. Overrides the store's `duplicate_threshold` for this call; falls back to the store's value, then to `0.95`.
12930
13029
  */
12931
13030
  duplicate_threshold?: number;
13031
+ /**
13032
+ * Cosine similarity at or above which the incoming content restates a fact that has changed: the top match is invalidated and a new memory replaces it. Overrides the store's `supersede_threshold` for this call; falls back to the store's value, then to `0.90`. The effective pair must satisfy `supersede_threshold < duplicate_threshold`, and the check runs against the effective pair — so overriding only one value cannot invert it against the store's other one.
13033
+ */
13034
+ supersede_threshold?: number;
12932
13035
  };
12933
13036
  path?: never;
12934
13037
  query?: never;
@@ -12936,7 +13039,7 @@ type CreateMemoryData = {
12936
13039
  };
12937
13040
  type CreateMemoryErrors = {
12938
13041
  /**
12939
- * Bad request (missing required fields)
13042
+ * Bad request — a missing required field, a threshold pair whose effective values are not `supersede_threshold < duplicate_threshold`, or a `supersedes` that is not a memory id, or names a memory in another memory store or one already superseded.
12940
13043
  */
12941
13044
  400: unknown;
12942
13045
  /**
@@ -12944,11 +13047,11 @@ type CreateMemoryErrors = {
12944
13047
  */
12945
13048
  401: unknown;
12946
13049
  /**
12947
- * Forbidden
13050
+ * Forbidden — the caller may not write to the memory store, or may not update the memory named by `supersedes`.
12948
13051
  */
12949
13052
  403: unknown;
12950
13053
  /**
12951
- * Memory store not found
13054
+ * Memory store not found, or no memory matches `supersedes`
12952
13055
  */
12953
13056
  404: unknown;
12954
13057
  /**
@@ -12962,7 +13065,7 @@ type CreateMemoryErrors = {
12962
13065
  };
12963
13066
  type CreateMemoryResponses = {
12964
13067
  /**
12965
- * Memory deduplicated (action is "skipped")
13068
+ * The write resolved against an existing memory — `action` is `skipped` (the fact was already known) or `superseded` (the fact had changed, and the returned memory is the replacement).
12966
13069
  */
12967
13070
  200: MemoryWriteResult;
12968
13071
  /**
@@ -13085,6 +13188,53 @@ type UpdateMemoryResponses = {
13085
13188
  200: Memory;
13086
13189
  };
13087
13190
  type UpdateMemoryResponse = UpdateMemoryResponses[keyof UpdateMemoryResponses];
13191
+ type ListMemoryAssertionsData = {
13192
+ body?: never;
13193
+ path: {
13194
+ memory_id: string;
13195
+ };
13196
+ query?: {
13197
+ /**
13198
+ * Maximum number of results to return
13199
+ */
13200
+ limit?: number;
13201
+ /**
13202
+ * Number of results to skip
13203
+ */
13204
+ offset?: number;
13205
+ };
13206
+ url: '/api/v1/memories/{memory_id}/assertions';
13207
+ };
13208
+ type ListMemoryAssertionsErrors = {
13209
+ /**
13210
+ * Unauthorized
13211
+ */
13212
+ 401: unknown;
13213
+ /**
13214
+ * Forbidden
13215
+ */
13216
+ 403: unknown;
13217
+ /**
13218
+ * Memory store or memory not found
13219
+ */
13220
+ 404: unknown;
13221
+ /**
13222
+ * Internal server error
13223
+ */
13224
+ 500: unknown;
13225
+ };
13226
+ type ListMemoryAssertionsResponses = {
13227
+ /**
13228
+ * List of assertions
13229
+ */
13230
+ 200: {
13231
+ data: Array<MemoryAssertion>;
13232
+ total: number;
13233
+ limit: number;
13234
+ offset: number;
13235
+ };
13236
+ };
13237
+ type ListMemoryAssertionsResponse = ListMemoryAssertionsResponses[keyof ListMemoryAssertionsResponses];
13088
13238
  type GetMemoryTagsData = {
13089
13239
  body?: never;
13090
13240
  path: {
@@ -13189,6 +13339,250 @@ type ReplaceMemoryTagsResponses = {
13189
13339
  200: TagBag;
13190
13340
  };
13191
13341
  type ReplaceMemoryTagsResponse = ReplaceMemoryTagsResponses[keyof ReplaceMemoryTagsResponses];
13342
+ type ListMemoryRulesData = {
13343
+ body?: never;
13344
+ path?: never;
13345
+ query?: {
13346
+ /**
13347
+ * Only the rules of this memory store
13348
+ */
13349
+ memory_store_id?: string;
13350
+ /**
13351
+ * Project ID (required if not using project key auth)
13352
+ */
13353
+ project_id?: string;
13354
+ /**
13355
+ * Number of results per page
13356
+ */
13357
+ limit?: number;
13358
+ /**
13359
+ * Number of results to skip
13360
+ */
13361
+ offset?: number;
13362
+ };
13363
+ url: '/api/v1/memory-rules';
13364
+ };
13365
+ type ListMemoryRulesErrors = {
13366
+ /**
13367
+ * Unauthorized
13368
+ */
13369
+ 401: unknown;
13370
+ /**
13371
+ * Forbidden
13372
+ */
13373
+ 403: unknown;
13374
+ /**
13375
+ * Internal server error
13376
+ */
13377
+ 500: unknown;
13378
+ };
13379
+ type ListMemoryRulesResponses = {
13380
+ /**
13381
+ * List of memory rules
13382
+ */
13383
+ 200: {
13384
+ data: Array<MemoryRule>;
13385
+ total: number;
13386
+ limit: number;
13387
+ offset: number;
13388
+ };
13389
+ };
13390
+ type ListMemoryRulesResponse = ListMemoryRulesResponses[keyof ListMemoryRulesResponses];
13391
+ type CreateMemoryRuleData = {
13392
+ body: {
13393
+ /**
13394
+ * The destination store, and the rule's owning scope
13395
+ */
13396
+ memory_store_id: string;
13397
+ on: MemoryRuleEvent;
13398
+ /**
13399
+ * Agents whose turns this rule reads. Omit or send `null` for every agent in the store's project.
13400
+ */
13401
+ source_agent_ids?: Array<string> | null;
13402
+ /**
13403
+ * Handler agent (mutually exclusive with tool_id)
13404
+ */
13405
+ agent_id?: string | null;
13406
+ /**
13407
+ * Handler tool (mutually exclusive with agent_id)
13408
+ */
13409
+ tool_id?: string | null;
13410
+ /**
13411
+ * Operation id, for a tool handler
13412
+ */
13413
+ action?: string | null;
13414
+ /**
13415
+ * Merged into a tool handler's input before invocation. The turn's own fields are reserved and win.
13416
+ */
13417
+ preset_parameters?: {
13418
+ [key: string]: unknown;
13419
+ } | null;
13420
+ /**
13421
+ * Replaces the built-in extractor's task instructions. The JSON response contract and the transcript are always appended. Not valid with a handler.
13422
+ */
13423
+ prompt?: string | null;
13424
+ /**
13425
+ * Provider override for the built-in extractor's completion. Not valid with a handler.
13426
+ */
13427
+ ai_provider_id?: string | null;
13428
+ /**
13429
+ * Model override for the built-in extractor's completion. Not valid with a handler.
13430
+ */
13431
+ model?: string | null;
13432
+ /**
13433
+ * A disabled rule is kept and never fires
13434
+ */
13435
+ enabled?: boolean;
13436
+ };
13437
+ path?: never;
13438
+ query?: never;
13439
+ url: '/api/v1/memory-rules';
13440
+ };
13441
+ type CreateMemoryRuleErrors = {
13442
+ /**
13443
+ * Validation failed (e.g. agent_id and tool_id both set, or an extractor override combined with a handler)
13444
+ */
13445
+ 400: unknown;
13446
+ /**
13447
+ * Unauthorized
13448
+ */
13449
+ 401: unknown;
13450
+ /**
13451
+ * Forbidden
13452
+ */
13453
+ 403: unknown;
13454
+ /**
13455
+ * Memory store not found
13456
+ */
13457
+ 404: unknown;
13458
+ /**
13459
+ * Internal server error
13460
+ */
13461
+ 500: unknown;
13462
+ };
13463
+ type CreateMemoryRuleResponses = {
13464
+ /**
13465
+ * Memory rule created
13466
+ */
13467
+ 201: MemoryRule;
13468
+ };
13469
+ type CreateMemoryRuleResponse = CreateMemoryRuleResponses[keyof CreateMemoryRuleResponses];
13470
+ type DeleteMemoryRuleData = {
13471
+ body?: never;
13472
+ path: {
13473
+ /**
13474
+ * Memory rule ID
13475
+ */
13476
+ memory_rule_id: string;
13477
+ };
13478
+ query?: never;
13479
+ url: '/api/v1/memory-rules/{memory_rule_id}';
13480
+ };
13481
+ type DeleteMemoryRuleErrors = {
13482
+ /**
13483
+ * Unauthorized
13484
+ */
13485
+ 401: unknown;
13486
+ /**
13487
+ * Forbidden
13488
+ */
13489
+ 403: unknown;
13490
+ /**
13491
+ * Memory rule not found
13492
+ */
13493
+ 404: unknown;
13494
+ };
13495
+ type DeleteMemoryRuleResponses = {
13496
+ /**
13497
+ * Memory rule deleted
13498
+ */
13499
+ 204: void;
13500
+ };
13501
+ type DeleteMemoryRuleResponse = DeleteMemoryRuleResponses[keyof DeleteMemoryRuleResponses];
13502
+ type GetMemoryRuleData = {
13503
+ body?: never;
13504
+ path: {
13505
+ /**
13506
+ * Memory rule ID
13507
+ */
13508
+ memory_rule_id: string;
13509
+ };
13510
+ query?: never;
13511
+ url: '/api/v1/memory-rules/{memory_rule_id}';
13512
+ };
13513
+ type GetMemoryRuleErrors = {
13514
+ /**
13515
+ * Unauthorized
13516
+ */
13517
+ 401: unknown;
13518
+ /**
13519
+ * Forbidden
13520
+ */
13521
+ 403: unknown;
13522
+ /**
13523
+ * Memory rule not found
13524
+ */
13525
+ 404: unknown;
13526
+ };
13527
+ type GetMemoryRuleResponses = {
13528
+ /**
13529
+ * Memory rule details
13530
+ */
13531
+ 200: MemoryRule;
13532
+ };
13533
+ type GetMemoryRuleResponse = GetMemoryRuleResponses[keyof GetMemoryRuleResponses];
13534
+ type UpdateMemoryRuleData = {
13535
+ body: {
13536
+ on?: MemoryRuleEvent;
13537
+ /**
13538
+ * Send `null` to widen the rule to every agent in the project
13539
+ */
13540
+ source_agent_ids?: Array<string> | null;
13541
+ agent_id?: string | null;
13542
+ tool_id?: string | null;
13543
+ action?: string | null;
13544
+ preset_parameters?: {
13545
+ [key: string]: unknown;
13546
+ } | null;
13547
+ prompt?: string | null;
13548
+ ai_provider_id?: string | null;
13549
+ model?: string | null;
13550
+ enabled?: boolean;
13551
+ };
13552
+ path: {
13553
+ /**
13554
+ * Memory rule ID
13555
+ */
13556
+ memory_rule_id: string;
13557
+ };
13558
+ query?: never;
13559
+ url: '/api/v1/memory-rules/{memory_rule_id}';
13560
+ };
13561
+ type UpdateMemoryRuleErrors = {
13562
+ /**
13563
+ * Validation failed
13564
+ */
13565
+ 400: unknown;
13566
+ /**
13567
+ * Unauthorized
13568
+ */
13569
+ 401: unknown;
13570
+ /**
13571
+ * Forbidden
13572
+ */
13573
+ 403: unknown;
13574
+ /**
13575
+ * Memory rule not found
13576
+ */
13577
+ 404: unknown;
13578
+ };
13579
+ type UpdateMemoryRuleResponses = {
13580
+ /**
13581
+ * Memory rule updated
13582
+ */
13583
+ 200: MemoryRule;
13584
+ };
13585
+ type UpdateMemoryRuleResponse = UpdateMemoryRuleResponses[keyof UpdateMemoryRuleResponses];
13192
13586
  type ListMemoryStoresData = {
13193
13587
  body?: never;
13194
13588
  path?: never;
@@ -13257,6 +13651,14 @@ type CreateMemoryStoreData = {
13257
13651
  * Optional key-value tags. Scopes the memory store in knowledge search, where every requested pair must match exactly.
13258
13652
  */
13259
13653
  tags?: TagBag;
13654
+ /**
13655
+ * The store's dedup policy: cosine similarity at or above which an incoming fact is already known and the write is skipped. `null` (the default) uses the algorithm constant `0.95`. A single `POST /api/v1/memories` call may override it; the agent tool and the post-turn rule never can.
13656
+ */
13657
+ duplicate_threshold?: number | null;
13658
+ /**
13659
+ * Cosine similarity at or above which an incoming fact restates a known one that has changed: the matched memory is invalidated and replaced. `null` (the default) uses the algorithm constant `0.90`. Must be lower than the effective `duplicate_threshold`, or the write is rejected with `400 VALIDATION_FAILED` — equal makes `superseded` unreachable and inverted swallows `skipped`.
13660
+ */
13661
+ supersede_threshold?: number | null;
13260
13662
  };
13261
13663
  path?: never;
13262
13664
  query?: never;
@@ -13264,7 +13666,7 @@ type CreateMemoryStoreData = {
13264
13666
  };
13265
13667
  type CreateMemoryStoreErrors = {
13266
13668
  /**
13267
- * Bad request (missing required fields or invalid config)
13669
+ * Bad request — a missing required field, a threshold outside `[0, 1]`, or a pair that is not `supersede_threshold < duplicate_threshold`.
13268
13670
  */
13269
13671
  400: unknown;
13270
13672
  /**
@@ -13367,6 +13769,14 @@ type UpdateMemoryStoreData = {
13367
13769
  * Optional key-value tags. Replaces the stored bag; `null` clears it.
13368
13770
  */
13369
13771
  tags?: NullableTagBag;
13772
+ /**
13773
+ * The store's dedup policy: cosine similarity at or above which an incoming fact is already known and the write is skipped. `null` (the default) uses the algorithm constant `0.95`. A single `POST /api/v1/memories` call may override it; the agent tool and the post-turn rule never can.
13774
+ */
13775
+ duplicate_threshold?: number | null;
13776
+ /**
13777
+ * Cosine similarity at or above which an incoming fact restates a known one that has changed: the matched memory is invalidated and replaced. `null` (the default) uses the algorithm constant `0.90`. Must be lower than the effective `duplicate_threshold`, or the write is rejected with `400 VALIDATION_FAILED` — equal makes `superseded` unreachable and inverted swallows `skipped`.
13778
+ */
13779
+ supersede_threshold?: number | null;
13370
13780
  };
13371
13781
  path: {
13372
13782
  memory_store_id: string;
@@ -13375,6 +13785,10 @@ type UpdateMemoryStoreData = {
13375
13785
  url: '/api/v1/memory-stores/{memory_store_id}';
13376
13786
  };
13377
13787
  type UpdateMemoryStoreErrors = {
13788
+ /**
13789
+ * Bad request — a threshold outside `[0, 1]`, or a pair that is not `supersede_threshold < duplicate_threshold` once the stored values this request does not replace are applied.
13790
+ */
13791
+ 400: unknown;
13378
13792
  /**
13379
13793
  * Unauthorized
13380
13794
  */
@@ -13399,6 +13813,73 @@ type UpdateMemoryStoreResponses = {
13399
13813
  200: MemoryStore;
13400
13814
  };
13401
13815
  type UpdateMemoryStoreResponse = UpdateMemoryStoreResponses[keyof UpdateMemoryStoreResponses];
13816
+ type ListMemoryStoreAssertionsData = {
13817
+ body?: never;
13818
+ path: {
13819
+ memory_store_id: string;
13820
+ };
13821
+ query?: {
13822
+ /**
13823
+ * Only assertions that came through this door.
13824
+ */
13825
+ mechanism?: 'tool' | 'rule' | 'api' | 'formation';
13826
+ /**
13827
+ * Only assertions that resolved this way.
13828
+ */
13829
+ outcome?: 'created' | 'superseded' | 'skipped';
13830
+ /**
13831
+ * Only assertions made during this generation. A generation that does not exist matches nothing rather than widening to the whole store.
13832
+ */
13833
+ generation_id?: string;
13834
+ /**
13835
+ * Only assertions recorded at or after this instant.
13836
+ */
13837
+ since?: Date;
13838
+ /**
13839
+ * Maximum number of results to return
13840
+ */
13841
+ limit?: number;
13842
+ /**
13843
+ * Number of results to skip
13844
+ */
13845
+ offset?: number;
13846
+ };
13847
+ url: '/api/v1/memory-stores/{memory_store_id}/assertions';
13848
+ };
13849
+ type ListMemoryStoreAssertionsErrors = {
13850
+ /**
13851
+ * An unknown `mechanism` or `outcome`, or a `since` that is not a timestamp
13852
+ */
13853
+ 400: unknown;
13854
+ /**
13855
+ * Unauthorized
13856
+ */
13857
+ 401: unknown;
13858
+ /**
13859
+ * Forbidden
13860
+ */
13861
+ 403: unknown;
13862
+ /**
13863
+ * Memory store not found
13864
+ */
13865
+ 404: unknown;
13866
+ /**
13867
+ * Internal server error
13868
+ */
13869
+ 500: unknown;
13870
+ };
13871
+ type ListMemoryStoreAssertionsResponses = {
13872
+ /**
13873
+ * List of assertions
13874
+ */
13875
+ 200: {
13876
+ data: Array<MemoryAssertion>;
13877
+ total: number;
13878
+ limit: number;
13879
+ offset: number;
13880
+ };
13881
+ };
13882
+ type ListMemoryStoreAssertionsResponse = ListMemoryStoreAssertionsResponses[keyof ListMemoryStoreAssertionsResponses];
13402
13883
  type GetMemoryStoreTagsData = {
13403
13884
  body?: never;
13404
13885
  path: {
@@ -18877,7 +19358,7 @@ export declare class Generations {
18877
19358
  /**
18878
19359
  * List generations
18879
19360
  *
18880
- * Returns generations the caller can access, optionally filtered by agent, trace, orchestration run, node, and status. Replaces the former per-trace generations endpoint (use the trace_id query filter).
19361
+ * Returns generations the caller can access, optionally filtered by agent, trace, orchestration run, node, and status. The generations of one trace are the `trace_id` filter.
18881
19362
  *
18882
19363
  * Filtering by `orchestration_run_id` is the supported way to get from an orchestration run to the generations its agent nodes produced: a node execution record carries no generation id, so the pointer lives here, alongside the run's other attribution columns.
18883
19364
  *
@@ -19036,7 +19517,7 @@ export declare class Memories {
19036
19517
  /**
19037
19518
  * Create a memory
19038
19519
  *
19039
- * Creates a new memory in the specified memory store. Automatically generates an embedding for semantic search, and skips the write when an existing memory is a near-duplicate (see `duplicate_threshold`). A merely similar fact is stored as its own memory: this path has no agent context and therefore no model to consolidate two facts into one.
19520
+ * Writes a fact to the specified memory store through the standard write algorithm: the content is embedded (or matched to text the store already holds), compared against the most similar currently-valid memory, and resolved to exactly one of three outcomes — `skipped` at or above `duplicate_threshold`, `superseded` at or above `supersede_threshold`, `created` below it. `supersedes` overrides that comparison entirely, retiring the memory it names. Every call records one assertion, whatever the outcome.
19040
19521
  */
19041
19522
  static createMemory<ThrowOnError extends boolean = false>(options: Options<CreateMemoryData, ThrowOnError>): RequestResult<CreateMemoryResponses, CreateMemoryErrors, ThrowOnError>;
19042
19523
  /**
@@ -19057,6 +19538,12 @@ export declare class Memories {
19057
19538
  * Updates an existing memory. Regenerates the embedding if content changes.
19058
19539
  */
19059
19540
  static updateMemory<ThrowOnError extends boolean = false>(options: Options<UpdateMemoryData, ThrowOnError>): RequestResult<UpdateMemoryResponses, UpdateMemoryErrors, ThrowOnError>;
19541
+ /**
19542
+ * List a memory's assertions
19543
+ *
19544
+ * Returns every write that resolved into this memory, oldest first: the one that created it, the duplicates it absorbed, and the assertion that superseded another memory in its favour. A superseded memory keeps its own assertions, so the chain can be walked in both directions.
19545
+ */
19546
+ static listMemoryAssertions<ThrowOnError extends boolean = false>(options: Options<ListMemoryAssertionsData, ThrowOnError>): RequestResult<ListMemoryAssertionsResponses, ListMemoryAssertionsErrors, ThrowOnError>;
19060
19547
  /**
19061
19548
  * Get memory tags
19062
19549
  *
@@ -19076,6 +19563,38 @@ export declare class Memories {
19076
19563
  */
19077
19564
  static replaceMemoryTags<ThrowOnError extends boolean = false>(options: Options<ReplaceMemoryTagsData, ThrowOnError>): RequestResult<ReplaceMemoryTagsResponses, ReplaceMemoryTagsErrors, ThrowOnError>;
19078
19565
  }
19566
+ export declare class MemoryRules {
19567
+ /**
19568
+ * List memory rules
19569
+ *
19570
+ * Returns memory rules, newest first. Narrow to one store with `memory_store_id` — that form is authorized against the store itself, so it answers "what feeds this store?" in one call.
19571
+ */
19572
+ static listMemoryRules<ThrowOnError extends boolean = false>(options?: Options<ListMemoryRulesData, ThrowOnError>): RequestResult<ListMemoryRulesResponses, ListMemoryRulesErrors, ThrowOnError>;
19573
+ /**
19574
+ * Create a memory rule
19575
+ *
19576
+ * Creates an ingestion rule on a memory store. With neither `agent_id` nor `tool_id` the built-in extractor runs, configurable through `prompt`, `ai_provider_id` and `model`.
19577
+ */
19578
+ static createMemoryRule<ThrowOnError extends boolean = false>(options: Options<CreateMemoryRuleData, ThrowOnError>): RequestResult<CreateMemoryRuleResponses, CreateMemoryRuleErrors, ThrowOnError>;
19579
+ /**
19580
+ * Delete a memory rule
19581
+ *
19582
+ * Deletes a memory rule. The assertions it wrote are kept; their `rule_id` becomes null.
19583
+ */
19584
+ static deleteMemoryRule<ThrowOnError extends boolean = false>(options: Options<DeleteMemoryRuleData, ThrowOnError>): RequestResult<DeleteMemoryRuleResponses, DeleteMemoryRuleErrors, ThrowOnError>;
19585
+ /**
19586
+ * Get a memory rule
19587
+ *
19588
+ * Returns a specific memory rule
19589
+ */
19590
+ static getMemoryRule<ThrowOnError extends boolean = false>(options: Options<GetMemoryRuleData, ThrowOnError>): RequestResult<GetMemoryRuleResponses, GetMemoryRuleErrors, ThrowOnError>;
19591
+ /**
19592
+ * Update a memory rule
19593
+ *
19594
+ * Updates a memory rule. Validation runs against the rule as it would stand after the change, so a one-field update cannot pair a handler with a stored extractor override from the side.
19595
+ */
19596
+ static updateMemoryRule<ThrowOnError extends boolean = false>(options: Options<UpdateMemoryRuleData, ThrowOnError>): RequestResult<UpdateMemoryRuleResponses, UpdateMemoryRuleErrors, ThrowOnError>;
19597
+ }
19079
19598
  export declare class MemoryStores {
19080
19599
  /**
19081
19600
  * List memory stores
@@ -19107,6 +19626,12 @@ export declare class MemoryStores {
19107
19626
  * Updates an existing memory store configuration
19108
19627
  */
19109
19628
  static updateMemoryStore<ThrowOnError extends boolean = false>(options: Options<UpdateMemoryStoreData, ThrowOnError>): RequestResult<UpdateMemoryStoreResponses, UpdateMemoryStoreErrors, ThrowOnError>;
19629
+ /**
19630
+ * List a memory store's write assertions
19631
+ *
19632
+ * Returns the store's write ledger, newest first: one row per write attempt, skips included. This is how "which write path is filling this store?" is asked — a question no column on a memory row could answer, because a skipped write produced no memory at all.
19633
+ */
19634
+ static listMemoryStoreAssertions<ThrowOnError extends boolean = false>(options: Options<ListMemoryStoreAssertionsData, ThrowOnError>): RequestResult<ListMemoryStoreAssertionsResponses, ListMemoryStoreAssertionsErrors, ThrowOnError>;
19110
19635
  /**
19111
19636
  * Get memory store tags
19112
19637
  *
@@ -19280,7 +19805,7 @@ export declare class Policies {
19280
19805
  /**
19281
19806
  * List all policies
19282
19807
  *
19283
- * Returns global policies. Requires admin role. Pass user_id to list only the policies attached to that user (replaces the former per-user policies endpoint).
19808
+ * Returns global policies. Requires admin role. Pass user_id to list only the policies attached to that user.
19284
19809
  *
19285
19810
  */
19286
19811
  static listPolicies<ThrowOnError extends boolean = false>(options?: Options<ListPoliciesData, ThrowOnError>): RequestResult<ListPoliciesResponses, ListPoliciesErrors, ThrowOnError>;
@@ -20015,6 +20540,7 @@ export declare class SoatClient {
20015
20540
  readonly ingestionRules: typeof IngestionRules;
20016
20541
  readonly knowledge: typeof Knowledge;
20017
20542
  readonly memories: typeof Memories;
20543
+ readonly memoryRules: typeof MemoryRules;
20018
20544
  readonly memoryStores: typeof MemoryStores;
20019
20545
  readonly modelRoutes: typeof ModelRoutes;
20020
20546
  readonly orchestrations: typeof Orchestrations;
@@ -20034,4 +20560,4 @@ export declare class SoatClient {
20034
20560
  constructor({ baseUrl, token, headers }?: SoatClientOptions);
20035
20561
  }
20036
20562
  //#endregion
20037
- export type { AbortAgentReleaseData, AbortAgentReleaseError, AbortAgentReleaseErrors, AbortAgentReleaseResponse, AbortAgentReleaseResponses, AcceptedGenerationResponse, AcknowledgeExceptionData, AcknowledgeExceptionErrors, AcknowledgeExceptionResponse, AcknowledgeExceptionResponses, ActivityEntry, ActorRecord, ActorResourceProperties, AddConversationMessageData, AddConversationMessageError, AddConversationMessageErrors, AddConversationMessageResponse, AddConversationMessageResponses, AddSessionMessageData, AddSessionMessageError, AddSessionMessageErrors, AddSessionMessageRequest, AddSessionMessageResponse, AddSessionMessageResponse2, AddSessionMessageResponses, AddSessionMessageSaved, Agent, AgentGenerationResponse, AgentRelease, AgentResourceProperties, AgentVersion, AggregateScores, AiProviderResourceProperties, ApiKeyCreated, ApiKeyRecord, ApiKeyResourceProperties, ApprovalId, ApprovalItem, ApprovalRecurrenceGroup, ApproveApprovalData, ApproveApprovalErrors, ApproveApprovalResponse, ApproveApprovalResponses, AttachUserPoliciesData, AttachUserPoliciesError, AttachUserPoliciesErrors, AttachUserPoliciesResponse, AttachUserPoliciesResponses, AuditEntry, BaselineComparison, BootstrapUserData, BootstrapUserError, BootstrapUserErrors, BootstrapUserResponse, BootstrapUserResponses, CallToolData, CallToolError, CallToolErrors, CallToolRequest, CallToolResponses, CancelEvalRunData, CancelEvalRunErrors, CancelEvalRunResponse, CancelEvalRunResponses, CancelOrchestrationRunData, CancelOrchestrationRunErrors, CancelOrchestrationRunResponse, CancelOrchestrationRunResponses, Chain, ChainId, Chat, ChatCompletionChoice, ChatCompletionRequest, ChatCompletionResponse, ChatCompletionResponseMessage, ChatMessageInput, ChatResourceProperties, ClientOptions, CompleteIngestionCallbackData, CompleteIngestionCallbackError, CompleteIngestionCallbackErrors, CompleteIngestionCallbackResponse, CompleteIngestionCallbackResponses, ContainsScorer, ConversationMessageRecord, ConversationRecord, ConversationResourceProperties, CreateActorData, CreateActorError, CreateActorErrors, CreateActorResponse, CreateActorResponses, CreateAgentData, CreateAgentError, CreateAgentErrors, CreateAgentGenerationData, CreateAgentGenerationError, CreateAgentGenerationErrors, CreateAgentGenerationRequest, CreateAgentGenerationResponse, CreateAgentGenerationResponses, CreateAgentRequest, CreateAgentResponse, CreateAgentResponses, CreateAiProviderData, CreateAiProviderErrors, CreateAiProviderResponse, CreateAiProviderResponses, CreateApiKeyData, CreateApiKeyError, CreateApiKeyErrors, CreateApiKeyResponse, CreateApiKeyResponses, CreateChatCompletionData, CreateChatCompletionError, CreateChatCompletionErrors, CreateChatCompletionResponse, CreateChatCompletionResponses, CreateChatData, CreateChatError, CreateChatErrors, CreateChatRequest, CreateChatResponse, CreateChatResponses, CreateConversationData, CreateConversationError, CreateConversationErrors, CreateConversationResponse, CreateConversationResponses, CreateDatasetData, CreateDatasetErrors, CreateDatasetItemData, CreateDatasetItemErrors, CreateDatasetItemFromGenerationData, CreateDatasetItemFromGenerationErrors, CreateDatasetItemFromGenerationResponse, CreateDatasetItemFromGenerationResponses, CreateDatasetItemResponse, CreateDatasetItemResponses, CreateDatasetResponse, CreateDatasetResponses, CreateDocumentData, CreateDocumentError, CreateDocumentErrors, CreateDocumentResponse, CreateDocumentResponses, CreateEmbeddingsData, CreateEmbeddingsError, CreateEmbeddingsErrors, CreateEmbeddingsResponse, CreateEmbeddingsResponses, CreateEvalData, CreateEvalErrors, CreateEvalResponse, CreateEvalResponses, CreateFileData, CreateFileError, CreateFileErrors, CreateFileResponse, CreateFileResponses, CreateFormationData, CreateFormationErrors, CreateFormationResponse, CreateFormationResponses, CreateGuardrailData, CreateGuardrailError, CreateGuardrailErrors, CreateGuardrailRequest, CreateGuardrailResponse, CreateGuardrailResponses, CreateIngestionRuleData, CreateIngestionRuleErrors, CreateIngestionRuleResponse, CreateIngestionRuleResponses, CreateMemoryData, CreateMemoryErrors, CreateMemoryResponse, CreateMemoryResponses, CreateMemoryStoreData, CreateMemoryStoreErrors, CreateMemoryStoreResponse, CreateMemoryStoreResponses, CreateModelRouteData, CreateModelRouteErrors, CreateModelRouteResponse, CreateModelRouteResponses, CreateOrchestrationData, CreateOrchestrationErrors, CreateOrchestrationRequest, CreateOrchestrationResponse, CreateOrchestrationResponses, CreatePolicyData, CreatePolicyError, CreatePolicyErrors, CreatePolicyResponse, CreatePolicyResponses, CreatePresignedUrlData, CreatePresignedUrlError, CreatePresignedUrlErrors, CreatePresignedUrlResponse, CreatePresignedUrlResponses, CreateProjectData, CreateProjectErrors, CreateProjectResponse, CreateProjectResponses, CreateQuotaData, CreateQuotaErrors, CreateQuotaResponse, CreateQuotaResponses, CreateSecretData, CreateSecretErrors, CreateSecretResponse, CreateSecretResponses, CreateSessionData, CreateSessionError, CreateSessionErrors, CreateSessionRequest, CreateSessionResponse, CreateSessionResponses, CreateTaskData, CreateTaskErrors, CreateTaskRequest, CreateTaskResponse, CreateTaskResponses, CreateToolData, CreateToolError, CreateToolErrors, CreateToolRequest, CreateToolResponse, CreateToolResponses, CreateTriggerData, CreateTriggerErrors, CreateTriggerRequest, CreateTriggerResponse, CreateTriggerResponses, CreateUsageThresholdData, CreateUsageThresholdError, CreateUsageThresholdErrors, CreateUsageThresholdRequest, CreateUsageThresholdResponse, CreateUsageThresholdResponses, CreateUserData, CreateUserError, CreateUserErrors, CreateUserResponse, CreateUserResponses, CreateWebhookData, CreateWebhookErrors, CreateWebhookRequest, CreateWebhookResponse, CreateWebhookResponses, CreateWorkflowData, CreateWorkflowErrors, CreateWorkflowRequest, CreateWorkflowResponse, CreateWorkflowResponses, Dataset, DatasetItem, DatasetItemInput, DatasetItemResourceProperties, DatasetResourceProperties, DeleteActorData, DeleteActorError, DeleteActorErrors, DeleteActorResponse, DeleteActorResponses, DeleteAgentData, DeleteAgentError, DeleteAgentErrors, DeleteAgentResponse, DeleteAgentResponses, DeleteAiProviderData, DeleteAiProviderErrors, DeleteAiProviderResponse, DeleteAiProviderResponses, DeleteApiKeyData, DeleteApiKeyErrors, DeleteApiKeyResponse, DeleteApiKeyResponses, DeleteChatData, DeleteChatError, DeleteChatErrors, DeleteChatResponse, DeleteChatResponses, DeleteConversationData, DeleteConversationError, DeleteConversationErrors, DeleteConversationResponse, DeleteConversationResponses, DeleteDatasetData, DeleteDatasetErrors, DeleteDatasetItemData, DeleteDatasetItemErrors, DeleteDatasetItemResponse, DeleteDatasetItemResponses, DeleteDatasetResponse, DeleteDatasetResponses, DeleteDocumentData, DeleteDocumentError, DeleteDocumentErrors, DeleteDocumentResponse, DeleteDocumentResponses, DeleteEvalData, DeleteEvalErrors, DeleteEvalResponse, DeleteEvalResponses, DeleteFileData, DeleteFileError, DeleteFileErrors, DeleteFileResponse, DeleteFileResponses, DeleteFormationData, DeleteFormationErrors, DeleteFormationResponse, DeleteFormationResponses, DeleteGuardrailData, DeleteGuardrailError, DeleteGuardrailErrors, DeleteGuardrailResponse, DeleteGuardrailResponses, DeleteIngestionRuleData, DeleteIngestionRuleErrors, DeleteIngestionRuleResponse, DeleteIngestionRuleResponses, DeleteMemoryData, DeleteMemoryErrors, DeleteMemoryResponse, DeleteMemoryResponses, DeleteMemoryStoreData, DeleteMemoryStoreErrors, DeleteMemoryStoreResponse, DeleteMemoryStoreResponses, DeleteModelRouteData, DeleteModelRouteErrors, DeleteModelRouteResponse, DeleteModelRouteResponses, DeleteOrchestrationData, DeleteOrchestrationErrors, DeleteOrchestrationResponse, DeleteOrchestrationResponses, DeletePolicyData, DeletePolicyErrors, DeletePolicyResponse, DeletePolicyResponses, DeleteProjectData, DeleteProjectError, DeleteProjectErrors, DeleteProjectResponse, DeleteProjectResponses, DeleteQuotaData, DeleteQuotaErrors, DeleteQuotaResponse, DeleteQuotaResponses, DeleteSecretData, DeleteSecretErrors, DeleteSecretResponses, DeleteSessionData, DeleteSessionError, DeleteSessionErrors, DeleteSessionResponse, DeleteSessionResponses, DeleteTaskData, DeleteTaskErrors, DeleteTaskResponse, DeleteTaskResponses, DeleteToolData, DeleteToolError, DeleteToolErrors, DeleteToolResponse, DeleteToolResponses, DeleteTriggerData, DeleteTriggerErrors, DeleteTriggerResponse, DeleteTriggerResponses, DeleteUsageThresholdData, DeleteUsageThresholdError, DeleteUsageThresholdErrors, DeleteUsageThresholdResponse, DeleteUsageThresholdResponses, DeleteUserData, DeleteUserError, DeleteUserErrors, DeleteUserResponse, DeleteUserResponses, DeleteWebhookData, DeleteWebhookErrors, DeleteWebhookResponse, DeleteWebhookResponses, DeleteWorkflowData, DeleteWorkflowErrors, DeleteWorkflowResponse, DeleteWorkflowResponses, Delivery, DeliveryListResponse, DocumentKnowledgeResult, DocumentMessageContent, DocumentRecord, DocumentResourceProperties, DocumentStatusRecord, DownloadFileBase64Data, DownloadFileBase64Error, DownloadFileBase64Errors, DownloadFileBase64Response, DownloadFileBase64Responses, DownloadFileData, DownloadFileError, DownloadFileErrors, DownloadFileResponse, DownloadFileResponses, EmbeddingSimilarityScorer, EmbeddingsResponse, ErrorResponse, Eval, EvalResourceProperties, EvalResult, EvalRun, EvaluateGuardrailData, EvaluateGuardrailError, EvaluateGuardrailErrors, EvaluateGuardrailResponse, EvaluateGuardrailResponses, ExactMatchScorer, ExceptionId, ExceptionItem, ExportAuditEntriesData, ExportAuditEntriesErrors, ExportAuditEntriesResponse, ExportAuditEntriesResponses, FileRecord, FileRecordWritable, FileResourceProperties, FireTriggerData, FireTriggerErrors, FireTriggerRequest, FireTriggerResponse, FireTriggerResponses, ForkSessionData, ForkSessionError, ForkSessionErrors, ForkSessionRequest, ForkSessionResponse, ForkSessionResponses, Formation, FormationError, FormationEvent, FormationOperation, FormationResource, FormationTemplate, FormationTemplateInput, GenerateConversationMessageCompleted, GenerateConversationMessageData, GenerateConversationMessageError, GenerateConversationMessageErrors, GenerateConversationMessageRequiresAction, GenerateConversationMessageResponse, GenerateConversationMessageResponse2, GenerateConversationMessageResponses, GenerateSessionRequest, GenerateSessionResponse, GenerateSessionResponseData, GenerateSessionResponseError, GenerateSessionResponseErrors, GenerateSessionResponseResponse, GenerateSessionResponseResponses, Generation, GenerationTranscript, GetActorData, GetActorError, GetActorErrors, GetActorResponse, GetActorResponses, GetActorTagsData, GetActorTagsError, GetActorTagsErrors, GetActorTagsResponse, GetActorTagsResponses, GetAgentData, GetAgentError, GetAgentErrors, GetAgentResponse, GetAgentResponses, GetAgentVersionData, GetAgentVersionError, GetAgentVersionErrors, GetAgentVersionResponse, GetAgentVersionResponses, GetAiProviderData, GetAiProviderErrors, GetAiProviderPricesData, GetAiProviderPricesErrors, GetAiProviderPricesResponse, GetAiProviderPricesResponses, GetAiProviderResponse, GetAiProviderResponses, GetApiKeyData, GetApiKeyErrors, GetApiKeyResponse, GetApiKeyResponses, GetApprovalData, GetApprovalErrors, GetApprovalResponse, GetApprovalResponses, GetAuditEntryData, GetAuditEntryErrors, GetAuditEntryResponse, GetAuditEntryResponses, GetChainData, GetChainErrors, GetChainResponse, GetChainResponses, GetChatData, GetChatError, GetChatErrors, GetChatResponse, GetChatResponses, GetConversationData, GetConversationError, GetConversationErrors, GetConversationResponse, GetConversationResponses, GetConversationTagsData, GetConversationTagsError, GetConversationTagsErrors, GetConversationTagsResponse, GetConversationTagsResponses, GetCurrentUserData, GetCurrentUserError, GetCurrentUserErrors, GetCurrentUserResponse, GetCurrentUserResponses, GetDatasetData, GetDatasetErrors, GetDatasetResponse, GetDatasetResponses, GetDocumentData, GetDocumentError, GetDocumentErrors, GetDocumentResponse, GetDocumentResponses, GetDocumentStatusData, GetDocumentStatusError, GetDocumentStatusErrors, GetDocumentStatusResponse, GetDocumentStatusResponses, GetDocumentTagsData, GetDocumentTagsError, GetDocumentTagsErrors, GetDocumentTagsResponse, GetDocumentTagsResponses, GetEvalData, GetEvalErrors, GetEvalResponse, GetEvalResponses, GetEvalRunData, GetEvalRunErrors, GetEvalRunResponse, GetEvalRunResponses, GetExceptionData, GetExceptionErrors, GetExceptionResponse, GetExceptionResponses, GetFileData, GetFileError, GetFileErrors, GetFileResponse, GetFileResponses, GetFileTagsData, GetFileTagsError, GetFileTagsErrors, GetFileTagsResponse, GetFileTagsResponses, GetFormationData, GetFormationErrors, GetFormationResponse, GetFormationResponses, GetGenerationData, GetGenerationError, GetGenerationErrors, GetGenerationResponse, GetGenerationResponses, GetGenerationTranscriptData, GetGenerationTranscriptError, GetGenerationTranscriptErrors, GetGenerationTranscriptResponse, GetGenerationTranscriptResponses, GetGuardrailData, GetGuardrailError, GetGuardrailErrors, GetGuardrailResponse, GetGuardrailResponses, GetGuardrailVersionData, GetGuardrailVersionError, GetGuardrailVersionErrors, GetGuardrailVersionResponse, GetGuardrailVersionResponses, GetIngestionRuleData, GetIngestionRuleErrors, GetIngestionRuleResponse, GetIngestionRuleResponses, GetMemoryData, GetMemoryErrors, GetMemoryResponse, GetMemoryResponses, GetMemoryStoreData, GetMemoryStoreErrors, GetMemoryStoreResponse, GetMemoryStoreResponses, GetMemoryStoreTagsData, GetMemoryStoreTagsErrors, GetMemoryStoreTagsResponse, GetMemoryStoreTagsResponses, GetMemoryTagsData, GetMemoryTagsErrors, GetMemoryTagsResponse, GetMemoryTagsResponses, GetModelRouteData, GetModelRouteErrors, GetModelRouteResponse, GetModelRouteResponses, GetOrchestrationData, GetOrchestrationErrors, GetOrchestrationResponse, GetOrchestrationResponses, GetOrchestrationRunData, GetOrchestrationRunErrors, GetOrchestrationRunResponse, GetOrchestrationRunResponses, GetOrchestrationVersionData, GetOrchestrationVersionErrors, GetOrchestrationVersionResponse, GetOrchestrationVersionResponses, GetPolicyData, GetPolicyErrors, GetPolicyResponse, GetPolicyResponses, GetPriceBookData, GetPriceBookError, GetPriceBookErrors, GetPriceBookResponse, GetPriceBookResponses, GetProjectData, GetProjectErrors, GetProjectPricesData, GetProjectPricesErrors, GetProjectPricesResponse, GetProjectPricesResponses, GetProjectResponse, GetProjectResponses, GetQueueStatsData, GetQueueStatsErrors, GetQueueStatsResponse, GetQueueStatsResponses, GetQuotaData, GetQuotaErrors, GetQuotaResponse, GetQuotaResponses, GetSecretData, GetSecretErrors, GetSecretResponse, GetSecretResponses, GetSessionData, GetSessionError, GetSessionErrors, GetSessionResponse, GetSessionResponses, GetSessionTagsData, GetSessionTagsError, GetSessionTagsErrors, GetSessionTagsResponse, GetSessionTagsResponses, GetTaskData, GetTaskErrors, GetTaskHistoryData, GetTaskHistoryErrors, GetTaskHistoryResponse, GetTaskHistoryResponses, GetTaskResponse, GetTaskResponses, GetToolData, GetToolError, GetToolErrors, GetToolResponse, GetToolResponses, GetTraceData, GetTraceError, GetTraceErrors, GetTraceResponse, GetTraceResponses, GetTraceTreeData, GetTraceTreeError, GetTraceTreeErrors, GetTraceTreeResponse, GetTraceTreeResponses, GetTriggerData, GetTriggerErrors, GetTriggerFiringData, GetTriggerFiringErrors, GetTriggerFiringResponse, GetTriggerFiringResponses, GetTriggerResponse, GetTriggerResponses, GetTriggerSecretData, GetTriggerSecretErrors, GetTriggerSecretResponse, GetTriggerSecretResponses, GetUsageAggregateData, GetUsageAggregateError, GetUsageAggregateErrors, GetUsageAggregateResponse, GetUsageAggregateResponses, GetUsageReceiptData, GetUsageReceiptError, GetUsageReceiptErrors, GetUsageReceiptResponse, GetUsageReceiptResponses, GetUserData, GetUserError, GetUserErrors, GetUserResponse, GetUserResponses, GetWebhookData, GetWebhookDeliveryData, GetWebhookDeliveryErrors, GetWebhookDeliveryResponse, GetWebhookDeliveryResponses, GetWebhookErrors, GetWebhookResponse, GetWebhookResponses, GetWebhookSecretData, GetWebhookSecretErrors, GetWebhookSecretResponse, GetWebhookSecretResponses, GetWorkflowData, GetWorkflowErrors, GetWorkflowResponse, GetWorkflowResponses, GetWorkflowVersionData, GetWorkflowVersionErrors, GetWorkflowVersionResponse, GetWorkflowVersionResponses, Guardrail, GuardrailDocument, GuardrailEvaluation, GuardrailResourceProperties, GuardrailVersion, HumanInputRequest, IngestDocumentData, IngestDocumentError, IngestDocumentErrors, IngestDocumentResponse, IngestDocumentResponses, IngestedDocumentRecord, IngestionRule, IngestionRuleResourceProperties, JsonLogicScorer, KnowledgeResult, ListActivityData, ListActivityErrors, ListActivityResponse, ListActivityResponses, ListActorsData, ListActorsError, ListActorsErrors, ListActorsResponse, ListActorsResponses, ListAgentVersionsData, ListAgentVersionsError, ListAgentVersionsErrors, ListAgentVersionsResponse, ListAgentVersionsResponses, ListAgentsData, ListAgentsError, ListAgentsErrors, ListAgentsResponse, ListAgentsResponses, ListAiProviderModelsData, ListAiProviderModelsErrors, ListAiProviderModelsResponse, ListAiProviderModelsResponses, ListAiProvidersData, ListAiProvidersErrors, ListAiProvidersResponse, ListAiProvidersResponses, ListApiKeysData, ListApiKeysErrors, ListApiKeysResponse, ListApiKeysResponses, ListApprovalRecurrencesData, ListApprovalRecurrencesErrors, ListApprovalRecurrencesResponse, ListApprovalRecurrencesResponses, ListApprovalsData, ListApprovalsErrors, ListApprovalsResponse, ListApprovalsResponses, ListAuditEntriesData, ListAuditEntriesErrors, ListAuditEntriesResponse, ListAuditEntriesResponses, ListChainsData, ListChainsErrors, ListChainsResponse, ListChainsResponses, ListChatsData, ListChatsError, ListChatsErrors, ListChatsResponse, ListChatsResponses, ListConversationMessagesData, ListConversationMessagesError, ListConversationMessagesErrors, ListConversationMessagesResponse, ListConversationMessagesResponses, ListConversationsData, ListConversationsError, ListConversationsErrors, ListConversationsResponse, ListConversationsResponses, ListDatasetItemsData, ListDatasetItemsErrors, ListDatasetItemsResponse, ListDatasetItemsResponses, ListDatasetsData, ListDatasetsErrors, ListDatasetsResponse, ListDatasetsResponses, ListDocumentsData, ListDocumentsError, ListDocumentsErrors, ListDocumentsResponse, ListDocumentsResponses, ListEvalResultsData, ListEvalResultsErrors, ListEvalResultsResponse, ListEvalResultsResponses, ListEvalRunsData, ListEvalRunsErrors, ListEvalRunsResponse, ListEvalRunsResponses, ListEvalsData, ListEvalsErrors, ListEvalsResponse, ListEvalsResponses, ListExceptionsData, ListExceptionsErrors, ListExceptionsResponse, ListExceptionsResponses, ListFilesData, ListFilesError, ListFilesErrors, ListFilesResponse, ListFilesResponses, ListFormationEventsData, ListFormationEventsErrors, ListFormationEventsResponse, ListFormationEventsResponses, ListFormationsData, ListFormationsErrors, ListFormationsResponse, ListFormationsResponses, ListGenerationsData, ListGenerationsError, ListGenerationsErrors, ListGenerationsResponse, ListGenerationsResponses, ListGuardrailVersionsData, ListGuardrailVersionsError, ListGuardrailVersionsErrors, ListGuardrailVersionsResponse, ListGuardrailVersionsResponses, ListGuardrailsData, ListGuardrailsError, ListGuardrailsErrors, ListGuardrailsResponse, ListGuardrailsResponses, ListIngestionRulesData, ListIngestionRulesErrors, ListIngestionRulesResponse, ListIngestionRulesResponses, ListMemoriesData, ListMemoriesErrors, ListMemoriesResponse, ListMemoriesResponses, ListMemoryStoresData, ListMemoryStoresErrors, ListMemoryStoresResponse, ListMemoryStoresResponses, ListModelRoutesData, ListModelRoutesErrors, ListModelRoutesResponse, ListModelRoutesResponses, ListOrchestrationRunsData, ListOrchestrationRunsErrors, ListOrchestrationRunsResponse, ListOrchestrationRunsResponses, ListOrchestrationVersionsData, ListOrchestrationVersionsErrors, ListOrchestrationVersionsResponse, ListOrchestrationVersionsResponses, ListOrchestrationsData, ListOrchestrationsErrors, ListOrchestrationsResponse, ListOrchestrationsResponses, ListPoliciesData, ListPoliciesErrors, ListPoliciesResponse, ListPoliciesResponses, ListProjectsData, ListProjectsErrors, ListProjectsResponse, ListProjectsResponses, ListQuotasData, ListQuotasErrors, ListQuotasResponse, ListQuotasResponses, ListSecretsData, ListSecretsErrors, ListSecretsResponse, ListSecretsResponses, ListSessionForksData, ListSessionForksError, ListSessionForksErrors, ListSessionForksResponse, ListSessionForksResponses, ListSessionsData, ListSessionsError, ListSessionsErrors, ListSessionsResponse, ListSessionsResponses, ListTasksData, ListTasksErrors, ListTasksResponse, ListTasksResponses, ListToolsData, ListToolsError, ListToolsErrors, ListToolsResponse, ListToolsResponses, ListTracesData, ListTracesError, ListTracesErrors, ListTracesResponse, ListTracesResponses, ListTriggerFiringsData, ListTriggerFiringsErrors, ListTriggerFiringsResponse, ListTriggerFiringsResponses, ListTriggersData, ListTriggersErrors, ListTriggersResponse, ListTriggersResponses, ListUsageEventsData, ListUsageEventsError, ListUsageEventsErrors, ListUsageEventsResponse, ListUsageEventsResponses, ListUsageThresholdsData, ListUsageThresholdsError, ListUsageThresholdsErrors, ListUsageThresholdsResponse, ListUsageThresholdsResponses, ListUsersData, ListUsersError, ListUsersErrors, ListUsersResponse, ListUsersResponses, ListWebhookDeliveriesData, ListWebhookDeliveriesErrors, ListWebhookDeliveriesResponse, ListWebhookDeliveriesResponses, ListWebhooksData, ListWebhooksErrors, ListWebhooksResponse, ListWebhooksResponses, ListWorkflowVersionsData, ListWorkflowVersionsErrors, ListWorkflowVersionsResponse, ListWorkflowVersionsResponses, ListWorkflowsData, ListWorkflowsErrors, ListWorkflowsResponse, ListWorkflowsResponses, LlmJudgeScorer, LoginResponse, LoginUserData, LoginUserError, LoginUserErrors, LoginUserResponse, LoginUserResponses, Memory, MemoryKnowledgeResult, MemoryResourceProperties, MemoryStore, MemoryStoreResourceProperties, MemoryWriteResult, MergeActorTagsData, MergeActorTagsError, MergeActorTagsErrors, MergeActorTagsResponse, MergeActorTagsResponses, MergeConversationTagsData, MergeConversationTagsError, MergeConversationTagsErrors, MergeConversationTagsResponse, MergeConversationTagsResponses, MergeDocumentTagsData, MergeDocumentTagsError, MergeDocumentTagsErrors, MergeDocumentTagsResponse, MergeDocumentTagsResponses, MergeFileTagsData, MergeFileTagsError, MergeFileTagsErrors, MergeFileTagsResponse, MergeFileTagsResponses, MergeMemoryStoreTagsData, MergeMemoryStoreTagsErrors, MergeMemoryStoreTagsResponse, MergeMemoryStoreTagsResponses, MergeMemoryTagsData, MergeMemoryTagsErrors, MergeMemoryTagsResponse, MergeMemoryTagsResponses, MergeSessionTagsData, MergeSessionTagsError, MergeSessionTagsErrors, MergeSessionTagsResponse, MergeSessionTagsResponses, ModelRoute, ModelRouteResourceProperties, ModelRouteTarget, NodeExecution, NullableTagBag, OauthAuthorizationServerMetadata, OauthClientRegistrationRequest, OauthClientRegistrationResponse, OauthErrorResponse, OauthProtectedResourceMetadata, OauthTokenRequest, OauthTokenResponse, Options, Orchestration, OrchestrationEdge, OrchestrationId, OrchestrationNode, OrchestrationResourceProperties, OrchestrationRun, OrchestrationRunId, OrchestrationVersion, OutputSchemaScorer, ParameterDeclaration, PatchAgentData, PatchAgentError, PatchAgentErrors, PatchAgentResponse, PatchAgentResponses, PauseOrchestrationRunData, PauseOrchestrationRunErrors, PauseOrchestrationRunRequest, PauseOrchestrationRunResponse, PauseOrchestrationRunResponses, PauseTaskData, PauseTaskErrors, PauseTaskRequest, PauseTaskResponse, PauseTaskResponses, PlanChange, PlanFormationData, PlanFormationErrors, PlanFormationResponse, PlanFormationResponses, PlanResult, PolicyDocument, PolicyRecord, PolicyResourceProperties, PolicyStatement, PresignedUrlRequest, PresignedUrlResponse, Price, PriceBookResponse, ProjectPrice, ProjectPriceResourceProperties, ProjectPricesResponse, ProjectRecord, PromoteAgentReleaseData, PromoteAgentReleaseError, PromoteAgentReleaseErrors, PromoteAgentReleaseResponse, PromoteAgentReleaseResponses, ProviderModelsResponse, ProviderPrice, ProviderPricesResponse, PurgeGenerationContentData, PurgeGenerationContentError, PurgeGenerationContentErrors, PurgeGenerationContentResponse, PurgeGenerationContentResponses, PurgeTraceContentData, PurgeTraceContentError, PurgeTraceContentErrors, PurgeTraceContentResponse, PurgeTraceContentResponses, QueueStats, Quota, QuotaResourceProperties, RedeliverWebhookDeliveryData, RedeliverWebhookDeliveryErrors, RedeliverWebhookDeliveryResponse, RedeliverWebhookDeliveryResponses, ReingestDocumentData, ReingestDocumentError, ReingestDocumentErrors, ReingestDocumentResponse, ReingestDocumentResponses, RejectApprovalData, RejectApprovalErrors, RejectApprovalResponse, RejectApprovalResponses, RemoveConversationMessageData, RemoveConversationMessageError, RemoveConversationMessageErrors, RemoveConversationMessageResponse, RemoveConversationMessageResponses, ReplaceActorTagsData, ReplaceActorTagsError, ReplaceActorTagsErrors, ReplaceActorTagsResponse, ReplaceActorTagsResponses, ReplaceConversationTagsData, ReplaceConversationTagsError, ReplaceConversationTagsErrors, ReplaceConversationTagsResponse, ReplaceConversationTagsResponses, ReplaceDocumentTagsData, ReplaceDocumentTagsError, ReplaceDocumentTagsErrors, ReplaceDocumentTagsResponse, ReplaceDocumentTagsResponses, ReplaceFileTagsData, ReplaceFileTagsError, ReplaceFileTagsErrors, ReplaceFileTagsResponse, ReplaceFileTagsResponses, ReplaceMemoryStoreTagsData, ReplaceMemoryStoreTagsErrors, ReplaceMemoryStoreTagsResponse, ReplaceMemoryStoreTagsResponses, ReplaceMemoryTagsData, ReplaceMemoryTagsErrors, ReplaceMemoryTagsResponse, ReplaceMemoryTagsResponses, ReplaceSessionTagsData, ReplaceSessionTagsError, ReplaceSessionTagsErrors, ReplaceSessionTagsResponse, ReplaceSessionTagsResponses, RequiredAction, ResolveExceptionData, ResolveExceptionErrors, ResolveExceptionResponse, ResolveExceptionResponses, ResourceDeclaration, RestoreAgentVersionData, RestoreAgentVersionError, RestoreAgentVersionErrors, RestoreAgentVersionRequest, RestoreAgentVersionResponse, RestoreAgentVersionResponses, RestoreGuardrailVersionData, RestoreGuardrailVersionError, RestoreGuardrailVersionErrors, RestoreGuardrailVersionRequest, RestoreGuardrailVersionResponse, RestoreGuardrailVersionResponses, RestoreOrchestrationVersionData, RestoreOrchestrationVersionErrors, RestoreOrchestrationVersionRequest, RestoreOrchestrationVersionResponse, RestoreOrchestrationVersionResponses, RestoreWorkflowVersionData, RestoreWorkflowVersionErrors, RestoreWorkflowVersionRequest, RestoreWorkflowVersionResponse, RestoreWorkflowVersionResponses, ResumeOrchestrationRunData, ResumeOrchestrationRunErrors, ResumeOrchestrationRunResponse, ResumeOrchestrationRunResponses, ResumeTaskData, ResumeTaskErrors, ResumeTaskResponse, ResumeTaskResponses, RotateTriggerSecretData, RotateTriggerSecretErrors, RotateTriggerSecretResponse, RotateTriggerSecretResponses, RotateWebhookSecretData, RotateWebhookSecretErrors, RotateWebhookSecretResponse, RotateWebhookSecretResponses, ScorerResult, Scorers, SearchKnowledgeData, SearchKnowledgeError, SearchKnowledgeErrors, SearchKnowledgeResponse, SearchKnowledgeResponses, SecretResourceProperties, SendSessionMessageResponse, SessionId, SessionRecord, SessionResourceProperties, SetAgentReleaseData, SetAgentReleaseError, SetAgentReleaseErrors, SetAgentReleaseRequest, SetAgentReleaseResponse, SetAgentReleaseResponses, SoatClientOptions, StartEvalRunData, StartEvalRunErrors, StartEvalRunResponse, StartEvalRunResponses, StartOrchestrationRunData, StartOrchestrationRunErrors, StartOrchestrationRunRequest, StartOrchestrationRunResponse, StartOrchestrationRunResponses, SubmitAgentToolOutputsData, SubmitAgentToolOutputsError, SubmitAgentToolOutputsErrors, SubmitAgentToolOutputsResponse, SubmitAgentToolOutputsResponses, SubmitHumanInputData, SubmitHumanInputErrors, SubmitHumanInputResponse, SubmitHumanInputResponses, SubmitSessionToolOutputsData, SubmitSessionToolOutputsError, SubmitSessionToolOutputsErrors, SubmitSessionToolOutputsRequest, SubmitSessionToolOutputsResponse, SubmitSessionToolOutputsResponses, SubmitToolOutputsRequest, TagBag, TagsQuery, Task, TaskTransition, Tool, ToolBinding, ToolOutputMessageContent, ToolResourceProperties, ToolScorer, Trace, TraceTreeNode, TranscriptStep, TranscriptToolCall, TranscriptToolResult, TransitionTaskData, TransitionTaskErrors, TransitionTaskRequest, TransitionTaskResponse, TransitionTaskResponses, Trigger, TriggerFiring, TriggerFiringListResponse, TriggerResourceProperties, TriggerSecretResponse, TriggerWithSecret, UnauthorizedFormationAction, UpdateActorData, UpdateActorError, UpdateActorErrors, UpdateActorResponse, UpdateActorResponses, UpdateAgentData, UpdateAgentError, UpdateAgentErrors, UpdateAgentRequest, UpdateAgentResponse, UpdateAgentResponses, UpdateAiProviderData, UpdateAiProviderErrors, UpdateAiProviderPricesData, UpdateAiProviderPricesErrors, UpdateAiProviderPricesResponse, UpdateAiProviderPricesResponses, UpdateAiProviderResponses, UpdateApiKeyData, UpdateApiKeyError, UpdateApiKeyErrors, UpdateApiKeyResponse, UpdateApiKeyResponses, UpdateConversationData, UpdateConversationError, UpdateConversationErrors, UpdateConversationResponse, UpdateConversationResponses, UpdateDatasetData, UpdateDatasetErrors, UpdateDatasetItemData, UpdateDatasetItemErrors, UpdateDatasetItemResponse, UpdateDatasetItemResponses, UpdateDatasetResponse, UpdateDatasetResponses, UpdateDocumentData, UpdateDocumentError, UpdateDocumentErrors, UpdateDocumentResponse, UpdateDocumentResponses, UpdateEvalData, UpdateEvalErrors, UpdateEvalResponse, UpdateEvalResponses, UpdateFileMetadataData, UpdateFileMetadataError, UpdateFileMetadataErrors, UpdateFileMetadataResponse, UpdateFileMetadataResponses, UpdateFormationData, UpdateFormationErrors, UpdateFormationResponse, UpdateFormationResponses, UpdateGenerationData, UpdateGenerationError, UpdateGenerationErrors, UpdateGenerationRequest, UpdateGenerationResponse, UpdateGenerationResponses, UpdateGuardrailData, UpdateGuardrailError, UpdateGuardrailErrors, UpdateGuardrailRequest, UpdateGuardrailResponse, UpdateGuardrailResponses, UpdateIngestionRuleData, UpdateIngestionRuleErrors, UpdateIngestionRuleResponse, UpdateIngestionRuleResponses, UpdateMemoryData, UpdateMemoryErrors, UpdateMemoryResponse, UpdateMemoryResponses, UpdateMemoryStoreData, UpdateMemoryStoreErrors, UpdateMemoryStoreResponse, UpdateMemoryStoreResponses, UpdateModelRouteData, UpdateModelRouteErrors, UpdateModelRouteResponse, UpdateModelRouteResponses, UpdateOrchestrationData, UpdateOrchestrationErrors, UpdateOrchestrationRequest, UpdateOrchestrationResponse, UpdateOrchestrationResponses, UpdatePolicyData, UpdatePolicyError, UpdatePolicyErrors, UpdatePolicyResponse, UpdatePolicyResponses, UpdateProjectData, UpdateProjectErrors, UpdateProjectPricesData, UpdateProjectPricesErrors, UpdateProjectPricesResponse, UpdateProjectPricesResponses, UpdateProjectResponse, UpdateProjectResponses, UpdateQuotaData, UpdateQuotaErrors, UpdateQuotaResponse, UpdateQuotaResponses, UpdateSecretData, UpdateSecretErrors, UpdateSecretResponses, UpdateSessionData, UpdateSessionError, UpdateSessionErrors, UpdateSessionRequest, UpdateSessionResponse, UpdateSessionResponses, UpdateTaskData, UpdateTaskErrors, UpdateTaskRequest, UpdateTaskResponse, UpdateTaskResponses, UpdateToolData, UpdateToolError, UpdateToolErrors, UpdateToolRequest, UpdateToolResponse, UpdateToolResponses, UpdateTriggerData, UpdateTriggerErrors, UpdateTriggerRequest, UpdateTriggerResponse, UpdateTriggerResponses, UpdateWebhookData, UpdateWebhookErrors, UpdateWebhookRequest, UpdateWebhookResponse, UpdateWebhookResponses, UpdateWorkflowData, UpdateWorkflowErrors, UpdateWorkflowRequest, UpdateWorkflowResponse, UpdateWorkflowResponses, UploadFileBase64Data, UploadFileBase64Error, UploadFileBase64Errors, UploadFileBase64Request, UploadFileBase64Response, UploadFileBase64Responses, UploadFileData, UploadFileError, UploadFileErrors, UploadFileResponse, UploadFileResponses, UploadFileWithTokenData, UploadFileWithTokenError, UploadFileWithTokenErrors, UploadFileWithTokenRequest, UploadFileWithTokenResponse, UploadFileWithTokenResponses, UpsertPriceBookData, UpsertPriceBookError, UpsertPriceBookErrors, UpsertPriceBookResponse, UpsertPriceBookResponses, UpsertPricesRequest, UpsertProjectPricesRequest, UpsertProviderPricesRequest, UsageAggregate, UsageAggregateBucket, UsageAggregateComponent, UsageAggregateFilters, UsageAggregateGroup, UsageAggregateTotals, UsageComponent, UsageDistinct, UsageEvent, UsageGroupBy, UsageReceipt, UsageThreshold, UsageTotals, UserRecord, ValidateFormationData, ValidateFormationErrors, ValidateFormationResponse, ValidateFormationResponses, ValidateOrchestrationData, ValidateOrchestrationErrors, ValidateOrchestrationRequest, ValidateOrchestrationResponse, ValidateOrchestrationResponses, ValidationError, ValidationResult, Webhook, WebhookResourceProperties, WebhookSecretResponse, WebhookWithSecret, Workflow, WorkflowResourceProperties, WorkflowState, WorkflowTransition, WorkflowVersion };
20563
+ export type { AbortAgentReleaseData, AbortAgentReleaseError, AbortAgentReleaseErrors, AbortAgentReleaseResponse, AbortAgentReleaseResponses, AcceptedGenerationResponse, AcknowledgeExceptionData, AcknowledgeExceptionErrors, AcknowledgeExceptionResponse, AcknowledgeExceptionResponses, ActivityEntry, ActorRecord, ActorResourceProperties, AddConversationMessageData, AddConversationMessageError, AddConversationMessageErrors, AddConversationMessageResponse, AddConversationMessageResponses, AddSessionMessageData, AddSessionMessageError, AddSessionMessageErrors, AddSessionMessageRequest, AddSessionMessageResponse, AddSessionMessageResponse2, AddSessionMessageResponses, AddSessionMessageSaved, Agent, AgentGenerationResponse, AgentRelease, AgentResourceProperties, AgentVersion, AggregateScores, AiProviderResourceProperties, ApiKeyCreated, ApiKeyRecord, ApiKeyResourceProperties, ApprovalId, ApprovalItem, ApprovalRecurrenceGroup, ApproveApprovalData, ApproveApprovalErrors, ApproveApprovalResponse, ApproveApprovalResponses, AttachUserPoliciesData, AttachUserPoliciesError, AttachUserPoliciesErrors, AttachUserPoliciesResponse, AttachUserPoliciesResponses, AuditEntry, BaselineComparison, BootstrapUserData, BootstrapUserError, BootstrapUserErrors, BootstrapUserResponse, BootstrapUserResponses, CallToolData, CallToolError, CallToolErrors, CallToolRequest, CallToolResponses, CancelEvalRunData, CancelEvalRunErrors, CancelEvalRunResponse, CancelEvalRunResponses, CancelOrchestrationRunData, CancelOrchestrationRunErrors, CancelOrchestrationRunResponse, CancelOrchestrationRunResponses, Chain, ChainId, Chat, ChatCompletionChoice, ChatCompletionRequest, ChatCompletionResponse, ChatCompletionResponseMessage, ChatMessageInput, ChatResourceProperties, ClientOptions, CompleteIngestionCallbackData, CompleteIngestionCallbackError, CompleteIngestionCallbackErrors, CompleteIngestionCallbackResponse, CompleteIngestionCallbackResponses, ContainsScorer, ConversationMessageRecord, ConversationRecord, ConversationResourceProperties, CreateActorData, CreateActorError, CreateActorErrors, CreateActorResponse, CreateActorResponses, CreateAgentData, CreateAgentError, CreateAgentErrors, CreateAgentGenerationData, CreateAgentGenerationError, CreateAgentGenerationErrors, CreateAgentGenerationRequest, CreateAgentGenerationResponse, CreateAgentGenerationResponses, CreateAgentRequest, CreateAgentResponse, CreateAgentResponses, CreateAiProviderData, CreateAiProviderErrors, CreateAiProviderResponse, CreateAiProviderResponses, CreateApiKeyData, CreateApiKeyError, CreateApiKeyErrors, CreateApiKeyResponse, CreateApiKeyResponses, CreateChatCompletionData, CreateChatCompletionError, CreateChatCompletionErrors, CreateChatCompletionResponse, CreateChatCompletionResponses, CreateChatData, CreateChatError, CreateChatErrors, CreateChatRequest, CreateChatResponse, CreateChatResponses, CreateConversationData, CreateConversationError, CreateConversationErrors, CreateConversationResponse, CreateConversationResponses, CreateDatasetData, CreateDatasetErrors, CreateDatasetItemData, CreateDatasetItemErrors, CreateDatasetItemFromGenerationData, CreateDatasetItemFromGenerationErrors, CreateDatasetItemFromGenerationResponse, CreateDatasetItemFromGenerationResponses, CreateDatasetItemResponse, CreateDatasetItemResponses, CreateDatasetResponse, CreateDatasetResponses, CreateDocumentData, CreateDocumentError, CreateDocumentErrors, CreateDocumentResponse, CreateDocumentResponses, CreateEmbeddingsData, CreateEmbeddingsError, CreateEmbeddingsErrors, CreateEmbeddingsResponse, CreateEmbeddingsResponses, CreateEvalData, CreateEvalErrors, CreateEvalResponse, CreateEvalResponses, CreateFileData, CreateFileError, CreateFileErrors, CreateFileResponse, CreateFileResponses, CreateFormationData, CreateFormationErrors, CreateFormationResponse, CreateFormationResponses, CreateGuardrailData, CreateGuardrailError, CreateGuardrailErrors, CreateGuardrailRequest, CreateGuardrailResponse, CreateGuardrailResponses, CreateIngestionRuleData, CreateIngestionRuleErrors, CreateIngestionRuleResponse, CreateIngestionRuleResponses, CreateMemoryData, CreateMemoryErrors, CreateMemoryResponse, CreateMemoryResponses, CreateMemoryRuleData, CreateMemoryRuleErrors, CreateMemoryRuleResponse, CreateMemoryRuleResponses, CreateMemoryStoreData, CreateMemoryStoreErrors, CreateMemoryStoreResponse, CreateMemoryStoreResponses, CreateModelRouteData, CreateModelRouteErrors, CreateModelRouteResponse, CreateModelRouteResponses, CreateOrchestrationData, CreateOrchestrationErrors, CreateOrchestrationRequest, CreateOrchestrationResponse, CreateOrchestrationResponses, CreatePolicyData, CreatePolicyError, CreatePolicyErrors, CreatePolicyResponse, CreatePolicyResponses, CreatePresignedUrlData, CreatePresignedUrlError, CreatePresignedUrlErrors, CreatePresignedUrlResponse, CreatePresignedUrlResponses, CreateProjectData, CreateProjectErrors, CreateProjectResponse, CreateProjectResponses, CreateQuotaData, CreateQuotaErrors, CreateQuotaResponse, CreateQuotaResponses, CreateSecretData, CreateSecretErrors, CreateSecretResponse, CreateSecretResponses, CreateSessionData, CreateSessionError, CreateSessionErrors, CreateSessionRequest, CreateSessionResponse, CreateSessionResponses, CreateTaskData, CreateTaskErrors, CreateTaskRequest, CreateTaskResponse, CreateTaskResponses, CreateToolData, CreateToolError, CreateToolErrors, CreateToolRequest, CreateToolResponse, CreateToolResponses, CreateTriggerData, CreateTriggerErrors, CreateTriggerRequest, CreateTriggerResponse, CreateTriggerResponses, CreateUsageThresholdData, CreateUsageThresholdError, CreateUsageThresholdErrors, CreateUsageThresholdRequest, CreateUsageThresholdResponse, CreateUsageThresholdResponses, CreateUserData, CreateUserError, CreateUserErrors, CreateUserResponse, CreateUserResponses, CreateWebhookData, CreateWebhookErrors, CreateWebhookRequest, CreateWebhookResponse, CreateWebhookResponses, CreateWorkflowData, CreateWorkflowErrors, CreateWorkflowRequest, CreateWorkflowResponse, CreateWorkflowResponses, Dataset, DatasetItem, DatasetItemInput, DatasetItemResourceProperties, DatasetResourceProperties, DeleteActorData, DeleteActorError, DeleteActorErrors, DeleteActorResponse, DeleteActorResponses, DeleteAgentData, DeleteAgentError, DeleteAgentErrors, DeleteAgentResponse, DeleteAgentResponses, DeleteAiProviderData, DeleteAiProviderErrors, DeleteAiProviderResponse, DeleteAiProviderResponses, DeleteApiKeyData, DeleteApiKeyErrors, DeleteApiKeyResponse, DeleteApiKeyResponses, DeleteChatData, DeleteChatError, DeleteChatErrors, DeleteChatResponse, DeleteChatResponses, DeleteConversationData, DeleteConversationError, DeleteConversationErrors, DeleteConversationResponse, DeleteConversationResponses, DeleteDatasetData, DeleteDatasetErrors, DeleteDatasetItemData, DeleteDatasetItemErrors, DeleteDatasetItemResponse, DeleteDatasetItemResponses, DeleteDatasetResponse, DeleteDatasetResponses, DeleteDocumentData, DeleteDocumentError, DeleteDocumentErrors, DeleteDocumentResponse, DeleteDocumentResponses, DeleteEvalData, DeleteEvalErrors, DeleteEvalResponse, DeleteEvalResponses, DeleteFileData, DeleteFileError, DeleteFileErrors, DeleteFileResponse, DeleteFileResponses, DeleteFormationData, DeleteFormationErrors, DeleteFormationResponse, DeleteFormationResponses, DeleteGuardrailData, DeleteGuardrailError, DeleteGuardrailErrors, DeleteGuardrailResponse, DeleteGuardrailResponses, DeleteIngestionRuleData, DeleteIngestionRuleErrors, DeleteIngestionRuleResponse, DeleteIngestionRuleResponses, DeleteMemoryData, DeleteMemoryErrors, DeleteMemoryResponse, DeleteMemoryResponses, DeleteMemoryRuleData, DeleteMemoryRuleErrors, DeleteMemoryRuleResponse, DeleteMemoryRuleResponses, DeleteMemoryStoreData, DeleteMemoryStoreErrors, DeleteMemoryStoreResponse, DeleteMemoryStoreResponses, DeleteModelRouteData, DeleteModelRouteErrors, DeleteModelRouteResponse, DeleteModelRouteResponses, DeleteOrchestrationData, DeleteOrchestrationErrors, DeleteOrchestrationResponse, DeleteOrchestrationResponses, DeletePolicyData, DeletePolicyErrors, DeletePolicyResponse, DeletePolicyResponses, DeleteProjectData, DeleteProjectError, DeleteProjectErrors, DeleteProjectResponse, DeleteProjectResponses, DeleteQuotaData, DeleteQuotaErrors, DeleteQuotaResponse, DeleteQuotaResponses, DeleteSecretData, DeleteSecretErrors, DeleteSecretResponses, DeleteSessionData, DeleteSessionError, DeleteSessionErrors, DeleteSessionResponse, DeleteSessionResponses, DeleteTaskData, DeleteTaskErrors, DeleteTaskResponse, DeleteTaskResponses, DeleteToolData, DeleteToolError, DeleteToolErrors, DeleteToolResponse, DeleteToolResponses, DeleteTriggerData, DeleteTriggerErrors, DeleteTriggerResponse, DeleteTriggerResponses, DeleteUsageThresholdData, DeleteUsageThresholdError, DeleteUsageThresholdErrors, DeleteUsageThresholdResponse, DeleteUsageThresholdResponses, DeleteUserData, DeleteUserError, DeleteUserErrors, DeleteUserResponse, DeleteUserResponses, DeleteWebhookData, DeleteWebhookErrors, DeleteWebhookResponse, DeleteWebhookResponses, DeleteWorkflowData, DeleteWorkflowErrors, DeleteWorkflowResponse, DeleteWorkflowResponses, Delivery, DeliveryListResponse, DocumentKnowledgeResult, DocumentMessageContent, DocumentRecord, DocumentResourceProperties, DocumentStatusRecord, DownloadFileBase64Data, DownloadFileBase64Error, DownloadFileBase64Errors, DownloadFileBase64Response, DownloadFileBase64Responses, DownloadFileData, DownloadFileError, DownloadFileErrors, DownloadFileResponse, DownloadFileResponses, EmbeddingSimilarityScorer, EmbeddingsResponse, ErrorResponse, Eval, EvalResourceProperties, EvalResult, EvalRun, EvaluateGuardrailData, EvaluateGuardrailError, EvaluateGuardrailErrors, EvaluateGuardrailResponse, EvaluateGuardrailResponses, ExactMatchScorer, ExceptionId, ExceptionItem, ExportAuditEntriesData, ExportAuditEntriesErrors, ExportAuditEntriesResponse, ExportAuditEntriesResponses, FileRecord, FileRecordWritable, FileResourceProperties, FireTriggerData, FireTriggerErrors, FireTriggerRequest, FireTriggerResponse, FireTriggerResponses, ForkSessionData, ForkSessionError, ForkSessionErrors, ForkSessionRequest, ForkSessionResponse, ForkSessionResponses, Formation, FormationError, FormationEvent, FormationOperation, FormationResource, FormationTemplate, FormationTemplateInput, GenerateConversationMessageCompleted, GenerateConversationMessageData, GenerateConversationMessageError, GenerateConversationMessageErrors, GenerateConversationMessageRequiresAction, GenerateConversationMessageResponse, GenerateConversationMessageResponse2, GenerateConversationMessageResponses, GenerateSessionRequest, GenerateSessionResponse, GenerateSessionResponseData, GenerateSessionResponseError, GenerateSessionResponseErrors, GenerateSessionResponseResponse, GenerateSessionResponseResponses, Generation, GenerationTranscript, GetActorData, GetActorError, GetActorErrors, GetActorResponse, GetActorResponses, GetActorTagsData, GetActorTagsError, GetActorTagsErrors, GetActorTagsResponse, GetActorTagsResponses, GetAgentData, GetAgentError, GetAgentErrors, GetAgentResponse, GetAgentResponses, GetAgentVersionData, GetAgentVersionError, GetAgentVersionErrors, GetAgentVersionResponse, GetAgentVersionResponses, GetAiProviderData, GetAiProviderErrors, GetAiProviderPricesData, GetAiProviderPricesErrors, GetAiProviderPricesResponse, GetAiProviderPricesResponses, GetAiProviderResponse, GetAiProviderResponses, GetApiKeyData, GetApiKeyErrors, GetApiKeyResponse, GetApiKeyResponses, GetApprovalData, GetApprovalErrors, GetApprovalResponse, GetApprovalResponses, GetAuditEntryData, GetAuditEntryErrors, GetAuditEntryResponse, GetAuditEntryResponses, GetChainData, GetChainErrors, GetChainResponse, GetChainResponses, GetChatData, GetChatError, GetChatErrors, GetChatResponse, GetChatResponses, GetConversationData, GetConversationError, GetConversationErrors, GetConversationResponse, GetConversationResponses, GetConversationTagsData, GetConversationTagsError, GetConversationTagsErrors, GetConversationTagsResponse, GetConversationTagsResponses, GetCurrentUserData, GetCurrentUserError, GetCurrentUserErrors, GetCurrentUserResponse, GetCurrentUserResponses, GetDatasetData, GetDatasetErrors, GetDatasetResponse, GetDatasetResponses, GetDocumentData, GetDocumentError, GetDocumentErrors, GetDocumentResponse, GetDocumentResponses, GetDocumentStatusData, GetDocumentStatusError, GetDocumentStatusErrors, GetDocumentStatusResponse, GetDocumentStatusResponses, GetDocumentTagsData, GetDocumentTagsError, GetDocumentTagsErrors, GetDocumentTagsResponse, GetDocumentTagsResponses, GetEvalData, GetEvalErrors, GetEvalResponse, GetEvalResponses, GetEvalRunData, GetEvalRunErrors, GetEvalRunResponse, GetEvalRunResponses, GetExceptionData, GetExceptionErrors, GetExceptionResponse, GetExceptionResponses, GetFileData, GetFileError, GetFileErrors, GetFileResponse, GetFileResponses, GetFileTagsData, GetFileTagsError, GetFileTagsErrors, GetFileTagsResponse, GetFileTagsResponses, GetFormationData, GetFormationErrors, GetFormationResponse, GetFormationResponses, GetGenerationData, GetGenerationError, GetGenerationErrors, GetGenerationResponse, GetGenerationResponses, GetGenerationTranscriptData, GetGenerationTranscriptError, GetGenerationTranscriptErrors, GetGenerationTranscriptResponse, GetGenerationTranscriptResponses, GetGuardrailData, GetGuardrailError, GetGuardrailErrors, GetGuardrailResponse, GetGuardrailResponses, GetGuardrailVersionData, GetGuardrailVersionError, GetGuardrailVersionErrors, GetGuardrailVersionResponse, GetGuardrailVersionResponses, GetIngestionRuleData, GetIngestionRuleErrors, GetIngestionRuleResponse, GetIngestionRuleResponses, GetMemoryData, GetMemoryErrors, GetMemoryResponse, GetMemoryResponses, GetMemoryRuleData, GetMemoryRuleErrors, GetMemoryRuleResponse, GetMemoryRuleResponses, GetMemoryStoreData, GetMemoryStoreErrors, GetMemoryStoreResponse, GetMemoryStoreResponses, GetMemoryStoreTagsData, GetMemoryStoreTagsErrors, GetMemoryStoreTagsResponse, GetMemoryStoreTagsResponses, GetMemoryTagsData, GetMemoryTagsErrors, GetMemoryTagsResponse, GetMemoryTagsResponses, GetModelRouteData, GetModelRouteErrors, GetModelRouteResponse, GetModelRouteResponses, GetOrchestrationData, GetOrchestrationErrors, GetOrchestrationResponse, GetOrchestrationResponses, GetOrchestrationRunData, GetOrchestrationRunErrors, GetOrchestrationRunResponse, GetOrchestrationRunResponses, GetOrchestrationVersionData, GetOrchestrationVersionErrors, GetOrchestrationVersionResponse, GetOrchestrationVersionResponses, GetPolicyData, GetPolicyErrors, GetPolicyResponse, GetPolicyResponses, GetPriceBookData, GetPriceBookError, GetPriceBookErrors, GetPriceBookResponse, GetPriceBookResponses, GetProjectData, GetProjectErrors, GetProjectPricesData, GetProjectPricesErrors, GetProjectPricesResponse, GetProjectPricesResponses, GetProjectResponse, GetProjectResponses, GetQueueStatsData, GetQueueStatsErrors, GetQueueStatsResponse, GetQueueStatsResponses, GetQuotaData, GetQuotaErrors, GetQuotaResponse, GetQuotaResponses, GetSecretData, GetSecretErrors, GetSecretResponse, GetSecretResponses, GetSessionData, GetSessionError, GetSessionErrors, GetSessionResponse, GetSessionResponses, GetSessionTagsData, GetSessionTagsError, GetSessionTagsErrors, GetSessionTagsResponse, GetSessionTagsResponses, GetTaskData, GetTaskErrors, GetTaskHistoryData, GetTaskHistoryErrors, GetTaskHistoryResponse, GetTaskHistoryResponses, GetTaskResponse, GetTaskResponses, GetToolData, GetToolError, GetToolErrors, GetToolResponse, GetToolResponses, GetTraceData, GetTraceError, GetTraceErrors, GetTraceResponse, GetTraceResponses, GetTraceTreeData, GetTraceTreeError, GetTraceTreeErrors, GetTraceTreeResponse, GetTraceTreeResponses, GetTriggerData, GetTriggerErrors, GetTriggerFiringData, GetTriggerFiringErrors, GetTriggerFiringResponse, GetTriggerFiringResponses, GetTriggerResponse, GetTriggerResponses, GetTriggerSecretData, GetTriggerSecretErrors, GetTriggerSecretResponse, GetTriggerSecretResponses, GetUsageAggregateData, GetUsageAggregateError, GetUsageAggregateErrors, GetUsageAggregateResponse, GetUsageAggregateResponses, GetUsageReceiptData, GetUsageReceiptError, GetUsageReceiptErrors, GetUsageReceiptResponse, GetUsageReceiptResponses, GetUserData, GetUserError, GetUserErrors, GetUserResponse, GetUserResponses, GetWebhookData, GetWebhookDeliveryData, GetWebhookDeliveryErrors, GetWebhookDeliveryResponse, GetWebhookDeliveryResponses, GetWebhookErrors, GetWebhookResponse, GetWebhookResponses, GetWebhookSecretData, GetWebhookSecretErrors, GetWebhookSecretResponse, GetWebhookSecretResponses, GetWorkflowData, GetWorkflowErrors, GetWorkflowResponse, GetWorkflowResponses, GetWorkflowVersionData, GetWorkflowVersionErrors, GetWorkflowVersionResponse, GetWorkflowVersionResponses, Guardrail, GuardrailDocument, GuardrailEvaluation, GuardrailResourceProperties, GuardrailVersion, HumanInputRequest, IngestDocumentData, IngestDocumentError, IngestDocumentErrors, IngestDocumentResponse, IngestDocumentResponses, IngestedDocumentRecord, IngestionRule, IngestionRuleResourceProperties, JsonLogicScorer, KnowledgeResult, ListActivityData, ListActivityErrors, ListActivityResponse, ListActivityResponses, ListActorsData, ListActorsError, ListActorsErrors, ListActorsResponse, ListActorsResponses, ListAgentVersionsData, ListAgentVersionsError, ListAgentVersionsErrors, ListAgentVersionsResponse, ListAgentVersionsResponses, ListAgentsData, ListAgentsError, ListAgentsErrors, ListAgentsResponse, ListAgentsResponses, ListAiProviderModelsData, ListAiProviderModelsErrors, ListAiProviderModelsResponse, ListAiProviderModelsResponses, ListAiProvidersData, ListAiProvidersErrors, ListAiProvidersResponse, ListAiProvidersResponses, ListApiKeysData, ListApiKeysErrors, ListApiKeysResponse, ListApiKeysResponses, ListApprovalRecurrencesData, ListApprovalRecurrencesErrors, ListApprovalRecurrencesResponse, ListApprovalRecurrencesResponses, ListApprovalsData, ListApprovalsErrors, ListApprovalsResponse, ListApprovalsResponses, ListAuditEntriesData, ListAuditEntriesErrors, ListAuditEntriesResponse, ListAuditEntriesResponses, ListChainsData, ListChainsErrors, ListChainsResponse, ListChainsResponses, ListChatsData, ListChatsError, ListChatsErrors, ListChatsResponse, ListChatsResponses, ListConversationMessagesData, ListConversationMessagesError, ListConversationMessagesErrors, ListConversationMessagesResponse, ListConversationMessagesResponses, ListConversationsData, ListConversationsError, ListConversationsErrors, ListConversationsResponse, ListConversationsResponses, ListDatasetItemsData, ListDatasetItemsErrors, ListDatasetItemsResponse, ListDatasetItemsResponses, ListDatasetsData, ListDatasetsErrors, ListDatasetsResponse, ListDatasetsResponses, ListDocumentsData, ListDocumentsError, ListDocumentsErrors, ListDocumentsResponse, ListDocumentsResponses, ListEvalResultsData, ListEvalResultsErrors, ListEvalResultsResponse, ListEvalResultsResponses, ListEvalRunsData, ListEvalRunsErrors, ListEvalRunsResponse, ListEvalRunsResponses, ListEvalsData, ListEvalsErrors, ListEvalsResponse, ListEvalsResponses, ListExceptionsData, ListExceptionsErrors, ListExceptionsResponse, ListExceptionsResponses, ListFilesData, ListFilesError, ListFilesErrors, ListFilesResponse, ListFilesResponses, ListFormationEventsData, ListFormationEventsErrors, ListFormationEventsResponse, ListFormationEventsResponses, ListFormationsData, ListFormationsErrors, ListFormationsResponse, ListFormationsResponses, ListGenerationsData, ListGenerationsError, ListGenerationsErrors, ListGenerationsResponse, ListGenerationsResponses, ListGuardrailVersionsData, ListGuardrailVersionsError, ListGuardrailVersionsErrors, ListGuardrailVersionsResponse, ListGuardrailVersionsResponses, ListGuardrailsData, ListGuardrailsError, ListGuardrailsErrors, ListGuardrailsResponse, ListGuardrailsResponses, ListIngestionRulesData, ListIngestionRulesErrors, ListIngestionRulesResponse, ListIngestionRulesResponses, ListMemoriesData, ListMemoriesErrors, ListMemoriesResponse, ListMemoriesResponses, ListMemoryAssertionsData, ListMemoryAssertionsErrors, ListMemoryAssertionsResponse, ListMemoryAssertionsResponses, ListMemoryRulesData, ListMemoryRulesErrors, ListMemoryRulesResponse, ListMemoryRulesResponses, ListMemoryStoreAssertionsData, ListMemoryStoreAssertionsErrors, ListMemoryStoreAssertionsResponse, ListMemoryStoreAssertionsResponses, ListMemoryStoresData, ListMemoryStoresErrors, ListMemoryStoresResponse, ListMemoryStoresResponses, ListModelRoutesData, ListModelRoutesErrors, ListModelRoutesResponse, ListModelRoutesResponses, ListOrchestrationRunsData, ListOrchestrationRunsErrors, ListOrchestrationRunsResponse, ListOrchestrationRunsResponses, ListOrchestrationVersionsData, ListOrchestrationVersionsErrors, ListOrchestrationVersionsResponse, ListOrchestrationVersionsResponses, ListOrchestrationsData, ListOrchestrationsErrors, ListOrchestrationsResponse, ListOrchestrationsResponses, ListPoliciesData, ListPoliciesErrors, ListPoliciesResponse, ListPoliciesResponses, ListProjectsData, ListProjectsErrors, ListProjectsResponse, ListProjectsResponses, ListQuotasData, ListQuotasErrors, ListQuotasResponse, ListQuotasResponses, ListSecretsData, ListSecretsErrors, ListSecretsResponse, ListSecretsResponses, ListSessionForksData, ListSessionForksError, ListSessionForksErrors, ListSessionForksResponse, ListSessionForksResponses, ListSessionsData, ListSessionsError, ListSessionsErrors, ListSessionsResponse, ListSessionsResponses, ListTasksData, ListTasksErrors, ListTasksResponse, ListTasksResponses, ListToolsData, ListToolsError, ListToolsErrors, ListToolsResponse, ListToolsResponses, ListTracesData, ListTracesError, ListTracesErrors, ListTracesResponse, ListTracesResponses, ListTriggerFiringsData, ListTriggerFiringsErrors, ListTriggerFiringsResponse, ListTriggerFiringsResponses, ListTriggersData, ListTriggersErrors, ListTriggersResponse, ListTriggersResponses, ListUsageEventsData, ListUsageEventsError, ListUsageEventsErrors, ListUsageEventsResponse, ListUsageEventsResponses, ListUsageThresholdsData, ListUsageThresholdsError, ListUsageThresholdsErrors, ListUsageThresholdsResponse, ListUsageThresholdsResponses, ListUsersData, ListUsersError, ListUsersErrors, ListUsersResponse, ListUsersResponses, ListWebhookDeliveriesData, ListWebhookDeliveriesErrors, ListWebhookDeliveriesResponse, ListWebhookDeliveriesResponses, ListWebhooksData, ListWebhooksErrors, ListWebhooksResponse, ListWebhooksResponses, ListWorkflowVersionsData, ListWorkflowVersionsErrors, ListWorkflowVersionsResponse, ListWorkflowVersionsResponses, ListWorkflowsData, ListWorkflowsErrors, ListWorkflowsResponse, ListWorkflowsResponses, LlmJudgeScorer, LoginResponse, LoginUserData, LoginUserError, LoginUserErrors, LoginUserResponse, LoginUserResponses, Memory, MemoryAssertion, MemoryKnowledgeResult, MemoryResourceProperties, MemoryRule, MemoryRuleEvent, MemoryRuleResourceProperties, MemoryStore, MemoryStoreResourceProperties, MemoryWriteResult, MergeActorTagsData, MergeActorTagsError, MergeActorTagsErrors, MergeActorTagsResponse, MergeActorTagsResponses, MergeConversationTagsData, MergeConversationTagsError, MergeConversationTagsErrors, MergeConversationTagsResponse, MergeConversationTagsResponses, MergeDocumentTagsData, MergeDocumentTagsError, MergeDocumentTagsErrors, MergeDocumentTagsResponse, MergeDocumentTagsResponses, MergeFileTagsData, MergeFileTagsError, MergeFileTagsErrors, MergeFileTagsResponse, MergeFileTagsResponses, MergeMemoryStoreTagsData, MergeMemoryStoreTagsErrors, MergeMemoryStoreTagsResponse, MergeMemoryStoreTagsResponses, MergeMemoryTagsData, MergeMemoryTagsErrors, MergeMemoryTagsResponse, MergeMemoryTagsResponses, MergeSessionTagsData, MergeSessionTagsError, MergeSessionTagsErrors, MergeSessionTagsResponse, MergeSessionTagsResponses, ModelRoute, ModelRouteResourceProperties, ModelRouteTarget, NodeExecution, NullableTagBag, OauthAuthorizationServerMetadata, OauthClientRegistrationRequest, OauthClientRegistrationResponse, OauthErrorResponse, OauthProtectedResourceMetadata, OauthTokenRequest, OauthTokenResponse, Options, Orchestration, OrchestrationEdge, OrchestrationId, OrchestrationNode, OrchestrationResourceProperties, OrchestrationRun, OrchestrationRunId, OrchestrationVersion, OutputSchemaScorer, ParameterDeclaration, PatchAgentData, PatchAgentError, PatchAgentErrors, PatchAgentResponse, PatchAgentResponses, PauseOrchestrationRunData, PauseOrchestrationRunErrors, PauseOrchestrationRunRequest, PauseOrchestrationRunResponse, PauseOrchestrationRunResponses, PauseTaskData, PauseTaskErrors, PauseTaskRequest, PauseTaskResponse, PauseTaskResponses, PlanChange, PlanFormationData, PlanFormationErrors, PlanFormationResponse, PlanFormationResponses, PlanResult, PolicyDocument, PolicyRecord, PolicyResourceProperties, PolicyStatement, PresignedUrlRequest, PresignedUrlResponse, Price, PriceBookResponse, ProjectPrice, ProjectPriceResourceProperties, ProjectPricesResponse, ProjectRecord, PromoteAgentReleaseData, PromoteAgentReleaseError, PromoteAgentReleaseErrors, PromoteAgentReleaseResponse, PromoteAgentReleaseResponses, ProviderModelsResponse, ProviderPrice, ProviderPricesResponse, PurgeGenerationContentData, PurgeGenerationContentError, PurgeGenerationContentErrors, PurgeGenerationContentResponse, PurgeGenerationContentResponses, PurgeTraceContentData, PurgeTraceContentError, PurgeTraceContentErrors, PurgeTraceContentResponse, PurgeTraceContentResponses, QueueStats, Quota, QuotaResourceProperties, RedeliverWebhookDeliveryData, RedeliverWebhookDeliveryErrors, RedeliverWebhookDeliveryResponse, RedeliverWebhookDeliveryResponses, ReingestDocumentData, ReingestDocumentError, ReingestDocumentErrors, ReingestDocumentResponse, ReingestDocumentResponses, RejectApprovalData, RejectApprovalErrors, RejectApprovalResponse, RejectApprovalResponses, RemoveConversationMessageData, RemoveConversationMessageError, RemoveConversationMessageErrors, RemoveConversationMessageResponse, RemoveConversationMessageResponses, ReplaceActorTagsData, ReplaceActorTagsError, ReplaceActorTagsErrors, ReplaceActorTagsResponse, ReplaceActorTagsResponses, ReplaceConversationTagsData, ReplaceConversationTagsError, ReplaceConversationTagsErrors, ReplaceConversationTagsResponse, ReplaceConversationTagsResponses, ReplaceDocumentTagsData, ReplaceDocumentTagsError, ReplaceDocumentTagsErrors, ReplaceDocumentTagsResponse, ReplaceDocumentTagsResponses, ReplaceFileTagsData, ReplaceFileTagsError, ReplaceFileTagsErrors, ReplaceFileTagsResponse, ReplaceFileTagsResponses, ReplaceMemoryStoreTagsData, ReplaceMemoryStoreTagsErrors, ReplaceMemoryStoreTagsResponse, ReplaceMemoryStoreTagsResponses, ReplaceMemoryTagsData, ReplaceMemoryTagsErrors, ReplaceMemoryTagsResponse, ReplaceMemoryTagsResponses, ReplaceSessionTagsData, ReplaceSessionTagsError, ReplaceSessionTagsErrors, ReplaceSessionTagsResponse, ReplaceSessionTagsResponses, RequiredAction, ResolveExceptionData, ResolveExceptionErrors, ResolveExceptionResponse, ResolveExceptionResponses, ResourceDeclaration, RestoreAgentVersionData, RestoreAgentVersionError, RestoreAgentVersionErrors, RestoreAgentVersionRequest, RestoreAgentVersionResponse, RestoreAgentVersionResponses, RestoreGuardrailVersionData, RestoreGuardrailVersionError, RestoreGuardrailVersionErrors, RestoreGuardrailVersionRequest, RestoreGuardrailVersionResponse, RestoreGuardrailVersionResponses, RestoreOrchestrationVersionData, RestoreOrchestrationVersionErrors, RestoreOrchestrationVersionRequest, RestoreOrchestrationVersionResponse, RestoreOrchestrationVersionResponses, RestoreWorkflowVersionData, RestoreWorkflowVersionErrors, RestoreWorkflowVersionRequest, RestoreWorkflowVersionResponse, RestoreWorkflowVersionResponses, ResumeOrchestrationRunData, ResumeOrchestrationRunErrors, ResumeOrchestrationRunResponse, ResumeOrchestrationRunResponses, ResumeTaskData, ResumeTaskErrors, ResumeTaskResponse, ResumeTaskResponses, RotateTriggerSecretData, RotateTriggerSecretErrors, RotateTriggerSecretResponse, RotateTriggerSecretResponses, RotateWebhookSecretData, RotateWebhookSecretErrors, RotateWebhookSecretResponse, RotateWebhookSecretResponses, ScorerResult, Scorers, SearchKnowledgeData, SearchKnowledgeError, SearchKnowledgeErrors, SearchKnowledgeResponse, SearchKnowledgeResponses, SecretResourceProperties, SendSessionMessageResponse, SessionId, SessionRecord, SessionResourceProperties, SetAgentReleaseData, SetAgentReleaseError, SetAgentReleaseErrors, SetAgentReleaseRequest, SetAgentReleaseResponse, SetAgentReleaseResponses, SoatClientOptions, StartEvalRunData, StartEvalRunErrors, StartEvalRunResponse, StartEvalRunResponses, StartOrchestrationRunData, StartOrchestrationRunErrors, StartOrchestrationRunRequest, StartOrchestrationRunResponse, StartOrchestrationRunResponses, SubmitAgentToolOutputsData, SubmitAgentToolOutputsError, SubmitAgentToolOutputsErrors, SubmitAgentToolOutputsResponse, SubmitAgentToolOutputsResponses, SubmitHumanInputData, SubmitHumanInputErrors, SubmitHumanInputResponse, SubmitHumanInputResponses, SubmitSessionToolOutputsData, SubmitSessionToolOutputsError, SubmitSessionToolOutputsErrors, SubmitSessionToolOutputsRequest, SubmitSessionToolOutputsResponse, SubmitSessionToolOutputsResponses, SubmitToolOutputsRequest, TagBag, TagsQuery, Task, TaskTransition, Tool, ToolBinding, ToolOutputMessageContent, ToolResourceProperties, ToolScorer, Trace, TraceTreeNode, TranscriptStep, TranscriptToolCall, TranscriptToolResult, TransitionTaskData, TransitionTaskErrors, TransitionTaskRequest, TransitionTaskResponse, TransitionTaskResponses, Trigger, TriggerFiring, TriggerFiringListResponse, TriggerResourceProperties, TriggerSecretResponse, TriggerWithSecret, UnauthorizedFormationAction, UpdateActorData, UpdateActorError, UpdateActorErrors, UpdateActorResponse, UpdateActorResponses, UpdateAgentData, UpdateAgentError, UpdateAgentErrors, UpdateAgentRequest, UpdateAgentResponse, UpdateAgentResponses, UpdateAiProviderData, UpdateAiProviderErrors, UpdateAiProviderPricesData, UpdateAiProviderPricesErrors, UpdateAiProviderPricesResponse, UpdateAiProviderPricesResponses, UpdateAiProviderResponses, UpdateApiKeyData, UpdateApiKeyError, UpdateApiKeyErrors, UpdateApiKeyResponse, UpdateApiKeyResponses, UpdateConversationData, UpdateConversationError, UpdateConversationErrors, UpdateConversationResponse, UpdateConversationResponses, UpdateDatasetData, UpdateDatasetErrors, UpdateDatasetItemData, UpdateDatasetItemErrors, UpdateDatasetItemResponse, UpdateDatasetItemResponses, UpdateDatasetResponse, UpdateDatasetResponses, UpdateDocumentData, UpdateDocumentError, UpdateDocumentErrors, UpdateDocumentResponse, UpdateDocumentResponses, UpdateEvalData, UpdateEvalErrors, UpdateEvalResponse, UpdateEvalResponses, UpdateFileMetadataData, UpdateFileMetadataError, UpdateFileMetadataErrors, UpdateFileMetadataResponse, UpdateFileMetadataResponses, UpdateFormationData, UpdateFormationErrors, UpdateFormationResponse, UpdateFormationResponses, UpdateGenerationData, UpdateGenerationError, UpdateGenerationErrors, UpdateGenerationRequest, UpdateGenerationResponse, UpdateGenerationResponses, UpdateGuardrailData, UpdateGuardrailError, UpdateGuardrailErrors, UpdateGuardrailRequest, UpdateGuardrailResponse, UpdateGuardrailResponses, UpdateIngestionRuleData, UpdateIngestionRuleErrors, UpdateIngestionRuleResponse, UpdateIngestionRuleResponses, UpdateMemoryData, UpdateMemoryErrors, UpdateMemoryResponse, UpdateMemoryResponses, UpdateMemoryRuleData, UpdateMemoryRuleErrors, UpdateMemoryRuleResponse, UpdateMemoryRuleResponses, UpdateMemoryStoreData, UpdateMemoryStoreErrors, UpdateMemoryStoreResponse, UpdateMemoryStoreResponses, UpdateModelRouteData, UpdateModelRouteErrors, UpdateModelRouteResponse, UpdateModelRouteResponses, UpdateOrchestrationData, UpdateOrchestrationErrors, UpdateOrchestrationRequest, UpdateOrchestrationResponse, UpdateOrchestrationResponses, UpdatePolicyData, UpdatePolicyError, UpdatePolicyErrors, UpdatePolicyResponse, UpdatePolicyResponses, UpdateProjectData, UpdateProjectErrors, UpdateProjectPricesData, UpdateProjectPricesErrors, UpdateProjectPricesResponse, UpdateProjectPricesResponses, UpdateProjectResponse, UpdateProjectResponses, UpdateQuotaData, UpdateQuotaErrors, UpdateQuotaResponse, UpdateQuotaResponses, UpdateSecretData, UpdateSecretErrors, UpdateSecretResponses, UpdateSessionData, UpdateSessionError, UpdateSessionErrors, UpdateSessionRequest, UpdateSessionResponse, UpdateSessionResponses, UpdateTaskData, UpdateTaskErrors, UpdateTaskRequest, UpdateTaskResponse, UpdateTaskResponses, UpdateToolData, UpdateToolError, UpdateToolErrors, UpdateToolRequest, UpdateToolResponse, UpdateToolResponses, UpdateTriggerData, UpdateTriggerErrors, UpdateTriggerRequest, UpdateTriggerResponse, UpdateTriggerResponses, UpdateWebhookData, UpdateWebhookErrors, UpdateWebhookRequest, UpdateWebhookResponse, UpdateWebhookResponses, UpdateWorkflowData, UpdateWorkflowErrors, UpdateWorkflowRequest, UpdateWorkflowResponse, UpdateWorkflowResponses, UploadFileBase64Data, UploadFileBase64Error, UploadFileBase64Errors, UploadFileBase64Request, UploadFileBase64Response, UploadFileBase64Responses, UploadFileData, UploadFileError, UploadFileErrors, UploadFileResponse, UploadFileResponses, UploadFileWithTokenData, UploadFileWithTokenError, UploadFileWithTokenErrors, UploadFileWithTokenRequest, UploadFileWithTokenResponse, UploadFileWithTokenResponses, UpsertPriceBookData, UpsertPriceBookError, UpsertPriceBookErrors, UpsertPriceBookResponse, UpsertPriceBookResponses, UpsertPricesRequest, UpsertProjectPricesRequest, UpsertProviderPricesRequest, UsageAggregate, UsageAggregateBucket, UsageAggregateComponent, UsageAggregateFilters, UsageAggregateGroup, UsageAggregateTotals, UsageComponent, UsageDistinct, UsageEvent, UsageGroupBy, UsageReceipt, UsageThreshold, UsageTotals, UserRecord, ValidateFormationData, ValidateFormationErrors, ValidateFormationResponse, ValidateFormationResponses, ValidateOrchestrationData, ValidateOrchestrationErrors, ValidateOrchestrationRequest, ValidateOrchestrationResponse, ValidateOrchestrationResponses, ValidationError, ValidationResult, Webhook, WebhookResourceProperties, WebhookSecretResponse, WebhookWithSecret, Workflow, WorkflowResourceProperties, WorkflowState, WorkflowTransition, WorkflowVersion };