@naturali/sdk 0.127.1 → 0.127.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -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's source could not be reached (an unreachable MCP server, most often) and 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
@@ -4534,12 +4584,7 @@ type DocumentKnowledgeResult = {
4534
4584
  metadata?: {
4535
4585
  [key: string]: unknown;
4536
4586
  };
4537
- /**
4538
- * Key-value tags
4539
- */
4540
- tags?: {
4541
- [key: string]: string;
4542
- };
4587
+ tags?: TagBag;
4543
4588
  /**
4544
4589
  * Full text content of the document
4545
4590
  */
@@ -4605,9 +4650,9 @@ type Memory = {
4605
4650
  name?: string;
4606
4651
  description?: string | null;
4607
4652
  /**
4608
- * List of tags for filtering in knowledge search
4653
+ * Key-value tags for filtering in knowledge search.
4609
4654
  */
4610
- tags?: Array<string> | null;
4655
+ tags?: NullableTagBag;
4611
4656
  created_at?: Date;
4612
4657
  updated_at?: Date;
4613
4658
  };
@@ -4617,9 +4662,9 @@ type MemoryEntry = {
4617
4662
  content?: string;
4618
4663
  source_type?: 'manual' | 'agent' | 'extraction' | 'orchestration';
4619
4664
  /**
4620
- * Per-entry tag strings
4665
+ * Per-entry key-value tags, matched at entry granularity by knowledge search.
4621
4666
  */
4622
- tags?: Array<string> | null;
4667
+ tags?: NullableTagBag;
4623
4668
  /**
4624
4669
  * Arbitrary structured metadata attached to the entry
4625
4670
  */
@@ -5218,11 +5263,18 @@ type UsageTotals = {
5218
5263
  */
5219
5264
  cost_usd?: number | null;
5220
5265
  /**
5221
- * Full prompt tokens (uncached input + cached), reconstructed from components
5266
+ * Full prompt tokens uncached input + `cached_tokens` + `cache_write_tokens` — reconstructed from components.
5222
5267
  */
5223
5268
  input_tokens?: number;
5224
5269
  output_tokens?: number;
5270
+ /**
5271
+ * Prompt tokens served from the provider's prompt cache.
5272
+ */
5225
5273
  cached_tokens?: number;
5274
+ /**
5275
+ * Prompt tokens written into the provider's prompt cache.
5276
+ */
5277
+ cache_write_tokens?: number;
5226
5278
  reasoning_tokens?: number;
5227
5279
  };
5228
5280
  /**
@@ -5905,9 +5957,7 @@ type SessionRecord = {
5905
5957
  *
5906
5958
  */
5907
5959
  actor_id?: string | null;
5908
- tags?: {
5909
- [key: string]: string;
5910
- };
5960
+ tags?: TagBag;
5911
5961
  /**
5912
5962
  * When true, automatically triggers generation after each user message (if no generation is in progress).
5913
5963
  */
@@ -5969,12 +6019,7 @@ type ForkSessionRequest = {
5969
6019
  * Optional name for the forked session
5970
6020
  */
5971
6021
  name?: string;
5972
- /**
5973
- * Optional tags for the forked session
5974
- */
5975
- tags?: {
5976
- [key: string]: string;
5977
- };
6022
+ tags?: TagBag;
5978
6023
  /**
5979
6024
  * 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
6025
  *
@@ -7079,12 +7124,7 @@ type FileRecordWritable = {
7079
7124
  * JSON string with additional metadata
7080
7125
  */
7081
7126
  metadata?: string | null;
7082
- /**
7083
- * Key-value tags attached to the file.
7084
- */
7085
- tags?: {
7086
- [key: string]: string;
7087
- };
7127
+ tags?: TagBag;
7088
7128
  /**
7089
7129
  * Creation timestamp
7090
7130
  */
@@ -7098,6 +7138,11 @@ type FileRecordWritable = {
7098
7138
  * Project public ID (proj_ prefix).
7099
7139
  */
7100
7140
  type ProjectId = string;
7141
+ /**
7142
+ * 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.
7143
+ *
7144
+ */
7145
+ type TagsQuery = Array<string>;
7101
7146
  /**
7102
7147
  * Maximum items per page — an integer from 1 to 100 (default 20).
7103
7148
  */
@@ -7258,7 +7303,7 @@ type ListActivityData = {
7258
7303
  /**
7259
7304
  * Filter by activity kind
7260
7305
  */
7261
- kind?: 'action_executed' | 'approval_created' | 'approval_resolved' | 'exception_created' | 'schedule_fired';
7306
+ kind?: 'action_executed' | 'approval_created' | 'approval_resolved' | 'exception_created' | 'schedule_fired' | 'tool_resolution_failed';
7262
7307
  /**
7263
7308
  * Filter by severity
7264
7309
  */
@@ -7335,6 +7380,11 @@ type ListActorsData = {
7335
7380
  *
7336
7381
  */
7337
7382
  conversation_id?: string;
7383
+ /**
7384
+ * 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.
7385
+ *
7386
+ */
7387
+ tags?: Array<string>;
7338
7388
  /**
7339
7389
  * Maximum number of results to return
7340
7390
  */
@@ -7517,9 +7567,7 @@ type UpdateActorData = {
7517
7567
  * Chat to link this actor to. Mutually exclusive with agent_id.
7518
7568
  */
7519
7569
  chat_id?: string | null;
7520
- tags?: {
7521
- [key: string]: string;
7522
- };
7570
+ tags?: TagBag;
7523
7571
  };
7524
7572
  path: {
7525
7573
  /**
@@ -7590,15 +7638,11 @@ type GetActorTagsResponses = {
7590
7638
  /**
7591
7639
  * Actor tags
7592
7640
  */
7593
- 200: {
7594
- [key: string]: string;
7595
- };
7641
+ 200: TagBag;
7596
7642
  };
7597
7643
  type GetActorTagsResponse = GetActorTagsResponses[keyof GetActorTagsResponses];
7598
7644
  type MergeActorTagsData = {
7599
- body: {
7600
- [key: string]: string;
7601
- };
7645
+ body: TagBag;
7602
7646
  path: {
7603
7647
  /**
7604
7648
  * Project public ID (proj_ prefix).
@@ -7631,15 +7675,11 @@ type MergeActorTagsResponses = {
7631
7675
  /**
7632
7676
  * Tags merged
7633
7677
  */
7634
- 200: {
7635
- [key: string]: string;
7636
- };
7678
+ 200: TagBag;
7637
7679
  };
7638
7680
  type MergeActorTagsResponse = MergeActorTagsResponses[keyof MergeActorTagsResponses];
7639
7681
  type ReplaceActorTagsData = {
7640
- body: {
7641
- [key: string]: string;
7642
- };
7682
+ body: TagBag;
7643
7683
  path: {
7644
7684
  /**
7645
7685
  * Project public ID (proj_ prefix).
@@ -7672,9 +7712,7 @@ type ReplaceActorTagsResponses = {
7672
7712
  /**
7673
7713
  * Tags replaced
7674
7714
  */
7675
- 200: {
7676
- [key: string]: string;
7677
- };
7715
+ 200: TagBag;
7678
7716
  };
7679
7717
  type ReplaceActorTagsResponse = ReplaceActorTagsResponses[keyof ReplaceActorTagsResponses];
7680
7718
  type ListAddressesData = {
@@ -10798,6 +10836,11 @@ type ListConversationsData = {
10798
10836
  * Filter by actor ID
10799
10837
  */
10800
10838
  actor_id?: string;
10839
+ /**
10840
+ * 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.
10841
+ *
10842
+ */
10843
+ tags?: Array<string>;
10801
10844
  /**
10802
10845
  * Maximum number of results to return
10803
10846
  */
@@ -11265,15 +11308,11 @@ type GetConversationTagsResponses = {
11265
11308
  /**
11266
11309
  * Conversation tags
11267
11310
  */
11268
- 200: {
11269
- [key: string]: string;
11270
- };
11311
+ 200: TagBag;
11271
11312
  };
11272
11313
  type GetConversationTagsResponse = GetConversationTagsResponses[keyof GetConversationTagsResponses];
11273
11314
  type MergeConversationTagsData = {
11274
- body: {
11275
- [key: string]: string;
11276
- };
11315
+ body: TagBag;
11277
11316
  path: {
11278
11317
  /**
11279
11318
  * Project public ID (proj_ prefix).
@@ -11306,15 +11345,11 @@ type MergeConversationTagsResponses = {
11306
11345
  /**
11307
11346
  * Tags merged
11308
11347
  */
11309
- 200: {
11310
- [key: string]: string;
11311
- };
11348
+ 200: TagBag;
11312
11349
  };
11313
11350
  type MergeConversationTagsResponse = MergeConversationTagsResponses[keyof MergeConversationTagsResponses];
11314
11351
  type ReplaceConversationTagsData = {
11315
- body: {
11316
- [key: string]: string;
11317
- };
11352
+ body: TagBag;
11318
11353
  path: {
11319
11354
  /**
11320
11355
  * Project public ID (proj_ prefix).
@@ -11347,9 +11382,7 @@ type ReplaceConversationTagsResponses = {
11347
11382
  /**
11348
11383
  * Tags replaced
11349
11384
  */
11350
- 200: {
11351
- [key: string]: string;
11352
- };
11385
+ 200: TagBag;
11353
11386
  };
11354
11387
  type ReplaceConversationTagsResponse = ReplaceConversationTagsResponses[keyof ReplaceConversationTagsResponses];
11355
11388
  type ListDocumentsData = {
@@ -11365,6 +11398,11 @@ type ListDocumentsData = {
11365
11398
  * 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
11399
  */
11367
11400
  path_prefix?: string;
11401
+ /**
11402
+ * 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.
11403
+ *
11404
+ */
11405
+ tags?: Array<string>;
11368
11406
  /**
11369
11407
  * Maximum number of results to return
11370
11408
  */
@@ -11417,12 +11455,7 @@ type CreateDocumentData = {
11417
11455
  metadata?: {
11418
11456
  [key: string]: unknown;
11419
11457
  };
11420
- /**
11421
- * Key-value tags
11422
- */
11423
- tags?: {
11424
- [key: string]: string;
11425
- };
11458
+ tags?: TagBag;
11426
11459
  /**
11427
11460
  * 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
11461
  */
@@ -11481,12 +11514,7 @@ type IngestDocumentData = {
11481
11514
  * Path prefix under which to store the document (e.g. /docs/). The filename is appended automatically.
11482
11515
  */
11483
11516
  path_prefix?: string;
11484
- /**
11485
- * Key-value tags to attach to the document.
11486
- */
11487
- tags?: {
11488
- [key: string]: string;
11489
- };
11517
+ tags?: TagBag;
11490
11518
  /**
11491
11519
  * 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
11520
  */
@@ -11642,12 +11670,7 @@ type UpdateDocumentData = {
11642
11670
  metadata?: {
11643
11671
  [key: string]: unknown;
11644
11672
  };
11645
- /**
11646
- * Key-value tags
11647
- */
11648
- tags?: {
11649
- [key: string]: string;
11650
- };
11673
+ tags?: TagBag;
11651
11674
  };
11652
11675
  path: {
11653
11676
  /**
@@ -11822,15 +11845,11 @@ type GetDocumentTagsResponses = {
11822
11845
  /**
11823
11846
  * Document tags
11824
11847
  */
11825
- 200: {
11826
- [key: string]: string;
11827
- };
11848
+ 200: TagBag;
11828
11849
  };
11829
11850
  type GetDocumentTagsResponse = GetDocumentTagsResponses[keyof GetDocumentTagsResponses];
11830
11851
  type MergeDocumentTagsData = {
11831
- body: {
11832
- [key: string]: string;
11833
- };
11852
+ body: TagBag;
11834
11853
  path: {
11835
11854
  /**
11836
11855
  * Project public ID (proj_ prefix).
@@ -11863,15 +11882,11 @@ type MergeDocumentTagsResponses = {
11863
11882
  /**
11864
11883
  * Tags merged
11865
11884
  */
11866
- 200: {
11867
- [key: string]: string;
11868
- };
11885
+ 200: TagBag;
11869
11886
  };
11870
11887
  type MergeDocumentTagsResponse = MergeDocumentTagsResponses[keyof MergeDocumentTagsResponses];
11871
11888
  type ReplaceDocumentTagsData = {
11872
- body: {
11873
- [key: string]: string;
11874
- };
11889
+ body: TagBag;
11875
11890
  path: {
11876
11891
  /**
11877
11892
  * Project public ID (proj_ prefix).
@@ -11904,9 +11919,7 @@ type ReplaceDocumentTagsResponses = {
11904
11919
  /**
11905
11920
  * Tags replaced
11906
11921
  */
11907
- 200: {
11908
- [key: string]: string;
11909
- };
11922
+ 200: TagBag;
11910
11923
  };
11911
11924
  type ReplaceDocumentTagsResponse = ReplaceDocumentTagsResponses[keyof ReplaceDocumentTagsResponses];
11912
11925
  type CreateEmbeddingsData = {
@@ -13105,6 +13118,11 @@ type ListFilesData = {
13105
13118
  project_id: string;
13106
13119
  };
13107
13120
  query?: {
13121
+ /**
13122
+ * 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.
13123
+ *
13124
+ */
13125
+ tags?: Array<string>;
13108
13126
  /**
13109
13127
  * Maximum number of results to return
13110
13128
  */
@@ -13545,15 +13563,11 @@ type GetFileTagsResponses = {
13545
13563
  /**
13546
13564
  * File tags
13547
13565
  */
13548
- 200: {
13549
- [key: string]: string;
13550
- };
13566
+ 200: TagBag;
13551
13567
  };
13552
13568
  type GetFileTagsResponse = GetFileTagsResponses[keyof GetFileTagsResponses];
13553
13569
  type MergeFileTagsData = {
13554
- body: {
13555
- [key: string]: string;
13556
- };
13570
+ body: TagBag;
13557
13571
  path: {
13558
13572
  /**
13559
13573
  * Project public ID (proj_ prefix).
@@ -13587,15 +13601,11 @@ type MergeFileTagsResponses = {
13587
13601
  /**
13588
13602
  * Tags merged
13589
13603
  */
13590
- 200: {
13591
- [key: string]: string;
13592
- };
13604
+ 200: TagBag;
13593
13605
  };
13594
13606
  type MergeFileTagsResponse = MergeFileTagsResponses[keyof MergeFileTagsResponses];
13595
13607
  type ReplaceFileTagsData = {
13596
- body: {
13597
- [key: string]: string;
13598
- };
13608
+ body: TagBag;
13599
13609
  path: {
13600
13610
  /**
13601
13611
  * Project public ID (proj_ prefix).
@@ -13629,9 +13639,7 @@ type ReplaceFileTagsResponses = {
13629
13639
  /**
13630
13640
  * Tags replaced
13631
13641
  */
13632
- 200: {
13633
- [key: string]: string;
13634
- };
13642
+ 200: TagBag;
13635
13643
  };
13636
13644
  type ReplaceFileTagsResponse = ReplaceFileTagsResponses[keyof ReplaceFileTagsResponses];
13637
13645
  type ValidateFormationData = {
@@ -14865,10 +14873,6 @@ type SearchKnowledgeData = {
14865
14873
  * Search entries within these specific memories
14866
14874
  */
14867
14875
  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
14876
  /**
14873
14877
  * Filter results to documents whose file path starts with one of these prefixes
14874
14878
  */
@@ -14877,6 +14881,10 @@ type SearchKnowledgeData = {
14877
14881
  * Filter results to specific document IDs
14878
14882
  */
14879
14883
  document_ids?: Array<string>;
14884
+ /**
14885
+ * 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.
14886
+ */
14887
+ tags?: TagBag;
14880
14888
  };
14881
14889
  path: {
14882
14890
  /**
@@ -14921,7 +14929,7 @@ type ListMemoriesData = {
14921
14929
  };
14922
14930
  query?: {
14923
14931
  /**
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.
14932
+ * 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
14933
  *
14926
14934
  */
14927
14935
  tags?: Array<string>;
@@ -14973,9 +14981,9 @@ type CreateMemoryData = {
14973
14981
  */
14974
14982
  description?: string;
14975
14983
  /**
14976
- * Optional list of tags for filtering in knowledge search
14984
+ * Optional key-value tags. Scopes the memory in knowledge search, where every requested pair must match exactly.
14977
14985
  */
14978
- tags?: Array<string>;
14986
+ tags?: TagBag;
14979
14987
  };
14980
14988
  path: {
14981
14989
  /**
@@ -15096,9 +15104,9 @@ type UpdateMemoryData = {
15096
15104
  */
15097
15105
  description?: string | null;
15098
15106
  /**
15099
- * Optional list of tags for filtering in knowledge search
15107
+ * Optional key-value tags. Replaces the stored bag; `null` clears it.
15100
15108
  */
15101
- tags?: Array<string> | null;
15109
+ tags?: NullableTagBag;
15102
15110
  };
15103
15111
  path: {
15104
15112
  /**
@@ -15135,6 +15143,122 @@ type UpdateMemoryResponses = {
15135
15143
  200: Memory;
15136
15144
  };
15137
15145
  type UpdateMemoryResponse = UpdateMemoryResponses[keyof UpdateMemoryResponses];
15146
+ type GetMemoryTagsData = {
15147
+ body?: never;
15148
+ path: {
15149
+ /**
15150
+ * Project public ID (proj_ prefix).
15151
+ */
15152
+ project_id: string;
15153
+ /**
15154
+ * Memory ID
15155
+ */
15156
+ memory_id: string;
15157
+ };
15158
+ query?: never;
15159
+ url: '/v1/projects/{project_id}/memories/{memory_id}/tags';
15160
+ };
15161
+ type GetMemoryTagsErrors = {
15162
+ /**
15163
+ * Unauthorized
15164
+ */
15165
+ 401: unknown;
15166
+ /**
15167
+ * Forbidden
15168
+ */
15169
+ 403: unknown;
15170
+ /**
15171
+ * Memory not found
15172
+ */
15173
+ 404: unknown;
15174
+ };
15175
+ type GetMemoryTagsResponses = {
15176
+ /**
15177
+ * Memory tags
15178
+ */
15179
+ 200: TagBag;
15180
+ };
15181
+ type GetMemoryTagsResponse = GetMemoryTagsResponses[keyof GetMemoryTagsResponses];
15182
+ type MergeMemoryTagsData = {
15183
+ body: TagBag;
15184
+ path: {
15185
+ /**
15186
+ * Project public ID (proj_ prefix).
15187
+ */
15188
+ project_id: string;
15189
+ /**
15190
+ * Memory ID
15191
+ */
15192
+ memory_id: string;
15193
+ };
15194
+ query?: never;
15195
+ url: '/v1/projects/{project_id}/memories/{memory_id}/tags';
15196
+ };
15197
+ type MergeMemoryTagsErrors = {
15198
+ /**
15199
+ * Body is not an object of string values
15200
+ */
15201
+ 400: unknown;
15202
+ /**
15203
+ * Unauthorized
15204
+ */
15205
+ 401: unknown;
15206
+ /**
15207
+ * Forbidden
15208
+ */
15209
+ 403: unknown;
15210
+ /**
15211
+ * Memory not found
15212
+ */
15213
+ 404: unknown;
15214
+ };
15215
+ type MergeMemoryTagsResponses = {
15216
+ /**
15217
+ * Tags merged
15218
+ */
15219
+ 200: TagBag;
15220
+ };
15221
+ type MergeMemoryTagsResponse = MergeMemoryTagsResponses[keyof MergeMemoryTagsResponses];
15222
+ type ReplaceMemoryTagsData = {
15223
+ body: TagBag;
15224
+ path: {
15225
+ /**
15226
+ * Project public ID (proj_ prefix).
15227
+ */
15228
+ project_id: string;
15229
+ /**
15230
+ * Memory ID
15231
+ */
15232
+ memory_id: string;
15233
+ };
15234
+ query?: never;
15235
+ url: '/v1/projects/{project_id}/memories/{memory_id}/tags';
15236
+ };
15237
+ type ReplaceMemoryTagsErrors = {
15238
+ /**
15239
+ * Body is not an object of string values
15240
+ */
15241
+ 400: unknown;
15242
+ /**
15243
+ * Unauthorized
15244
+ */
15245
+ 401: unknown;
15246
+ /**
15247
+ * Forbidden
15248
+ */
15249
+ 403: unknown;
15250
+ /**
15251
+ * Memory not found
15252
+ */
15253
+ 404: unknown;
15254
+ };
15255
+ type ReplaceMemoryTagsResponses = {
15256
+ /**
15257
+ * Tags replaced
15258
+ */
15259
+ 200: TagBag;
15260
+ };
15261
+ type ReplaceMemoryTagsResponse = ReplaceMemoryTagsResponses[keyof ReplaceMemoryTagsResponses];
15138
15262
  type ListMemoryEntriesData = {
15139
15263
  body?: never;
15140
15264
  path: {
@@ -15148,6 +15272,11 @@ type ListMemoryEntriesData = {
15148
15272
  * Memory container to list entries from (mem_...)
15149
15273
  */
15150
15274
  memory_id: string;
15275
+ /**
15276
+ * 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.
15277
+ *
15278
+ */
15279
+ tags?: Array<string>;
15151
15280
  /**
15152
15281
  * Maximum number of results to return
15153
15282
  */
@@ -15208,9 +15337,9 @@ type CreateMemoryEntryData = {
15208
15337
  */
15209
15338
  source_type?: 'manual' | 'agent' | 'extraction' | 'orchestration';
15210
15339
  /**
15211
- * Per-entry tag strings, used for entry-granularity filtering in search-knowledge (memory_tags)
15340
+ * Per-entry key-value tags, used for entry-granularity filtering by `tags` in search-knowledge.
15212
15341
  */
15213
- tags?: Array<string>;
15342
+ tags?: TagBag;
15214
15343
  /**
15215
15344
  * Arbitrary structured metadata attached to the entry
15216
15345
  */
@@ -15349,9 +15478,9 @@ type UpdateMemoryEntryData = {
15349
15478
  */
15350
15479
  content?: string;
15351
15480
  /**
15352
- * Replaces the entry's tags. Pass null or an empty array to clear.
15481
+ * Replaces the entry's tags. Pass null or an empty object to clear.
15353
15482
  */
15354
- tags?: Array<string> | null;
15483
+ tags?: NullableTagBag;
15355
15484
  /**
15356
15485
  * Replaces the entry's metadata. Pass null to clear.
15357
15486
  */
@@ -15394,6 +15523,122 @@ type UpdateMemoryEntryResponses = {
15394
15523
  200: MemoryEntry;
15395
15524
  };
15396
15525
  type UpdateMemoryEntryResponse = UpdateMemoryEntryResponses[keyof UpdateMemoryEntryResponses];
15526
+ type GetMemoryEntryTagsData = {
15527
+ body?: never;
15528
+ path: {
15529
+ /**
15530
+ * Project public ID (proj_ prefix).
15531
+ */
15532
+ project_id: string;
15533
+ /**
15534
+ * Memory entry ID
15535
+ */
15536
+ entry_id: string;
15537
+ };
15538
+ query?: never;
15539
+ url: '/v1/projects/{project_id}/memory-entries/{entry_id}/tags';
15540
+ };
15541
+ type GetMemoryEntryTagsErrors = {
15542
+ /**
15543
+ * Unauthorized
15544
+ */
15545
+ 401: unknown;
15546
+ /**
15547
+ * Forbidden
15548
+ */
15549
+ 403: unknown;
15550
+ /**
15551
+ * Memory or entry not found
15552
+ */
15553
+ 404: unknown;
15554
+ };
15555
+ type GetMemoryEntryTagsResponses = {
15556
+ /**
15557
+ * Memory entry tags
15558
+ */
15559
+ 200: TagBag;
15560
+ };
15561
+ type GetMemoryEntryTagsResponse = GetMemoryEntryTagsResponses[keyof GetMemoryEntryTagsResponses];
15562
+ type MergeMemoryEntryTagsData = {
15563
+ body: TagBag;
15564
+ path: {
15565
+ /**
15566
+ * Project public ID (proj_ prefix).
15567
+ */
15568
+ project_id: string;
15569
+ /**
15570
+ * Memory entry ID
15571
+ */
15572
+ entry_id: string;
15573
+ };
15574
+ query?: never;
15575
+ url: '/v1/projects/{project_id}/memory-entries/{entry_id}/tags';
15576
+ };
15577
+ type MergeMemoryEntryTagsErrors = {
15578
+ /**
15579
+ * Body is not an object of string values
15580
+ */
15581
+ 400: unknown;
15582
+ /**
15583
+ * Unauthorized
15584
+ */
15585
+ 401: unknown;
15586
+ /**
15587
+ * Forbidden
15588
+ */
15589
+ 403: unknown;
15590
+ /**
15591
+ * Memory or entry not found
15592
+ */
15593
+ 404: unknown;
15594
+ };
15595
+ type MergeMemoryEntryTagsResponses = {
15596
+ /**
15597
+ * Tags merged
15598
+ */
15599
+ 200: TagBag;
15600
+ };
15601
+ type MergeMemoryEntryTagsResponse = MergeMemoryEntryTagsResponses[keyof MergeMemoryEntryTagsResponses];
15602
+ type ReplaceMemoryEntryTagsData = {
15603
+ body: TagBag;
15604
+ path: {
15605
+ /**
15606
+ * Project public ID (proj_ prefix).
15607
+ */
15608
+ project_id: string;
15609
+ /**
15610
+ * Memory entry ID
15611
+ */
15612
+ entry_id: string;
15613
+ };
15614
+ query?: never;
15615
+ url: '/v1/projects/{project_id}/memory-entries/{entry_id}/tags';
15616
+ };
15617
+ type ReplaceMemoryEntryTagsErrors = {
15618
+ /**
15619
+ * Body is not an object of string values
15620
+ */
15621
+ 400: unknown;
15622
+ /**
15623
+ * Unauthorized
15624
+ */
15625
+ 401: unknown;
15626
+ /**
15627
+ * Forbidden
15628
+ */
15629
+ 403: unknown;
15630
+ /**
15631
+ * Memory or entry not found
15632
+ */
15633
+ 404: unknown;
15634
+ };
15635
+ type ReplaceMemoryEntryTagsResponses = {
15636
+ /**
15637
+ * Tags replaced
15638
+ */
15639
+ 200: TagBag;
15640
+ };
15641
+ type ReplaceMemoryEntryTagsResponse = ReplaceMemoryEntryTagsResponses[keyof ReplaceMemoryEntryTagsResponses];
15397
15642
  type ListModelRoutesData = {
15398
15643
  body?: never;
15399
15644
  path: {
@@ -17605,6 +17850,11 @@ type ListSessionsData = {
17605
17850
  * Filter by session status (open, closed, or expired)
17606
17851
  */
17607
17852
  status?: 'open' | 'closed' | 'expired';
17853
+ /**
17854
+ * 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.
17855
+ *
17856
+ */
17857
+ tags?: Array<string>;
17608
17858
  limit?: number;
17609
17859
  offset?: number;
17610
17860
  };
@@ -18056,15 +18306,11 @@ type GetSessionTagsResponses = {
18056
18306
  /**
18057
18307
  * Session tags
18058
18308
  */
18059
- 200: {
18060
- [key: string]: string;
18061
- };
18309
+ 200: TagBag;
18062
18310
  };
18063
18311
  type GetSessionTagsResponse = GetSessionTagsResponses[keyof GetSessionTagsResponses];
18064
18312
  type MergeSessionTagsData = {
18065
- body: {
18066
- [key: string]: string;
18067
- };
18313
+ body: TagBag;
18068
18314
  path: {
18069
18315
  /**
18070
18316
  * Project public ID (proj_ prefix).
@@ -18098,15 +18344,11 @@ type MergeSessionTagsResponses = {
18098
18344
  /**
18099
18345
  * Updated tags
18100
18346
  */
18101
- 200: {
18102
- [key: string]: string;
18103
- };
18347
+ 200: TagBag;
18104
18348
  };
18105
18349
  type MergeSessionTagsResponse = MergeSessionTagsResponses[keyof MergeSessionTagsResponses];
18106
18350
  type ReplaceSessionTagsData = {
18107
- body: {
18108
- [key: string]: string;
18109
- };
18351
+ body: TagBag;
18110
18352
  path: {
18111
18353
  /**
18112
18354
  * Project public ID (proj_ prefix).
@@ -18140,9 +18382,7 @@ type ReplaceSessionTagsResponses = {
18140
18382
  /**
18141
18383
  * Updated tags
18142
18384
  */
18143
- 200: {
18144
- [key: string]: string;
18145
- };
18385
+ 200: TagBag;
18146
18386
  };
18147
18387
  type ReplaceSessionTagsResponse = ReplaceSessionTagsResponses[keyof ReplaceSessionTagsResponses];
18148
18388
  type ListTasksData = {
@@ -20043,7 +20283,7 @@ declare class Actors {
20043
20283
  /**
20044
20284
  * Merge actor tags
20045
20285
  *
20046
- * Merges provided tags with existing tags (existing tags are preserved unless overridden)
20286
+ * Merges provided tags into the actor's existing tags (existing tags are preserved unless overridden)
20047
20287
  */
20048
20288
  static mergeActorTags<ThrowOnError extends boolean = false>(options: Options<MergeActorTagsData, ThrowOnError>): RequestResult<MergeActorTagsResponses, MergeActorTagsErrors, ThrowOnError>;
20049
20289
  /**
@@ -20695,7 +20935,7 @@ declare class Conversations {
20695
20935
  /**
20696
20936
  * Merge conversation tags
20697
20937
  *
20698
- * Merges provided tags with existing tags
20938
+ * Merges provided tags into the conversation's existing tags (existing tags are preserved unless overridden)
20699
20939
  */
20700
20940
  static mergeConversationTags<ThrowOnError extends boolean = false>(options: Options<MergeConversationTagsData, ThrowOnError>): RequestResult<MergeConversationTagsResponses, MergeConversationTagsErrors, ThrowOnError>;
20701
20941
  /**
@@ -20786,7 +21026,7 @@ declare class Documents {
20786
21026
  /**
20787
21027
  * Merge document tags
20788
21028
  *
20789
- * Merges provided tags with existing tags (existing tags are preserved unless overridden)
21029
+ * Merges provided tags into the document's existing tags (existing tags are preserved unless overridden)
20790
21030
  */
20791
21031
  static mergeDocumentTags<ThrowOnError extends boolean = false>(options: Options<MergeDocumentTagsData, ThrowOnError>): RequestResult<MergeDocumentTagsResponses, MergeDocumentTagsErrors, ThrowOnError>;
20792
21032
  /**
@@ -21046,7 +21286,7 @@ declare class Files {
21046
21286
  /**
21047
21287
  * Merge file tags
21048
21288
  *
21049
- * Merges provided tags with existing tags
21289
+ * Merges provided tags into the file's existing tags (existing tags are preserved unless overridden)
21050
21290
  */
21051
21291
  static mergeFileTags<ThrowOnError extends boolean = false>(options: Options<MergeFileTagsData, ThrowOnError>): RequestResult<MergeFileTagsResponses, MergeFileTagsErrors, ThrowOnError>;
21052
21292
  /**
@@ -21271,7 +21511,7 @@ declare class Knowledge {
21271
21511
  /**
21272
21512
  * Search knowledge
21273
21513
  *
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.
21514
+ * Searches across documents and memory entries using semantic search, 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
21515
  */
21276
21516
  static searchKnowledge<ThrowOnError extends boolean = false>(options: Options<SearchKnowledgeData, ThrowOnError>): RequestResult<SearchKnowledgeResponses, SearchKnowledgeErrors, ThrowOnError>;
21277
21517
  }
@@ -21306,6 +21546,24 @@ declare class Memories {
21306
21546
  * Updates an existing memory configuration
21307
21547
  */
21308
21548
  static updateMemory<ThrowOnError extends boolean = false>(options: Options<UpdateMemoryData, ThrowOnError>): RequestResult<UpdateMemoryResponses, UpdateMemoryErrors, ThrowOnError>;
21549
+ /**
21550
+ * Get memory tags
21551
+ *
21552
+ * Returns all tags attached to the memory
21553
+ */
21554
+ static getMemoryTags<ThrowOnError extends boolean = false>(options: Options<GetMemoryTagsData, ThrowOnError>): RequestResult<GetMemoryTagsResponses, GetMemoryTagsErrors, ThrowOnError>;
21555
+ /**
21556
+ * Merge memory tags
21557
+ *
21558
+ * Merges provided tags into the memory's existing tags (existing tags are preserved unless overridden)
21559
+ */
21560
+ static mergeMemoryTags<ThrowOnError extends boolean = false>(options: Options<MergeMemoryTagsData, ThrowOnError>): RequestResult<MergeMemoryTagsResponses, MergeMemoryTagsErrors, ThrowOnError>;
21561
+ /**
21562
+ * Replace memory tags
21563
+ *
21564
+ * Replaces all tags on the memory with the provided tags (not merged)
21565
+ */
21566
+ static replaceMemoryTags<ThrowOnError extends boolean = false>(options: Options<ReplaceMemoryTagsData, ThrowOnError>): RequestResult<ReplaceMemoryTagsResponses, ReplaceMemoryTagsErrors, ThrowOnError>;
21309
21567
  }
21310
21568
  declare class MemoryEntries {
21311
21569
  /**
@@ -21338,6 +21596,24 @@ declare class MemoryEntries {
21338
21596
  * Updates an existing memory entry. Regenerates the embedding if content changes.
21339
21597
  */
21340
21598
  static updateMemoryEntry<ThrowOnError extends boolean = false>(options: Options<UpdateMemoryEntryData, ThrowOnError>): RequestResult<UpdateMemoryEntryResponses, UpdateMemoryEntryErrors, ThrowOnError>;
21599
+ /**
21600
+ * Get memory entry tags
21601
+ *
21602
+ * Returns all tags attached to the memory entry
21603
+ */
21604
+ static getMemoryEntryTags<ThrowOnError extends boolean = false>(options: Options<GetMemoryEntryTagsData, ThrowOnError>): RequestResult<GetMemoryEntryTagsResponses, GetMemoryEntryTagsErrors, ThrowOnError>;
21605
+ /**
21606
+ * Merge memory entry tags
21607
+ *
21608
+ * Merges provided tags into the memory entry's existing tags (existing tags are preserved unless overridden)
21609
+ */
21610
+ static mergeMemoryEntryTags<ThrowOnError extends boolean = false>(options: Options<MergeMemoryEntryTagsData, ThrowOnError>): RequestResult<MergeMemoryEntryTagsResponses, MergeMemoryEntryTagsErrors, ThrowOnError>;
21611
+ /**
21612
+ * Replace memory entry tags
21613
+ *
21614
+ * Replaces all tags on the memory entry with the provided tags (not merged)
21615
+ */
21616
+ static replaceMemoryEntryTags<ThrowOnError extends boolean = false>(options: Options<ReplaceMemoryEntryTagsData, ThrowOnError>): RequestResult<ReplaceMemoryEntryTagsResponses, ReplaceMemoryEntryTagsErrors, ThrowOnError>;
21341
21617
  }
21342
21618
  declare class ModelRoutes {
21343
21619
  /**
@@ -22256,4 +22532,4 @@ declare class NaturaliClient {
22256
22532
  constructor({ token, headers }?: NaturaliClientOptions);
22257
22533
  }
22258
22534
  //#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 };
22535
+ 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 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 };