@naturali/sdk 0.127.1 → 0.127.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -338,9 +338,9 @@ type ActivityEntry = {
338
338
  id?: string;
339
339
  project_id?: string;
340
340
  /**
341
- * How the entry was produced
341
+ * How the entry was produced. `tool_resolution_failed` means a tool binding contributed no tool to the turn — its source could not be reached or refused the listing, or the listing was read and left nothing to attach — so the turn ran without it. The generation itself completes, carrying no error, so this is the only signal that it answered with fewer tools than it was configured to have.
342
342
  */
343
- kind?: 'action_executed' | 'approval_created' | 'approval_resolved' | 'exception_created' | 'schedule_fired';
343
+ kind?: 'action_executed' | 'approval_created' | 'approval_resolved' | 'exception_created' | 'schedule_fired' | 'tool_resolution_failed';
344
344
  severity?: 'info' | 'warning' | 'critical';
345
345
  /**
346
346
  * One-line, human-readable description
@@ -392,9 +392,7 @@ type ActorRecord = {
392
392
  * Chat this actor is linked to (mutually exclusive with agentId).
393
393
  */
394
394
  chat_id?: string | null;
395
- tags?: {
396
- [key: string]: string;
397
- };
395
+ tags?: TagBag;
398
396
  created_at?: Date;
399
397
  updated_at?: Date;
400
398
  };
@@ -416,6 +414,12 @@ type ErrorResponse = {
416
414
  };
417
415
  };
418
416
  };
417
+ /**
418
+ * Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter and knowledge search.
419
+ */
420
+ type TagBag = {
421
+ [key: string]: string;
422
+ };
419
423
  type Address = {
420
424
  id: string;
421
425
  project_id: string;
@@ -747,9 +751,12 @@ type Agent = {
747
751
  */
748
752
  knowledge_config?: {
749
753
  memory_ids?: Array<string>;
750
- memory_tags?: Array<string>;
751
754
  document_ids?: Array<string>;
752
755
  document_paths?: Array<string>;
756
+ /**
757
+ * Key-value pairs a result's own `tags` must all contain (exact match). Scopes documents and memory entries alike.
758
+ */
759
+ tags?: TagBag;
753
760
  min_score?: number;
754
761
  limit?: number;
755
762
  /**
@@ -784,6 +791,15 @@ type Agent = {
784
791
  output_schema?: {
785
792
  [key: string]: unknown;
786
793
  } | null;
794
+ /**
795
+ * Prompt caching for this agent's turns. `{"enabled": true}` marks a cache breakpoint at the end of the turn's static prefix — the tool definitions and the instructions together — so a provider that caches by explicit breakpoint reads that prefix back on every later step of the turn and every later turn of the session instead of being charged for it again. Null or omitted is off: a cache write costs more than an uncached token, so an agent whose prefix is never re-read would pay for the privilege. An agent with no `instructions` has no block to mark and caches nothing. Cache reads are reported as `cached_tokens` and cache writes as `cache_write_tokens` on usage.
796
+ */
797
+ prompt_caching?: {
798
+ /**
799
+ * Whether the breakpoint is marked. Defaults to false.
800
+ */
801
+ enabled?: boolean;
802
+ } | null;
787
803
  /**
788
804
  * Maximum number of recent messages to include in the context window sent to the model. When null, all messages are included.
789
805
  */
@@ -954,9 +970,12 @@ type CreateAgentRequest = {
954
970
  temperature?: number;
955
971
  knowledge_config?: {
956
972
  memory_ids?: Array<string>;
957
- memory_tags?: Array<string>;
958
973
  document_ids?: Array<string>;
959
974
  document_paths?: Array<string>;
975
+ /**
976
+ * Key-value pairs a result's own `tags` must all contain (exact match). Scopes documents and memory entries alike.
977
+ */
978
+ tags?: TagBag;
960
979
  min_score?: number;
961
980
  limit?: number;
962
981
  /**
@@ -991,6 +1010,15 @@ type CreateAgentRequest = {
991
1010
  output_schema?: {
992
1011
  [key: string]: unknown;
993
1012
  } | null;
1013
+ /**
1014
+ * Prompt caching for this agent's turns. `{"enabled": true}` marks a cache breakpoint at the end of the turn's static prefix — the tool definitions and the instructions together — so a provider that caches by explicit breakpoint reads that prefix back on every later step of the turn and every later turn of the session instead of being charged for it again. Null or omitted is off: a cache write costs more than an uncached token, so an agent whose prefix is never re-read would pay for the privilege. An agent with no `instructions` has no block to mark and caches nothing. Cache reads are reported as `cached_tokens` and cache writes as `cache_write_tokens` on usage.
1015
+ */
1016
+ prompt_caching?: {
1017
+ /**
1018
+ * Whether the breakpoint is marked. Defaults to false.
1019
+ */
1020
+ enabled?: boolean;
1021
+ } | null;
994
1022
  /**
995
1023
  * Maximum number of recent messages included in the context window. Null means no limit.
996
1024
  */
@@ -1059,9 +1087,12 @@ type UpdateAgentRequest = {
1059
1087
  temperature?: number | null;
1060
1088
  knowledge_config?: {
1061
1089
  memory_ids?: Array<string>;
1062
- memory_tags?: Array<string>;
1063
1090
  document_ids?: Array<string>;
1064
1091
  document_paths?: Array<string>;
1092
+ /**
1093
+ * Key-value pairs a result's own `tags` must all contain (exact match). Scopes documents and memory entries alike.
1094
+ */
1095
+ tags?: TagBag;
1065
1096
  min_score?: number;
1066
1097
  limit?: number;
1067
1098
  /**
@@ -1096,6 +1127,15 @@ type UpdateAgentRequest = {
1096
1127
  output_schema?: {
1097
1128
  [key: string]: unknown;
1098
1129
  } | null;
1130
+ /**
1131
+ * Prompt caching for this agent's turns. `{"enabled": true}` marks a cache breakpoint at the end of the turn's static prefix — the tool definitions and the instructions together — so a provider that caches by explicit breakpoint reads that prefix back on every later step of the turn and every later turn of the session instead of being charged for it again. Null or omitted is off: a cache write costs more than an uncached token, so an agent whose prefix is never re-read would pay for the privilege. An agent with no `instructions` has no block to mark and caches nothing. Cache reads are reported as `cached_tokens` and cache writes as `cache_write_tokens` on usage.
1132
+ */
1133
+ prompt_caching?: {
1134
+ /**
1135
+ * Whether the breakpoint is marked. Defaults to false.
1136
+ */
1137
+ enabled?: boolean;
1138
+ } | null;
1099
1139
  /**
1100
1140
  * Maximum number of recent messages included in the context window. Null means no limit.
1101
1141
  */
@@ -1169,13 +1209,16 @@ type CreateAgentGenerationRequest = {
1169
1209
  */
1170
1210
  extract?: boolean;
1171
1211
  /**
1172
- * Per-generation knowledge retrieval override. Array filters (memory_ids, memory_tags, document_ids, document_paths) are unioned with the agent's stored knowledge_config; scalar fields (min_score, limit) use the per-generation value when present.
1212
+ * Per-generation knowledge retrieval override. Array filters (memory_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.
1173
1213
  */
1174
1214
  knowledge_config?: {
1175
1215
  memory_ids?: Array<string>;
1176
- memory_tags?: Array<string>;
1177
1216
  document_ids?: Array<string>;
1178
1217
  document_paths?: Array<string>;
1218
+ /**
1219
+ * Key-value pairs a result's own `tags` must all contain (exact match). Scopes documents and memory entries alike.
1220
+ */
1221
+ tags?: TagBag;
1179
1222
  min_score?: number;
1180
1223
  limit?: number;
1181
1224
  } | null;
@@ -1408,7 +1451,7 @@ type ProviderPrice = {
1408
1451
  provider?: string;
1409
1452
  model?: string;
1410
1453
  /**
1411
- * The token component this row prices (`input_tokens`, `output_tokens`, `cached_tokens`)
1454
+ * The token component this row prices (`input_tokens`, `output_tokens`, `cached_tokens`, `cache_write_tokens`)
1412
1455
  */
1413
1456
  component?: string;
1414
1457
  /**
@@ -1432,7 +1475,7 @@ type UpsertProviderPricesRequest = {
1432
1475
  prices: Array<{
1433
1476
  model: string;
1434
1477
  /**
1435
- * The token component this row prices (`input_tokens`, `output_tokens`, `cached_tokens`)
1478
+ * The token component this row prices (`input_tokens`, `output_tokens`, `cached_tokens`, `cache_write_tokens`)
1436
1479
  */
1437
1480
  component: string;
1438
1481
  /**
@@ -2799,12 +2842,7 @@ type FileRecord = {
2799
2842
  * JSON string with additional metadata
2800
2843
  */
2801
2844
  metadata?: string | null;
2802
- /**
2803
- * Key-value tags attached to the file.
2804
- */
2805
- tags?: {
2806
- [key: string]: string;
2807
- };
2845
+ tags?: TagBag;
2808
2846
  /**
2809
2847
  * Creation timestamp
2810
2848
  */
@@ -3004,10 +3042,6 @@ type AgentResourceProperties = {
3004
3042
  * Public IDs of memories to retrieve from
3005
3043
  */
3006
3044
  memory_ids?: Array<string>;
3007
- /**
3008
- * Retrieve from all memories matching these tags
3009
- */
3010
- memory_tags?: Array<string>;
3011
3045
  /**
3012
3046
  * Public IDs of documents to retrieve from
3013
3047
  */
@@ -3016,6 +3050,10 @@ type AgentResourceProperties = {
3016
3050
  * Retrieve from all documents matching these path prefixes
3017
3051
  */
3018
3052
  document_paths?: Array<string>;
3053
+ /**
3054
+ * Retrieve from documents and memory entries whose tags contain all these key-value pairs.
3055
+ */
3056
+ tags?: TagBag;
3019
3057
  /**
3020
3058
  * Minimum similarity score (0–1) for retrieved chunks
3021
3059
  */
@@ -3056,6 +3094,15 @@ type AgentResourceProperties = {
3056
3094
  output_schema?: {
3057
3095
  [key: string]: unknown;
3058
3096
  } | null;
3097
+ /**
3098
+ * Prompt caching for this agent's turns. `{"enabled": true}` marks a cache breakpoint at the end of the turn's static prefix — the tool definitions and the instructions together. Null or omitted is off.
3099
+ */
3100
+ prompt_caching?: {
3101
+ /**
3102
+ * Whether the breakpoint is marked. Defaults to false.
3103
+ */
3104
+ enabled?: boolean;
3105
+ } | null;
3059
3106
  };
3060
3107
  /**
3061
3108
  * Creates a stateful conversation actor that wraps an agent or chat session and optionally links to a memory store.
@@ -3336,10 +3383,7 @@ type MemoryResourceProperties = {
3336
3383
  * What this memory stores
3337
3384
  */
3338
3385
  description?: string | null;
3339
- /**
3340
- * Tag strings for filtering
3341
- */
3342
- tags?: Array<string> | null;
3386
+ tags?: NullableTagBag;
3343
3387
  };
3344
3388
  /**
3345
3389
  * Adds a single text entry to a memory store.
@@ -3358,9 +3402,9 @@ type MemoryEntryResourceProperties = {
3358
3402
  */
3359
3403
  source_type?: 'manual' | 'agent' | 'extraction' | 'orchestration';
3360
3404
  /**
3361
- * Per-entry tag strings for entry-granularity filtering
3405
+ * Per-entry key-value tags for entry-granularity filtering in knowledge search.
3362
3406
  */
3363
- tags?: Array<string> | null;
3407
+ tags?: NullableTagBag;
3364
3408
  /**
3365
3409
  * Arbitrary structured metadata attached to the entry
3366
3410
  */
@@ -3948,6 +3992,12 @@ type FormationOperation = {
3948
3992
  created_at?: Date;
3949
3993
  updated_at?: Date;
3950
3994
  };
3995
+ /**
3996
+ * A `TagBag` on a field where `null` is meaningful — a full-replacement update that clears the bag, or a record whose bag was never set.
3997
+ */
3998
+ type NullableTagBag = {
3999
+ [key: string]: string;
4000
+ } | null;
3951
4001
  type Generation = {
3952
4002
  /**
3953
4003
  * Public ID of the generation
@@ -4070,6 +4120,33 @@ type Generation = {
4070
4120
  */
4071
4121
  skipped?: number;
4072
4122
  } | null;
4123
+ /**
4124
+ * 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.
4125
+ *
4126
+ * Null when the surface was never measured: a generation from before the field, or a path that resolves none. That is **not** what `tools: 0` means, which is a measured agent with nothing bound.
4127
+ *
4128
+ * Not a meter. `estimated_tokens` is an estimate and is never priced — `usage` and the usage events are the billing record.
4129
+ */
4130
+ tool_surface?: {
4131
+ /**
4132
+ * Tools resolved for the turn, before any per-step narrowing by `step_rules`.
4133
+ */
4134
+ tools?: number;
4135
+ /**
4136
+ * Serialized length of those definitions — name, description and input schema — in canonical JSON, not the provider's wire format. Exact, and comparable across providers, which is what makes two agents' surfaces worth comparing.
4137
+ */
4138
+ bytes?: number;
4139
+ /**
4140
+ * `bytes` over a measured bytes-per-token ratio. An estimate, and named one.
4141
+ */
4142
+ estimated_tokens?: number;
4143
+ } | null;
4144
+ /**
4145
+ * What the turn cost: token counts and `cost_usd` for every event metered against this generation. Present on the single-generation read; omitted from the listing, where it would be a query per row.
4146
+ *
4147
+ * Null when nothing has been metered yet — a turn still in flight, or one whose metering failed. A turn is metered once at the end, so this is one event's figures in the ordinary case.
4148
+ */
4149
+ usage?: UsageTotals | null;
4073
4150
  /**
4074
4151
  * What the model route did for this generation. Present only when the agent resolves its model through a `model_route_id`.
4075
4152
  *
@@ -4137,15 +4214,6 @@ type UpdateGenerationRequest = {
4137
4214
  [key: string]: unknown;
4138
4215
  };
4139
4216
  };
4140
- /**
4141
- * Token counts for one step. A field is null when the provider did not report it — null rather than 0, so "not reported" stays distinguishable from "none used".
4142
- *
4143
- */
4144
- type TranscriptUsage = {
4145
- input_tokens?: number | null;
4146
- output_tokens?: number | null;
4147
- total_tokens?: number | null;
4148
- };
4149
4217
  /**
4150
4218
  * One tool call the model made during a step.
4151
4219
  */
@@ -4204,9 +4272,9 @@ type TranscriptStep = {
4204
4272
  tool_calls?: Array<TranscriptToolCall>;
4205
4273
  tool_results?: Array<TranscriptToolResult>;
4206
4274
  /**
4207
- * Null when the step recorded no usage.
4275
+ * What this step reported, in the shape every usage surface uses. Null when the step recorded no usage at all; within a step a dimension the provider did not report reads 0. `cost_usd` is always null here — the ledger prices one event per generation, so a per-step price would disagree with it after any price change.
4208
4276
  */
4209
- usage?: TranscriptUsage | null;
4277
+ usage?: UsageTotals | null;
4210
4278
  };
4211
4279
  /**
4212
4280
  * One generation's turn, read back step by step. Assembled at read time from the generation record and the trace's steps object — never stored, so it dies with the content it projects.
@@ -4286,6 +4354,39 @@ type GenerationTranscript = {
4286
4354
  */
4287
4355
  content_redacted_by_principal_id?: string | null;
4288
4356
  };
4357
+ /**
4358
+ * Token counts and cost for one slice of the meter. Tokens and cost only: a `compute_second` or `gb_day` meter is reported by the aggregate's `components` array.
4359
+ *
4360
+ * The three input dimensions partition the prompt — `input_tokens` = `uncached_input_tokens` + `cached_tokens` + `cache_write_tokens` — and are separate because they are separately priced. Note that the `input_tokens` **component** on a usage event is the uncached figure alone; here `input_tokens` is the whole prompt.
4361
+ *
4362
+ */
4363
+ type UsageTotals = {
4364
+ /**
4365
+ * Sum of priced component costs; null when nothing in the slice was priced. Always null at step altitude — the ledger prices one event per generation at write time, and a price read back per step would disagree with it after any price change.
4366
+ */
4367
+ cost_usd?: number | null;
4368
+ /**
4369
+ * Full prompt tokens, reconstructed from the components.
4370
+ */
4371
+ input_tokens?: number;
4372
+ /**
4373
+ * Prompt tokens priced at the plain input rate — the prompt minus cache reads and cache writes.
4374
+ */
4375
+ uncached_input_tokens?: number;
4376
+ output_tokens?: number;
4377
+ /**
4378
+ * Prompt tokens served from the provider's prompt cache.
4379
+ */
4380
+ cached_tokens?: number;
4381
+ /**
4382
+ * Prompt tokens written into the provider's prompt cache.
4383
+ */
4384
+ cache_write_tokens?: number;
4385
+ /**
4386
+ * A non-billable subset of `output_tokens`, reported where the provider breaks it out.
4387
+ */
4388
+ reasoning_tokens?: number;
4389
+ };
4289
4390
  /**
4290
4391
  * The action-class document. `class` maps a call to an action class; `guard` gates class-B autonomy. Both are single JSON Logic expressions over the `args.*` / `context.*` / `runtime.*` namespaces.
4291
4392
  *
@@ -4534,22 +4635,17 @@ type DocumentKnowledgeResult = {
4534
4635
  metadata?: {
4535
4636
  [key: string]: unknown;
4536
4637
  };
4537
- /**
4538
- * Key-value tags
4539
- */
4540
- tags?: {
4541
- [key: string]: string;
4542
- };
4638
+ tags?: TagBag;
4543
4639
  /**
4544
4640
  * Full text content of the document
4545
4641
  */
4546
4642
  content: string | null;
4547
4643
  /**
4548
- * Implementation-defined relevance ranking — higher is better. The **ordering** it produces is the contract; the absolute value is not, and the formula behind it may change (a future hybrid ranking would fuse several signals here). It is the field `min_score` filters on and the field results are sorted by. Only present when `query` was provided. Use `similarity_score` when you need the raw cosine value.
4644
+ * 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.
4549
4645
  */
4550
4646
  score?: number;
4551
4647
  /**
4552
- * Raw cosine similarity (0–1) between the query and this result. Pinned to that meaning — unlike `score`, it is never redefined. Only present when `query` was provided.
4648
+ * 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.
4553
4649
  */
4554
4650
  similarity_score?: number;
4555
4651
  /**
@@ -4583,11 +4679,11 @@ type MemoryKnowledgeResult = {
4583
4679
  */
4584
4680
  content: string;
4585
4681
  /**
4586
- * Implementation-defined relevance ranking — higher is better. The **ordering** it produces is the contract; the absolute value is not, and the formula behind it may change (a future hybrid ranking would fuse several signals here). It is the field `min_score` filters on and the field results are sorted by. Only present when `query` was provided. Use `similarity_score` when you need the raw cosine value.
4682
+ * 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.
4587
4683
  */
4588
4684
  score?: number;
4589
4685
  /**
4590
- * Raw cosine similarity (0–1) between the query and this result. Pinned to that meaning — unlike `score`, it is never redefined. Only present when `query` was provided.
4686
+ * 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.
4591
4687
  */
4592
4688
  similarity_score?: number;
4593
4689
  /**
@@ -4605,9 +4701,9 @@ type Memory = {
4605
4701
  name?: string;
4606
4702
  description?: string | null;
4607
4703
  /**
4608
- * List of tags for filtering in knowledge search
4704
+ * Key-value tags for filtering in knowledge search.
4609
4705
  */
4610
- tags?: Array<string> | null;
4706
+ tags?: NullableTagBag;
4611
4707
  created_at?: Date;
4612
4708
  updated_at?: Date;
4613
4709
  };
@@ -4617,9 +4713,9 @@ type MemoryEntry = {
4617
4713
  content?: string;
4618
4714
  source_type?: 'manual' | 'agent' | 'extraction' | 'orchestration';
4619
4715
  /**
4620
- * Per-entry tag strings
4716
+ * Per-entry key-value tags, matched at entry granularity by knowledge search.
4621
4717
  */
4622
- tags?: Array<string> | null;
4718
+ tags?: NullableTagBag;
4623
4719
  /**
4624
4720
  * Arbitrary structured metadata attached to the entry
4625
4721
  */
@@ -5208,23 +5304,6 @@ type OrchestrationRun = {
5208
5304
  created_at: Date;
5209
5305
  updated_at: Date;
5210
5306
  };
5211
- /**
5212
- * The token and cost figures every usage surface reports, in one shape — a receipt's `totals`, an aggregate bucket, and an orchestration run's `usage` / `usage_own`, so one client type sums all three. Tokens and cost only: a `compute_second` or `gb_day` meter is reported by the aggregate's `components` array.
5213
- *
5214
- */
5215
- type UsageTotals = {
5216
- /**
5217
- * Sum of priced component costs; null when nothing was priced
5218
- */
5219
- cost_usd?: number | null;
5220
- /**
5221
- * Full prompt tokens (uncached input + cached), reconstructed from components
5222
- */
5223
- input_tokens?: number;
5224
- output_tokens?: number;
5225
- cached_tokens?: number;
5226
- reasoning_tokens?: number;
5227
- };
5228
5307
  /**
5229
5308
  * Record of a single node execution within a run, used to debug which node failed, what input it received, and what it produced.
5230
5309
  */
@@ -5905,9 +5984,7 @@ type SessionRecord = {
5905
5984
  *
5906
5985
  */
5907
5986
  actor_id?: string | null;
5908
- tags?: {
5909
- [key: string]: string;
5910
- };
5987
+ tags?: TagBag;
5911
5988
  /**
5912
5989
  * When true, automatically triggers generation after each user message (if no generation is in progress).
5913
5990
  */
@@ -5969,12 +6046,7 @@ type ForkSessionRequest = {
5969
6046
  * Optional name for the forked session
5970
6047
  */
5971
6048
  name?: string;
5972
- /**
5973
- * Optional tags for the forked session
5974
- */
5975
- tags?: {
5976
- [key: string]: string;
5977
- };
6049
+ tags?: TagBag;
5978
6050
  /**
5979
6051
  * Overrides the parent's `tool_context` on the fork. Omit it and the fork inherits the parent's, so the branch is faithful to the run it came from.
5980
6052
  *
@@ -7079,12 +7151,7 @@ type FileRecordWritable = {
7079
7151
  * JSON string with additional metadata
7080
7152
  */
7081
7153
  metadata?: string | null;
7082
- /**
7083
- * Key-value tags attached to the file.
7084
- */
7085
- tags?: {
7086
- [key: string]: string;
7087
- };
7154
+ tags?: TagBag;
7088
7155
  /**
7089
7156
  * Creation timestamp
7090
7157
  */
@@ -7098,6 +7165,11 @@ type FileRecordWritable = {
7098
7165
  * Project public ID (proj_ prefix).
7099
7166
  */
7100
7167
  type ProjectId = string;
7168
+ /**
7169
+ * Filter by tag pairs, written `key:value` (split on the first colon, so a value may contain colons). Repeat the parameter for several pairs; **all** must be present with exactly that value.
7170
+ *
7171
+ */
7172
+ type TagsQuery = Array<string>;
7101
7173
  /**
7102
7174
  * Maximum items per page — an integer from 1 to 100 (default 20).
7103
7175
  */
@@ -7258,7 +7330,7 @@ type ListActivityData = {
7258
7330
  /**
7259
7331
  * Filter by activity kind
7260
7332
  */
7261
- kind?: 'action_executed' | 'approval_created' | 'approval_resolved' | 'exception_created' | 'schedule_fired';
7333
+ kind?: 'action_executed' | 'approval_created' | 'approval_resolved' | 'exception_created' | 'schedule_fired' | 'tool_resolution_failed';
7262
7334
  /**
7263
7335
  * Filter by severity
7264
7336
  */
@@ -7335,6 +7407,11 @@ type ListActorsData = {
7335
7407
  *
7336
7408
  */
7337
7409
  conversation_id?: string;
7410
+ /**
7411
+ * Filter by tag pairs, written `key:value` (split on the first colon, so a value may contain colons). Repeat the parameter for several pairs; **all** must be present with exactly that value.
7412
+ *
7413
+ */
7414
+ tags?: Array<string>;
7338
7415
  /**
7339
7416
  * Maximum number of results to return
7340
7417
  */
@@ -7517,9 +7594,7 @@ type UpdateActorData = {
7517
7594
  * Chat to link this actor to. Mutually exclusive with agent_id.
7518
7595
  */
7519
7596
  chat_id?: string | null;
7520
- tags?: {
7521
- [key: string]: string;
7522
- };
7597
+ tags?: TagBag;
7523
7598
  };
7524
7599
  path: {
7525
7600
  /**
@@ -7590,15 +7665,11 @@ type GetActorTagsResponses = {
7590
7665
  /**
7591
7666
  * Actor tags
7592
7667
  */
7593
- 200: {
7594
- [key: string]: string;
7595
- };
7668
+ 200: TagBag;
7596
7669
  };
7597
7670
  type GetActorTagsResponse = GetActorTagsResponses[keyof GetActorTagsResponses];
7598
7671
  type MergeActorTagsData = {
7599
- body: {
7600
- [key: string]: string;
7601
- };
7672
+ body: TagBag;
7602
7673
  path: {
7603
7674
  /**
7604
7675
  * Project public ID (proj_ prefix).
@@ -7631,15 +7702,11 @@ type MergeActorTagsResponses = {
7631
7702
  /**
7632
7703
  * Tags merged
7633
7704
  */
7634
- 200: {
7635
- [key: string]: string;
7636
- };
7705
+ 200: TagBag;
7637
7706
  };
7638
7707
  type MergeActorTagsResponse = MergeActorTagsResponses[keyof MergeActorTagsResponses];
7639
7708
  type ReplaceActorTagsData = {
7640
- body: {
7641
- [key: string]: string;
7642
- };
7709
+ body: TagBag;
7643
7710
  path: {
7644
7711
  /**
7645
7712
  * Project public ID (proj_ prefix).
@@ -7672,9 +7739,7 @@ type ReplaceActorTagsResponses = {
7672
7739
  /**
7673
7740
  * Tags replaced
7674
7741
  */
7675
- 200: {
7676
- [key: string]: string;
7677
- };
7742
+ 200: TagBag;
7678
7743
  };
7679
7744
  type ReplaceActorTagsResponse = ReplaceActorTagsResponses[keyof ReplaceActorTagsResponses];
7680
7745
  type ListAddressesData = {
@@ -10798,6 +10863,11 @@ type ListConversationsData = {
10798
10863
  * Filter by actor ID
10799
10864
  */
10800
10865
  actor_id?: string;
10866
+ /**
10867
+ * Filter by tag pairs, written `key:value` (split on the first colon, so a value may contain colons). Repeat the parameter for several pairs; **all** must be present with exactly that value.
10868
+ *
10869
+ */
10870
+ tags?: Array<string>;
10801
10871
  /**
10802
10872
  * Maximum number of results to return
10803
10873
  */
@@ -11265,15 +11335,11 @@ type GetConversationTagsResponses = {
11265
11335
  /**
11266
11336
  * Conversation tags
11267
11337
  */
11268
- 200: {
11269
- [key: string]: string;
11270
- };
11338
+ 200: TagBag;
11271
11339
  };
11272
11340
  type GetConversationTagsResponse = GetConversationTagsResponses[keyof GetConversationTagsResponses];
11273
11341
  type MergeConversationTagsData = {
11274
- body: {
11275
- [key: string]: string;
11276
- };
11342
+ body: TagBag;
11277
11343
  path: {
11278
11344
  /**
11279
11345
  * Project public ID (proj_ prefix).
@@ -11306,15 +11372,11 @@ type MergeConversationTagsResponses = {
11306
11372
  /**
11307
11373
  * Tags merged
11308
11374
  */
11309
- 200: {
11310
- [key: string]: string;
11311
- };
11375
+ 200: TagBag;
11312
11376
  };
11313
11377
  type MergeConversationTagsResponse = MergeConversationTagsResponses[keyof MergeConversationTagsResponses];
11314
11378
  type ReplaceConversationTagsData = {
11315
- body: {
11316
- [key: string]: string;
11317
- };
11379
+ body: TagBag;
11318
11380
  path: {
11319
11381
  /**
11320
11382
  * Project public ID (proj_ prefix).
@@ -11347,9 +11409,7 @@ type ReplaceConversationTagsResponses = {
11347
11409
  /**
11348
11410
  * Tags replaced
11349
11411
  */
11350
- 200: {
11351
- [key: string]: string;
11352
- };
11412
+ 200: TagBag;
11353
11413
  };
11354
11414
  type ReplaceConversationTagsResponse = ReplaceConversationTagsResponses[keyof ReplaceConversationTagsResponses];
11355
11415
  type ListDocumentsData = {
@@ -11365,6 +11425,11 @@ type ListDocumentsData = {
11365
11425
  * Only documents filed under this directory. The prefix is a path boundary, not a substring: `/reports` returns `/reports/q1.txt` and never `/reports-archive/q1.txt`, and `/` selects the whole project. A leading slash is optional and a trailing one is ignored, so `reports`, `/reports` and `/reports/` are the same filter. `%` and `_` are literal characters, not wildcards.
11366
11426
  */
11367
11427
  path_prefix?: string;
11428
+ /**
11429
+ * Filter by tag pairs, written `key:value` (split on the first colon, so a value may contain colons). Repeat the parameter for several pairs; **all** must be present with exactly that value.
11430
+ *
11431
+ */
11432
+ tags?: Array<string>;
11368
11433
  /**
11369
11434
  * Maximum number of results to return
11370
11435
  */
@@ -11417,12 +11482,7 @@ type CreateDocumentData = {
11417
11482
  metadata?: {
11418
11483
  [key: string]: unknown;
11419
11484
  };
11420
- /**
11421
- * Key-value tags
11422
- */
11423
- tags?: {
11424
- [key: string]: string;
11425
- };
11485
+ tags?: TagBag;
11426
11486
  /**
11427
11487
  * How to split the content into embeddable chunks. `whole` (default) stores the content as a single chunk; `size` splits into fixed-size character windows with overlap. `page` is equivalent to `whole` for plain text.
11428
11488
  */
@@ -11481,12 +11541,7 @@ type IngestDocumentData = {
11481
11541
  * Path prefix under which to store the document (e.g. /docs/). The filename is appended automatically.
11482
11542
  */
11483
11543
  path_prefix?: string;
11484
- /**
11485
- * Key-value tags to attach to the document.
11486
- */
11487
- tags?: {
11488
- [key: string]: string;
11489
- };
11544
+ tags?: TagBag;
11490
11545
  /**
11491
11546
  * How to split the source into chunks. `page` (default) creates one chunk per non-empty page (PDF); for non-paged sources it yields a single chunk. `whole` joins everything into one chunk. `size` splits into fixed-size character windows with overlap.
11492
11547
  */
@@ -11642,12 +11697,7 @@ type UpdateDocumentData = {
11642
11697
  metadata?: {
11643
11698
  [key: string]: unknown;
11644
11699
  };
11645
- /**
11646
- * Key-value tags
11647
- */
11648
- tags?: {
11649
- [key: string]: string;
11650
- };
11700
+ tags?: TagBag;
11651
11701
  };
11652
11702
  path: {
11653
11703
  /**
@@ -11822,15 +11872,11 @@ type GetDocumentTagsResponses = {
11822
11872
  /**
11823
11873
  * Document tags
11824
11874
  */
11825
- 200: {
11826
- [key: string]: string;
11827
- };
11875
+ 200: TagBag;
11828
11876
  };
11829
11877
  type GetDocumentTagsResponse = GetDocumentTagsResponses[keyof GetDocumentTagsResponses];
11830
11878
  type MergeDocumentTagsData = {
11831
- body: {
11832
- [key: string]: string;
11833
- };
11879
+ body: TagBag;
11834
11880
  path: {
11835
11881
  /**
11836
11882
  * Project public ID (proj_ prefix).
@@ -11863,15 +11909,11 @@ type MergeDocumentTagsResponses = {
11863
11909
  /**
11864
11910
  * Tags merged
11865
11911
  */
11866
- 200: {
11867
- [key: string]: string;
11868
- };
11912
+ 200: TagBag;
11869
11913
  };
11870
11914
  type MergeDocumentTagsResponse = MergeDocumentTagsResponses[keyof MergeDocumentTagsResponses];
11871
11915
  type ReplaceDocumentTagsData = {
11872
- body: {
11873
- [key: string]: string;
11874
- };
11916
+ body: TagBag;
11875
11917
  path: {
11876
11918
  /**
11877
11919
  * Project public ID (proj_ prefix).
@@ -11904,9 +11946,7 @@ type ReplaceDocumentTagsResponses = {
11904
11946
  /**
11905
11947
  * Tags replaced
11906
11948
  */
11907
- 200: {
11908
- [key: string]: string;
11909
- };
11949
+ 200: TagBag;
11910
11950
  };
11911
11951
  type ReplaceDocumentTagsResponse = ReplaceDocumentTagsResponses[keyof ReplaceDocumentTagsResponses];
11912
11952
  type CreateEmbeddingsData = {
@@ -13105,6 +13145,11 @@ type ListFilesData = {
13105
13145
  project_id: string;
13106
13146
  };
13107
13147
  query?: {
13148
+ /**
13149
+ * Filter by tag pairs, written `key:value` (split on the first colon, so a value may contain colons). Repeat the parameter for several pairs; **all** must be present with exactly that value.
13150
+ *
13151
+ */
13152
+ tags?: Array<string>;
13108
13153
  /**
13109
13154
  * Maximum number of results to return
13110
13155
  */
@@ -13545,15 +13590,11 @@ type GetFileTagsResponses = {
13545
13590
  /**
13546
13591
  * File tags
13547
13592
  */
13548
- 200: {
13549
- [key: string]: string;
13550
- };
13593
+ 200: TagBag;
13551
13594
  };
13552
13595
  type GetFileTagsResponse = GetFileTagsResponses[keyof GetFileTagsResponses];
13553
13596
  type MergeFileTagsData = {
13554
- body: {
13555
- [key: string]: string;
13556
- };
13597
+ body: TagBag;
13557
13598
  path: {
13558
13599
  /**
13559
13600
  * Project public ID (proj_ prefix).
@@ -13587,15 +13628,11 @@ type MergeFileTagsResponses = {
13587
13628
  /**
13588
13629
  * Tags merged
13589
13630
  */
13590
- 200: {
13591
- [key: string]: string;
13592
- };
13631
+ 200: TagBag;
13593
13632
  };
13594
13633
  type MergeFileTagsResponse = MergeFileTagsResponses[keyof MergeFileTagsResponses];
13595
13634
  type ReplaceFileTagsData = {
13596
- body: {
13597
- [key: string]: string;
13598
- };
13635
+ body: TagBag;
13599
13636
  path: {
13600
13637
  /**
13601
13638
  * Project public ID (proj_ prefix).
@@ -13629,9 +13666,7 @@ type ReplaceFileTagsResponses = {
13629
13666
  /**
13630
13667
  * Tags replaced
13631
13668
  */
13632
- 200: {
13633
- [key: string]: string;
13634
- };
13669
+ 200: TagBag;
13635
13670
  };
13636
13671
  type ReplaceFileTagsResponse = ReplaceFileTagsResponses[keyof ReplaceFileTagsResponses];
13637
13672
  type ValidateFormationData = {
@@ -14850,13 +14885,27 @@ type UpdateIngestionRuleResponse = UpdateIngestionRuleResponses[keyof UpdateInge
14850
14885
  type SearchKnowledgeData = {
14851
14886
  body: {
14852
14887
  /**
14853
- * Semantic search query text
14888
+ * Search query text. Runs a vector query and a full-text query over each store and fuses the rankings; the full-text channel matches exact tokens and phrases, the vector channel everything else.
14854
14889
  */
14855
14890
  query?: string;
14856
14891
  /**
14857
- * Minimum `score` a result must reach to be returned. Filters on the implementation-defined `score`, not on `similarity_score`, so the cutoff follows the ranking. Only applies when `query` is provided. Because the scale behind `score` is not part of the contract, treat a tuned value as tied to the deployment rather than portable.
14892
+ * 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.
14893
+ */
14894
+ min_similarity?: number;
14895
+ /**
14896
+ * 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.
14897
+ *
14898
+ * @deprecated
14858
14899
  */
14859
14900
  min_score?: number;
14901
+ /**
14902
+ * 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.
14903
+ */
14904
+ rrf_k?: number;
14905
+ /**
14906
+ * Half-life, in days, of a recency decay applied to **memory** 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.
14907
+ */
14908
+ recency_half_life_days?: number;
14860
14909
  /**
14861
14910
  * 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.
14862
14911
  */
@@ -14865,10 +14914,6 @@ type SearchKnowledgeData = {
14865
14914
  * Search entries within these specific memories
14866
14915
  */
14867
14916
  memory_ids?: Array<string>;
14868
- /**
14869
- * Search entries in memories whose tags match any of these patterns (glob supported)
14870
- */
14871
- memory_tags?: Array<string>;
14872
14917
  /**
14873
14918
  * Filter results to documents whose file path starts with one of these prefixes
14874
14919
  */
@@ -14877,6 +14922,10 @@ type SearchKnowledgeData = {
14877
14922
  * Filter results to specific document IDs
14878
14923
  */
14879
14924
  document_ids?: Array<string>;
14925
+ /**
14926
+ * Filter results to documents and memory entries 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 memory it matches at entry granularity: an entry is returned when its parent memory's tags match or its own do.
14927
+ */
14928
+ tags?: TagBag;
14880
14929
  };
14881
14930
  path: {
14882
14931
  /**
@@ -14921,7 +14970,7 @@ type ListMemoriesData = {
14921
14970
  };
14922
14971
  query?: {
14923
14972
  /**
14924
- * Filter memories by tag patterns. Supports glob syntax (`*` matches any substring, `?` matches any single character). Multiple values are ORed a memory is returned if any of its tags match any of the provided patterns. Omit to return all memories.
14973
+ * Filter by tag pairs, written `key:value` (split on the first colon, so a value may contain colons). Repeat the parameter for several pairs; **all** must be present with exactly that value.
14925
14974
  *
14926
14975
  */
14927
14976
  tags?: Array<string>;
@@ -14973,9 +15022,9 @@ type CreateMemoryData = {
14973
15022
  */
14974
15023
  description?: string;
14975
15024
  /**
14976
- * Optional list of tags for filtering in knowledge search
15025
+ * Optional key-value tags. Scopes the memory in knowledge search, where every requested pair must match exactly.
14977
15026
  */
14978
- tags?: Array<string>;
15027
+ tags?: TagBag;
14979
15028
  };
14980
15029
  path: {
14981
15030
  /**
@@ -15096,9 +15145,9 @@ type UpdateMemoryData = {
15096
15145
  */
15097
15146
  description?: string | null;
15098
15147
  /**
15099
- * Optional list of tags for filtering in knowledge search
15148
+ * Optional key-value tags. Replaces the stored bag; `null` clears it.
15100
15149
  */
15101
- tags?: Array<string> | null;
15150
+ tags?: NullableTagBag;
15102
15151
  };
15103
15152
  path: {
15104
15153
  /**
@@ -15135,6 +15184,122 @@ type UpdateMemoryResponses = {
15135
15184
  200: Memory;
15136
15185
  };
15137
15186
  type UpdateMemoryResponse = UpdateMemoryResponses[keyof UpdateMemoryResponses];
15187
+ type GetMemoryTagsData = {
15188
+ body?: never;
15189
+ path: {
15190
+ /**
15191
+ * Project public ID (proj_ prefix).
15192
+ */
15193
+ project_id: string;
15194
+ /**
15195
+ * Memory ID
15196
+ */
15197
+ memory_id: string;
15198
+ };
15199
+ query?: never;
15200
+ url: '/v1/projects/{project_id}/memories/{memory_id}/tags';
15201
+ };
15202
+ type GetMemoryTagsErrors = {
15203
+ /**
15204
+ * Unauthorized
15205
+ */
15206
+ 401: unknown;
15207
+ /**
15208
+ * Forbidden
15209
+ */
15210
+ 403: unknown;
15211
+ /**
15212
+ * Memory not found
15213
+ */
15214
+ 404: unknown;
15215
+ };
15216
+ type GetMemoryTagsResponses = {
15217
+ /**
15218
+ * Memory tags
15219
+ */
15220
+ 200: TagBag;
15221
+ };
15222
+ type GetMemoryTagsResponse = GetMemoryTagsResponses[keyof GetMemoryTagsResponses];
15223
+ type MergeMemoryTagsData = {
15224
+ body: TagBag;
15225
+ path: {
15226
+ /**
15227
+ * Project public ID (proj_ prefix).
15228
+ */
15229
+ project_id: string;
15230
+ /**
15231
+ * Memory ID
15232
+ */
15233
+ memory_id: string;
15234
+ };
15235
+ query?: never;
15236
+ url: '/v1/projects/{project_id}/memories/{memory_id}/tags';
15237
+ };
15238
+ type MergeMemoryTagsErrors = {
15239
+ /**
15240
+ * Body is not an object of string values
15241
+ */
15242
+ 400: unknown;
15243
+ /**
15244
+ * Unauthorized
15245
+ */
15246
+ 401: unknown;
15247
+ /**
15248
+ * Forbidden
15249
+ */
15250
+ 403: unknown;
15251
+ /**
15252
+ * Memory not found
15253
+ */
15254
+ 404: unknown;
15255
+ };
15256
+ type MergeMemoryTagsResponses = {
15257
+ /**
15258
+ * Tags merged
15259
+ */
15260
+ 200: TagBag;
15261
+ };
15262
+ type MergeMemoryTagsResponse = MergeMemoryTagsResponses[keyof MergeMemoryTagsResponses];
15263
+ type ReplaceMemoryTagsData = {
15264
+ body: TagBag;
15265
+ path: {
15266
+ /**
15267
+ * Project public ID (proj_ prefix).
15268
+ */
15269
+ project_id: string;
15270
+ /**
15271
+ * Memory ID
15272
+ */
15273
+ memory_id: string;
15274
+ };
15275
+ query?: never;
15276
+ url: '/v1/projects/{project_id}/memories/{memory_id}/tags';
15277
+ };
15278
+ type ReplaceMemoryTagsErrors = {
15279
+ /**
15280
+ * Body is not an object of string values
15281
+ */
15282
+ 400: unknown;
15283
+ /**
15284
+ * Unauthorized
15285
+ */
15286
+ 401: unknown;
15287
+ /**
15288
+ * Forbidden
15289
+ */
15290
+ 403: unknown;
15291
+ /**
15292
+ * Memory not found
15293
+ */
15294
+ 404: unknown;
15295
+ };
15296
+ type ReplaceMemoryTagsResponses = {
15297
+ /**
15298
+ * Tags replaced
15299
+ */
15300
+ 200: TagBag;
15301
+ };
15302
+ type ReplaceMemoryTagsResponse = ReplaceMemoryTagsResponses[keyof ReplaceMemoryTagsResponses];
15138
15303
  type ListMemoryEntriesData = {
15139
15304
  body?: never;
15140
15305
  path: {
@@ -15148,6 +15313,11 @@ type ListMemoryEntriesData = {
15148
15313
  * Memory container to list entries from (mem_...)
15149
15314
  */
15150
15315
  memory_id: string;
15316
+ /**
15317
+ * Filter by tag pairs, written `key:value` (split on the first colon, so a value may contain colons). Repeat the parameter for several pairs; **all** must be present with exactly that value.
15318
+ *
15319
+ */
15320
+ tags?: Array<string>;
15151
15321
  /**
15152
15322
  * Maximum number of results to return
15153
15323
  */
@@ -15208,9 +15378,9 @@ type CreateMemoryEntryData = {
15208
15378
  */
15209
15379
  source_type?: 'manual' | 'agent' | 'extraction' | 'orchestration';
15210
15380
  /**
15211
- * Per-entry tag strings, used for entry-granularity filtering in search-knowledge (memory_tags)
15381
+ * Per-entry key-value tags, used for entry-granularity filtering by `tags` in search-knowledge.
15212
15382
  */
15213
- tags?: Array<string>;
15383
+ tags?: TagBag;
15214
15384
  /**
15215
15385
  * Arbitrary structured metadata attached to the entry
15216
15386
  */
@@ -15349,9 +15519,9 @@ type UpdateMemoryEntryData = {
15349
15519
  */
15350
15520
  content?: string;
15351
15521
  /**
15352
- * Replaces the entry's tags. Pass null or an empty array to clear.
15522
+ * Replaces the entry's tags. Pass null or an empty object to clear.
15353
15523
  */
15354
- tags?: Array<string> | null;
15524
+ tags?: NullableTagBag;
15355
15525
  /**
15356
15526
  * Replaces the entry's metadata. Pass null to clear.
15357
15527
  */
@@ -15394,6 +15564,122 @@ type UpdateMemoryEntryResponses = {
15394
15564
  200: MemoryEntry;
15395
15565
  };
15396
15566
  type UpdateMemoryEntryResponse = UpdateMemoryEntryResponses[keyof UpdateMemoryEntryResponses];
15567
+ type GetMemoryEntryTagsData = {
15568
+ body?: never;
15569
+ path: {
15570
+ /**
15571
+ * Project public ID (proj_ prefix).
15572
+ */
15573
+ project_id: string;
15574
+ /**
15575
+ * Memory entry ID
15576
+ */
15577
+ entry_id: string;
15578
+ };
15579
+ query?: never;
15580
+ url: '/v1/projects/{project_id}/memory-entries/{entry_id}/tags';
15581
+ };
15582
+ type GetMemoryEntryTagsErrors = {
15583
+ /**
15584
+ * Unauthorized
15585
+ */
15586
+ 401: unknown;
15587
+ /**
15588
+ * Forbidden
15589
+ */
15590
+ 403: unknown;
15591
+ /**
15592
+ * Memory or entry not found
15593
+ */
15594
+ 404: unknown;
15595
+ };
15596
+ type GetMemoryEntryTagsResponses = {
15597
+ /**
15598
+ * Memory entry tags
15599
+ */
15600
+ 200: TagBag;
15601
+ };
15602
+ type GetMemoryEntryTagsResponse = GetMemoryEntryTagsResponses[keyof GetMemoryEntryTagsResponses];
15603
+ type MergeMemoryEntryTagsData = {
15604
+ body: TagBag;
15605
+ path: {
15606
+ /**
15607
+ * Project public ID (proj_ prefix).
15608
+ */
15609
+ project_id: string;
15610
+ /**
15611
+ * Memory entry ID
15612
+ */
15613
+ entry_id: string;
15614
+ };
15615
+ query?: never;
15616
+ url: '/v1/projects/{project_id}/memory-entries/{entry_id}/tags';
15617
+ };
15618
+ type MergeMemoryEntryTagsErrors = {
15619
+ /**
15620
+ * Body is not an object of string values
15621
+ */
15622
+ 400: unknown;
15623
+ /**
15624
+ * Unauthorized
15625
+ */
15626
+ 401: unknown;
15627
+ /**
15628
+ * Forbidden
15629
+ */
15630
+ 403: unknown;
15631
+ /**
15632
+ * Memory or entry not found
15633
+ */
15634
+ 404: unknown;
15635
+ };
15636
+ type MergeMemoryEntryTagsResponses = {
15637
+ /**
15638
+ * Tags merged
15639
+ */
15640
+ 200: TagBag;
15641
+ };
15642
+ type MergeMemoryEntryTagsResponse = MergeMemoryEntryTagsResponses[keyof MergeMemoryEntryTagsResponses];
15643
+ type ReplaceMemoryEntryTagsData = {
15644
+ body: TagBag;
15645
+ path: {
15646
+ /**
15647
+ * Project public ID (proj_ prefix).
15648
+ */
15649
+ project_id: string;
15650
+ /**
15651
+ * Memory entry ID
15652
+ */
15653
+ entry_id: string;
15654
+ };
15655
+ query?: never;
15656
+ url: '/v1/projects/{project_id}/memory-entries/{entry_id}/tags';
15657
+ };
15658
+ type ReplaceMemoryEntryTagsErrors = {
15659
+ /**
15660
+ * Body is not an object of string values
15661
+ */
15662
+ 400: unknown;
15663
+ /**
15664
+ * Unauthorized
15665
+ */
15666
+ 401: unknown;
15667
+ /**
15668
+ * Forbidden
15669
+ */
15670
+ 403: unknown;
15671
+ /**
15672
+ * Memory or entry not found
15673
+ */
15674
+ 404: unknown;
15675
+ };
15676
+ type ReplaceMemoryEntryTagsResponses = {
15677
+ /**
15678
+ * Tags replaced
15679
+ */
15680
+ 200: TagBag;
15681
+ };
15682
+ type ReplaceMemoryEntryTagsResponse = ReplaceMemoryEntryTagsResponses[keyof ReplaceMemoryEntryTagsResponses];
15397
15683
  type ListModelRoutesData = {
15398
15684
  body?: never;
15399
15685
  path: {
@@ -17605,6 +17891,11 @@ type ListSessionsData = {
17605
17891
  * Filter by session status (open, closed, or expired)
17606
17892
  */
17607
17893
  status?: 'open' | 'closed' | 'expired';
17894
+ /**
17895
+ * Filter by tag pairs, written `key:value` (split on the first colon, so a value may contain colons). Repeat the parameter for several pairs; **all** must be present with exactly that value.
17896
+ *
17897
+ */
17898
+ tags?: Array<string>;
17608
17899
  limit?: number;
17609
17900
  offset?: number;
17610
17901
  };
@@ -18056,15 +18347,11 @@ type GetSessionTagsResponses = {
18056
18347
  /**
18057
18348
  * Session tags
18058
18349
  */
18059
- 200: {
18060
- [key: string]: string;
18061
- };
18350
+ 200: TagBag;
18062
18351
  };
18063
18352
  type GetSessionTagsResponse = GetSessionTagsResponses[keyof GetSessionTagsResponses];
18064
18353
  type MergeSessionTagsData = {
18065
- body: {
18066
- [key: string]: string;
18067
- };
18354
+ body: TagBag;
18068
18355
  path: {
18069
18356
  /**
18070
18357
  * Project public ID (proj_ prefix).
@@ -18098,15 +18385,11 @@ type MergeSessionTagsResponses = {
18098
18385
  /**
18099
18386
  * Updated tags
18100
18387
  */
18101
- 200: {
18102
- [key: string]: string;
18103
- };
18388
+ 200: TagBag;
18104
18389
  };
18105
18390
  type MergeSessionTagsResponse = MergeSessionTagsResponses[keyof MergeSessionTagsResponses];
18106
18391
  type ReplaceSessionTagsData = {
18107
- body: {
18108
- [key: string]: string;
18109
- };
18392
+ body: TagBag;
18110
18393
  path: {
18111
18394
  /**
18112
18395
  * Project public ID (proj_ prefix).
@@ -18140,9 +18423,7 @@ type ReplaceSessionTagsResponses = {
18140
18423
  /**
18141
18424
  * Updated tags
18142
18425
  */
18143
- 200: {
18144
- [key: string]: string;
18145
- };
18426
+ 200: TagBag;
18146
18427
  };
18147
18428
  type ReplaceSessionTagsResponse = ReplaceSessionTagsResponses[keyof ReplaceSessionTagsResponses];
18148
18429
  type ListTasksData = {
@@ -20043,7 +20324,7 @@ declare class Actors {
20043
20324
  /**
20044
20325
  * Merge actor tags
20045
20326
  *
20046
- * Merges provided tags with existing tags (existing tags are preserved unless overridden)
20327
+ * Merges provided tags into the actor's existing tags (existing tags are preserved unless overridden)
20047
20328
  */
20048
20329
  static mergeActorTags<ThrowOnError extends boolean = false>(options: Options<MergeActorTagsData, ThrowOnError>): RequestResult<MergeActorTagsResponses, MergeActorTagsErrors, ThrowOnError>;
20049
20330
  /**
@@ -20695,7 +20976,7 @@ declare class Conversations {
20695
20976
  /**
20696
20977
  * Merge conversation tags
20697
20978
  *
20698
- * Merges provided tags with existing tags
20979
+ * Merges provided tags into the conversation's existing tags (existing tags are preserved unless overridden)
20699
20980
  */
20700
20981
  static mergeConversationTags<ThrowOnError extends boolean = false>(options: Options<MergeConversationTagsData, ThrowOnError>): RequestResult<MergeConversationTagsResponses, MergeConversationTagsErrors, ThrowOnError>;
20701
20982
  /**
@@ -20786,7 +21067,7 @@ declare class Documents {
20786
21067
  /**
20787
21068
  * Merge document tags
20788
21069
  *
20789
- * Merges provided tags with existing tags (existing tags are preserved unless overridden)
21070
+ * Merges provided tags into the document's existing tags (existing tags are preserved unless overridden)
20790
21071
  */
20791
21072
  static mergeDocumentTags<ThrowOnError extends boolean = false>(options: Options<MergeDocumentTagsData, ThrowOnError>): RequestResult<MergeDocumentTagsResponses, MergeDocumentTagsErrors, ThrowOnError>;
20792
21073
  /**
@@ -21046,7 +21327,7 @@ declare class Files {
21046
21327
  /**
21047
21328
  * Merge file tags
21048
21329
  *
21049
- * Merges provided tags with existing tags
21330
+ * Merges provided tags into the file's existing tags (existing tags are preserved unless overridden)
21050
21331
  */
21051
21332
  static mergeFileTags<ThrowOnError extends boolean = false>(options: Options<MergeFileTagsData, ThrowOnError>): RequestResult<MergeFileTagsResponses, MergeFileTagsErrors, ThrowOnError>;
21052
21333
  /**
@@ -21271,7 +21552,7 @@ declare class Knowledge {
21271
21552
  /**
21272
21553
  * Search knowledge
21273
21554
  *
21274
- * Searches across documents and memory entries using semantic search, file paths, document IDs, or memory IDs/tags. At least one of `query`, `document_paths`, `document_ids`, `memory_ids`, or `memory_tags` must be provided.
21555
+ * Searches across documents and memory entries using hybrid retrieval — a vector query and a full-text query per source, fused by reciprocal rank — or by file paths, document IDs, memory IDs, or tags. At least one of `query`, `tags`, `document_paths`, `document_ids`, or `memory_ids` must be provided.
21275
21556
  */
21276
21557
  static searchKnowledge<ThrowOnError extends boolean = false>(options: Options<SearchKnowledgeData, ThrowOnError>): RequestResult<SearchKnowledgeResponses, SearchKnowledgeErrors, ThrowOnError>;
21277
21558
  }
@@ -21306,6 +21587,24 @@ declare class Memories {
21306
21587
  * Updates an existing memory configuration
21307
21588
  */
21308
21589
  static updateMemory<ThrowOnError extends boolean = false>(options: Options<UpdateMemoryData, ThrowOnError>): RequestResult<UpdateMemoryResponses, UpdateMemoryErrors, ThrowOnError>;
21590
+ /**
21591
+ * Get memory tags
21592
+ *
21593
+ * Returns all tags attached to the memory
21594
+ */
21595
+ static getMemoryTags<ThrowOnError extends boolean = false>(options: Options<GetMemoryTagsData, ThrowOnError>): RequestResult<GetMemoryTagsResponses, GetMemoryTagsErrors, ThrowOnError>;
21596
+ /**
21597
+ * Merge memory tags
21598
+ *
21599
+ * Merges provided tags into the memory's existing tags (existing tags are preserved unless overridden)
21600
+ */
21601
+ static mergeMemoryTags<ThrowOnError extends boolean = false>(options: Options<MergeMemoryTagsData, ThrowOnError>): RequestResult<MergeMemoryTagsResponses, MergeMemoryTagsErrors, ThrowOnError>;
21602
+ /**
21603
+ * Replace memory tags
21604
+ *
21605
+ * Replaces all tags on the memory with the provided tags (not merged)
21606
+ */
21607
+ static replaceMemoryTags<ThrowOnError extends boolean = false>(options: Options<ReplaceMemoryTagsData, ThrowOnError>): RequestResult<ReplaceMemoryTagsResponses, ReplaceMemoryTagsErrors, ThrowOnError>;
21309
21608
  }
21310
21609
  declare class MemoryEntries {
21311
21610
  /**
@@ -21338,6 +21637,24 @@ declare class MemoryEntries {
21338
21637
  * Updates an existing memory entry. Regenerates the embedding if content changes.
21339
21638
  */
21340
21639
  static updateMemoryEntry<ThrowOnError extends boolean = false>(options: Options<UpdateMemoryEntryData, ThrowOnError>): RequestResult<UpdateMemoryEntryResponses, UpdateMemoryEntryErrors, ThrowOnError>;
21640
+ /**
21641
+ * Get memory entry tags
21642
+ *
21643
+ * Returns all tags attached to the memory entry
21644
+ */
21645
+ static getMemoryEntryTags<ThrowOnError extends boolean = false>(options: Options<GetMemoryEntryTagsData, ThrowOnError>): RequestResult<GetMemoryEntryTagsResponses, GetMemoryEntryTagsErrors, ThrowOnError>;
21646
+ /**
21647
+ * Merge memory entry tags
21648
+ *
21649
+ * Merges provided tags into the memory entry's existing tags (existing tags are preserved unless overridden)
21650
+ */
21651
+ static mergeMemoryEntryTags<ThrowOnError extends boolean = false>(options: Options<MergeMemoryEntryTagsData, ThrowOnError>): RequestResult<MergeMemoryEntryTagsResponses, MergeMemoryEntryTagsErrors, ThrowOnError>;
21652
+ /**
21653
+ * Replace memory entry tags
21654
+ *
21655
+ * Replaces all tags on the memory entry with the provided tags (not merged)
21656
+ */
21657
+ static replaceMemoryEntryTags<ThrowOnError extends boolean = false>(options: Options<ReplaceMemoryEntryTagsData, ThrowOnError>): RequestResult<ReplaceMemoryEntryTagsResponses, ReplaceMemoryEntryTagsErrors, ThrowOnError>;
21341
21658
  }
21342
21659
  declare class ModelRoutes {
21343
21660
  /**
@@ -22256,4 +22573,4 @@ declare class NaturaliClient {
22256
22573
  constructor({ token, headers }?: NaturaliClientOptions);
22257
22574
  }
22258
22575
  //#endregion
22259
- export { type AbortAgentReleaseData, type AbortAgentReleaseError, type AbortAgentReleaseErrors, type AbortAgentReleaseResponse, type AbortAgentReleaseResponses, type AcceptedGenerationResponse, type AcknowledgeExceptionData, type AcknowledgeExceptionErrors, type AcknowledgeExceptionResponse, type AcknowledgeExceptionResponses, type Acknowledgement, Activity, type ActivityEntry, type ActorRecord, type ActorResourceProperties, Actors, type AddConversationMessageData, type AddConversationMessageError, type AddConversationMessageErrors, type AddConversationMessageResponse, type AddConversationMessageResponses, type AddProjectMemberData, type AddProjectMemberError, type AddProjectMemberErrors, type AddProjectMemberResponse, type AddProjectMemberResponses, type AddSessionMessageData, type AddSessionMessageError, type AddSessionMessageErrors, type AddSessionMessageRequest, type AddSessionMessageResponse, type AddSessionMessageResponse2, type AddSessionMessageResponses, type AddSessionMessageSaved, type Address, type AddressActionSet, type AddressList, Admin, type AdminUser, type AdminUserPage, type Agent, type AgentGenerationResponse, type AgentRelease, type AgentResourceProperties, type AgentVersion, AgentVersions, Agents, type AggregateScores, type AiProviderResourceProperties, AiProviders, type ApiKeyCreate, type ApiKeyCreated, type ApiKeyId, type ApiKeyList, type ApiKeyRecord, type ApiKeyUpdate, ApiKeys, type ApprovalId, type ApprovalItem, type ApprovalRecurrenceGroup, Approvals, type ApproveApprovalData, type ApproveApprovalErrors, type ApproveApprovalResponse, type ApproveApprovalResponses, Assistant, type AssistantChannel, type AssistantGrant, type AssistantGrantList, type AssistantLinkPreview, type AssistantLinkRedeem, type AssistantScope, type AuditEntry, AuditLog, Auth, type AuthSession, type BaselineComparison, type CallToolData, type CallToolError, type CallToolErrors, type CallToolRequest, type CallToolResponses, type CancelEvalRunData, type CancelEvalRunErrors, type CancelEvalRunResponse, type CancelEvalRunResponses, type CancelOrchestrationRunData, type CancelOrchestrationRunErrors, type CancelOrchestrationRunResponse, type CancelOrchestrationRunResponses, type Chain, type ChainId, Chains, type Channel, type ChannelCreate, type ChannelDefaultAction, type ChannelDefaultActionInput, type ChannelId, type ChannelKind, type ChannelKindList, type ChannelList, type ChannelPredicate, type ChannelRoute, type ChannelRouteList, type ChannelRouteWrite, type ChannelSurface, type ChannelUpdate, Channels, type ClientOptions, type ContainsScorer, type Conversation, type ConversationId, type ConversationList, type ConversationMessage, type ConversationMessageList, type ConversationMessageRecord, type ConversationRecord, type ConversationResourceProperties, Conversations, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentData, type CreateAgentError, type CreateAgentErrors, type CreateAgentGenerationData, type CreateAgentGenerationError, type CreateAgentGenerationErrors, type CreateAgentGenerationRequest, type CreateAgentGenerationResponse, type CreateAgentGenerationResponses, type CreateAgentRequest, type CreateAgentResponse, type CreateAgentResponses, type CreateAiProviderData, type CreateAiProviderErrors, type CreateAiProviderResponse, type CreateAiProviderResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChannelData, type CreateChannelError, type CreateChannelErrors, type CreateChannelResponse, type CreateChannelResponses, type CreateChannelRouteData, type CreateChannelRouteError, type CreateChannelRouteErrors, type CreateChannelRouteResponse, type CreateChannelRouteResponses, type CreateConversationData, type CreateConversationError, type CreateConversationErrors, type CreateConversationResponse, type CreateConversationResponses, type CreateDatasetData, type CreateDatasetErrors, type CreateDatasetItemData, type CreateDatasetItemErrors, type CreateDatasetItemFromGenerationData, type CreateDatasetItemFromGenerationErrors, type CreateDatasetItemFromGenerationResponse, type CreateDatasetItemFromGenerationResponses, type CreateDatasetItemResponse, type CreateDatasetItemResponses, type CreateDatasetResponse, type CreateDatasetResponses, type CreateDocumentData, type CreateDocumentError, type CreateDocumentErrors, type CreateDocumentResponse, type CreateDocumentResponses, type CreateEmbeddingsData, type CreateEmbeddingsError, type CreateEmbeddingsErrors, type CreateEmbeddingsResponse, type CreateEmbeddingsResponses, type CreateEvalData, type CreateEvalErrors, type CreateEvalResponse, type CreateEvalResponses, type CreateFileData, type CreateFileError, type CreateFileErrors, type CreateFileResponse, type CreateFileResponses, type CreateFormationData, type CreateFormationErrors, type CreateFormationResponse, type CreateFormationResponses, type CreateGuardrailData, type CreateGuardrailError, type CreateGuardrailErrors, type CreateGuardrailRequest, type CreateGuardrailResponse, type CreateGuardrailResponses, type CreateIngestionRuleData, type CreateIngestionRuleErrors, type CreateIngestionRuleResponse, type CreateIngestionRuleResponses, type CreateMemoryData, type CreateMemoryEntryData, type CreateMemoryEntryErrors, type CreateMemoryEntryResponse, type CreateMemoryEntryResponses, type CreateMemoryErrors, type CreateMemoryResponse, type CreateMemoryResponses, type CreateModelRouteData, type CreateModelRouteErrors, type CreateModelRouteResponse, type CreateModelRouteResponses, type CreateOrchestrationData, type CreateOrchestrationErrors, type CreateOrchestrationRequest, type CreateOrchestrationResponse, type CreateOrchestrationResponses, type CreateProjectData, type CreateProjectError, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateProjectUsageThresholdData, type CreateProjectUsageThresholdError, type CreateProjectUsageThresholdErrors, type CreateProjectUsageThresholdResponse, type CreateProjectUsageThresholdResponses, type CreateQuotaData, type CreateQuotaErrors, type CreateQuotaResponse, type CreateQuotaResponses, type CreateSecretData, type CreateSecretErrors, type CreateSecretResponse, type CreateSecretResponses, type CreateSessionData, type CreateSessionError, type CreateSessionErrors, type CreateSessionRequest, type CreateSessionResponse, type CreateSessionResponses, type CreateTaskData, type CreateTaskErrors, type CreateTaskRequest, type CreateTaskResponse, type CreateTaskResponses, type CreateToolData, type CreateToolError, type CreateToolErrors, type CreateToolRequest, type CreateToolResponse, type CreateToolResponses, type CreateTriggerData, type CreateTriggerErrors, type CreateTriggerRequest, type CreateTriggerResponse, type CreateTriggerResponses, type CreateWebhookData, type CreateWebhookError, type CreateWebhookErrors, type CreateWebhookResponse, type CreateWebhookResponses, type CreateWorkflowData, type CreateWorkflowErrors, type CreateWorkflowRequest, type CreateWorkflowResponse, type CreateWorkflowResponses, type CreditEntry, type CreditEntryPage, type CreditGrant, type CreditGrantResult, type Cursor, type Dataset, type DatasetItem, type DatasetItemInput, type DatasetItemResourceProperties, type DatasetResourceProperties, type DeleteActorData, type DeleteActorError, type DeleteActorErrors, type DeleteActorResponse, type DeleteActorResponses, type DeleteAddressData, type DeleteAddressError, type DeleteAddressErrors, type DeleteAddressResponse, type DeleteAddressResponses, type DeleteAgentData, type DeleteAgentError, type DeleteAgentErrors, type DeleteAgentResponse, type DeleteAgentResponses, type DeleteAiProviderData, type DeleteAiProviderErrors, type DeleteAiProviderResponse, type DeleteAiProviderResponses, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyErrors, type DeleteApiKeyResponse, type DeleteApiKeyResponses, type DeleteChannelData, type DeleteChannelError, type DeleteChannelErrors, type DeleteChannelResponse, type DeleteChannelResponses, type DeleteChannelRouteData, type DeleteChannelRouteError, type DeleteChannelRouteErrors, type DeleteChannelRouteResponse, type DeleteChannelRouteResponses, type DeleteConversationData, type DeleteConversationError, type DeleteConversationErrors, type DeleteConversationResponse, type DeleteConversationResponses, type DeleteDatasetData, type DeleteDatasetErrors, type DeleteDatasetItemData, type DeleteDatasetItemErrors, type DeleteDatasetItemResponse, type DeleteDatasetItemResponses, type DeleteDatasetResponse, type DeleteDatasetResponses, type DeleteDocumentData, type DeleteDocumentError, type DeleteDocumentErrors, type DeleteDocumentResponse, type DeleteDocumentResponses, type DeleteEvalData, type DeleteEvalErrors, type DeleteEvalResponse, type DeleteEvalResponses, type DeleteFileData, type DeleteFileError, type DeleteFileErrors, type DeleteFileResponse, type DeleteFileResponses, type DeleteFormationData, type DeleteFormationErrors, type DeleteFormationResponse, type DeleteFormationResponses, type DeleteGuardrailData, type DeleteGuardrailError, type DeleteGuardrailErrors, type DeleteGuardrailResponse, type DeleteGuardrailResponses, type DeleteIngestionRuleData, type DeleteIngestionRuleErrors, type DeleteIngestionRuleResponse, type DeleteIngestionRuleResponses, type DeleteMemoryData, type DeleteMemoryEntryData, type DeleteMemoryEntryErrors, type DeleteMemoryEntryResponse, type DeleteMemoryEntryResponses, type DeleteMemoryErrors, type DeleteMemoryResponse, type DeleteMemoryResponses, type DeleteModelRouteData, type DeleteModelRouteErrors, type DeleteModelRouteResponse, type DeleteModelRouteResponses, type DeleteOrchestrationData, type DeleteOrchestrationErrors, type DeleteOrchestrationResponse, type DeleteOrchestrationResponses, type DeleteProjectData, type DeleteProjectError, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteProjectUsageThresholdData, type DeleteProjectUsageThresholdError, type DeleteProjectUsageThresholdErrors, type DeleteProjectUsageThresholdResponse, type DeleteProjectUsageThresholdResponses, type DeleteQuotaData, type DeleteQuotaErrors, type DeleteQuotaResponse, type DeleteQuotaResponses, type DeleteSecretData, type DeleteSecretErrors, type DeleteSecretResponses, type DeleteSessionData, type DeleteSessionError, type DeleteSessionErrors, type DeleteSessionResponse, type DeleteSessionResponses, type DeleteTaskData, type DeleteTaskErrors, type DeleteTaskResponse, type DeleteTaskResponses, type DeleteToolData, type DeleteToolError, type DeleteToolErrors, type DeleteToolResponse, type DeleteToolResponses, type DeleteTriggerData, type DeleteTriggerErrors, type DeleteTriggerResponse, type DeleteTriggerResponses, type DeleteWebhookData, type DeleteWebhookError, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type DeleteWorkflowData, type DeleteWorkflowErrors, type DeleteWorkflowResponse, type DeleteWorkflowResponses, type DeliveryId, type DiscordModes, type DocumentKnowledgeResult, type DocumentMessageContent, type DocumentRecord, type DocumentResourceProperties, type DocumentStatusRecord, Documents, type DownloadFileBase64Data, type DownloadFileBase64Error, type DownloadFileBase64Errors, type DownloadFileBase64Response, type DownloadFileBase64Responses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, type EmbeddingSimilarityScorer, Embeddings, type EmbeddingsResponse, type ErrorResponse, type Eval, type EvalResourceProperties, type EvalResult, type EvalRun, type EvaluateGuardrailData, type EvaluateGuardrailError, type EvaluateGuardrailErrors, type EvaluateGuardrailResponse, type EvaluateGuardrailResponses, Evaluations, type Event, type EventSubscription, type EventType, type ExactMatchScorer, type ExceptionId, type ExceptionItem, Exceptions, type ExportAuditEntriesData, type ExportAuditEntriesErrors, type ExportAuditEntriesResponse, type ExportAuditEntriesResponses, type FileRecord, type FileRecordWritable, type FileResourceProperties, Files, type FireTriggerData, type FireTriggerErrors, type FireTriggerRequest, type FireTriggerResponse, type FireTriggerResponses, type Force, type ForkSessionData, type ForkSessionError, type ForkSessionErrors, type ForkSessionRequest, type ForkSessionResponse, type ForkSessionResponses, type Formation, type FormationError, type FormationEvent, type FormationOperation, type FormationResource, type FormationTemplate, type FormationTemplateInput, Formations, type GenerateConversationMessageCompleted, type GenerateConversationMessageData, type GenerateConversationMessageError, type GenerateConversationMessageErrors, type GenerateConversationMessageRequiresAction, type GenerateConversationMessageResponse, type GenerateConversationMessageResponse2, type GenerateConversationMessageResponses, type GenerateSessionRequest, type GenerateSessionResponse, type GenerateSessionResponseData, type GenerateSessionResponseError, type GenerateSessionResponseErrors, type GenerateSessionResponseResponse, type GenerateSessionResponseResponses, type Generation, type GenerationTranscript, Generations, type GetActorData, type GetActorError, type GetActorErrors, type GetActorResponse, type GetActorResponses, type GetActorTagsData, type GetActorTagsError, type GetActorTagsErrors, type GetActorTagsResponse, type GetActorTagsResponses, type GetAddressData, type GetAddressError, type GetAddressErrors, type GetAddressResponse, type GetAddressResponses, type GetAdminPriceBookData, type GetAdminPriceBookError, type GetAdminPriceBookErrors, type GetAdminPriceBookResponse, type GetAdminPriceBookResponses, type GetAgentData, type GetAgentError, type GetAgentErrors, type GetAgentResponse, type GetAgentResponses, type GetAgentVersionData, type GetAgentVersionError, type GetAgentVersionErrors, type GetAgentVersionResponse, type GetAgentVersionResponses, type GetAiProviderData, type GetAiProviderErrors, type GetAiProviderPricesData, type GetAiProviderPricesErrors, type GetAiProviderPricesResponse, type GetAiProviderPricesResponses, type GetAiProviderResponse, type GetAiProviderResponses, type GetApiKeyData, type GetApiKeyError, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, type GetApprovalData, type GetApprovalErrors, type GetApprovalResponse, type GetApprovalResponses, type GetAuditEntryData, type GetAuditEntryErrors, type GetAuditEntryResponse, type GetAuditEntryResponses, type GetChainData, type GetChainErrors, type GetChainResponse, type GetChainResponses, type GetChannelConversationData, type GetChannelConversationError, type GetChannelConversationErrors, type GetChannelConversationResponse, type GetChannelConversationResponses, type GetChannelData, type GetChannelError, type GetChannelErrors, type GetChannelResponse, type GetChannelResponses, type GetChannelRouteData, type GetChannelRouteError, type GetChannelRouteErrors, type GetChannelRouteResponse, type GetChannelRouteResponses, type GetConversationData, type GetConversationError, type GetConversationErrors, type GetConversationResponse, type GetConversationResponses, type GetConversationTagsData, type GetConversationTagsError, type GetConversationTagsErrors, type GetConversationTagsResponse, type GetConversationTagsResponses, type GetCurrentUserBillingData, type GetCurrentUserBillingError, type GetCurrentUserBillingErrors, type GetCurrentUserBillingResponse, type GetCurrentUserBillingResponses, type GetCurrentUserData, type GetCurrentUserError, type GetCurrentUserErrors, type GetCurrentUserResponse, type GetCurrentUserResponses, type GetCurrentUserUsageData, type GetCurrentUserUsageError, type GetCurrentUserUsageErrors, type GetCurrentUserUsageResponse, type GetCurrentUserUsageResponses, type GetDatasetData, type GetDatasetErrors, type GetDatasetResponse, type GetDatasetResponses, type GetDocumentData, type GetDocumentError, type GetDocumentErrors, type GetDocumentResponse, type GetDocumentResponses, type GetDocumentStatusData, type GetDocumentStatusError, type GetDocumentStatusErrors, type GetDocumentStatusResponse, type GetDocumentStatusResponses, type GetDocumentTagsData, type GetDocumentTagsError, type GetDocumentTagsErrors, type GetDocumentTagsResponse, type GetDocumentTagsResponses, type GetEvalData, type GetEvalErrors, type GetEvalResponse, type GetEvalResponses, type GetEvalRunData, type GetEvalRunErrors, type GetEvalRunResponse, type GetEvalRunResponses, type GetExceptionData, type GetExceptionErrors, type GetExceptionResponse, type GetExceptionResponses, type GetFileData, type GetFileError, type GetFileErrors, type GetFileResponse, type GetFileResponses, type GetFileTagsData, type GetFileTagsError, type GetFileTagsErrors, type GetFileTagsResponse, type GetFileTagsResponses, type GetFormationData, type GetFormationErrors, type GetFormationResponse, type GetFormationResponses, type GetGenerationData, type GetGenerationError, type GetGenerationErrors, type GetGenerationResponse, type GetGenerationResponses, type GetGenerationTranscriptData, type GetGenerationTranscriptError, type GetGenerationTranscriptErrors, type GetGenerationTranscriptResponse, type GetGenerationTranscriptResponses, type GetGuardrailData, type GetGuardrailError, type GetGuardrailErrors, type GetGuardrailResponse, type GetGuardrailResponses, type GetGuardrailVersionData, type GetGuardrailVersionError, type GetGuardrailVersionErrors, type GetGuardrailVersionResponse, type GetGuardrailVersionResponses, type GetIngestionRuleData, type GetIngestionRuleErrors, type GetIngestionRuleResponse, type GetIngestionRuleResponses, type GetMemoryData, type GetMemoryEntryData, type GetMemoryEntryErrors, type GetMemoryEntryResponse, type GetMemoryEntryResponses, type GetMemoryErrors, type GetMemoryResponse, type GetMemoryResponses, type GetModelData, type GetModelError, type GetModelErrors, type GetModelResponse, type GetModelResponses, type GetModelRouteData, type GetModelRouteErrors, type GetModelRouteResponse, type GetModelRouteResponses, type GetOrchestrationData, type GetOrchestrationErrors, type GetOrchestrationResponse, type GetOrchestrationResponses, type GetOrchestrationRunData, type GetOrchestrationRunErrors, type GetOrchestrationRunResponse, type GetOrchestrationRunResponses, type GetOrchestrationVersionData, type GetOrchestrationVersionErrors, type GetOrchestrationVersionResponse, type GetOrchestrationVersionResponses, type GetProjectData, type GetProjectError, type GetProjectErrors, type GetProjectResponse, type GetProjectResponses, type GetProjectUsageData, type GetProjectUsageError, type GetProjectUsageErrors, type GetProjectUsageReceiptData, type GetProjectUsageReceiptError, type GetProjectUsageReceiptErrors, type GetProjectUsageReceiptResponse, type GetProjectUsageReceiptResponses, type GetProjectUsageResponse, type GetProjectUsageResponses, type GetQueueStatsData, type GetQueueStatsErrors, type GetQueueStatsResponse, type GetQueueStatsResponses, type GetQuotaData, type GetQuotaErrors, type GetQuotaResponse, type GetQuotaResponses, type GetSecretData, type GetSecretErrors, type GetSecretResponse, type GetSecretResponses, type GetSessionData, type GetSessionError, type GetSessionErrors, type GetSessionResponse, type GetSessionResponses, type GetSessionTagsData, type GetSessionTagsError, type GetSessionTagsErrors, type GetSessionTagsResponse, type GetSessionTagsResponses, type GetTaskData, type GetTaskErrors, type GetTaskHistoryData, type GetTaskHistoryErrors, type GetTaskHistoryResponse, type GetTaskHistoryResponses, type GetTaskResponse, type GetTaskResponses, type GetToolData, type GetToolError, type GetToolErrors, type GetToolResponse, type GetToolResponses, type GetTraceData, type GetTraceError, type GetTraceErrors, type GetTraceResponse, type GetTraceResponses, type GetTraceTreeData, type GetTraceTreeError, type GetTraceTreeErrors, type GetTraceTreeResponse, type GetTraceTreeResponses, type GetTriggerData, type GetTriggerErrors, type GetTriggerFiringData, type GetTriggerFiringErrors, type GetTriggerFiringResponse, type GetTriggerFiringResponses, type GetTriggerResponse, type GetTriggerResponses, type GetTriggerSecretData, type GetTriggerSecretErrors, type GetTriggerSecretResponse, type GetTriggerSecretResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryError, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookError, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type GetWorkflowData, type GetWorkflowErrors, type GetWorkflowResponse, type GetWorkflowResponses, type GetWorkflowVersionData, type GetWorkflowVersionErrors, type GetWorkflowVersionResponse, type GetWorkflowVersionResponses, type GrantId, type GrantUserCreditData, type GrantUserCreditError, type GrantUserCreditErrors, type GrantUserCreditResponse, type GrantUserCreditResponses, type GrantUserPlanData, type GrantUserPlanError, type GrantUserPlanErrors, type GrantUserPlanResponse, type GrantUserPlanResponses, type GrantableProjectRole, type Guardrail, type GuardrailDocument, type GuardrailEvaluation, type GuardrailResourceProperties, type GuardrailVersion, Guardrails, type HumanInputRequest, type IdempotencyKey, type Identifier, type IngestDocumentData, type IngestDocumentError, type IngestDocumentErrors, type IngestDocumentResponse, type IngestDocumentResponses, type IngestedDocumentRecord, type IngestionRule, type IngestionRuleResourceProperties, IngestionRules, type JsonLogicScorer, Knowledge, type KnowledgeResult, type Limit, type LinkToken, type ListActivityData, type ListActivityErrors, type ListActivityResponse, type ListActivityResponses, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAddressConversationsData, type ListAddressConversationsError, type ListAddressConversationsErrors, type ListAddressConversationsResponse, type ListAddressConversationsResponses, type ListAddressesData, type ListAddressesError, type ListAddressesErrors, type ListAddressesResponse, type ListAddressesResponses, type ListAgentVersionsData, type ListAgentVersionsError, type ListAgentVersionsErrors, type ListAgentVersionsResponse, type ListAgentVersionsResponses, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListAiProviderModelsData, type ListAiProviderModelsErrors, type ListAiProviderModelsResponse, type ListAiProviderModelsResponses, type ListAiProvidersData, type ListAiProvidersErrors, type ListAiProvidersResponse, type ListAiProvidersResponses, type ListApiKeysData, type ListApiKeysError, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListApprovalRecurrencesData, type ListApprovalRecurrencesErrors, type ListApprovalRecurrencesResponse, type ListApprovalRecurrencesResponses, type ListApprovalsData, type ListApprovalsErrors, type ListApprovalsResponse, type ListApprovalsResponses, type ListAssistantGrantsData, type ListAssistantGrantsError, type ListAssistantGrantsErrors, type ListAssistantGrantsResponse, type ListAssistantGrantsResponses, type ListAuditEntriesData, type ListAuditEntriesErrors, type ListAuditEntriesResponse, type ListAuditEntriesResponses, type ListChainsData, type ListChainsErrors, type ListChainsResponse, type ListChainsResponses, type ListChannelConversationMessagesData, type ListChannelConversationMessagesError, type ListChannelConversationMessagesErrors, type ListChannelConversationMessagesResponse, type ListChannelConversationMessagesResponses, type ListChannelConversationsData, type ListChannelConversationsError, type ListChannelConversationsErrors, type ListChannelConversationsResponse, type ListChannelConversationsResponses, type ListChannelKindsData, type ListChannelKindsError, type ListChannelKindsErrors, type ListChannelKindsResponse, type ListChannelKindsResponses, type ListChannelRoutesData, type ListChannelRoutesError, type ListChannelRoutesErrors, type ListChannelRoutesResponse, type ListChannelRoutesResponses, type ListChannelsData, type ListChannelsError, type ListChannelsErrors, type ListChannelsResponse, type ListChannelsResponses, type ListConversationMessagesData, type ListConversationMessagesError, type ListConversationMessagesErrors, type ListConversationMessagesResponse, type ListConversationMessagesResponses, type ListConversationsData, type ListConversationsError, type ListConversationsErrors, type ListConversationsResponse, type ListConversationsResponses, type ListDatasetItemsData, type ListDatasetItemsErrors, type ListDatasetItemsResponse, type ListDatasetItemsResponses, type ListDatasetsData, type ListDatasetsErrors, type ListDatasetsResponse, type ListDatasetsResponses, type ListDocumentsData, type ListDocumentsError, type ListDocumentsErrors, type ListDocumentsResponse, type ListDocumentsResponses, type ListEvalResultsData, type ListEvalResultsErrors, type ListEvalResultsResponse, type ListEvalResultsResponses, type ListEvalRunsData, type ListEvalRunsErrors, type ListEvalRunsResponse, type ListEvalRunsResponses, type ListEvalsData, type ListEvalsErrors, type ListEvalsResponse, type ListEvalsResponses, type ListExceptionsData, type ListExceptionsErrors, type ListExceptionsResponse, type ListExceptionsResponses, type ListFilesData, type ListFilesError, type ListFilesErrors, type ListFilesResponse, type ListFilesResponses, type ListFormationEventsData, type ListFormationEventsErrors, type ListFormationEventsResponse, type ListFormationEventsResponses, type ListFormationsData, type ListFormationsErrors, type ListFormationsResponse, type ListFormationsResponses, type ListGenerationsData, type ListGenerationsError, type ListGenerationsErrors, type ListGenerationsResponse, type ListGenerationsResponses, type ListGuardrailVersionsData, type ListGuardrailVersionsError, type ListGuardrailVersionsErrors, type ListGuardrailVersionsResponse, type ListGuardrailVersionsResponses, type ListGuardrailsData, type ListGuardrailsError, type ListGuardrailsErrors, type ListGuardrailsResponse, type ListGuardrailsResponses, type ListIngestionRulesData, type ListIngestionRulesErrors, type ListIngestionRulesResponse, type ListIngestionRulesResponses, type ListMemoriesData, type ListMemoriesErrors, type ListMemoriesResponse, type ListMemoriesResponses, type ListMemoryEntriesData, type ListMemoryEntriesErrors, type ListMemoryEntriesResponse, type ListMemoryEntriesResponses, type ListModelRoutesData, type ListModelRoutesErrors, type ListModelRoutesResponse, type ListModelRoutesResponses, type ListModelsData, type ListModelsError, type ListModelsErrors, type ListModelsResponse, type ListModelsResponses, type ListOrchestrationRunsData, type ListOrchestrationRunsErrors, type ListOrchestrationRunsResponse, type ListOrchestrationRunsResponses, type ListOrchestrationVersionsData, type ListOrchestrationVersionsErrors, type ListOrchestrationVersionsResponse, type ListOrchestrationVersionsResponses, type ListOrchestrationsData, type ListOrchestrationsErrors, type ListOrchestrationsResponse, type ListOrchestrationsResponses, type ListProjectChannelRoutesData, type ListProjectChannelRoutesError, type ListProjectChannelRoutesErrors, type ListProjectChannelRoutesResponse, type ListProjectChannelRoutesResponses, type ListProjectMembersData, type ListProjectMembersError, type ListProjectMembersErrors, type ListProjectMembersResponse, type ListProjectMembersResponses, type ListProjectUsageEventsData, type ListProjectUsageEventsError, type ListProjectUsageEventsErrors, type ListProjectUsageEventsResponse, type ListProjectUsageEventsResponses, type ListProjectUsageThresholdsData, type ListProjectUsageThresholdsError, type ListProjectUsageThresholdsErrors, type ListProjectUsageThresholdsResponse, type ListProjectUsageThresholdsResponses, type ListProjectsData, type ListProjectsError, type ListProjectsErrors, type ListProjectsResponse, type ListProjectsResponses, type ListQuotasData, type ListQuotasErrors, type ListQuotasResponse, type ListQuotasResponses, type ListSecretsData, type ListSecretsErrors, type ListSecretsResponse, type ListSecretsResponses, type ListSessionForksData, type ListSessionForksError, type ListSessionForksErrors, type ListSessionForksResponse, type ListSessionForksResponses, type ListSessionsData, type ListSessionsError, type ListSessionsErrors, type ListSessionsResponse, type ListSessionsResponses, type ListTasksData, type ListTasksErrors, type ListTasksResponse, type ListTasksResponses, type ListToolsData, type ListToolsError, type ListToolsErrors, type ListToolsResponse, type ListToolsResponses, type ListTracesData, type ListTracesError, type ListTracesErrors, type ListTracesResponse, type ListTracesResponses, type ListTriggerFiringsData, type ListTriggerFiringsErrors, type ListTriggerFiringsResponse, type ListTriggerFiringsResponses, type ListTriggersData, type ListTriggersErrors, type ListTriggersResponse, type ListTriggersResponses, type ListUserCreditsData, type ListUserCreditsError, type ListUserCreditsErrors, type ListUserCreditsResponse, type ListUserCreditsResponses, type ListUserPlanHistoryData, type ListUserPlanHistoryError, type ListUserPlanHistoryErrors, type ListUserPlanHistoryResponse, type ListUserPlanHistoryResponses, type ListUsersData, type ListUsersError, type ListUsersErrors, type ListUsersResponse, type ListUsersResponses, type ListWebhookDeliveriesData, type ListWebhookDeliveriesError, type ListWebhookDeliveriesErrors, type ListWebhookDeliveriesResponse, type ListWebhookDeliveriesResponses, type ListWebhooksData, type ListWebhooksError, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type ListWorkflowVersionsData, type ListWorkflowVersionsErrors, type ListWorkflowVersionsResponse, type ListWorkflowVersionsResponses, type ListWorkflowsData, type ListWorkflowsErrors, type ListWorkflowsResponse, type ListWorkflowsResponses, type LlmJudgeScorer, type LogoutData, type LogoutError, type LogoutErrors, type LogoutRequest, type LogoutResponse, type LogoutResponses, Memories, type Memory, MemoryEntries, type MemoryEntry, type MemoryEntryResourceProperties, type MemoryEntryWriteResult, type MemoryKnowledgeResult, type MemoryResourceProperties, type MergeActorTagsData, type MergeActorTagsError, type MergeActorTagsErrors, type MergeActorTagsResponse, type MergeActorTagsResponses, type MergeConversationTagsData, type MergeConversationTagsError, type MergeConversationTagsErrors, type MergeConversationTagsResponse, type MergeConversationTagsResponses, type MergeDocumentTagsData, type MergeDocumentTagsError, type MergeDocumentTagsErrors, type MergeDocumentTagsResponse, type MergeDocumentTagsResponses, type MergeFileTagsData, type MergeFileTagsError, type MergeFileTagsErrors, type MergeFileTagsResponse, type MergeFileTagsResponses, type MergeSessionTagsData, type MergeSessionTagsError, type MergeSessionTagsErrors, type MergeSessionTagsResponse, type MergeSessionTagsResponses, type MessagesLimit, type Model, type ModelList, type ModelName, type ModelRoute, type ModelRouteResourceProperties, type ModelRouteTarget, ModelRoutes, Models, NaturaliClient, type NaturaliClientOptions, type NodeExecution, type Offset, type OpenChannelConversationData, type OpenChannelConversationError, type OpenChannelConversationErrors, type OpenChannelConversationResponse, type OpenChannelConversationResponses, type Options, type Orchestration, type OrchestrationEdge, type OrchestrationId, type OrchestrationNode, type OrchestrationResourceProperties, type OrchestrationRun, type OrchestrationRunId, type OrchestrationVersion, Orchestrations, type OutputSchemaScorer, type ParameterDeclaration, type PatchAgentData, type PatchAgentError, type PatchAgentErrors, type PatchAgentResponse, type PatchAgentResponses, type PauseOrchestrationRunData, type PauseOrchestrationRunErrors, type PauseOrchestrationRunRequest, type PauseOrchestrationRunResponse, type PauseOrchestrationRunResponses, type PauseTaskData, type PauseTaskErrors, type PauseTaskRequest, type PauseTaskResponse, type PauseTaskResponses, type PlanChange, type PlanEvent, type PlanEventPage, type PlanFormationData, type PlanFormationErrors, type PlanFormationResponse, type PlanFormationResponses, type PlanResult, type PreviewAssistantLinkData, type PreviewAssistantLinkError, type PreviewAssistantLinkErrors, type PreviewAssistantLinkResponse, type PreviewAssistantLinkResponses, type Price, type PriceBook, type Project, type ProjectCreate, type ProjectId, type ProjectList, type ProjectMember, type ProjectMemberCreate, type ProjectMemberList, type ProjectMemberUpdate, type ProjectRole, type ProjectRuns, type ProjectUpdate, type ProjectUsage, type ProjectUsageDistinct, type ProjectUsageEvent, type ProjectUsageEventPage, type ProjectUsageFilters, type ProjectUsageGroups, type ProjectUsageReceipt, Projects, type PromoteAgentReleaseData, type PromoteAgentReleaseError, type PromoteAgentReleaseErrors, type PromoteAgentReleaseResponse, type PromoteAgentReleaseResponses, type ProviderModelsResponse, type ProviderPrice, type ProviderPricesResponse, type PurgeGenerationContentData, type PurgeGenerationContentError, type PurgeGenerationContentErrors, type PurgeGenerationContentResponse, type PurgeGenerationContentResponses, type PurgeTraceContentData, type PurgeTraceContentError, type PurgeTraceContentErrors, type PurgeTraceContentResponse, type PurgeTraceContentResponses, type QueueStats, type Quota, type QuotaResourceProperties, Quotas, type RedeemAssistantLinkData, type RedeemAssistantLinkError, type RedeemAssistantLinkErrors, type RedeemAssistantLinkResponse, type RedeemAssistantLinkResponses, type RedeliverWebhookDeliveryData, type RedeliverWebhookDeliveryError, type RedeliverWebhookDeliveryErrors, type RedeliverWebhookDeliveryResponse, type RedeliverWebhookDeliveryResponses, type RefreshRequest, type RefreshSessionData, type RefreshSessionError, type RefreshSessionErrors, type RefreshSessionResponse, type RefreshSessionResponses, type ReingestDocumentData, type ReingestDocumentError, type ReingestDocumentErrors, type ReingestDocumentResponse, type ReingestDocumentResponses, type RejectApprovalData, type RejectApprovalErrors, type RejectApprovalResponse, type RejectApprovalResponses, type RemoveConversationMessageData, type RemoveConversationMessageError, type RemoveConversationMessageErrors, type RemoveConversationMessageResponse, type RemoveConversationMessageResponses, type RemoveProjectMemberData, type RemoveProjectMemberError, type RemoveProjectMemberErrors, type RemoveProjectMemberResponse, type RemoveProjectMemberResponses, type ReplaceActorTagsData, type ReplaceActorTagsError, type ReplaceActorTagsErrors, type ReplaceActorTagsResponse, type ReplaceActorTagsResponses, type ReplaceConversationTagsData, type ReplaceConversationTagsError, type ReplaceConversationTagsErrors, type ReplaceConversationTagsResponse, type ReplaceConversationTagsResponses, type ReplaceDocumentTagsData, type ReplaceDocumentTagsError, type ReplaceDocumentTagsErrors, type ReplaceDocumentTagsResponse, type ReplaceDocumentTagsResponses, type ReplaceFileTagsData, type ReplaceFileTagsError, type ReplaceFileTagsErrors, type ReplaceFileTagsResponse, type ReplaceFileTagsResponses, type ReplaceSessionTagsData, type ReplaceSessionTagsError, type ReplaceSessionTagsErrors, type ReplaceSessionTagsResponse, type ReplaceSessionTagsResponses, type RequestSignInCodeData, type RequestSignInCodeError, type RequestSignInCodeErrors, type RequestSignInCodeResponse, type RequestSignInCodeResponses, type RequiredAction, type ResolveExceptionData, type ResolveExceptionErrors, type ResolveExceptionResponse, type ResolveExceptionResponses, type ResourceDeclaration, type RestoreAgentVersionData, type RestoreAgentVersionError, type RestoreAgentVersionErrors, type RestoreAgentVersionRequest, type RestoreAgentVersionResponse, type RestoreAgentVersionResponses, type RestoreGuardrailVersionData, type RestoreGuardrailVersionError, type RestoreGuardrailVersionErrors, type RestoreGuardrailVersionRequest, type RestoreGuardrailVersionResponse, type RestoreGuardrailVersionResponses, type RestoreOrchestrationVersionData, type RestoreOrchestrationVersionErrors, type RestoreOrchestrationVersionRequest, type RestoreOrchestrationVersionResponse, type RestoreOrchestrationVersionResponses, type RestoreWorkflowVersionData, type RestoreWorkflowVersionErrors, type RestoreWorkflowVersionRequest, type RestoreWorkflowVersionResponse, type RestoreWorkflowVersionResponses, type ResumeOrchestrationRunData, type ResumeOrchestrationRunErrors, type ResumeOrchestrationRunResponse, type ResumeOrchestrationRunResponses, type ResumeTaskData, type ResumeTaskErrors, type ResumeTaskResponse, type ResumeTaskResponses, type RevokeAssistantGrantData, type RevokeAssistantGrantError, type RevokeAssistantGrantErrors, type RevokeAssistantGrantResponse, type RevokeAssistantGrantResponses, type RotateApiKeyData, type RotateApiKeyError, type RotateApiKeyErrors, type RotateApiKeyResponse, type RotateApiKeyResponses, type RotateTriggerSecretData, type RotateTriggerSecretErrors, type RotateTriggerSecretResponse, type RotateTriggerSecretResponses, type RotateWebhookSecretData, type RotateWebhookSecretError, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RouteId, type ScorerResult, type Scorers, type SearchKnowledgeData, type SearchKnowledgeError, type SearchKnowledgeErrors, type SearchKnowledgeResponse, type SearchKnowledgeResponses, type SecretResourceProperties, Secrets, type SendSessionMessageResponse, type SessionId, type SessionRecord, type SessionResourceProperties, Sessions, type SetAddressActionData, type SetAddressActionError, type SetAddressActionErrors, type SetAddressActionResponse, type SetAddressActionResponses, type SetAgentReleaseData, type SetAgentReleaseError, type SetAgentReleaseErrors, type SetAgentReleaseRequest, type SetAgentReleaseResponse, type SetAgentReleaseResponses, type SignInCodeRequest, type SignInCodeVerify, type StartEvalRunData, type StartEvalRunErrors, type StartEvalRunResponse, type StartEvalRunResponses, type StartOrchestrationRunData, type StartOrchestrationRunErrors, type StartOrchestrationRunRequest, type StartOrchestrationRunResponse, type StartOrchestrationRunResponses, type SubmitAgentToolOutputsData, type SubmitAgentToolOutputsError, type SubmitAgentToolOutputsErrors, type SubmitAgentToolOutputsResponse, type SubmitAgentToolOutputsResponses, type SubmitHumanInputData, type SubmitHumanInputErrors, type SubmitHumanInputResponse, type SubmitHumanInputResponses, type SubmitSessionToolOutputsData, type SubmitSessionToolOutputsError, type SubmitSessionToolOutputsErrors, type SubmitSessionToolOutputsRequest, type SubmitSessionToolOutputsResponse, type SubmitSessionToolOutputsResponses, type SubmitToolOutputsRequest, type Task, type TaskTransition, Tasks, type Tool, type ToolBinding, type ToolOutputMessageContent, type ToolResourceProperties, type ToolScorer, Tools, type Trace, type TraceTreeNode, Traces, type TranscriptStep, type TranscriptToolCall, type TranscriptToolResult, type TranscriptUsage, type TransitionTaskData, type TransitionTaskErrors, type TransitionTaskRequest, type TransitionTaskResponse, type TransitionTaskResponses, type Trigger, type TriggerFiring, type TriggerFiringListResponse, type TriggerResourceProperties, type TriggerSecretResponse, type TriggerWithSecret, Triggers, type UnauthorizedFormationAction, type UpdateActorData, type UpdateActorError, type UpdateActorErrors, type UpdateActorResponse, type UpdateActorResponses, type UpdateAgentData, type UpdateAgentError, type UpdateAgentErrors, type UpdateAgentRequest, type UpdateAgentResponse, type UpdateAgentResponses, type UpdateAiProviderData, type UpdateAiProviderErrors, type UpdateAiProviderPricesData, type UpdateAiProviderPricesErrors, type UpdateAiProviderPricesResponse, type UpdateAiProviderPricesResponses, type UpdateAiProviderResponses, type UpdateApiKeyData, type UpdateApiKeyError, type UpdateApiKeyErrors, type UpdateApiKeyResponse, type UpdateApiKeyResponses, type UpdateChannelData, type UpdateChannelError, type UpdateChannelErrors, type UpdateChannelResponse, type UpdateChannelResponses, type UpdateChannelRouteData, type UpdateChannelRouteError, type UpdateChannelRouteErrors, type UpdateChannelRouteResponse, type UpdateChannelRouteResponses, type UpdateConversationData, type UpdateConversationError, type UpdateConversationErrors, type UpdateConversationResponse, type UpdateConversationResponses, type UpdateCurrentUserData, type UpdateCurrentUserError, type UpdateCurrentUserErrors, type UpdateCurrentUserResponse, type UpdateCurrentUserResponses, type UpdateDatasetData, type UpdateDatasetErrors, type UpdateDatasetItemData, type UpdateDatasetItemErrors, type UpdateDatasetItemResponse, type UpdateDatasetItemResponses, type UpdateDatasetResponse, type UpdateDatasetResponses, type UpdateDocumentData, type UpdateDocumentError, type UpdateDocumentErrors, type UpdateDocumentResponse, type UpdateDocumentResponses, type UpdateEvalData, type UpdateEvalErrors, type UpdateEvalResponse, type UpdateEvalResponses, type UpdateFileMetadataData, type UpdateFileMetadataError, type UpdateFileMetadataErrors, type UpdateFileMetadataResponse, type UpdateFileMetadataResponses, type UpdateFormationData, type UpdateFormationErrors, type UpdateFormationResponse, type UpdateFormationResponses, type UpdateGenerationData, type UpdateGenerationError, type UpdateGenerationErrors, type UpdateGenerationRequest, type UpdateGenerationResponse, type UpdateGenerationResponses, type UpdateGuardrailData, type UpdateGuardrailError, type UpdateGuardrailErrors, type UpdateGuardrailRequest, type UpdateGuardrailResponse, type UpdateGuardrailResponses, type UpdateIngestionRuleData, type UpdateIngestionRuleErrors, type UpdateIngestionRuleResponse, type UpdateIngestionRuleResponses, type UpdateMemoryData, type UpdateMemoryEntryData, type UpdateMemoryEntryErrors, type UpdateMemoryEntryResponse, type UpdateMemoryEntryResponses, type UpdateMemoryErrors, type UpdateMemoryResponse, type UpdateMemoryResponses, type UpdateModelRouteData, type UpdateModelRouteErrors, type UpdateModelRouteResponse, type UpdateModelRouteResponses, type UpdateOrchestrationData, type UpdateOrchestrationErrors, type UpdateOrchestrationRequest, type UpdateOrchestrationResponse, type UpdateOrchestrationResponses, type UpdateProjectData, type UpdateProjectError, type UpdateProjectErrors, type UpdateProjectMemberData, type UpdateProjectMemberError, type UpdateProjectMemberErrors, type UpdateProjectMemberResponse, type UpdateProjectMemberResponses, type UpdateProjectResponse, type UpdateProjectResponses, type UpdateQuotaData, type UpdateQuotaErrors, type UpdateQuotaResponse, type UpdateQuotaResponses, type UpdateSecretData, type UpdateSecretErrors, type UpdateSecretResponses, type UpdateSessionData, type UpdateSessionError, type UpdateSessionErrors, type UpdateSessionRequest, type UpdateSessionResponse, type UpdateSessionResponses, type UpdateTaskData, type UpdateTaskErrors, type UpdateTaskRequest, type UpdateTaskResponse, type UpdateTaskResponses, type UpdateToolData, type UpdateToolError, type UpdateToolErrors, type UpdateToolRequest, type UpdateToolResponse, type UpdateToolResponses, type UpdateTriggerData, type UpdateTriggerErrors, type UpdateTriggerRequest, type UpdateTriggerResponse, type UpdateTriggerResponses, type UpdateUserRolesData, type UpdateUserRolesError, type UpdateUserRolesErrors, type UpdateUserRolesResponse, type UpdateUserRolesResponses, type UpdateWebhookData, type UpdateWebhookError, type UpdateWebhookErrors, type UpdateWebhookResponse, type UpdateWebhookResponses, type UpdateWorkflowData, type UpdateWorkflowErrors, type UpdateWorkflowRequest, type UpdateWorkflowResponse, type UpdateWorkflowResponses, type UploadFileBase64Data, type UploadFileBase64Error, type UploadFileBase64Errors, type UploadFileBase64Request, type UploadFileBase64Response, type UploadFileBase64Responses, type UploadFileData, type UploadFileError, type UploadFileErrors, type UploadFileResponse, type UploadFileResponses, type UpsertProviderPricesRequest, type UsageActionId, type UsageActorId, type UsageAgentId, type UsageAiProviderId, type UsageComponent, type UsageComponents, type UsageEventComponent, type UsageGenerationId, type UsageGroup, type UsageMeterType, type UsageOrchestrationId, type UsageOrchestrationRunId, type UsageSessionId, type UsageSource, type UsageThreshold, type UsageThresholdCreate, type UsageTokens, type UsageTotals, type UsageTraceId, type UsageTriggerId, type User, type UserBilling, type UserPlanGrant, type UserRolesUpdate, type UserUpdate, type UserUsage, Users, type ValidateFormationData, type ValidateFormationErrors, type ValidateFormationResponse, type ValidateFormationResponses, type ValidateOrchestrationData, type ValidateOrchestrationErrors, type ValidateOrchestrationRequest, type ValidateOrchestrationResponse, type ValidateOrchestrationResponses, type ValidationError, type ValidationResult, type VerifySignInCodeData, type VerifySignInCodeError, type VerifySignInCodeErrors, type VerifySignInCodeResponse, type VerifySignInCodeResponses, type Webhook, type WebhookCreate, type WebhookDelivery, type WebhookDeliveryList, type WebhookId, type WebhookList, type WebhookUpdate, type WebhookWithSecret, Webhooks, type Workflow, type WorkflowResourceProperties, type WorkflowState, type WorkflowTransition, type WorkflowVersion, Workflows, createClient, createConfig };
22576
+ export { type AbortAgentReleaseData, type AbortAgentReleaseError, type AbortAgentReleaseErrors, type AbortAgentReleaseResponse, type AbortAgentReleaseResponses, type AcceptedGenerationResponse, type AcknowledgeExceptionData, type AcknowledgeExceptionErrors, type AcknowledgeExceptionResponse, type AcknowledgeExceptionResponses, type Acknowledgement, Activity, type ActivityEntry, type ActorRecord, type ActorResourceProperties, Actors, type AddConversationMessageData, type AddConversationMessageError, type AddConversationMessageErrors, type AddConversationMessageResponse, type AddConversationMessageResponses, type AddProjectMemberData, type AddProjectMemberError, type AddProjectMemberErrors, type AddProjectMemberResponse, type AddProjectMemberResponses, type AddSessionMessageData, type AddSessionMessageError, type AddSessionMessageErrors, type AddSessionMessageRequest, type AddSessionMessageResponse, type AddSessionMessageResponse2, type AddSessionMessageResponses, type AddSessionMessageSaved, type Address, type AddressActionSet, type AddressList, Admin, type AdminUser, type AdminUserPage, type Agent, type AgentGenerationResponse, type AgentRelease, type AgentResourceProperties, type AgentVersion, AgentVersions, Agents, type AggregateScores, type AiProviderResourceProperties, AiProviders, type ApiKeyCreate, type ApiKeyCreated, type ApiKeyId, type ApiKeyList, type ApiKeyRecord, type ApiKeyUpdate, ApiKeys, type ApprovalId, type ApprovalItem, type ApprovalRecurrenceGroup, Approvals, type ApproveApprovalData, type ApproveApprovalErrors, type ApproveApprovalResponse, type ApproveApprovalResponses, Assistant, type AssistantChannel, type AssistantGrant, type AssistantGrantList, type AssistantLinkPreview, type AssistantLinkRedeem, type AssistantScope, type AuditEntry, AuditLog, Auth, type AuthSession, type BaselineComparison, type CallToolData, type CallToolError, type CallToolErrors, type CallToolRequest, type CallToolResponses, type CancelEvalRunData, type CancelEvalRunErrors, type CancelEvalRunResponse, type CancelEvalRunResponses, type CancelOrchestrationRunData, type CancelOrchestrationRunErrors, type CancelOrchestrationRunResponse, type CancelOrchestrationRunResponses, type Chain, type ChainId, Chains, type Channel, type ChannelCreate, type ChannelDefaultAction, type ChannelDefaultActionInput, type ChannelId, type ChannelKind, type ChannelKindList, type ChannelList, type ChannelPredicate, type ChannelRoute, type ChannelRouteList, type ChannelRouteWrite, type ChannelSurface, type ChannelUpdate, Channels, type ClientOptions, type ContainsScorer, type Conversation, type ConversationId, type ConversationList, type ConversationMessage, type ConversationMessageList, type ConversationMessageRecord, type ConversationRecord, type ConversationResourceProperties, Conversations, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentData, type CreateAgentError, type CreateAgentErrors, type CreateAgentGenerationData, type CreateAgentGenerationError, type CreateAgentGenerationErrors, type CreateAgentGenerationRequest, type CreateAgentGenerationResponse, type CreateAgentGenerationResponses, type CreateAgentRequest, type CreateAgentResponse, type CreateAgentResponses, type CreateAiProviderData, type CreateAiProviderErrors, type CreateAiProviderResponse, type CreateAiProviderResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChannelData, type CreateChannelError, type CreateChannelErrors, type CreateChannelResponse, type CreateChannelResponses, type CreateChannelRouteData, type CreateChannelRouteError, type CreateChannelRouteErrors, type CreateChannelRouteResponse, type CreateChannelRouteResponses, type CreateConversationData, type CreateConversationError, type CreateConversationErrors, type CreateConversationResponse, type CreateConversationResponses, type CreateDatasetData, type CreateDatasetErrors, type CreateDatasetItemData, type CreateDatasetItemErrors, type CreateDatasetItemFromGenerationData, type CreateDatasetItemFromGenerationErrors, type CreateDatasetItemFromGenerationResponse, type CreateDatasetItemFromGenerationResponses, type CreateDatasetItemResponse, type CreateDatasetItemResponses, type CreateDatasetResponse, type CreateDatasetResponses, type CreateDocumentData, type CreateDocumentError, type CreateDocumentErrors, type CreateDocumentResponse, type CreateDocumentResponses, type CreateEmbeddingsData, type CreateEmbeddingsError, type CreateEmbeddingsErrors, type CreateEmbeddingsResponse, type CreateEmbeddingsResponses, type CreateEvalData, type CreateEvalErrors, type CreateEvalResponse, type CreateEvalResponses, type CreateFileData, type CreateFileError, type CreateFileErrors, type CreateFileResponse, type CreateFileResponses, type CreateFormationData, type CreateFormationErrors, type CreateFormationResponse, type CreateFormationResponses, type CreateGuardrailData, type CreateGuardrailError, type CreateGuardrailErrors, type CreateGuardrailRequest, type CreateGuardrailResponse, type CreateGuardrailResponses, type CreateIngestionRuleData, type CreateIngestionRuleErrors, type CreateIngestionRuleResponse, type CreateIngestionRuleResponses, type CreateMemoryData, type CreateMemoryEntryData, type CreateMemoryEntryErrors, type CreateMemoryEntryResponse, type CreateMemoryEntryResponses, type CreateMemoryErrors, type CreateMemoryResponse, type CreateMemoryResponses, type CreateModelRouteData, type CreateModelRouteErrors, type CreateModelRouteResponse, type CreateModelRouteResponses, type CreateOrchestrationData, type CreateOrchestrationErrors, type CreateOrchestrationRequest, type CreateOrchestrationResponse, type CreateOrchestrationResponses, type CreateProjectData, type CreateProjectError, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateProjectUsageThresholdData, type CreateProjectUsageThresholdError, type CreateProjectUsageThresholdErrors, type CreateProjectUsageThresholdResponse, type CreateProjectUsageThresholdResponses, type CreateQuotaData, type CreateQuotaErrors, type CreateQuotaResponse, type CreateQuotaResponses, type CreateSecretData, type CreateSecretErrors, type CreateSecretResponse, type CreateSecretResponses, type CreateSessionData, type CreateSessionError, type CreateSessionErrors, type CreateSessionRequest, type CreateSessionResponse, type CreateSessionResponses, type CreateTaskData, type CreateTaskErrors, type CreateTaskRequest, type CreateTaskResponse, type CreateTaskResponses, type CreateToolData, type CreateToolError, type CreateToolErrors, type CreateToolRequest, type CreateToolResponse, type CreateToolResponses, type CreateTriggerData, type CreateTriggerErrors, type CreateTriggerRequest, type CreateTriggerResponse, type CreateTriggerResponses, type CreateWebhookData, type CreateWebhookError, type CreateWebhookErrors, type CreateWebhookResponse, type CreateWebhookResponses, type CreateWorkflowData, type CreateWorkflowErrors, type CreateWorkflowRequest, type CreateWorkflowResponse, type CreateWorkflowResponses, type CreditEntry, type CreditEntryPage, type CreditGrant, type CreditGrantResult, type Cursor, type Dataset, type DatasetItem, type DatasetItemInput, type DatasetItemResourceProperties, type DatasetResourceProperties, type DeleteActorData, type DeleteActorError, type DeleteActorErrors, type DeleteActorResponse, type DeleteActorResponses, type DeleteAddressData, type DeleteAddressError, type DeleteAddressErrors, type DeleteAddressResponse, type DeleteAddressResponses, type DeleteAgentData, type DeleteAgentError, type DeleteAgentErrors, type DeleteAgentResponse, type DeleteAgentResponses, type DeleteAiProviderData, type DeleteAiProviderErrors, type DeleteAiProviderResponse, type DeleteAiProviderResponses, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyErrors, type DeleteApiKeyResponse, type DeleteApiKeyResponses, type DeleteChannelData, type DeleteChannelError, type DeleteChannelErrors, type DeleteChannelResponse, type DeleteChannelResponses, type DeleteChannelRouteData, type DeleteChannelRouteError, type DeleteChannelRouteErrors, type DeleteChannelRouteResponse, type DeleteChannelRouteResponses, type DeleteConversationData, type DeleteConversationError, type DeleteConversationErrors, type DeleteConversationResponse, type DeleteConversationResponses, type DeleteDatasetData, type DeleteDatasetErrors, type DeleteDatasetItemData, type DeleteDatasetItemErrors, type DeleteDatasetItemResponse, type DeleteDatasetItemResponses, type DeleteDatasetResponse, type DeleteDatasetResponses, type DeleteDocumentData, type DeleteDocumentError, type DeleteDocumentErrors, type DeleteDocumentResponse, type DeleteDocumentResponses, type DeleteEvalData, type DeleteEvalErrors, type DeleteEvalResponse, type DeleteEvalResponses, type DeleteFileData, type DeleteFileError, type DeleteFileErrors, type DeleteFileResponse, type DeleteFileResponses, type DeleteFormationData, type DeleteFormationErrors, type DeleteFormationResponse, type DeleteFormationResponses, type DeleteGuardrailData, type DeleteGuardrailError, type DeleteGuardrailErrors, type DeleteGuardrailResponse, type DeleteGuardrailResponses, type DeleteIngestionRuleData, type DeleteIngestionRuleErrors, type DeleteIngestionRuleResponse, type DeleteIngestionRuleResponses, type DeleteMemoryData, type DeleteMemoryEntryData, type DeleteMemoryEntryErrors, type DeleteMemoryEntryResponse, type DeleteMemoryEntryResponses, type DeleteMemoryErrors, type DeleteMemoryResponse, type DeleteMemoryResponses, type DeleteModelRouteData, type DeleteModelRouteErrors, type DeleteModelRouteResponse, type DeleteModelRouteResponses, type DeleteOrchestrationData, type DeleteOrchestrationErrors, type DeleteOrchestrationResponse, type DeleteOrchestrationResponses, type DeleteProjectData, type DeleteProjectError, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteProjectUsageThresholdData, type DeleteProjectUsageThresholdError, type DeleteProjectUsageThresholdErrors, type DeleteProjectUsageThresholdResponse, type DeleteProjectUsageThresholdResponses, type DeleteQuotaData, type DeleteQuotaErrors, type DeleteQuotaResponse, type DeleteQuotaResponses, type DeleteSecretData, type DeleteSecretErrors, type DeleteSecretResponses, type DeleteSessionData, type DeleteSessionError, type DeleteSessionErrors, type DeleteSessionResponse, type DeleteSessionResponses, type DeleteTaskData, type DeleteTaskErrors, type DeleteTaskResponse, type DeleteTaskResponses, type DeleteToolData, type DeleteToolError, type DeleteToolErrors, type DeleteToolResponse, type DeleteToolResponses, type DeleteTriggerData, type DeleteTriggerErrors, type DeleteTriggerResponse, type DeleteTriggerResponses, type DeleteWebhookData, type DeleteWebhookError, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type DeleteWorkflowData, type DeleteWorkflowErrors, type DeleteWorkflowResponse, type DeleteWorkflowResponses, type DeliveryId, type DiscordModes, type DocumentKnowledgeResult, type DocumentMessageContent, type DocumentRecord, type DocumentResourceProperties, type DocumentStatusRecord, Documents, type DownloadFileBase64Data, type DownloadFileBase64Error, type DownloadFileBase64Errors, type DownloadFileBase64Response, type DownloadFileBase64Responses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, type EmbeddingSimilarityScorer, Embeddings, type EmbeddingsResponse, type ErrorResponse, type Eval, type EvalResourceProperties, type EvalResult, type EvalRun, type EvaluateGuardrailData, type EvaluateGuardrailError, type EvaluateGuardrailErrors, type EvaluateGuardrailResponse, type EvaluateGuardrailResponses, Evaluations, type Event, type EventSubscription, type EventType, type ExactMatchScorer, type ExceptionId, type ExceptionItem, Exceptions, type ExportAuditEntriesData, type ExportAuditEntriesErrors, type ExportAuditEntriesResponse, type ExportAuditEntriesResponses, type FileRecord, type FileRecordWritable, type FileResourceProperties, Files, type FireTriggerData, type FireTriggerErrors, type FireTriggerRequest, type FireTriggerResponse, type FireTriggerResponses, type Force, type ForkSessionData, type ForkSessionError, type ForkSessionErrors, type ForkSessionRequest, type ForkSessionResponse, type ForkSessionResponses, type Formation, type FormationError, type FormationEvent, type FormationOperation, type FormationResource, type FormationTemplate, type FormationTemplateInput, Formations, type GenerateConversationMessageCompleted, type GenerateConversationMessageData, type GenerateConversationMessageError, type GenerateConversationMessageErrors, type GenerateConversationMessageRequiresAction, type GenerateConversationMessageResponse, type GenerateConversationMessageResponse2, type GenerateConversationMessageResponses, type GenerateSessionRequest, type GenerateSessionResponse, type GenerateSessionResponseData, type GenerateSessionResponseError, type GenerateSessionResponseErrors, type GenerateSessionResponseResponse, type GenerateSessionResponseResponses, type Generation, type GenerationTranscript, Generations, type GetActorData, type GetActorError, type GetActorErrors, type GetActorResponse, type GetActorResponses, type GetActorTagsData, type GetActorTagsError, type GetActorTagsErrors, type GetActorTagsResponse, type GetActorTagsResponses, type GetAddressData, type GetAddressError, type GetAddressErrors, type GetAddressResponse, type GetAddressResponses, type GetAdminPriceBookData, type GetAdminPriceBookError, type GetAdminPriceBookErrors, type GetAdminPriceBookResponse, type GetAdminPriceBookResponses, type GetAgentData, type GetAgentError, type GetAgentErrors, type GetAgentResponse, type GetAgentResponses, type GetAgentVersionData, type GetAgentVersionError, type GetAgentVersionErrors, type GetAgentVersionResponse, type GetAgentVersionResponses, type GetAiProviderData, type GetAiProviderErrors, type GetAiProviderPricesData, type GetAiProviderPricesErrors, type GetAiProviderPricesResponse, type GetAiProviderPricesResponses, type GetAiProviderResponse, type GetAiProviderResponses, type GetApiKeyData, type GetApiKeyError, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, type GetApprovalData, type GetApprovalErrors, type GetApprovalResponse, type GetApprovalResponses, type GetAuditEntryData, type GetAuditEntryErrors, type GetAuditEntryResponse, type GetAuditEntryResponses, type GetChainData, type GetChainErrors, type GetChainResponse, type GetChainResponses, type GetChannelConversationData, type GetChannelConversationError, type GetChannelConversationErrors, type GetChannelConversationResponse, type GetChannelConversationResponses, type GetChannelData, type GetChannelError, type GetChannelErrors, type GetChannelResponse, type GetChannelResponses, type GetChannelRouteData, type GetChannelRouteError, type GetChannelRouteErrors, type GetChannelRouteResponse, type GetChannelRouteResponses, type GetConversationData, type GetConversationError, type GetConversationErrors, type GetConversationResponse, type GetConversationResponses, type GetConversationTagsData, type GetConversationTagsError, type GetConversationTagsErrors, type GetConversationTagsResponse, type GetConversationTagsResponses, type GetCurrentUserBillingData, type GetCurrentUserBillingError, type GetCurrentUserBillingErrors, type GetCurrentUserBillingResponse, type GetCurrentUserBillingResponses, type GetCurrentUserData, type GetCurrentUserError, type GetCurrentUserErrors, type GetCurrentUserResponse, type GetCurrentUserResponses, type GetCurrentUserUsageData, type GetCurrentUserUsageError, type GetCurrentUserUsageErrors, type GetCurrentUserUsageResponse, type GetCurrentUserUsageResponses, type GetDatasetData, type GetDatasetErrors, type GetDatasetResponse, type GetDatasetResponses, type GetDocumentData, type GetDocumentError, type GetDocumentErrors, type GetDocumentResponse, type GetDocumentResponses, type GetDocumentStatusData, type GetDocumentStatusError, type GetDocumentStatusErrors, type GetDocumentStatusResponse, type GetDocumentStatusResponses, type GetDocumentTagsData, type GetDocumentTagsError, type GetDocumentTagsErrors, type GetDocumentTagsResponse, type GetDocumentTagsResponses, type GetEvalData, type GetEvalErrors, type GetEvalResponse, type GetEvalResponses, type GetEvalRunData, type GetEvalRunErrors, type GetEvalRunResponse, type GetEvalRunResponses, type GetExceptionData, type GetExceptionErrors, type GetExceptionResponse, type GetExceptionResponses, type GetFileData, type GetFileError, type GetFileErrors, type GetFileResponse, type GetFileResponses, type GetFileTagsData, type GetFileTagsError, type GetFileTagsErrors, type GetFileTagsResponse, type GetFileTagsResponses, type GetFormationData, type GetFormationErrors, type GetFormationResponse, type GetFormationResponses, type GetGenerationData, type GetGenerationError, type GetGenerationErrors, type GetGenerationResponse, type GetGenerationResponses, type GetGenerationTranscriptData, type GetGenerationTranscriptError, type GetGenerationTranscriptErrors, type GetGenerationTranscriptResponse, type GetGenerationTranscriptResponses, type GetGuardrailData, type GetGuardrailError, type GetGuardrailErrors, type GetGuardrailResponse, type GetGuardrailResponses, type GetGuardrailVersionData, type GetGuardrailVersionError, type GetGuardrailVersionErrors, type GetGuardrailVersionResponse, type GetGuardrailVersionResponses, type GetIngestionRuleData, type GetIngestionRuleErrors, type GetIngestionRuleResponse, type GetIngestionRuleResponses, type GetMemoryData, type GetMemoryEntryData, type GetMemoryEntryErrors, type GetMemoryEntryResponse, type GetMemoryEntryResponses, type GetMemoryEntryTagsData, type GetMemoryEntryTagsErrors, type GetMemoryEntryTagsResponse, type GetMemoryEntryTagsResponses, type GetMemoryErrors, type GetMemoryResponse, type GetMemoryResponses, type GetMemoryTagsData, type GetMemoryTagsErrors, type GetMemoryTagsResponse, type GetMemoryTagsResponses, type GetModelData, type GetModelError, type GetModelErrors, type GetModelResponse, type GetModelResponses, type GetModelRouteData, type GetModelRouteErrors, type GetModelRouteResponse, type GetModelRouteResponses, type GetOrchestrationData, type GetOrchestrationErrors, type GetOrchestrationResponse, type GetOrchestrationResponses, type GetOrchestrationRunData, type GetOrchestrationRunErrors, type GetOrchestrationRunResponse, type GetOrchestrationRunResponses, type GetOrchestrationVersionData, type GetOrchestrationVersionErrors, type GetOrchestrationVersionResponse, type GetOrchestrationVersionResponses, type GetProjectData, type GetProjectError, type GetProjectErrors, type GetProjectResponse, type GetProjectResponses, type GetProjectUsageData, type GetProjectUsageError, type GetProjectUsageErrors, type GetProjectUsageReceiptData, type GetProjectUsageReceiptError, type GetProjectUsageReceiptErrors, type GetProjectUsageReceiptResponse, type GetProjectUsageReceiptResponses, type GetProjectUsageResponse, type GetProjectUsageResponses, type GetQueueStatsData, type GetQueueStatsErrors, type GetQueueStatsResponse, type GetQueueStatsResponses, type GetQuotaData, type GetQuotaErrors, type GetQuotaResponse, type GetQuotaResponses, type GetSecretData, type GetSecretErrors, type GetSecretResponse, type GetSecretResponses, type GetSessionData, type GetSessionError, type GetSessionErrors, type GetSessionResponse, type GetSessionResponses, type GetSessionTagsData, type GetSessionTagsError, type GetSessionTagsErrors, type GetSessionTagsResponse, type GetSessionTagsResponses, type GetTaskData, type GetTaskErrors, type GetTaskHistoryData, type GetTaskHistoryErrors, type GetTaskHistoryResponse, type GetTaskHistoryResponses, type GetTaskResponse, type GetTaskResponses, type GetToolData, type GetToolError, type GetToolErrors, type GetToolResponse, type GetToolResponses, type GetTraceData, type GetTraceError, type GetTraceErrors, type GetTraceResponse, type GetTraceResponses, type GetTraceTreeData, type GetTraceTreeError, type GetTraceTreeErrors, type GetTraceTreeResponse, type GetTraceTreeResponses, type GetTriggerData, type GetTriggerErrors, type GetTriggerFiringData, type GetTriggerFiringErrors, type GetTriggerFiringResponse, type GetTriggerFiringResponses, type GetTriggerResponse, type GetTriggerResponses, type GetTriggerSecretData, type GetTriggerSecretErrors, type GetTriggerSecretResponse, type GetTriggerSecretResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryError, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookError, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type GetWorkflowData, type GetWorkflowErrors, type GetWorkflowResponse, type GetWorkflowResponses, type GetWorkflowVersionData, type GetWorkflowVersionErrors, type GetWorkflowVersionResponse, type GetWorkflowVersionResponses, type GrantId, type GrantUserCreditData, type GrantUserCreditError, type GrantUserCreditErrors, type GrantUserCreditResponse, type GrantUserCreditResponses, type GrantUserPlanData, type GrantUserPlanError, type GrantUserPlanErrors, type GrantUserPlanResponse, type GrantUserPlanResponses, type GrantableProjectRole, type Guardrail, type GuardrailDocument, type GuardrailEvaluation, type GuardrailResourceProperties, type GuardrailVersion, Guardrails, type HumanInputRequest, type IdempotencyKey, type Identifier, type IngestDocumentData, type IngestDocumentError, type IngestDocumentErrors, type IngestDocumentResponse, type IngestDocumentResponses, type IngestedDocumentRecord, type IngestionRule, type IngestionRuleResourceProperties, IngestionRules, type JsonLogicScorer, Knowledge, type KnowledgeResult, type Limit, type LinkToken, type ListActivityData, type ListActivityErrors, type ListActivityResponse, type ListActivityResponses, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAddressConversationsData, type ListAddressConversationsError, type ListAddressConversationsErrors, type ListAddressConversationsResponse, type ListAddressConversationsResponses, type ListAddressesData, type ListAddressesError, type ListAddressesErrors, type ListAddressesResponse, type ListAddressesResponses, type ListAgentVersionsData, type ListAgentVersionsError, type ListAgentVersionsErrors, type ListAgentVersionsResponse, type ListAgentVersionsResponses, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListAiProviderModelsData, type ListAiProviderModelsErrors, type ListAiProviderModelsResponse, type ListAiProviderModelsResponses, type ListAiProvidersData, type ListAiProvidersErrors, type ListAiProvidersResponse, type ListAiProvidersResponses, type ListApiKeysData, type ListApiKeysError, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListApprovalRecurrencesData, type ListApprovalRecurrencesErrors, type ListApprovalRecurrencesResponse, type ListApprovalRecurrencesResponses, type ListApprovalsData, type ListApprovalsErrors, type ListApprovalsResponse, type ListApprovalsResponses, type ListAssistantGrantsData, type ListAssistantGrantsError, type ListAssistantGrantsErrors, type ListAssistantGrantsResponse, type ListAssistantGrantsResponses, type ListAuditEntriesData, type ListAuditEntriesErrors, type ListAuditEntriesResponse, type ListAuditEntriesResponses, type ListChainsData, type ListChainsErrors, type ListChainsResponse, type ListChainsResponses, type ListChannelConversationMessagesData, type ListChannelConversationMessagesError, type ListChannelConversationMessagesErrors, type ListChannelConversationMessagesResponse, type ListChannelConversationMessagesResponses, type ListChannelConversationsData, type ListChannelConversationsError, type ListChannelConversationsErrors, type ListChannelConversationsResponse, type ListChannelConversationsResponses, type ListChannelKindsData, type ListChannelKindsError, type ListChannelKindsErrors, type ListChannelKindsResponse, type ListChannelKindsResponses, type ListChannelRoutesData, type ListChannelRoutesError, type ListChannelRoutesErrors, type ListChannelRoutesResponse, type ListChannelRoutesResponses, type ListChannelsData, type ListChannelsError, type ListChannelsErrors, type ListChannelsResponse, type ListChannelsResponses, type ListConversationMessagesData, type ListConversationMessagesError, type ListConversationMessagesErrors, type ListConversationMessagesResponse, type ListConversationMessagesResponses, type ListConversationsData, type ListConversationsError, type ListConversationsErrors, type ListConversationsResponse, type ListConversationsResponses, type ListDatasetItemsData, type ListDatasetItemsErrors, type ListDatasetItemsResponse, type ListDatasetItemsResponses, type ListDatasetsData, type ListDatasetsErrors, type ListDatasetsResponse, type ListDatasetsResponses, type ListDocumentsData, type ListDocumentsError, type ListDocumentsErrors, type ListDocumentsResponse, type ListDocumentsResponses, type ListEvalResultsData, type ListEvalResultsErrors, type ListEvalResultsResponse, type ListEvalResultsResponses, type ListEvalRunsData, type ListEvalRunsErrors, type ListEvalRunsResponse, type ListEvalRunsResponses, type ListEvalsData, type ListEvalsErrors, type ListEvalsResponse, type ListEvalsResponses, type ListExceptionsData, type ListExceptionsErrors, type ListExceptionsResponse, type ListExceptionsResponses, type ListFilesData, type ListFilesError, type ListFilesErrors, type ListFilesResponse, type ListFilesResponses, type ListFormationEventsData, type ListFormationEventsErrors, type ListFormationEventsResponse, type ListFormationEventsResponses, type ListFormationsData, type ListFormationsErrors, type ListFormationsResponse, type ListFormationsResponses, type ListGenerationsData, type ListGenerationsError, type ListGenerationsErrors, type ListGenerationsResponse, type ListGenerationsResponses, type ListGuardrailVersionsData, type ListGuardrailVersionsError, type ListGuardrailVersionsErrors, type ListGuardrailVersionsResponse, type ListGuardrailVersionsResponses, type ListGuardrailsData, type ListGuardrailsError, type ListGuardrailsErrors, type ListGuardrailsResponse, type ListGuardrailsResponses, type ListIngestionRulesData, type ListIngestionRulesErrors, type ListIngestionRulesResponse, type ListIngestionRulesResponses, type ListMemoriesData, type ListMemoriesErrors, type ListMemoriesResponse, type ListMemoriesResponses, type ListMemoryEntriesData, type ListMemoryEntriesErrors, type ListMemoryEntriesResponse, type ListMemoryEntriesResponses, type ListModelRoutesData, type ListModelRoutesErrors, type ListModelRoutesResponse, type ListModelRoutesResponses, type ListModelsData, type ListModelsError, type ListModelsErrors, type ListModelsResponse, type ListModelsResponses, type ListOrchestrationRunsData, type ListOrchestrationRunsErrors, type ListOrchestrationRunsResponse, type ListOrchestrationRunsResponses, type ListOrchestrationVersionsData, type ListOrchestrationVersionsErrors, type ListOrchestrationVersionsResponse, type ListOrchestrationVersionsResponses, type ListOrchestrationsData, type ListOrchestrationsErrors, type ListOrchestrationsResponse, type ListOrchestrationsResponses, type ListProjectChannelRoutesData, type ListProjectChannelRoutesError, type ListProjectChannelRoutesErrors, type ListProjectChannelRoutesResponse, type ListProjectChannelRoutesResponses, type ListProjectMembersData, type ListProjectMembersError, type ListProjectMembersErrors, type ListProjectMembersResponse, type ListProjectMembersResponses, type ListProjectUsageEventsData, type ListProjectUsageEventsError, type ListProjectUsageEventsErrors, type ListProjectUsageEventsResponse, type ListProjectUsageEventsResponses, type ListProjectUsageThresholdsData, type ListProjectUsageThresholdsError, type ListProjectUsageThresholdsErrors, type ListProjectUsageThresholdsResponse, type ListProjectUsageThresholdsResponses, type ListProjectsData, type ListProjectsError, type ListProjectsErrors, type ListProjectsResponse, type ListProjectsResponses, type ListQuotasData, type ListQuotasErrors, type ListQuotasResponse, type ListQuotasResponses, type ListSecretsData, type ListSecretsErrors, type ListSecretsResponse, type ListSecretsResponses, type ListSessionForksData, type ListSessionForksError, type ListSessionForksErrors, type ListSessionForksResponse, type ListSessionForksResponses, type ListSessionsData, type ListSessionsError, type ListSessionsErrors, type ListSessionsResponse, type ListSessionsResponses, type ListTasksData, type ListTasksErrors, type ListTasksResponse, type ListTasksResponses, type ListToolsData, type ListToolsError, type ListToolsErrors, type ListToolsResponse, type ListToolsResponses, type ListTracesData, type ListTracesError, type ListTracesErrors, type ListTracesResponse, type ListTracesResponses, type ListTriggerFiringsData, type ListTriggerFiringsErrors, type ListTriggerFiringsResponse, type ListTriggerFiringsResponses, type ListTriggersData, type ListTriggersErrors, type ListTriggersResponse, type ListTriggersResponses, type ListUserCreditsData, type ListUserCreditsError, type ListUserCreditsErrors, type ListUserCreditsResponse, type ListUserCreditsResponses, type ListUserPlanHistoryData, type ListUserPlanHistoryError, type ListUserPlanHistoryErrors, type ListUserPlanHistoryResponse, type ListUserPlanHistoryResponses, type ListUsersData, type ListUsersError, type ListUsersErrors, type ListUsersResponse, type ListUsersResponses, type ListWebhookDeliveriesData, type ListWebhookDeliveriesError, type ListWebhookDeliveriesErrors, type ListWebhookDeliveriesResponse, type ListWebhookDeliveriesResponses, type ListWebhooksData, type ListWebhooksError, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type ListWorkflowVersionsData, type ListWorkflowVersionsErrors, type ListWorkflowVersionsResponse, type ListWorkflowVersionsResponses, type ListWorkflowsData, type ListWorkflowsErrors, type ListWorkflowsResponse, type ListWorkflowsResponses, type LlmJudgeScorer, type LogoutData, type LogoutError, type LogoutErrors, type LogoutRequest, type LogoutResponse, type LogoutResponses, Memories, type Memory, MemoryEntries, type MemoryEntry, type MemoryEntryResourceProperties, type MemoryEntryWriteResult, type MemoryKnowledgeResult, type MemoryResourceProperties, type MergeActorTagsData, type MergeActorTagsError, type MergeActorTagsErrors, type MergeActorTagsResponse, type MergeActorTagsResponses, type MergeConversationTagsData, type MergeConversationTagsError, type MergeConversationTagsErrors, type MergeConversationTagsResponse, type MergeConversationTagsResponses, type MergeDocumentTagsData, type MergeDocumentTagsError, type MergeDocumentTagsErrors, type MergeDocumentTagsResponse, type MergeDocumentTagsResponses, type MergeFileTagsData, type MergeFileTagsError, type MergeFileTagsErrors, type MergeFileTagsResponse, type MergeFileTagsResponses, type MergeMemoryEntryTagsData, type MergeMemoryEntryTagsErrors, type MergeMemoryEntryTagsResponse, type MergeMemoryEntryTagsResponses, type MergeMemoryTagsData, type MergeMemoryTagsErrors, type MergeMemoryTagsResponse, type MergeMemoryTagsResponses, type MergeSessionTagsData, type MergeSessionTagsError, type MergeSessionTagsErrors, type MergeSessionTagsResponse, type MergeSessionTagsResponses, type MessagesLimit, type Model, type ModelList, type ModelName, type ModelRoute, type ModelRouteResourceProperties, type ModelRouteTarget, ModelRoutes, Models, NaturaliClient, type NaturaliClientOptions, type NodeExecution, type NullableTagBag, type Offset, type OpenChannelConversationData, type OpenChannelConversationError, type OpenChannelConversationErrors, type OpenChannelConversationResponse, type OpenChannelConversationResponses, type Options, type Orchestration, type OrchestrationEdge, type OrchestrationId, type OrchestrationNode, type OrchestrationResourceProperties, type OrchestrationRun, type OrchestrationRunId, type OrchestrationVersion, Orchestrations, type OutputSchemaScorer, type ParameterDeclaration, type PatchAgentData, type PatchAgentError, type PatchAgentErrors, type PatchAgentResponse, type PatchAgentResponses, type PauseOrchestrationRunData, type PauseOrchestrationRunErrors, type PauseOrchestrationRunRequest, type PauseOrchestrationRunResponse, type PauseOrchestrationRunResponses, type PauseTaskData, type PauseTaskErrors, type PauseTaskRequest, type PauseTaskResponse, type PauseTaskResponses, type PlanChange, type PlanEvent, type PlanEventPage, type PlanFormationData, type PlanFormationErrors, type PlanFormationResponse, type PlanFormationResponses, type PlanResult, type PreviewAssistantLinkData, type PreviewAssistantLinkError, type PreviewAssistantLinkErrors, type PreviewAssistantLinkResponse, type PreviewAssistantLinkResponses, type Price, type PriceBook, type Project, type ProjectCreate, type ProjectId, type ProjectList, type ProjectMember, type ProjectMemberCreate, type ProjectMemberList, type ProjectMemberUpdate, type ProjectRole, type ProjectRuns, type ProjectUpdate, type ProjectUsage, type ProjectUsageDistinct, type ProjectUsageEvent, type ProjectUsageEventPage, type ProjectUsageFilters, type ProjectUsageGroups, type ProjectUsageReceipt, Projects, type PromoteAgentReleaseData, type PromoteAgentReleaseError, type PromoteAgentReleaseErrors, type PromoteAgentReleaseResponse, type PromoteAgentReleaseResponses, type ProviderModelsResponse, type ProviderPrice, type ProviderPricesResponse, type PurgeGenerationContentData, type PurgeGenerationContentError, type PurgeGenerationContentErrors, type PurgeGenerationContentResponse, type PurgeGenerationContentResponses, type PurgeTraceContentData, type PurgeTraceContentError, type PurgeTraceContentErrors, type PurgeTraceContentResponse, type PurgeTraceContentResponses, type QueueStats, type Quota, type QuotaResourceProperties, Quotas, type RedeemAssistantLinkData, type RedeemAssistantLinkError, type RedeemAssistantLinkErrors, type RedeemAssistantLinkResponse, type RedeemAssistantLinkResponses, type RedeliverWebhookDeliveryData, type RedeliverWebhookDeliveryError, type RedeliverWebhookDeliveryErrors, type RedeliverWebhookDeliveryResponse, type RedeliverWebhookDeliveryResponses, type RefreshRequest, type RefreshSessionData, type RefreshSessionError, type RefreshSessionErrors, type RefreshSessionResponse, type RefreshSessionResponses, type ReingestDocumentData, type ReingestDocumentError, type ReingestDocumentErrors, type ReingestDocumentResponse, type ReingestDocumentResponses, type RejectApprovalData, type RejectApprovalErrors, type RejectApprovalResponse, type RejectApprovalResponses, type RemoveConversationMessageData, type RemoveConversationMessageError, type RemoveConversationMessageErrors, type RemoveConversationMessageResponse, type RemoveConversationMessageResponses, type RemoveProjectMemberData, type RemoveProjectMemberError, type RemoveProjectMemberErrors, type RemoveProjectMemberResponse, type RemoveProjectMemberResponses, type ReplaceActorTagsData, type ReplaceActorTagsError, type ReplaceActorTagsErrors, type ReplaceActorTagsResponse, type ReplaceActorTagsResponses, type ReplaceConversationTagsData, type ReplaceConversationTagsError, type ReplaceConversationTagsErrors, type ReplaceConversationTagsResponse, type ReplaceConversationTagsResponses, type ReplaceDocumentTagsData, type ReplaceDocumentTagsError, type ReplaceDocumentTagsErrors, type ReplaceDocumentTagsResponse, type ReplaceDocumentTagsResponses, type ReplaceFileTagsData, type ReplaceFileTagsError, type ReplaceFileTagsErrors, type ReplaceFileTagsResponse, type ReplaceFileTagsResponses, type ReplaceMemoryEntryTagsData, type ReplaceMemoryEntryTagsErrors, type ReplaceMemoryEntryTagsResponse, type ReplaceMemoryEntryTagsResponses, type ReplaceMemoryTagsData, type ReplaceMemoryTagsErrors, type ReplaceMemoryTagsResponse, type ReplaceMemoryTagsResponses, type ReplaceSessionTagsData, type ReplaceSessionTagsError, type ReplaceSessionTagsErrors, type ReplaceSessionTagsResponse, type ReplaceSessionTagsResponses, type RequestSignInCodeData, type RequestSignInCodeError, type RequestSignInCodeErrors, type RequestSignInCodeResponse, type RequestSignInCodeResponses, type RequiredAction, type ResolveExceptionData, type ResolveExceptionErrors, type ResolveExceptionResponse, type ResolveExceptionResponses, type ResourceDeclaration, type RestoreAgentVersionData, type RestoreAgentVersionError, type RestoreAgentVersionErrors, type RestoreAgentVersionRequest, type RestoreAgentVersionResponse, type RestoreAgentVersionResponses, type RestoreGuardrailVersionData, type RestoreGuardrailVersionError, type RestoreGuardrailVersionErrors, type RestoreGuardrailVersionRequest, type RestoreGuardrailVersionResponse, type RestoreGuardrailVersionResponses, type RestoreOrchestrationVersionData, type RestoreOrchestrationVersionErrors, type RestoreOrchestrationVersionRequest, type RestoreOrchestrationVersionResponse, type RestoreOrchestrationVersionResponses, type RestoreWorkflowVersionData, type RestoreWorkflowVersionErrors, type RestoreWorkflowVersionRequest, type RestoreWorkflowVersionResponse, type RestoreWorkflowVersionResponses, type ResumeOrchestrationRunData, type ResumeOrchestrationRunErrors, type ResumeOrchestrationRunResponse, type ResumeOrchestrationRunResponses, type ResumeTaskData, type ResumeTaskErrors, type ResumeTaskResponse, type ResumeTaskResponses, type RevokeAssistantGrantData, type RevokeAssistantGrantError, type RevokeAssistantGrantErrors, type RevokeAssistantGrantResponse, type RevokeAssistantGrantResponses, type RotateApiKeyData, type RotateApiKeyError, type RotateApiKeyErrors, type RotateApiKeyResponse, type RotateApiKeyResponses, type RotateTriggerSecretData, type RotateTriggerSecretErrors, type RotateTriggerSecretResponse, type RotateTriggerSecretResponses, type RotateWebhookSecretData, type RotateWebhookSecretError, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RouteId, type ScorerResult, type Scorers, type SearchKnowledgeData, type SearchKnowledgeError, type SearchKnowledgeErrors, type SearchKnowledgeResponse, type SearchKnowledgeResponses, type SecretResourceProperties, Secrets, type SendSessionMessageResponse, type SessionId, type SessionRecord, type SessionResourceProperties, Sessions, type SetAddressActionData, type SetAddressActionError, type SetAddressActionErrors, type SetAddressActionResponse, type SetAddressActionResponses, type SetAgentReleaseData, type SetAgentReleaseError, type SetAgentReleaseErrors, type SetAgentReleaseRequest, type SetAgentReleaseResponse, type SetAgentReleaseResponses, type SignInCodeRequest, type SignInCodeVerify, type StartEvalRunData, type StartEvalRunErrors, type StartEvalRunResponse, type StartEvalRunResponses, type StartOrchestrationRunData, type StartOrchestrationRunErrors, type StartOrchestrationRunRequest, type StartOrchestrationRunResponse, type StartOrchestrationRunResponses, type SubmitAgentToolOutputsData, type SubmitAgentToolOutputsError, type SubmitAgentToolOutputsErrors, type SubmitAgentToolOutputsResponse, type SubmitAgentToolOutputsResponses, type SubmitHumanInputData, type SubmitHumanInputErrors, type SubmitHumanInputResponse, type SubmitHumanInputResponses, type SubmitSessionToolOutputsData, type SubmitSessionToolOutputsError, type SubmitSessionToolOutputsErrors, type SubmitSessionToolOutputsRequest, type SubmitSessionToolOutputsResponse, type SubmitSessionToolOutputsResponses, type SubmitToolOutputsRequest, type TagBag, type TagsQuery, type Task, type TaskTransition, Tasks, type Tool, type ToolBinding, type ToolOutputMessageContent, type ToolResourceProperties, type ToolScorer, Tools, type Trace, type TraceTreeNode, Traces, type TranscriptStep, type TranscriptToolCall, type TranscriptToolResult, type TransitionTaskData, type TransitionTaskErrors, type TransitionTaskRequest, type TransitionTaskResponse, type TransitionTaskResponses, type Trigger, type TriggerFiring, type TriggerFiringListResponse, type TriggerResourceProperties, type TriggerSecretResponse, type TriggerWithSecret, Triggers, type UnauthorizedFormationAction, type UpdateActorData, type UpdateActorError, type UpdateActorErrors, type UpdateActorResponse, type UpdateActorResponses, type UpdateAgentData, type UpdateAgentError, type UpdateAgentErrors, type UpdateAgentRequest, type UpdateAgentResponse, type UpdateAgentResponses, type UpdateAiProviderData, type UpdateAiProviderErrors, type UpdateAiProviderPricesData, type UpdateAiProviderPricesErrors, type UpdateAiProviderPricesResponse, type UpdateAiProviderPricesResponses, type UpdateAiProviderResponses, type UpdateApiKeyData, type UpdateApiKeyError, type UpdateApiKeyErrors, type UpdateApiKeyResponse, type UpdateApiKeyResponses, type UpdateChannelData, type UpdateChannelError, type UpdateChannelErrors, type UpdateChannelResponse, type UpdateChannelResponses, type UpdateChannelRouteData, type UpdateChannelRouteError, type UpdateChannelRouteErrors, type UpdateChannelRouteResponse, type UpdateChannelRouteResponses, type UpdateConversationData, type UpdateConversationError, type UpdateConversationErrors, type UpdateConversationResponse, type UpdateConversationResponses, type UpdateCurrentUserData, type UpdateCurrentUserError, type UpdateCurrentUserErrors, type UpdateCurrentUserResponse, type UpdateCurrentUserResponses, type UpdateDatasetData, type UpdateDatasetErrors, type UpdateDatasetItemData, type UpdateDatasetItemErrors, type UpdateDatasetItemResponse, type UpdateDatasetItemResponses, type UpdateDatasetResponse, type UpdateDatasetResponses, type UpdateDocumentData, type UpdateDocumentError, type UpdateDocumentErrors, type UpdateDocumentResponse, type UpdateDocumentResponses, type UpdateEvalData, type UpdateEvalErrors, type UpdateEvalResponse, type UpdateEvalResponses, type UpdateFileMetadataData, type UpdateFileMetadataError, type UpdateFileMetadataErrors, type UpdateFileMetadataResponse, type UpdateFileMetadataResponses, type UpdateFormationData, type UpdateFormationErrors, type UpdateFormationResponse, type UpdateFormationResponses, type UpdateGenerationData, type UpdateGenerationError, type UpdateGenerationErrors, type UpdateGenerationRequest, type UpdateGenerationResponse, type UpdateGenerationResponses, type UpdateGuardrailData, type UpdateGuardrailError, type UpdateGuardrailErrors, type UpdateGuardrailRequest, type UpdateGuardrailResponse, type UpdateGuardrailResponses, type UpdateIngestionRuleData, type UpdateIngestionRuleErrors, type UpdateIngestionRuleResponse, type UpdateIngestionRuleResponses, type UpdateMemoryData, type UpdateMemoryEntryData, type UpdateMemoryEntryErrors, type UpdateMemoryEntryResponse, type UpdateMemoryEntryResponses, type UpdateMemoryErrors, type UpdateMemoryResponse, type UpdateMemoryResponses, type UpdateModelRouteData, type UpdateModelRouteErrors, type UpdateModelRouteResponse, type UpdateModelRouteResponses, type UpdateOrchestrationData, type UpdateOrchestrationErrors, type UpdateOrchestrationRequest, type UpdateOrchestrationResponse, type UpdateOrchestrationResponses, type UpdateProjectData, type UpdateProjectError, type UpdateProjectErrors, type UpdateProjectMemberData, type UpdateProjectMemberError, type UpdateProjectMemberErrors, type UpdateProjectMemberResponse, type UpdateProjectMemberResponses, type UpdateProjectResponse, type UpdateProjectResponses, type UpdateQuotaData, type UpdateQuotaErrors, type UpdateQuotaResponse, type UpdateQuotaResponses, type UpdateSecretData, type UpdateSecretErrors, type UpdateSecretResponses, type UpdateSessionData, type UpdateSessionError, type UpdateSessionErrors, type UpdateSessionRequest, type UpdateSessionResponse, type UpdateSessionResponses, type UpdateTaskData, type UpdateTaskErrors, type UpdateTaskRequest, type UpdateTaskResponse, type UpdateTaskResponses, type UpdateToolData, type UpdateToolError, type UpdateToolErrors, type UpdateToolRequest, type UpdateToolResponse, type UpdateToolResponses, type UpdateTriggerData, type UpdateTriggerErrors, type UpdateTriggerRequest, type UpdateTriggerResponse, type UpdateTriggerResponses, type UpdateUserRolesData, type UpdateUserRolesError, type UpdateUserRolesErrors, type UpdateUserRolesResponse, type UpdateUserRolesResponses, type UpdateWebhookData, type UpdateWebhookError, type UpdateWebhookErrors, type UpdateWebhookResponse, type UpdateWebhookResponses, type UpdateWorkflowData, type UpdateWorkflowErrors, type UpdateWorkflowRequest, type UpdateWorkflowResponse, type UpdateWorkflowResponses, type UploadFileBase64Data, type UploadFileBase64Error, type UploadFileBase64Errors, type UploadFileBase64Request, type UploadFileBase64Response, type UploadFileBase64Responses, type UploadFileData, type UploadFileError, type UploadFileErrors, type UploadFileResponse, type UploadFileResponses, type UpsertProviderPricesRequest, type UsageActionId, type UsageActorId, type UsageAgentId, type UsageAiProviderId, type UsageComponent, type UsageComponents, type UsageEventComponent, type UsageGenerationId, type UsageGroup, type UsageMeterType, type UsageOrchestrationId, type UsageOrchestrationRunId, type UsageSessionId, type UsageSource, type UsageThreshold, type UsageThresholdCreate, type UsageTokens, type UsageTotals, type UsageTraceId, type UsageTriggerId, type User, type UserBilling, type UserPlanGrant, type UserRolesUpdate, type UserUpdate, type UserUsage, Users, type ValidateFormationData, type ValidateFormationErrors, type ValidateFormationResponse, type ValidateFormationResponses, type ValidateOrchestrationData, type ValidateOrchestrationErrors, type ValidateOrchestrationRequest, type ValidateOrchestrationResponse, type ValidateOrchestrationResponses, type ValidationError, type ValidationResult, type VerifySignInCodeData, type VerifySignInCodeError, type VerifySignInCodeErrors, type VerifySignInCodeResponse, type VerifySignInCodeResponses, type Webhook, type WebhookCreate, type WebhookDelivery, type WebhookDeliveryList, type WebhookId, type WebhookList, type WebhookUpdate, type WebhookWithSecret, Webhooks, type Workflow, type WorkflowResourceProperties, type WorkflowState, type WorkflowTransition, type WorkflowVersion, Workflows, createClient, createConfig };