@soat/sdk 0.45.0 → 0.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -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
  };
@@ -500,9 +498,12 @@ type Agent = {
500
498
  */
501
499
  knowledge_config?: {
502
500
  memory_ids?: Array<string>;
503
- memory_tags?: Array<string>;
504
501
  document_ids?: Array<string>;
505
502
  document_paths?: Array<string>;
503
+ /**
504
+ * Key-value pairs a result's own `tags` must all contain (exact match). Scopes documents and memory entries alike.
505
+ */
506
+ tags?: TagBag;
506
507
  min_score?: number;
507
508
  limit?: number;
508
509
  /**
@@ -711,9 +712,12 @@ type CreateAgentRequest = {
711
712
  temperature?: number;
712
713
  knowledge_config?: {
713
714
  memory_ids?: Array<string>;
714
- memory_tags?: Array<string>;
715
715
  document_ids?: Array<string>;
716
716
  document_paths?: Array<string>;
717
+ /**
718
+ * Key-value pairs a result's own `tags` must all contain (exact match). Scopes documents and memory entries alike.
719
+ */
720
+ tags?: TagBag;
717
721
  min_score?: number;
718
722
  limit?: number;
719
723
  /**
@@ -816,9 +820,12 @@ type UpdateAgentRequest = {
816
820
  temperature?: number | null;
817
821
  knowledge_config?: {
818
822
  memory_ids?: Array<string>;
819
- memory_tags?: Array<string>;
820
823
  document_ids?: Array<string>;
821
824
  document_paths?: Array<string>;
825
+ /**
826
+ * Key-value pairs a result's own `tags` must all contain (exact match). Scopes documents and memory entries alike.
827
+ */
828
+ tags?: TagBag;
822
829
  min_score?: number;
823
830
  limit?: number;
824
831
  /**
@@ -926,13 +933,16 @@ type CreateAgentGenerationRequest = {
926
933
  */
927
934
  extract?: boolean;
928
935
  /**
929
- * 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.
936
+ * 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.
930
937
  */
931
938
  knowledge_config?: {
932
939
  memory_ids?: Array<string>;
933
- memory_tags?: Array<string>;
934
940
  document_ids?: Array<string>;
935
941
  document_paths?: Array<string>;
942
+ /**
943
+ * Key-value pairs a result's own `tags` must all contain (exact match). Scopes documents and memory entries alike.
944
+ */
945
+ tags?: TagBag;
936
946
  min_score?: number;
937
947
  limit?: number;
938
948
  } | null;
@@ -2137,12 +2147,7 @@ type FileRecord = {
2137
2147
  * JSON string with additional metadata
2138
2148
  */
2139
2149
  metadata?: string | null;
2140
- /**
2141
- * Key-value tags attached to the file.
2142
- */
2143
- tags?: {
2144
- [key: string]: string;
2145
- };
2150
+ tags?: TagBag;
2146
2151
  /**
2147
2152
  * Creation timestamp
2148
2153
  */
@@ -2342,10 +2347,6 @@ type AgentResourceProperties = {
2342
2347
  * Public IDs of memories to retrieve from
2343
2348
  */
2344
2349
  memory_ids?: Array<string>;
2345
- /**
2346
- * Retrieve from all memories matching these tags
2347
- */
2348
- memory_tags?: Array<string>;
2349
2350
  /**
2350
2351
  * Public IDs of documents to retrieve from
2351
2352
  */
@@ -2354,6 +2355,10 @@ type AgentResourceProperties = {
2354
2355
  * Retrieve from all documents matching these path prefixes
2355
2356
  */
2356
2357
  document_paths?: Array<string>;
2358
+ /**
2359
+ * Retrieve from documents and memory entries whose tags contain all these key-value pairs.
2360
+ */
2361
+ tags?: TagBag;
2357
2362
  /**
2358
2363
  * Minimum similarity score (0–1) for retrieved chunks
2359
2364
  */
@@ -2674,10 +2679,7 @@ type MemoryResourceProperties = {
2674
2679
  * What this memory stores
2675
2680
  */
2676
2681
  description?: string | null;
2677
- /**
2678
- * Tag strings for filtering
2679
- */
2680
- tags?: Array<string> | null;
2682
+ tags?: NullableTagBag;
2681
2683
  };
2682
2684
  /**
2683
2685
  * Adds a single text entry to a memory store.
@@ -2696,9 +2698,9 @@ type MemoryEntryResourceProperties = {
2696
2698
  */
2697
2699
  source_type?: 'manual' | 'agent' | 'extraction' | 'orchestration';
2698
2700
  /**
2699
- * Per-entry tag strings for entry-granularity filtering
2701
+ * Per-entry key-value tags for entry-granularity filtering in knowledge search.
2700
2702
  */
2701
- tags?: Array<string> | null;
2703
+ tags?: NullableTagBag;
2702
2704
  /**
2703
2705
  * Arbitrary structured metadata attached to the entry
2704
2706
  */
@@ -3420,6 +3422,16 @@ type Generation = {
3420
3422
  *
3421
3423
  */
3422
3424
  chain_id?: string | null;
3425
+ /**
3426
+ * Public ID of the session this generation was dispatched through, or null for a generation started outside one. This is the link a per-session cost reading follows; the session's own `usage` field reports the roll-up directly.
3427
+ *
3428
+ */
3429
+ session_id?: string | null;
3430
+ /**
3431
+ * Public ID of the end-user actor the generation was attributed to, or null when none was. Copied onto the generation's usage event, so it is the same dimension `group_by=actor` buckets on.
3432
+ *
3433
+ */
3434
+ actor_id?: string | null;
3423
3435
  /**
3424
3436
  * Type of the principal that started the generation
3425
3437
  */
@@ -3973,12 +3985,7 @@ type DocumentKnowledgeResult = {
3973
3985
  metadata?: {
3974
3986
  [key: string]: unknown;
3975
3987
  };
3976
- /**
3977
- * Key-value tags
3978
- */
3979
- tags?: {
3980
- [key: string]: string;
3981
- };
3988
+ tags?: TagBag;
3982
3989
  /**
3983
3990
  * Full text content of the document
3984
3991
  */
@@ -4044,9 +4051,9 @@ type Memory = {
4044
4051
  name?: string;
4045
4052
  description?: string | null;
4046
4053
  /**
4047
- * List of tags for filtering in knowledge search
4054
+ * Key-value tags for filtering in knowledge search.
4048
4055
  */
4049
- tags?: Array<string> | null;
4056
+ tags?: NullableTagBag;
4050
4057
  created_at?: Date;
4051
4058
  updated_at?: Date;
4052
4059
  };
@@ -4056,9 +4063,9 @@ type MemoryEntry = {
4056
4063
  content?: string;
4057
4064
  source_type?: 'manual' | 'agent' | 'extraction' | 'orchestration';
4058
4065
  /**
4059
- * Per-entry tag strings
4066
+ * Per-entry key-value tags, matched at entry granularity by knowledge search.
4060
4067
  */
4061
- tags?: Array<string> | null;
4068
+ tags?: NullableTagBag;
4062
4069
  /**
4063
4070
  * Arbitrary structured metadata attached to the entry
4064
4071
  */
@@ -4918,7 +4925,7 @@ type PolicyStatement = {
4918
4925
  action: Array<string>;
4919
4926
  resource?: Array<string>;
4920
4927
  /**
4921
- * Optional condition block. Keys are condition operators (e.g. StringEquals) mapping to context-key/value maps; evaluated by the policy compiler. Free-form — keys are dynamic, not validated. Operator and context keys are matched by exact string and are never case-converted, so they round-trip exactly as written: `soat:ResourceTag/cost_center` selects the tag `cost_center`, not `costCenter`.
4928
+ * Optional condition block. Keys are condition operators (e.g. StringEquals) mapping to context-key/value maps; evaluated by the policy compiler. A context key must be one the platform supplies — `soat:ResourceType` or `soat:ResourceTag/<tag>` — because an unknown key is absent from the evaluation context, so a `Deny` naming one would never deny. The tag name after the slash is opaque and unconstrained. Operator and context keys are matched by exact string and are never case-converted, so they round-trip exactly as written: `soat:ResourceTag/cost_center` selects the tag `cost_center`, not `costCenter`.
4922
4929
  *
4923
4930
  */
4924
4931
  condition?: {
@@ -5096,9 +5103,7 @@ type SessionRecord = {
5096
5103
  *
5097
5104
  */
5098
5105
  actor_id?: string | null;
5099
- tags?: {
5100
- [key: string]: string;
5101
- };
5106
+ tags?: TagBag;
5102
5107
  /**
5103
5108
  * When true, automatically triggers generation after each user message (if no generation is in progress).
5104
5109
  */
@@ -5138,6 +5143,12 @@ type SessionRecord = {
5138
5143
  *
5139
5144
  */
5140
5145
  forked_from_position?: number | null;
5146
+ /**
5147
+ * What the session's generations cost: token counts and `cost_usd` summed across every metered generation dispatched through it. Present on the single-session read; omitted from session and fork list responses.
5148
+ *
5149
+ * A fork is a session of its own, so it starts at zero rather than inheriting what the history it copied cost — summing `usage` across a session and its forks therefore never double-counts. Work the platform does around a session without a generation of its own (a memory extraction pass, for instance) is metered on the project, not here.
5150
+ */
5151
+ usage?: UsageTotals;
5141
5152
  };
5142
5153
  type ForkSessionRequest = {
5143
5154
  /**
@@ -5154,12 +5165,7 @@ type ForkSessionRequest = {
5154
5165
  * Optional name for the forked session
5155
5166
  */
5156
5167
  name?: string;
5157
- /**
5158
- * Optional tags for the forked session
5159
- */
5160
- tags?: {
5161
- [key: string]: string;
5162
- };
5168
+ tags?: TagBag;
5163
5169
  /**
5164
5170
  * 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.
5165
5171
  *
@@ -5343,6 +5349,18 @@ type SubmitSessionToolOutputsRequest = {
5343
5349
  output: unknown;
5344
5350
  }>;
5345
5351
  };
5352
+ /**
5353
+ * 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, knowledge search, and the IAM `soat:ResourceTag/<key>` condition.
5354
+ */
5355
+ type TagBag = {
5356
+ [key: string]: string;
5357
+ };
5358
+ /**
5359
+ * 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.
5360
+ */
5361
+ type NullableTagBag = {
5362
+ [key: string]: string;
5363
+ } | null;
5346
5364
  type Task = {
5347
5365
  id?: string;
5348
5366
  project_id?: string;
@@ -6178,6 +6196,25 @@ type UsageAggregateBucket = UsageTotals & {
6178
6196
  type UsageAggregateTotals = UsageAggregateBucket & {
6179
6197
  distinct?: UsageDistinct;
6180
6198
  };
6199
+ /**
6200
+ * Every narrowing the rollup applied, echoed back exactly as the caller sent it and null when unset. Echoed because a rollup of zeros is otherwise indistinguishable from a project that spent nothing, and always complete so a caller reading one key can tell "not filtered" from "this endpoint does not know that filter". The eight naming a resource are resolved against the project and empty the rollup when they name nothing in it; the other five are matched against the value the event recorded.
6201
+ *
6202
+ */
6203
+ type UsageAggregateFilters = {
6204
+ meter_type?: string | null;
6205
+ model?: string | null;
6206
+ source?: string | null;
6207
+ trigger_id?: string | null;
6208
+ action_id?: string | null;
6209
+ session_id?: string | null;
6210
+ actor_id?: string | null;
6211
+ agent_id?: string | null;
6212
+ ai_provider_id?: string | null;
6213
+ orchestration_run_id?: string | null;
6214
+ orchestration_id?: string | null;
6215
+ generation_id?: string | null;
6216
+ trace_id?: string | null;
6217
+ };
6181
6218
  type UsageAggregate = {
6182
6219
  project_id?: string;
6183
6220
  /**
@@ -6188,11 +6225,12 @@ type UsageAggregate = {
6188
6225
  * Upper bound applied, echoed back; null when unbounded
6189
6226
  */
6190
6227
  to?: Date | null;
6191
- group_by?: UsageGroupBy;
6192
6228
  /**
6193
- * Meter-type filter applied, echoed back; null when unfiltered
6229
+ * Dimension applied, echoed back; null when the caller asked for no bucketing, in which case `groups` is an empty page.
6230
+ *
6194
6231
  */
6195
- meter_type?: string | null;
6232
+ group_by?: UsageGroupBy | null;
6233
+ filters?: UsageAggregateFilters;
6196
6234
  /**
6197
6235
  * One entry per distinct value in the chosen dimension, paginated. Ordered by `cost_usd` descending, ties broken by `key` then `ai_provider_id` ascending, with nulls last — so the first page is the biggest spenders and paging never repeats or skips a bucket.
6198
6236
  *
@@ -6623,12 +6661,7 @@ type FileRecordWritable = {
6623
6661
  * JSON string with additional metadata
6624
6662
  */
6625
6663
  metadata?: string | null;
6626
- /**
6627
- * Key-value tags attached to the file.
6628
- */
6629
- tags?: {
6630
- [key: string]: string;
6631
- };
6664
+ tags?: TagBag;
6632
6665
  /**
6633
6666
  * Creation timestamp
6634
6667
  */
@@ -6662,6 +6695,11 @@ type OrchestrationRunId = string;
6662
6695
  * Session public ID
6663
6696
  */
6664
6697
  type SessionId = string;
6698
+ /**
6699
+ * 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.
6700
+ *
6701
+ */
6702
+ type TagsQuery = Array<string>;
6665
6703
  type ListActivityData = {
6666
6704
  body?: never;
6667
6705
  path?: never;
@@ -6732,6 +6770,10 @@ type ListActorsData = {
6732
6770
  * External ID to filter by (e.g. WhatsApp phone number)
6733
6771
  */
6734
6772
  external_id?: string;
6773
+ /**
6774
+ * Case-insensitive substring match on the actor name
6775
+ */
6776
+ name?: string;
6735
6777
  /**
6736
6778
  * Return only actors linked to this agent
6737
6779
  */
@@ -6745,6 +6787,11 @@ type ListActorsData = {
6745
6787
  *
6746
6788
  */
6747
6789
  conversation_id?: string;
6790
+ /**
6791
+ * 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.
6792
+ *
6793
+ */
6794
+ tags?: Array<string>;
6748
6795
  /**
6749
6796
  * Maximum number of results to return
6750
6797
  */
@@ -6918,9 +6965,7 @@ type UpdateActorData = {
6918
6965
  * Chat to link this actor to. Mutually exclusive with agent_id.
6919
6966
  */
6920
6967
  chat_id?: string | null;
6921
- tags?: {
6922
- [key: string]: string;
6923
- };
6968
+ tags?: TagBag;
6924
6969
  };
6925
6970
  path: {
6926
6971
  /**
@@ -6983,15 +7028,11 @@ type GetActorTagsResponses = {
6983
7028
  /**
6984
7029
  * Actor tags
6985
7030
  */
6986
- 200: {
6987
- [key: string]: string;
6988
- };
7031
+ 200: TagBag;
6989
7032
  };
6990
7033
  type GetActorTagsResponse = GetActorTagsResponses[keyof GetActorTagsResponses];
6991
7034
  type MergeActorTagsData = {
6992
- body: {
6993
- [key: string]: string;
6994
- };
7035
+ body: TagBag;
6995
7036
  path: {
6996
7037
  /**
6997
7038
  * Actor ID
@@ -7020,15 +7061,11 @@ type MergeActorTagsResponses = {
7020
7061
  /**
7021
7062
  * Tags merged
7022
7063
  */
7023
- 200: {
7024
- [key: string]: string;
7025
- };
7064
+ 200: TagBag;
7026
7065
  };
7027
7066
  type MergeActorTagsResponse = MergeActorTagsResponses[keyof MergeActorTagsResponses];
7028
7067
  type ReplaceActorTagsData = {
7029
- body: {
7030
- [key: string]: string;
7031
- };
7068
+ body: TagBag;
7032
7069
  path: {
7033
7070
  /**
7034
7071
  * Actor ID
@@ -7057,9 +7094,7 @@ type ReplaceActorTagsResponses = {
7057
7094
  /**
7058
7095
  * Tags replaced
7059
7096
  */
7060
- 200: {
7061
- [key: string]: string;
7062
- };
7097
+ 200: TagBag;
7063
7098
  };
7064
7099
  type ReplaceActorTagsResponse = ReplaceActorTagsResponses[keyof ReplaceActorTagsResponses];
7065
7100
  type ListAgentsData = {
@@ -8800,6 +8835,11 @@ type ListConversationsData = {
8800
8835
  * Filter by actor ID
8801
8836
  */
8802
8837
  actor_id?: string;
8838
+ /**
8839
+ * 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.
8840
+ *
8841
+ */
8842
+ tags?: Array<string>;
8803
8843
  /**
8804
8844
  * Maximum number of results to return
8805
8845
  */
@@ -9234,15 +9274,11 @@ type GetConversationTagsResponses = {
9234
9274
  /**
9235
9275
  * Conversation tags
9236
9276
  */
9237
- 200: {
9238
- [key: string]: string;
9239
- };
9277
+ 200: TagBag;
9240
9278
  };
9241
9279
  type GetConversationTagsResponse = GetConversationTagsResponses[keyof GetConversationTagsResponses];
9242
9280
  type MergeConversationTagsData = {
9243
- body: {
9244
- [key: string]: string;
9245
- };
9281
+ body: TagBag;
9246
9282
  path: {
9247
9283
  /**
9248
9284
  * Conversation ID
@@ -9271,15 +9307,11 @@ type MergeConversationTagsResponses = {
9271
9307
  /**
9272
9308
  * Tags merged
9273
9309
  */
9274
- 200: {
9275
- [key: string]: string;
9276
- };
9310
+ 200: TagBag;
9277
9311
  };
9278
9312
  type MergeConversationTagsResponse = MergeConversationTagsResponses[keyof MergeConversationTagsResponses];
9279
9313
  type ReplaceConversationTagsData = {
9280
- body: {
9281
- [key: string]: string;
9282
- };
9314
+ body: TagBag;
9283
9315
  path: {
9284
9316
  /**
9285
9317
  * Conversation ID
@@ -9308,9 +9340,7 @@ type ReplaceConversationTagsResponses = {
9308
9340
  /**
9309
9341
  * Tags replaced
9310
9342
  */
9311
- 200: {
9312
- [key: string]: string;
9313
- };
9343
+ 200: TagBag;
9314
9344
  };
9315
9345
  type ReplaceConversationTagsResponse = ReplaceConversationTagsResponses[keyof ReplaceConversationTagsResponses];
9316
9346
  type ListDocumentsData = {
@@ -9325,6 +9355,11 @@ type ListDocumentsData = {
9325
9355
  * 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.
9326
9356
  */
9327
9357
  path_prefix?: string;
9358
+ /**
9359
+ * 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.
9360
+ *
9361
+ */
9362
+ tags?: Array<string>;
9328
9363
  /**
9329
9364
  * Maximum number of results to return
9330
9365
  */
@@ -9381,12 +9416,7 @@ type CreateDocumentData = {
9381
9416
  metadata?: {
9382
9417
  [key: string]: unknown;
9383
9418
  };
9384
- /**
9385
- * Key-value tags
9386
- */
9387
- tags?: {
9388
- [key: string]: string;
9389
- };
9419
+ tags?: TagBag;
9390
9420
  /**
9391
9421
  * 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.
9392
9422
  */
@@ -9444,12 +9474,7 @@ type IngestDocumentData = {
9444
9474
  * Path prefix under which to store the document (e.g. /docs/). The filename is appended automatically.
9445
9475
  */
9446
9476
  path_prefix?: string;
9447
- /**
9448
- * Key-value tags to attach to the document.
9449
- */
9450
- tags?: {
9451
- [key: string]: string;
9452
- };
9477
+ tags?: TagBag;
9453
9478
  /**
9454
9479
  * 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.
9455
9480
  */
@@ -9592,12 +9617,7 @@ type UpdateDocumentData = {
9592
9617
  metadata?: {
9593
9618
  [key: string]: unknown;
9594
9619
  };
9595
- /**
9596
- * Key-value tags
9597
- */
9598
- tags?: {
9599
- [key: string]: string;
9600
- };
9620
+ tags?: TagBag;
9601
9621
  };
9602
9622
  path: {
9603
9623
  /**
@@ -9808,15 +9828,11 @@ type GetDocumentTagsResponses = {
9808
9828
  /**
9809
9829
  * Document tags
9810
9830
  */
9811
- 200: {
9812
- [key: string]: string;
9813
- };
9831
+ 200: TagBag;
9814
9832
  };
9815
9833
  type GetDocumentTagsResponse = GetDocumentTagsResponses[keyof GetDocumentTagsResponses];
9816
9834
  type MergeDocumentTagsData = {
9817
- body: {
9818
- [key: string]: string;
9819
- };
9835
+ body: TagBag;
9820
9836
  path: {
9821
9837
  /**
9822
9838
  * Document ID
@@ -9845,15 +9861,11 @@ type MergeDocumentTagsResponses = {
9845
9861
  /**
9846
9862
  * Tags merged
9847
9863
  */
9848
- 200: {
9849
- [key: string]: string;
9850
- };
9864
+ 200: TagBag;
9851
9865
  };
9852
9866
  type MergeDocumentTagsResponse = MergeDocumentTagsResponses[keyof MergeDocumentTagsResponses];
9853
9867
  type ReplaceDocumentTagsData = {
9854
- body: {
9855
- [key: string]: string;
9856
- };
9868
+ body: TagBag;
9857
9869
  path: {
9858
9870
  /**
9859
9871
  * Document ID
@@ -9882,9 +9894,7 @@ type ReplaceDocumentTagsResponses = {
9882
9894
  /**
9883
9895
  * Tags replaced
9884
9896
  */
9885
- 200: {
9886
- [key: string]: string;
9887
- };
9897
+ 200: TagBag;
9888
9898
  };
9889
9899
  type ReplaceDocumentTagsResponse = ReplaceDocumentTagsResponses[keyof ReplaceDocumentTagsResponses];
9890
9900
  type CreateEmbeddingsData = {
@@ -11000,6 +11010,11 @@ type ListFilesData = {
11000
11010
  * Filter files by project ID
11001
11011
  */
11002
11012
  project_id?: string;
11013
+ /**
11014
+ * 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.
11015
+ *
11016
+ */
11017
+ tags?: Array<string>;
11003
11018
  /**
11004
11019
  * Maximum number of results to return
11005
11020
  */
@@ -11303,7 +11318,12 @@ type DownloadFileData = {
11303
11318
  */
11304
11319
  file_id: string;
11305
11320
  };
11306
- query?: never;
11321
+ query?: {
11322
+ /**
11323
+ * Signed single-file download token, an alternative to a bearer credential (issued for ingestion-rule converters).
11324
+ */
11325
+ token?: string;
11326
+ };
11307
11327
  url: '/api/v1/files/{file_id}/download';
11308
11328
  };
11309
11329
  type DownloadFileErrors = {
@@ -11386,7 +11406,12 @@ type DownloadFileBase64Data = {
11386
11406
  */
11387
11407
  file_id: string;
11388
11408
  };
11389
- query?: never;
11409
+ query?: {
11410
+ /**
11411
+ * Signed single-file download token, an alternative to a bearer credential (issued for ingestion-rule converters).
11412
+ */
11413
+ token?: string;
11414
+ };
11390
11415
  url: '/api/v1/files/{file_id}/download/base64';
11391
11416
  };
11392
11417
  type DownloadFileBase64Errors = {
@@ -11458,15 +11483,11 @@ type GetFileTagsResponses = {
11458
11483
  /**
11459
11484
  * File tags
11460
11485
  */
11461
- 200: {
11462
- [key: string]: string;
11463
- };
11486
+ 200: TagBag;
11464
11487
  };
11465
11488
  type GetFileTagsResponse = GetFileTagsResponses[keyof GetFileTagsResponses];
11466
11489
  type MergeFileTagsData = {
11467
- body: {
11468
- [key: string]: string;
11469
- };
11490
+ body: TagBag;
11470
11491
  path: {
11471
11492
  /**
11472
11493
  * File ID
@@ -11495,15 +11516,11 @@ type MergeFileTagsResponses = {
11495
11516
  /**
11496
11517
  * Tags merged
11497
11518
  */
11498
- 200: {
11499
- [key: string]: string;
11500
- };
11519
+ 200: TagBag;
11501
11520
  };
11502
11521
  type MergeFileTagsResponse = MergeFileTagsResponses[keyof MergeFileTagsResponses];
11503
11522
  type ReplaceFileTagsData = {
11504
- body: {
11505
- [key: string]: string;
11506
- };
11523
+ body: TagBag;
11507
11524
  path: {
11508
11525
  /**
11509
11526
  * File ID
@@ -11532,9 +11549,7 @@ type ReplaceFileTagsResponses = {
11532
11549
  /**
11533
11550
  * Tags replaced
11534
11551
  */
11535
- 200: {
11536
- [key: string]: string;
11537
- };
11552
+ 200: TagBag;
11538
11553
  };
11539
11554
  type ReplaceFileTagsResponse = ReplaceFileTagsResponses[keyof ReplaceFileTagsResponses];
11540
11555
  type ValidateFormationData = {
@@ -11874,6 +11889,16 @@ type ListGenerationsData = {
11874
11889
  * Filter by trace public ID
11875
11890
  */
11876
11891
  trace_id?: string;
11892
+ /**
11893
+ * Return only the generations dispatched through one session — the turns behind that conversation's spend. A session that does not exist in scope yields an empty page.
11894
+ *
11895
+ */
11896
+ session_id?: string;
11897
+ /**
11898
+ * Return only the generations one end user started, across every session they appear in. An actor that does not exist in scope yields an empty page.
11899
+ *
11900
+ */
11901
+ actor_id?: string;
11877
11902
  /**
11878
11903
  * Filter by the public ID of the parent generation. Returns all generations triggered by that generation — sub-agent invocations. Null-initiated (top-level) generations are not returned.
11879
11904
  *
@@ -12669,10 +12694,6 @@ type SearchKnowledgeData = {
12669
12694
  * Search entries within these specific memories
12670
12695
  */
12671
12696
  memory_ids?: Array<string>;
12672
- /**
12673
- * Search entries in memories whose tags match any of these patterns (glob supported)
12674
- */
12675
- memory_tags?: Array<string>;
12676
12697
  /**
12677
12698
  * Filter results to documents whose file path starts with one of these prefixes
12678
12699
  */
@@ -12681,6 +12702,10 @@ type SearchKnowledgeData = {
12681
12702
  * Filter results to specific document IDs
12682
12703
  */
12683
12704
  document_ids?: Array<string>;
12705
+ /**
12706
+ * 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.
12707
+ */
12708
+ tags?: TagBag;
12684
12709
  };
12685
12710
  path?: never;
12686
12711
  query?: never;
@@ -12719,7 +12744,7 @@ type ListMemoriesData = {
12719
12744
  */
12720
12745
  project_id?: string;
12721
12746
  /**
12722
- * 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.
12747
+ * 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.
12723
12748
  *
12724
12749
  */
12725
12750
  tags?: Array<string>;
@@ -12775,9 +12800,9 @@ type CreateMemoryData = {
12775
12800
  */
12776
12801
  description?: string;
12777
12802
  /**
12778
- * Optional list of tags for filtering in knowledge search
12803
+ * Optional key-value tags. Scopes the memory in knowledge search, where every requested pair must match exactly.
12779
12804
  */
12780
- tags?: Array<string>;
12805
+ tags?: TagBag;
12781
12806
  };
12782
12807
  path?: never;
12783
12808
  query?: never;
@@ -12885,9 +12910,9 @@ type UpdateMemoryData = {
12885
12910
  */
12886
12911
  description?: string | null;
12887
12912
  /**
12888
- * Optional list of tags for filtering in knowledge search
12913
+ * Optional key-value tags. Replaces the stored bag; `null` clears it.
12889
12914
  */
12890
- tags?: Array<string> | null;
12915
+ tags?: NullableTagBag;
12891
12916
  };
12892
12917
  path: {
12893
12918
  memory_id: string;
@@ -12920,6 +12945,110 @@ type UpdateMemoryResponses = {
12920
12945
  200: Memory;
12921
12946
  };
12922
12947
  type UpdateMemoryResponse = UpdateMemoryResponses[keyof UpdateMemoryResponses];
12948
+ type GetMemoryTagsData = {
12949
+ body?: never;
12950
+ path: {
12951
+ /**
12952
+ * Memory ID
12953
+ */
12954
+ memory_id: string;
12955
+ };
12956
+ query?: never;
12957
+ url: '/api/v1/memories/{memory_id}/tags';
12958
+ };
12959
+ type GetMemoryTagsErrors = {
12960
+ /**
12961
+ * Unauthorized
12962
+ */
12963
+ 401: unknown;
12964
+ /**
12965
+ * Forbidden
12966
+ */
12967
+ 403: unknown;
12968
+ /**
12969
+ * Memory not found
12970
+ */
12971
+ 404: unknown;
12972
+ };
12973
+ type GetMemoryTagsResponses = {
12974
+ /**
12975
+ * Memory tags
12976
+ */
12977
+ 200: TagBag;
12978
+ };
12979
+ type GetMemoryTagsResponse = GetMemoryTagsResponses[keyof GetMemoryTagsResponses];
12980
+ type MergeMemoryTagsData = {
12981
+ body: TagBag;
12982
+ path: {
12983
+ /**
12984
+ * Memory ID
12985
+ */
12986
+ memory_id: string;
12987
+ };
12988
+ query?: never;
12989
+ url: '/api/v1/memories/{memory_id}/tags';
12990
+ };
12991
+ type MergeMemoryTagsErrors = {
12992
+ /**
12993
+ * Body is not an object of string values
12994
+ */
12995
+ 400: unknown;
12996
+ /**
12997
+ * Unauthorized
12998
+ */
12999
+ 401: unknown;
13000
+ /**
13001
+ * Forbidden
13002
+ */
13003
+ 403: unknown;
13004
+ /**
13005
+ * Memory not found
13006
+ */
13007
+ 404: unknown;
13008
+ };
13009
+ type MergeMemoryTagsResponses = {
13010
+ /**
13011
+ * Tags merged
13012
+ */
13013
+ 200: TagBag;
13014
+ };
13015
+ type MergeMemoryTagsResponse = MergeMemoryTagsResponses[keyof MergeMemoryTagsResponses];
13016
+ type ReplaceMemoryTagsData = {
13017
+ body: TagBag;
13018
+ path: {
13019
+ /**
13020
+ * Memory ID
13021
+ */
13022
+ memory_id: string;
13023
+ };
13024
+ query?: never;
13025
+ url: '/api/v1/memories/{memory_id}/tags';
13026
+ };
13027
+ type ReplaceMemoryTagsErrors = {
13028
+ /**
13029
+ * Body is not an object of string values
13030
+ */
13031
+ 400: unknown;
13032
+ /**
13033
+ * Unauthorized
13034
+ */
13035
+ 401: unknown;
13036
+ /**
13037
+ * Forbidden
13038
+ */
13039
+ 403: unknown;
13040
+ /**
13041
+ * Memory not found
13042
+ */
13043
+ 404: unknown;
13044
+ };
13045
+ type ReplaceMemoryTagsResponses = {
13046
+ /**
13047
+ * Tags replaced
13048
+ */
13049
+ 200: TagBag;
13050
+ };
13051
+ type ReplaceMemoryTagsResponse = ReplaceMemoryTagsResponses[keyof ReplaceMemoryTagsResponses];
12923
13052
  type ListMemoryEntriesData = {
12924
13053
  body?: never;
12925
13054
  path?: never;
@@ -12928,6 +13057,11 @@ type ListMemoryEntriesData = {
12928
13057
  * Memory container to list entries from (mem_...)
12929
13058
  */
12930
13059
  memory_id: string;
13060
+ /**
13061
+ * 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.
13062
+ *
13063
+ */
13064
+ tags?: Array<string>;
12931
13065
  /**
12932
13066
  * Maximum number of results to return
12933
13067
  */
@@ -12988,9 +13122,9 @@ type CreateMemoryEntryData = {
12988
13122
  */
12989
13123
  source_type?: 'manual' | 'agent' | 'extraction' | 'orchestration';
12990
13124
  /**
12991
- * Per-entry tag strings, used for entry-granularity filtering in search-knowledge (memory_tags)
13125
+ * Per-entry key-value tags, used for entry-granularity filtering by `tags` in search-knowledge.
12992
13126
  */
12993
- tags?: Array<string>;
13127
+ tags?: TagBag;
12994
13128
  /**
12995
13129
  * Arbitrary structured metadata attached to the entry
12996
13130
  */
@@ -13116,9 +13250,9 @@ type UpdateMemoryEntryData = {
13116
13250
  */
13117
13251
  content?: string;
13118
13252
  /**
13119
- * Replaces the entry's tags. Pass null or an empty array to clear.
13253
+ * Replaces the entry's tags. Pass null or an empty object to clear.
13120
13254
  */
13121
- tags?: Array<string> | null;
13255
+ tags?: NullableTagBag;
13122
13256
  /**
13123
13257
  * Replaces the entry's metadata. Pass null to clear.
13124
13258
  */
@@ -13157,6 +13291,110 @@ type UpdateMemoryEntryResponses = {
13157
13291
  200: MemoryEntry;
13158
13292
  };
13159
13293
  type UpdateMemoryEntryResponse = UpdateMemoryEntryResponses[keyof UpdateMemoryEntryResponses];
13294
+ type GetMemoryEntryTagsData = {
13295
+ body?: never;
13296
+ path: {
13297
+ /**
13298
+ * Memory entry ID
13299
+ */
13300
+ entry_id: string;
13301
+ };
13302
+ query?: never;
13303
+ url: '/api/v1/memory-entries/{entry_id}/tags';
13304
+ };
13305
+ type GetMemoryEntryTagsErrors = {
13306
+ /**
13307
+ * Unauthorized
13308
+ */
13309
+ 401: unknown;
13310
+ /**
13311
+ * Forbidden
13312
+ */
13313
+ 403: unknown;
13314
+ /**
13315
+ * Memory or entry not found
13316
+ */
13317
+ 404: unknown;
13318
+ };
13319
+ type GetMemoryEntryTagsResponses = {
13320
+ /**
13321
+ * Memory entry tags
13322
+ */
13323
+ 200: TagBag;
13324
+ };
13325
+ type GetMemoryEntryTagsResponse = GetMemoryEntryTagsResponses[keyof GetMemoryEntryTagsResponses];
13326
+ type MergeMemoryEntryTagsData = {
13327
+ body: TagBag;
13328
+ path: {
13329
+ /**
13330
+ * Memory entry ID
13331
+ */
13332
+ entry_id: string;
13333
+ };
13334
+ query?: never;
13335
+ url: '/api/v1/memory-entries/{entry_id}/tags';
13336
+ };
13337
+ type MergeMemoryEntryTagsErrors = {
13338
+ /**
13339
+ * Body is not an object of string values
13340
+ */
13341
+ 400: unknown;
13342
+ /**
13343
+ * Unauthorized
13344
+ */
13345
+ 401: unknown;
13346
+ /**
13347
+ * Forbidden
13348
+ */
13349
+ 403: unknown;
13350
+ /**
13351
+ * Memory or entry not found
13352
+ */
13353
+ 404: unknown;
13354
+ };
13355
+ type MergeMemoryEntryTagsResponses = {
13356
+ /**
13357
+ * Tags merged
13358
+ */
13359
+ 200: TagBag;
13360
+ };
13361
+ type MergeMemoryEntryTagsResponse = MergeMemoryEntryTagsResponses[keyof MergeMemoryEntryTagsResponses];
13362
+ type ReplaceMemoryEntryTagsData = {
13363
+ body: TagBag;
13364
+ path: {
13365
+ /**
13366
+ * Memory entry ID
13367
+ */
13368
+ entry_id: string;
13369
+ };
13370
+ query?: never;
13371
+ url: '/api/v1/memory-entries/{entry_id}/tags';
13372
+ };
13373
+ type ReplaceMemoryEntryTagsErrors = {
13374
+ /**
13375
+ * Body is not an object of string values
13376
+ */
13377
+ 400: unknown;
13378
+ /**
13379
+ * Unauthorized
13380
+ */
13381
+ 401: unknown;
13382
+ /**
13383
+ * Forbidden
13384
+ */
13385
+ 403: unknown;
13386
+ /**
13387
+ * Memory or entry not found
13388
+ */
13389
+ 404: unknown;
13390
+ };
13391
+ type ReplaceMemoryEntryTagsResponses = {
13392
+ /**
13393
+ * Tags replaced
13394
+ */
13395
+ 200: TagBag;
13396
+ };
13397
+ type ReplaceMemoryEntryTagsResponse = ReplaceMemoryEntryTagsResponses[keyof ReplaceMemoryEntryTagsResponses];
13160
13398
  type ListModelRoutesData = {
13161
13399
  body?: never;
13162
13400
  path?: never;
@@ -14794,7 +15032,12 @@ type DeleteSecretData = {
14794
15032
  */
14795
15033
  secret_id: string;
14796
15034
  };
14797
- query?: never;
15035
+ query?: {
15036
+ /**
15037
+ * Delete the secret even when AI providers reference it, destroying those providers too. Without it a referenced secret answers SECRET_HAS_DEPENDENTS.
15038
+ */
15039
+ force?: boolean;
15040
+ };
14798
15041
  url: '/api/v1/secrets/{secret_id}';
14799
15042
  };
14800
15043
  type DeleteSecretErrors = {
@@ -14907,6 +15150,11 @@ type ListSessionsData = {
14907
15150
  body?: never;
14908
15151
  path?: never;
14909
15152
  query?: {
15153
+ /**
15154
+ * Filter by project public ID. Required for `soat:ResourceTag` policy conditions to narrow the listing: a policy is read per project, so without it the listing is scoped to the projects the caller can access and nothing further.
15155
+ *
15156
+ */
15157
+ project_id?: string;
14910
15158
  /**
14911
15159
  * Filter by agent public ID
14912
15160
  */
@@ -14919,6 +15167,11 @@ type ListSessionsData = {
14919
15167
  * Filter by session status (open, closed, or expired)
14920
15168
  */
14921
15169
  status?: 'open' | 'closed' | 'expired';
15170
+ /**
15171
+ * 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.
15172
+ *
15173
+ */
15174
+ tags?: Array<string>;
14922
15175
  limit?: number;
14923
15176
  offset?: number;
14924
15177
  };
@@ -15318,15 +15571,11 @@ type GetSessionTagsResponses = {
15318
15571
  /**
15319
15572
  * Session tags
15320
15573
  */
15321
- 200: {
15322
- [key: string]: string;
15323
- };
15574
+ 200: TagBag;
15324
15575
  };
15325
15576
  type GetSessionTagsResponse = GetSessionTagsResponses[keyof GetSessionTagsResponses];
15326
15577
  type MergeSessionTagsData = {
15327
- body: {
15328
- [key: string]: string;
15329
- };
15578
+ body: TagBag;
15330
15579
  path: {
15331
15580
  /**
15332
15581
  * Session public ID
@@ -15355,15 +15604,11 @@ type MergeSessionTagsResponses = {
15355
15604
  /**
15356
15605
  * Updated tags
15357
15606
  */
15358
- 200: {
15359
- [key: string]: string;
15360
- };
15607
+ 200: TagBag;
15361
15608
  };
15362
15609
  type MergeSessionTagsResponse = MergeSessionTagsResponses[keyof MergeSessionTagsResponses];
15363
15610
  type ReplaceSessionTagsData = {
15364
- body: {
15365
- [key: string]: string;
15366
- };
15611
+ body: TagBag;
15367
15612
  path: {
15368
15613
  /**
15369
15614
  * Session public ID
@@ -15392,9 +15637,7 @@ type ReplaceSessionTagsResponses = {
15392
15637
  /**
15393
15638
  * Updated tags
15394
15639
  */
15395
- 200: {
15396
- [key: string]: string;
15397
- };
15640
+ 200: TagBag;
15398
15641
  };
15399
15642
  type ReplaceSessionTagsResponse = ReplaceSessionTagsResponses[keyof ReplaceSessionTagsResponses];
15400
15643
  type ListTasksData = {
@@ -16399,6 +16642,26 @@ type ListUsageEventsData = {
16399
16642
  *
16400
16643
  */
16401
16644
  session_id?: string;
16645
+ /**
16646
+ * Filter by the provider record the spend was billed against. A provider that does not exist in scope yields an empty page.
16647
+ *
16648
+ */
16649
+ ai_provider_id?: string;
16650
+ /**
16651
+ * Filter by the orchestration run that metered the event. A run that does not exist in scope yields an empty page.
16652
+ *
16653
+ */
16654
+ orchestration_run_id?: string;
16655
+ /**
16656
+ * Filter by orchestration — the events of the runs it started itself, not the subtree its `loop` or `sub_orchestration` nodes started. An orchestration that does not exist in scope yields an empty page.
16657
+ *
16658
+ */
16659
+ orchestration_id?: string;
16660
+ /**
16661
+ * Filter by the as-billed SKU the event recorded. Matched as recorded, so it still selects events whose provider has since been deleted.
16662
+ *
16663
+ */
16664
+ model?: string;
16402
16665
  /**
16403
16666
  * Filter by the trigger that initiated the generation
16404
16667
  */
@@ -16423,6 +16686,10 @@ type ListUsageEventsData = {
16423
16686
  url: '/api/v1/usage/events';
16424
16687
  };
16425
16688
  type ListUsageEventsErrors = {
16689
+ /**
16690
+ * Bad Request — a query parameter this endpoint does not declare. An unrecognised filter is rejected rather than ignored, since ignoring one answers a narrow question with the unfiltered list.
16691
+ */
16692
+ 400: ErrorResponse;
16426
16693
  /**
16427
16694
  * Unauthorized
16428
16695
  */
@@ -16454,10 +16721,10 @@ type GetUsageAggregateData = {
16454
16721
  */
16455
16722
  project_id: string;
16456
16723
  /**
16457
- * Dimension to bucket by. `day` buckets on the event's UTC calendar day; the others bucket on the matching column. `ai_provider` buckets on the provider the spend was billed against — a routed generation's serving target, or the agent's pinned provider. `model` buckets on the model id *and* the provider that served it, so one model name served by two providers is two groups (see `ai_provider_id`). `source` buckets by what the spend was incurred for (`eval`, `eval_judge`), which is how verification spend is priced apart from the traffic serving real users; unlabelled traffic collapses into the single `null` bucket. `orchestration_run` buckets on the orchestration run the event belongs to — a standalone generation runs no orchestration and collapses into the single `null` bucket, so the bucket count under this dimension is not a count of runs.
16724
+ * Dimension to bucket by. Omit it to skip bucketing entirely: `totals` still describes the whole window and `groups` is an empty page, which is what "what did this one thing cost" wants. A value naming no dimension is a `400`. `day` buckets on the event's UTC calendar day; the others bucket on the matching column. `ai_provider` buckets on the provider the spend was billed against — a routed generation's serving target, or the agent's pinned provider. `model` buckets on the model id *and* the provider that served it, so one model name served by two providers is two groups (see `ai_provider_id`). `source` buckets by what the spend was incurred for (`eval`, `eval_judge`), which is how verification spend is priced apart from the traffic serving real users; unlabelled traffic collapses into the single `null` bucket. `orchestration_run` buckets on the orchestration run the event belongs to — a standalone generation runs no orchestration and collapses into the single `null` bucket, so the bucket count under this dimension is not a count of runs.
16458
16725
  *
16459
16726
  */
16460
- group_by: UsageGroupBy;
16727
+ group_by?: UsageGroupBy;
16461
16728
  /**
16462
16729
  * Optional extras to compute. The only value is `distinct`, which adds `totals.distinct` — one distinct-entity count per attribution column. It is opt-in because each key costs the database one extra sort of the window, so the default response keeps its cost whatever the event table grows to carry; a caller counting entities sends one request at `limit=1&include=distinct`. Any other value is a `400`.
16463
16730
  *
@@ -16478,6 +16745,64 @@ type GetUsageAggregateData = {
16478
16745
  *
16479
16746
  */
16480
16747
  meter_type?: string;
16748
+ /**
16749
+ * Narrow the whole rollup — every bucket, `totals` and `totals.distinct` alike — to one session's traffic. Combines with `group_by`: `group_by=day&session_id=…` is a conversation's spend per day, `group_by=model` is the same spend split by model. An id naming no session in this project yields an empty rollup, never the project total.
16750
+ *
16751
+ */
16752
+ session_id?: string;
16753
+ /**
16754
+ * The same narrowing, for one end user across every session they appear in. This is the figure behind a `scope: actor`, `metric: cost_usd` quota — what that actor has spent, against the cap it is held to.
16755
+ *
16756
+ */
16757
+ actor_id?: string;
16758
+ /**
16759
+ * Narrow to one agent's traffic, across every session, run and trigger that dispatched it.
16760
+ *
16761
+ */
16762
+ agent_id?: string;
16763
+ /**
16764
+ * Narrow to the spend billed against one provider record — a routed generation's serving target, or the agent's pinned provider.
16765
+ *
16766
+ */
16767
+ ai_provider_id?: string;
16768
+ /**
16769
+ * Narrow to the events one orchestration run metered.
16770
+ */
16771
+ orchestration_run_id?: string;
16772
+ /**
16773
+ * Narrow to the runs of one orchestration — the runs it started itself, never the subtree a `loop` or `sub_orchestration` node started under it, which is metered against the child orchestration where it was incurred. Additive: summed across a project's orchestrations the figures reach the project total exactly once. For the subtree figure of a single invocation, read `usage` on the run.
16774
+ *
16775
+ */
16776
+ orchestration_id?: string;
16777
+ /**
16778
+ * Narrow to one generation's events. A generation writes more than one when it meters several dimensions (tokens and compute).
16779
+ *
16780
+ */
16781
+ generation_id?: string;
16782
+ /**
16783
+ * Narrow to the events recorded under one trace.
16784
+ */
16785
+ trace_id?: string;
16786
+ /**
16787
+ * Narrow to one model, matched against the as-billed SKU the event recorded. A value naming no model yields an empty rollup, not an error. Under `group_by=model` this is a single-bucket rollup; under any other dimension it is that model's spend split by the dimension.
16788
+ *
16789
+ */
16790
+ model?: string;
16791
+ /**
16792
+ * Narrow by what the spend was incurred for — `eval` and `eval_judge` are verification spend. Ordinary traffic carries no source, so it cannot be selected by this filter; omit the filter for everything.
16793
+ *
16794
+ */
16795
+ source?: string;
16796
+ /**
16797
+ * Narrow to the spend one trigger initiated. Matched as recorded rather than resolved, so it still selects the spend of a trigger that has since been deleted.
16798
+ *
16799
+ */
16800
+ trigger_id?: string;
16801
+ /**
16802
+ * Narrow to one caller-supplied action label, for per-action spend. Matched as recorded, like `trigger_id`.
16803
+ *
16804
+ */
16805
+ action_id?: string;
16481
16806
  /**
16482
16807
  * Maximum number of `groups` entries to return. Clamped to 100. Does not affect `totals` or `groups.total`, which describe the whole window.
16483
16808
  *
@@ -16492,7 +16817,7 @@ type GetUsageAggregateData = {
16492
16817
  };
16493
16818
  type GetUsageAggregateErrors = {
16494
16819
  /**
16495
- * Bad Request (missing project_id, invalid group_by or timestamp)
16820
+ * Bad Request (missing project_id, invalid group_by or timestamp, or a query parameter this endpoint does not declare — an unrecognised filter is rejected rather than ignored, since ignoring one returns the project-wide total in answer to a narrower question)
16496
16821
  */
16497
16822
  400: ErrorResponse;
16498
16823
  /**
@@ -18589,7 +18914,7 @@ declare class Knowledge {
18589
18914
  /**
18590
18915
  * Search knowledge
18591
18916
  *
18592
- * 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.
18917
+ * 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.
18593
18918
  */
18594
18919
  static searchKnowledge<ThrowOnError extends boolean = false>(options: Options<SearchKnowledgeData, ThrowOnError>): RequestResult<SearchKnowledgeResponses, SearchKnowledgeErrors, ThrowOnError>;
18595
18920
  }
@@ -18624,6 +18949,24 @@ declare class Memories {
18624
18949
  * Updates an existing memory configuration
18625
18950
  */
18626
18951
  static updateMemory<ThrowOnError extends boolean = false>(options: Options<UpdateMemoryData, ThrowOnError>): RequestResult<UpdateMemoryResponses, UpdateMemoryErrors, ThrowOnError>;
18952
+ /**
18953
+ * Get memory tags
18954
+ *
18955
+ * Returns all tags attached to the memory
18956
+ */
18957
+ static getMemoryTags<ThrowOnError extends boolean = false>(options: Options<GetMemoryTagsData, ThrowOnError>): RequestResult<GetMemoryTagsResponses, GetMemoryTagsErrors, ThrowOnError>;
18958
+ /**
18959
+ * Merge memory tags
18960
+ *
18961
+ * Merges provided tags with existing tags (existing tags are preserved unless overridden)
18962
+ */
18963
+ static mergeMemoryTags<ThrowOnError extends boolean = false>(options: Options<MergeMemoryTagsData, ThrowOnError>): RequestResult<MergeMemoryTagsResponses, MergeMemoryTagsErrors, ThrowOnError>;
18964
+ /**
18965
+ * Replace memory tags
18966
+ *
18967
+ * Replaces all tags on the memory with the provided tags (not merged)
18968
+ */
18969
+ static replaceMemoryTags<ThrowOnError extends boolean = false>(options: Options<ReplaceMemoryTagsData, ThrowOnError>): RequestResult<ReplaceMemoryTagsResponses, ReplaceMemoryTagsErrors, ThrowOnError>;
18627
18970
  }
18628
18971
  declare class MemoryEntries {
18629
18972
  /**
@@ -18656,6 +18999,24 @@ declare class MemoryEntries {
18656
18999
  * Updates an existing memory entry. Regenerates the embedding if content changes.
18657
19000
  */
18658
19001
  static updateMemoryEntry<ThrowOnError extends boolean = false>(options: Options<UpdateMemoryEntryData, ThrowOnError>): RequestResult<UpdateMemoryEntryResponses, UpdateMemoryEntryErrors, ThrowOnError>;
19002
+ /**
19003
+ * Get memory entry tags
19004
+ *
19005
+ * Returns all tags attached to the memory entry
19006
+ */
19007
+ static getMemoryEntryTags<ThrowOnError extends boolean = false>(options: Options<GetMemoryEntryTagsData, ThrowOnError>): RequestResult<GetMemoryEntryTagsResponses, GetMemoryEntryTagsErrors, ThrowOnError>;
19008
+ /**
19009
+ * Merge memory entry tags
19010
+ *
19011
+ * Merges provided tags with existing tags (existing tags are preserved unless overridden)
19012
+ */
19013
+ static mergeMemoryEntryTags<ThrowOnError extends boolean = false>(options: Options<MergeMemoryEntryTagsData, ThrowOnError>): RequestResult<MergeMemoryEntryTagsResponses, MergeMemoryEntryTagsErrors, ThrowOnError>;
19014
+ /**
19015
+ * Replace memory entry tags
19016
+ *
19017
+ * Replaces all tags on the memory entry with the provided tags (not merged)
19018
+ */
19019
+ static replaceMemoryEntryTags<ThrowOnError extends boolean = false>(options: Options<ReplaceMemoryEntryTagsData, ThrowOnError>): RequestResult<ReplaceMemoryEntryTagsResponses, ReplaceMemoryEntryTagsErrors, ThrowOnError>;
18659
19020
  }
18660
19021
  declare class ModelRoutes {
18661
19022
  /**
@@ -18980,7 +19341,7 @@ declare class Sessions {
18980
19341
  /**
18981
19342
  * Get a session
18982
19343
  *
18983
- * Returns details of a single session.
19344
+ * Returns details of a single session, including a `usage` roll-up of what its generations cost. The listing omits `usage`; for a window, a split by day or model, or one end user across every session, narrow the usage aggregate with `session_id` / `actor_id` instead.
18984
19345
  */
18985
19346
  static getSession<ThrowOnError extends boolean = false>(options: Options<GetSessionData, ThrowOnError>): RequestResult<GetSessionResponses, GetSessionErrors, ThrowOnError>;
18986
19347
  /**
@@ -19248,16 +19609,20 @@ declare class Usage {
19248
19609
  /**
19249
19610
  * List usage events
19250
19611
  *
19251
- * Returns the raw usage events the caller can access, most recent first, optionally filtered by agent, generation, trace, actor, session, or `source`. Each event is the per-generation token usage as reported by the provider, for audit and reconciliation.
19612
+ * Returns the raw usage events the caller can access, most recent first, narrowed by any combination of the same filters the aggregate takes — agent, generation, trace, actor, session, AI provider, orchestration run, orchestration, trigger, action, meter type, model or `source` — so a rollup and the events behind it are addressed the same way. Each event is the per-generation token usage as reported by the provider, for audit and reconciliation.
19613
+ *
19614
+ * An id naming nothing in scope yields an empty page rather than dropping the filter, so a mistyped narrowing can never widen the list past what was asked for.
19252
19615
  *
19253
19616
  */
19254
19617
  static listUsageEvents<ThrowOnError extends boolean = false>(options?: Options<ListUsageEventsData, ThrowOnError>): RequestResult<ListUsageEventsResponses, ListUsageEventsErrors, ThrowOnError>;
19255
19618
  /**
19256
19619
  * Get aggregated usage for a project
19257
19620
  *
19258
- * Returns a project's usage rolled up over an optional `[from, to]` time window, bucketed by a single dimension and optionally narrowed to one `meter_type`. Each group and the grand total carry an `event_count`, summed token counts, a measured `quantity` per component (so infra meters report their real amount, not zeros), and `cost_usd` (null when no event in the bucket was priced). This is the per-project cost-by-range/by-category query — a monthly figure without scanning raw usage events client-side.
19621
+ * Returns a project's usage rolled up over an optional `[from, to]` time window, optionally bucketed by a single dimension and narrowed by any combination of thirteen filters — session, actor, agent, AI provider, orchestration run, orchestration, generation, trace, meter type, model, source, trigger and action. That is how "what did this conversation cost", "what has this end user cost" and "what did this agent cost" are answered. Each group and the grand total carry an `event_count`, summed token counts, a measured `quantity` per component (so infra meters report their real amount, not zeros), and `cost_usd` (null when no event in the bucket was priced). This is the per-project cost-by-range/by-category query — a monthly figure without scanning raw usage events client-side.
19622
+ *
19623
+ * Narrowings intersect and apply to the whole rollup — every bucket, `totals` and `totals.distinct` alike — so each composes with any `group_by`, and all thirteen are echoed back under `filters`. The eight naming a resource are resolved against the project, and one naming nothing there empties the rollup rather than being dropped: a mistyped id must never read back as the project's whole spend. The other five are matched against the value the event recorded.
19259
19624
  *
19260
- * `groups` is paginated. Its `total` is the number of distinct buckets in the window — bucket cardinality, including a null bucket for the events the dimension does not apply to, and never a count of entities. To count entities, send `include=distinct` and read `totals.distinct`. `totals` always describes the whole window — never the page above it.
19625
+ * `groups` is paginated. Its `total` is the number of distinct buckets in the window — bucket cardinality, including a null bucket for the events the dimension does not apply to, and never a count of entities. To count entities, send `include=distinct` and read `totals.distinct`. `totals` always describes the whole window — never the page above it, and never the bucketing: omit `group_by` and `totals` is unchanged while `groups` is empty.
19261
19626
  *
19262
19627
  */
19263
19628
  static getUsageAggregate<ThrowOnError extends boolean = false>(options: Options<GetUsageAggregateData, ThrowOnError>): RequestResult<GetUsageAggregateResponses, GetUsageAggregateErrors, ThrowOnError>;
@@ -19561,4 +19926,4 @@ declare class SoatClient {
19561
19926
  constructor({ baseUrl, token, headers }?: SoatClientOptions);
19562
19927
  }
19563
19928
  //#endregion
19564
- export { type AbortAgentReleaseData, type AbortAgentReleaseError, type AbortAgentReleaseErrors, type AbortAgentReleaseResponse, type AbortAgentReleaseResponses, type AcceptedGenerationResponse, type AcknowledgeExceptionData, type AcknowledgeExceptionErrors, type AcknowledgeExceptionResponse, type AcknowledgeExceptionResponses, Activity, type ActivityEntry, type ActorRecord, type ActorResourceProperties, Actors, type AddConversationMessageData, type AddConversationMessageError, type AddConversationMessageErrors, type AddConversationMessageResponse, type AddConversationMessageResponses, type AddSessionMessageData, type AddSessionMessageError, type AddSessionMessageErrors, type AddSessionMessageRequest, type AddSessionMessageResponse, type AddSessionMessageResponse2, type AddSessionMessageResponses, type AddSessionMessageSaved, type Agent, type AgentGenerationResponse, type AgentRelease, type AgentResourceProperties, type AgentVersion, AgentVersions, Agents, type AggregateScores, type AiProviderResourceProperties, AiProviders, type ApiKeyCreated, type ApiKeyRecord, type ApiKeyResourceProperties, ApiKeys, type ApprovalId, type ApprovalItem, type ApprovalRecurrenceGroup, Approvals, type ApproveApprovalData, type ApproveApprovalErrors, type ApproveApprovalResponse, type ApproveApprovalResponses, type AttachUserPoliciesData, type AttachUserPoliciesError, type AttachUserPoliciesErrors, type AttachUserPoliciesResponse, type AttachUserPoliciesResponses, type AuditEntry, AuditLog, type BaselineComparison, type BootstrapUserData, type BootstrapUserError, type BootstrapUserErrors, type BootstrapUserResponse, type BootstrapUserResponses, type CallToolData, type CallToolError, type CallToolErrors, type CallToolRequest, type CallToolResponses, type CancelEvalRunData, type CancelEvalRunErrors, type CancelEvalRunResponse, type CancelEvalRunResponses, type CancelOrchestrationRunData, type CancelOrchestrationRunErrors, type CancelOrchestrationRunResponse, type CancelOrchestrationRunResponses, type Chain, type ChainId, Chains, type Chat, type ChatCompletionChoice, type ChatCompletionRequest, type ChatCompletionResponse, type ChatCompletionResponseMessage, type ChatMessageInput, type ChatResourceProperties, Chats, type ClientOptions, type CompleteIngestionCallbackData, type CompleteIngestionCallbackError, type CompleteIngestionCallbackErrors, type CompleteIngestionCallbackResponse, type CompleteIngestionCallbackResponses, type ContainsScorer, type ConversationMessageRecord, type ConversationRecord, type ConversationResourceProperties, Conversations, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentData, type CreateAgentError, type CreateAgentErrors, type CreateAgentGenerationData, type CreateAgentGenerationError, type CreateAgentGenerationErrors, type CreateAgentGenerationRequest, type CreateAgentGenerationResponse, type CreateAgentGenerationResponses, type CreateAgentRequest, type CreateAgentResponse, type CreateAgentResponses, type CreateAiProviderData, type CreateAiProviderErrors, type CreateAiProviderResponse, type CreateAiProviderResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChatCompletionData, type CreateChatCompletionError, type CreateChatCompletionErrors, type CreateChatCompletionResponse, type CreateChatCompletionResponses, type CreateChatData, type CreateChatError, type CreateChatErrors, type CreateChatRequest, type CreateChatResponse, type CreateChatResponses, type CreateConversationData, type CreateConversationError, type CreateConversationErrors, type CreateConversationResponse, type CreateConversationResponses, type CreateDatasetData, type CreateDatasetErrors, type CreateDatasetItemData, type CreateDatasetItemErrors, type CreateDatasetItemFromGenerationData, type CreateDatasetItemFromGenerationErrors, type CreateDatasetItemFromGenerationResponse, type CreateDatasetItemFromGenerationResponses, type CreateDatasetItemResponse, type CreateDatasetItemResponses, type CreateDatasetResponse, type CreateDatasetResponses, type CreateDocumentData, type CreateDocumentError, type CreateDocumentErrors, type CreateDocumentResponse, type CreateDocumentResponses, type CreateEmbeddingsData, type CreateEmbeddingsError, type CreateEmbeddingsErrors, type CreateEmbeddingsResponse, type CreateEmbeddingsResponses, type CreateEvalData, type CreateEvalErrors, type CreateEvalResponse, type CreateEvalResponses, type CreateFileData, type CreateFileError, type CreateFileErrors, type CreateFileResponse, type CreateFileResponses, type CreateFormationData, type CreateFormationErrors, type CreateFormationResponse, type CreateFormationResponses, type CreateGuardrailData, type CreateGuardrailError, type CreateGuardrailErrors, type CreateGuardrailRequest, type CreateGuardrailResponse, type CreateGuardrailResponses, type CreateIngestionRuleData, type CreateIngestionRuleErrors, type CreateIngestionRuleResponse, type CreateIngestionRuleResponses, type CreateMemoryData, type CreateMemoryEntryData, type CreateMemoryEntryErrors, type CreateMemoryEntryResponse, type CreateMemoryEntryResponses, type CreateMemoryErrors, type CreateMemoryResponse, type CreateMemoryResponses, type CreateModelRouteData, type CreateModelRouteErrors, type CreateModelRouteResponse, type CreateModelRouteResponses, type CreateOrchestrationData, type CreateOrchestrationErrors, type CreateOrchestrationRequest, type CreateOrchestrationResponse, type CreateOrchestrationResponses, type CreatePolicyData, type CreatePolicyError, type CreatePolicyErrors, type CreatePolicyResponse, type CreatePolicyResponses, type CreatePresignedUrlData, type CreatePresignedUrlError, type CreatePresignedUrlErrors, type CreatePresignedUrlResponse, type CreatePresignedUrlResponses, type CreateProjectData, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateQuotaData, type CreateQuotaErrors, type CreateQuotaResponse, type CreateQuotaResponses, type CreateSecretData, type CreateSecretErrors, type CreateSecretResponse, type CreateSecretResponses, type CreateSessionData, type CreateSessionError, type CreateSessionErrors, type CreateSessionRequest, type CreateSessionResponse, type CreateSessionResponses, type CreateTaskData, type CreateTaskErrors, type CreateTaskRequest, type CreateTaskResponse, type CreateTaskResponses, type CreateToolData, type CreateToolError, type CreateToolErrors, type CreateToolRequest, type CreateToolResponse, type CreateToolResponses, type CreateTriggerData, type CreateTriggerErrors, type CreateTriggerRequest, type CreateTriggerResponse, type CreateTriggerResponses, type CreateUsageThresholdData, type CreateUsageThresholdError, type CreateUsageThresholdErrors, type CreateUsageThresholdRequest, type CreateUsageThresholdResponse, type CreateUsageThresholdResponses, type CreateUserData, type CreateUserError, type CreateUserErrors, type CreateUserResponse, type CreateUserResponses, type CreateWebhookData, type CreateWebhookErrors, type CreateWebhookRequest, type CreateWebhookResponse, type CreateWebhookResponses, type CreateWorkflowData, type CreateWorkflowErrors, type CreateWorkflowRequest, type CreateWorkflowResponse, type CreateWorkflowResponses, type Dataset, type DatasetItem, type DatasetItemInput, type DatasetItemResourceProperties, type DatasetResourceProperties, type DeleteActorData, type DeleteActorError, type DeleteActorErrors, type DeleteActorResponse, type DeleteActorResponses, type DeleteAgentData, type DeleteAgentError, type DeleteAgentErrors, type DeleteAgentResponse, type DeleteAgentResponses, type DeleteAiProviderData, type DeleteAiProviderErrors, type DeleteAiProviderResponse, type DeleteAiProviderResponses, type DeleteApiKeyData, type DeleteApiKeyErrors, type DeleteApiKeyResponse, type DeleteApiKeyResponses, type DeleteChatData, type DeleteChatError, type DeleteChatErrors, type DeleteChatResponse, type DeleteChatResponses, type DeleteConversationData, type DeleteConversationError, type DeleteConversationErrors, type DeleteConversationResponse, type DeleteConversationResponses, type DeleteDatasetData, type DeleteDatasetErrors, type DeleteDatasetItemData, type DeleteDatasetItemErrors, type DeleteDatasetItemResponse, type DeleteDatasetItemResponses, type DeleteDatasetResponse, type DeleteDatasetResponses, type DeleteDocumentData, type DeleteDocumentError, type DeleteDocumentErrors, type DeleteDocumentResponse, type DeleteDocumentResponses, type DeleteEvalData, type DeleteEvalErrors, type DeleteEvalResponse, type DeleteEvalResponses, type DeleteFileData, type DeleteFileError, type DeleteFileErrors, type DeleteFileResponse, type DeleteFileResponses, type DeleteFormationData, type DeleteFormationErrors, type DeleteFormationResponse, type DeleteFormationResponses, type DeleteGuardrailData, type DeleteGuardrailError, type DeleteGuardrailErrors, type DeleteGuardrailResponse, type DeleteGuardrailResponses, type DeleteIngestionRuleData, type DeleteIngestionRuleErrors, type DeleteIngestionRuleResponse, type DeleteIngestionRuleResponses, type DeleteMemoryData, type DeleteMemoryEntryData, type DeleteMemoryEntryErrors, type DeleteMemoryEntryResponse, type DeleteMemoryEntryResponses, type DeleteMemoryErrors, type DeleteMemoryResponse, type DeleteMemoryResponses, type DeleteModelRouteData, type DeleteModelRouteErrors, type DeleteModelRouteResponse, type DeleteModelRouteResponses, type DeleteOrchestrationData, type DeleteOrchestrationErrors, type DeleteOrchestrationResponse, type DeleteOrchestrationResponses, type DeletePolicyData, type DeletePolicyErrors, type DeletePolicyResponse, type DeletePolicyResponses, type DeleteProjectData, type DeleteProjectError, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteQuotaData, type DeleteQuotaErrors, type DeleteQuotaResponse, type DeleteQuotaResponses, type DeleteSecretData, type DeleteSecretErrors, type DeleteSecretResponses, type DeleteSessionData, type DeleteSessionError, type DeleteSessionErrors, type DeleteSessionResponse, type DeleteSessionResponses, type DeleteTaskData, type DeleteTaskErrors, type DeleteTaskResponse, type DeleteTaskResponses, type DeleteToolData, type DeleteToolError, type DeleteToolErrors, type DeleteToolResponse, type DeleteToolResponses, type DeleteTriggerData, type DeleteTriggerErrors, type DeleteTriggerResponse, type DeleteTriggerResponses, type DeleteUsageThresholdData, type DeleteUsageThresholdError, type DeleteUsageThresholdErrors, type DeleteUsageThresholdResponse, type DeleteUsageThresholdResponses, type DeleteUserData, type DeleteUserError, type DeleteUserErrors, type DeleteUserResponse, type DeleteUserResponses, type DeleteWebhookData, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type DeleteWorkflowData, type DeleteWorkflowErrors, type DeleteWorkflowResponse, type DeleteWorkflowResponses, type Delivery, type DeliveryListResponse, type DocumentKnowledgeResult, type DocumentMessageContent, type DocumentRecord, type DocumentResourceProperties, type DocumentStatusRecord, Documents, type DownloadFileBase64Data, type DownloadFileBase64Error, type DownloadFileBase64Errors, type DownloadFileBase64Response, type DownloadFileBase64Responses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, 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 ExactMatchScorer, type ExceptionId, type ExceptionItem, Exceptions, type ExportAuditEntriesData, type ExportAuditEntriesErrors, type ExportAuditEntriesResponse, type ExportAuditEntriesResponses, type FileRecord, type FileRecordWritable, type FileResourceProperties, Files, type FireTriggerData, type FireTriggerErrors, type FireTriggerRequest, type FireTriggerResponse, type FireTriggerResponses, type ForkSessionData, type ForkSessionError, type ForkSessionErrors, type ForkSessionRequest, type ForkSessionResponse, type ForkSessionResponses, type Formation, type FormationError, type FormationEvent, type FormationOperation, type FormationResource, type FormationTemplate, type FormationTemplateInput, Formations, type GenerateConversationMessageCompleted, type GenerateConversationMessageData, type GenerateConversationMessageError, type GenerateConversationMessageErrors, type GenerateConversationMessageRequiresAction, type GenerateConversationMessageResponse, type GenerateConversationMessageResponse2, type GenerateConversationMessageResponses, type GenerateSessionRequest, type GenerateSessionResponse, type GenerateSessionResponseData, type GenerateSessionResponseError, type GenerateSessionResponseErrors, type GenerateSessionResponseResponse, type GenerateSessionResponseResponses, type Generation, type GenerationTranscript, Generations, type GetActorData, type GetActorError, type GetActorErrors, type GetActorResponse, type GetActorResponses, type GetActorTagsData, type GetActorTagsError, type GetActorTagsErrors, type GetActorTagsResponse, type GetActorTagsResponses, type GetAgentData, type GetAgentError, type GetAgentErrors, type GetAgentResponse, type GetAgentResponses, type GetAgentVersionData, type GetAgentVersionError, type GetAgentVersionErrors, type GetAgentVersionResponse, type GetAgentVersionResponses, type GetAiProviderData, type GetAiProviderErrors, type GetAiProviderPricesData, type GetAiProviderPricesErrors, type GetAiProviderPricesResponse, type GetAiProviderPricesResponses, type GetAiProviderResponse, type GetAiProviderResponses, type GetApiKeyData, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, type GetApprovalData, type GetApprovalErrors, type GetApprovalResponse, type GetApprovalResponses, type GetAuditEntryData, type GetAuditEntryErrors, type GetAuditEntryResponse, type GetAuditEntryResponses, type GetChainData, type GetChainErrors, type GetChainResponse, type GetChainResponses, type GetChatData, type GetChatError, type GetChatErrors, type GetChatResponse, type GetChatResponses, type GetConversationData, type GetConversationError, type GetConversationErrors, type GetConversationResponse, type GetConversationResponses, type GetConversationTagsData, type GetConversationTagsError, type GetConversationTagsErrors, type GetConversationTagsResponse, type GetConversationTagsResponses, type GetCurrentUserData, type GetCurrentUserError, type GetCurrentUserErrors, type GetCurrentUserResponse, type GetCurrentUserResponses, type GetDatasetData, type GetDatasetErrors, type GetDatasetResponse, type GetDatasetResponses, type GetDocumentData, type GetDocumentError, type GetDocumentErrors, type GetDocumentResponse, type GetDocumentResponses, type GetDocumentStatusData, type GetDocumentStatusError, type GetDocumentStatusErrors, type GetDocumentStatusResponse, type GetDocumentStatusResponses, type GetDocumentTagsData, type GetDocumentTagsError, type GetDocumentTagsErrors, type GetDocumentTagsResponse, type GetDocumentTagsResponses, type GetEvalData, type GetEvalErrors, type GetEvalResponse, type GetEvalResponses, type GetEvalRunData, type GetEvalRunErrors, type GetEvalRunResponse, type GetEvalRunResponses, type GetExceptionData, type GetExceptionErrors, type GetExceptionResponse, type GetExceptionResponses, type GetFileData, type GetFileError, type GetFileErrors, type GetFileResponse, type GetFileResponses, type GetFileTagsData, type GetFileTagsError, type GetFileTagsErrors, type GetFileTagsResponse, type GetFileTagsResponses, type GetFormationData, type GetFormationErrors, type GetFormationResponse, type GetFormationResponses, type GetGenerationData, type GetGenerationError, type GetGenerationErrors, type GetGenerationResponse, type GetGenerationResponses, type GetGenerationTranscriptData, type GetGenerationTranscriptError, type GetGenerationTranscriptErrors, type GetGenerationTranscriptResponse, type GetGenerationTranscriptResponses, type GetGuardrailData, type GetGuardrailError, type GetGuardrailErrors, type GetGuardrailResponse, type GetGuardrailResponses, type GetGuardrailVersionData, type GetGuardrailVersionError, type GetGuardrailVersionErrors, type GetGuardrailVersionResponse, type GetGuardrailVersionResponses, type GetIngestionRuleData, type GetIngestionRuleErrors, type GetIngestionRuleResponse, type GetIngestionRuleResponses, type GetMemoryData, type GetMemoryEntryData, type GetMemoryEntryErrors, type GetMemoryEntryResponse, type GetMemoryEntryResponses, type GetMemoryErrors, type GetMemoryResponse, type GetMemoryResponses, type GetModelRouteData, type GetModelRouteErrors, type GetModelRouteResponse, type GetModelRouteResponses, type GetOrchestrationData, type GetOrchestrationErrors, type GetOrchestrationResponse, type GetOrchestrationResponses, type GetOrchestrationRunData, type GetOrchestrationRunErrors, type GetOrchestrationRunResponse, type GetOrchestrationRunResponses, type GetOrchestrationVersionData, type GetOrchestrationVersionErrors, type GetOrchestrationVersionResponse, type GetOrchestrationVersionResponses, type GetPolicyData, type GetPolicyErrors, type GetPolicyResponse, type GetPolicyResponses, type GetPriceBookData, type GetPriceBookError, type GetPriceBookErrors, type GetPriceBookResponse, type GetPriceBookResponses, type GetProjectData, type GetProjectErrors, type GetProjectPricesData, type GetProjectPricesErrors, type GetProjectPricesResponse, type GetProjectPricesResponses, type GetProjectResponse, type GetProjectResponses, type GetQueueStatsData, type GetQueueStatsErrors, type GetQueueStatsResponse, type GetQueueStatsResponses, type GetQuotaData, type GetQuotaErrors, type GetQuotaResponse, type GetQuotaResponses, type GetSecretData, type GetSecretErrors, type GetSecretResponse, type GetSecretResponses, type GetSessionData, type GetSessionError, type GetSessionErrors, type GetSessionResponse, type GetSessionResponses, type GetSessionTagsData, type GetSessionTagsError, type GetSessionTagsErrors, type GetSessionTagsResponse, type GetSessionTagsResponses, type GetTaskData, type GetTaskErrors, type GetTaskHistoryData, type GetTaskHistoryErrors, type GetTaskHistoryResponse, type GetTaskHistoryResponses, type GetTaskResponse, type GetTaskResponses, type GetToolData, type GetToolError, type GetToolErrors, type GetToolResponse, type GetToolResponses, type GetTraceData, type GetTraceError, type GetTraceErrors, type GetTraceResponse, type GetTraceResponses, type GetTraceTreeData, type GetTraceTreeError, type GetTraceTreeErrors, type GetTraceTreeResponse, type GetTraceTreeResponses, type GetTriggerData, type GetTriggerErrors, type GetTriggerFiringData, type GetTriggerFiringErrors, type GetTriggerFiringResponse, type GetTriggerFiringResponses, type GetTriggerResponse, type GetTriggerResponses, type GetTriggerSecretData, type GetTriggerSecretErrors, type GetTriggerSecretResponse, type GetTriggerSecretResponses, type GetUsageAggregateData, type GetUsageAggregateError, type GetUsageAggregateErrors, type GetUsageAggregateResponse, type GetUsageAggregateResponses, type GetUsageReceiptData, type GetUsageReceiptError, type GetUsageReceiptErrors, type GetUsageReceiptResponse, type GetUsageReceiptResponses, type GetUserData, type GetUserError, type GetUserErrors, type GetUserResponse, type GetUserResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type GetWebhookSecretData, type GetWebhookSecretErrors, type GetWebhookSecretResponse, type GetWebhookSecretResponses, type GetWorkflowData, type GetWorkflowErrors, type GetWorkflowResponse, type GetWorkflowResponses, type GetWorkflowVersionData, type GetWorkflowVersionErrors, type GetWorkflowVersionResponse, type GetWorkflowVersionResponses, type Guardrail, type GuardrailDocument, type GuardrailEvaluation, type GuardrailResourceProperties, type GuardrailVersion, Guardrails, type HumanInputRequest, type IngestDocumentData, type IngestDocumentError, type IngestDocumentErrors, type IngestDocumentResponse, type IngestDocumentResponses, type IngestedDocumentRecord, type IngestionRule, type IngestionRuleResourceProperties, IngestionRules, type JsonLogicScorer, Knowledge, type KnowledgeResult, type ListActivityData, type ListActivityErrors, type ListActivityResponse, type ListActivityResponses, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAgentVersionsData, type ListAgentVersionsError, type ListAgentVersionsErrors, type ListAgentVersionsResponse, type ListAgentVersionsResponses, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListAiProviderModelsData, type ListAiProviderModelsErrors, type ListAiProviderModelsResponse, type ListAiProviderModelsResponses, type ListAiProvidersData, type ListAiProvidersErrors, type ListAiProvidersResponse, type ListAiProvidersResponses, type ListApiKeysData, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListApprovalRecurrencesData, type ListApprovalRecurrencesErrors, type ListApprovalRecurrencesResponse, type ListApprovalRecurrencesResponses, type ListApprovalsData, type ListApprovalsErrors, type ListApprovalsResponse, type ListApprovalsResponses, type ListAuditEntriesData, type ListAuditEntriesErrors, type ListAuditEntriesResponse, type ListAuditEntriesResponses, type ListChainsData, type ListChainsErrors, type ListChainsResponse, type ListChainsResponses, type ListChatsData, type ListChatsError, type ListChatsErrors, type ListChatsResponse, type ListChatsResponses, type ListConversationMessagesData, type ListConversationMessagesError, type ListConversationMessagesErrors, type ListConversationMessagesResponse, type ListConversationMessagesResponses, type ListConversationsData, type ListConversationsError, type ListConversationsErrors, type ListConversationsResponse, type ListConversationsResponses, type ListDatasetItemsData, type ListDatasetItemsErrors, type ListDatasetItemsResponse, type ListDatasetItemsResponses, type ListDatasetsData, type ListDatasetsErrors, type ListDatasetsResponse, type ListDatasetsResponses, type ListDocumentsData, type ListDocumentsError, type ListDocumentsErrors, type ListDocumentsResponse, type ListDocumentsResponses, type ListEvalResultsData, type ListEvalResultsErrors, type ListEvalResultsResponse, type ListEvalResultsResponses, type ListEvalRunsData, type ListEvalRunsErrors, type ListEvalRunsResponse, type ListEvalRunsResponses, type ListEvalsData, type ListEvalsErrors, type ListEvalsResponse, type ListEvalsResponses, type ListExceptionsData, type ListExceptionsErrors, type ListExceptionsResponse, type ListExceptionsResponses, type ListFilesData, type ListFilesError, type ListFilesErrors, type ListFilesResponse, type ListFilesResponses, type ListFormationEventsData, type ListFormationEventsErrors, type ListFormationEventsResponse, type ListFormationEventsResponses, type ListFormationsData, type ListFormationsErrors, type ListFormationsResponse, type ListFormationsResponses, type ListGenerationsData, type ListGenerationsError, type ListGenerationsErrors, type ListGenerationsResponse, type ListGenerationsResponses, type ListGuardrailVersionsData, type ListGuardrailVersionsError, type ListGuardrailVersionsErrors, type ListGuardrailVersionsResponse, type ListGuardrailVersionsResponses, type ListGuardrailsData, type ListGuardrailsError, type ListGuardrailsErrors, type ListGuardrailsResponse, type ListGuardrailsResponses, type ListIngestionRulesData, type ListIngestionRulesErrors, type ListIngestionRulesResponse, type ListIngestionRulesResponses, type ListMemoriesData, type ListMemoriesErrors, type ListMemoriesResponse, type ListMemoriesResponses, type ListMemoryEntriesData, type ListMemoryEntriesErrors, type ListMemoryEntriesResponse, type ListMemoryEntriesResponses, type ListModelRoutesData, type ListModelRoutesErrors, type ListModelRoutesResponse, type ListModelRoutesResponses, type ListOrchestrationRunsData, type ListOrchestrationRunsErrors, type ListOrchestrationRunsResponse, type ListOrchestrationRunsResponses, type ListOrchestrationVersionsData, type ListOrchestrationVersionsErrors, type ListOrchestrationVersionsResponse, type ListOrchestrationVersionsResponses, type ListOrchestrationsData, type ListOrchestrationsErrors, type ListOrchestrationsResponse, type ListOrchestrationsResponses, type ListPoliciesData, type ListPoliciesErrors, type ListPoliciesResponse, type ListPoliciesResponses, type ListProjectsData, type ListProjectsErrors, type ListProjectsResponse, type ListProjectsResponses, type ListQuotasData, type ListQuotasErrors, type ListQuotasResponse, type ListQuotasResponses, type ListSecretsData, type ListSecretsErrors, type ListSecretsResponse, type ListSecretsResponses, type ListSessionForksData, type ListSessionForksError, type ListSessionForksErrors, type ListSessionForksResponse, type ListSessionForksResponses, type ListSessionsData, type ListSessionsError, type ListSessionsErrors, type ListSessionsResponse, type ListSessionsResponses, type ListTasksData, type ListTasksErrors, type ListTasksResponse, type ListTasksResponses, type ListToolsData, type ListToolsError, type ListToolsErrors, type ListToolsResponse, type ListToolsResponses, type ListTracesData, type ListTracesError, type ListTracesErrors, type ListTracesResponse, type ListTracesResponses, type ListTriggerFiringsData, type ListTriggerFiringsErrors, type ListTriggerFiringsResponse, type ListTriggerFiringsResponses, type ListTriggersData, type ListTriggersErrors, type ListTriggersResponse, type ListTriggersResponses, type ListUsageEventsData, type ListUsageEventsError, type ListUsageEventsErrors, type ListUsageEventsResponse, type ListUsageEventsResponses, type ListUsageThresholdsData, type ListUsageThresholdsError, type ListUsageThresholdsErrors, type ListUsageThresholdsResponse, type ListUsageThresholdsResponses, type ListUsersData, type ListUsersError, type ListUsersErrors, type ListUsersResponse, type ListUsersResponses, type ListWebhookDeliveriesData, type ListWebhookDeliveriesErrors, type ListWebhookDeliveriesResponse, type ListWebhookDeliveriesResponses, type ListWebhooksData, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type ListWorkflowVersionsData, type ListWorkflowVersionsErrors, type ListWorkflowVersionsResponse, type ListWorkflowVersionsResponses, type ListWorkflowsData, type ListWorkflowsErrors, type ListWorkflowsResponse, type ListWorkflowsResponses, type LlmJudgeScorer, type LoginResponse, type LoginUserData, type LoginUserError, type LoginUserErrors, type LoginUserResponse, type LoginUserResponses, Memories, type Memory, MemoryEntries, type MemoryEntry, type MemoryEntryResourceProperties, type MemoryEntryWriteResult, type MemoryKnowledgeResult, type MemoryResourceProperties, type MergeActorTagsData, type MergeActorTagsError, type MergeActorTagsErrors, type MergeActorTagsResponse, type MergeActorTagsResponses, type MergeConversationTagsData, type MergeConversationTagsError, type MergeConversationTagsErrors, type MergeConversationTagsResponse, type MergeConversationTagsResponses, type MergeDocumentTagsData, type MergeDocumentTagsError, type MergeDocumentTagsErrors, type MergeDocumentTagsResponse, type MergeDocumentTagsResponses, type MergeFileTagsData, type MergeFileTagsError, type MergeFileTagsErrors, type MergeFileTagsResponse, type MergeFileTagsResponses, type MergeSessionTagsData, type MergeSessionTagsError, type MergeSessionTagsErrors, type MergeSessionTagsResponse, type MergeSessionTagsResponses, type ModelRoute, type ModelRouteResourceProperties, type ModelRouteTarget, ModelRoutes, type NodeExecution, type OauthAuthorizationServerMetadata, type OauthClientRegistrationRequest, type OauthClientRegistrationResponse, type OauthErrorResponse, type OauthProtectedResourceMetadata, type OauthTokenRequest, type OauthTokenResponse, 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 PlanFormationData, type PlanFormationErrors, type PlanFormationResponse, type PlanFormationResponses, type PlanResult, Policies, type PolicyDocument, type PolicyRecord, type PolicyResourceProperties, type PolicyStatement, type PresignedUrlRequest, type PresignedUrlResponse, type Price, type PriceBookResponse, type ProjectPrice, type ProjectPriceResourceProperties, type ProjectPricesResponse, type ProjectRecord, Projects, type PromoteAgentReleaseData, type PromoteAgentReleaseError, type PromoteAgentReleaseErrors, type PromoteAgentReleaseResponse, type PromoteAgentReleaseResponses, type ProviderModelsResponse, type ProviderPrice, type ProviderPricesResponse, type PurgeGenerationContentData, type PurgeGenerationContentError, type PurgeGenerationContentErrors, type PurgeGenerationContentResponse, type PurgeGenerationContentResponses, type PurgeTraceContentData, type PurgeTraceContentError, type PurgeTraceContentErrors, type PurgeTraceContentResponse, type PurgeTraceContentResponses, type QueueStats, type Quota, type QuotaResourceProperties, Quotas, type RedeliverWebhookDeliveryData, type RedeliverWebhookDeliveryErrors, type RedeliverWebhookDeliveryResponse, type RedeliverWebhookDeliveryResponses, type ReingestDocumentData, type ReingestDocumentError, type ReingestDocumentErrors, type ReingestDocumentResponse, type ReingestDocumentResponses, type RejectApprovalData, type RejectApprovalErrors, type RejectApprovalResponse, type RejectApprovalResponses, type RemoveConversationMessageData, type RemoveConversationMessageError, type RemoveConversationMessageErrors, type RemoveConversationMessageResponse, type RemoveConversationMessageResponses, type ReplaceActorTagsData, type ReplaceActorTagsError, type ReplaceActorTagsErrors, type ReplaceActorTagsResponse, type ReplaceActorTagsResponses, type ReplaceConversationTagsData, type ReplaceConversationTagsError, type ReplaceConversationTagsErrors, type ReplaceConversationTagsResponse, type ReplaceConversationTagsResponses, type ReplaceDocumentTagsData, type ReplaceDocumentTagsError, type ReplaceDocumentTagsErrors, type ReplaceDocumentTagsResponse, type ReplaceDocumentTagsResponses, type ReplaceFileTagsData, type ReplaceFileTagsError, type ReplaceFileTagsErrors, type ReplaceFileTagsResponse, type ReplaceFileTagsResponses, type ReplaceSessionTagsData, type ReplaceSessionTagsError, type ReplaceSessionTagsErrors, type ReplaceSessionTagsResponse, type ReplaceSessionTagsResponses, type RequiredAction, type ResolveExceptionData, type ResolveExceptionErrors, type ResolveExceptionResponse, type ResolveExceptionResponses, type ResourceDeclaration, type RestoreAgentVersionData, type RestoreAgentVersionError, type RestoreAgentVersionErrors, type RestoreAgentVersionRequest, type RestoreAgentVersionResponse, type RestoreAgentVersionResponses, type RestoreGuardrailVersionData, type RestoreGuardrailVersionError, type RestoreGuardrailVersionErrors, type RestoreGuardrailVersionRequest, type RestoreGuardrailVersionResponse, type RestoreGuardrailVersionResponses, type RestoreOrchestrationVersionData, type RestoreOrchestrationVersionErrors, type RestoreOrchestrationVersionRequest, type RestoreOrchestrationVersionResponse, type RestoreOrchestrationVersionResponses, type RestoreWorkflowVersionData, type RestoreWorkflowVersionErrors, type RestoreWorkflowVersionRequest, type RestoreWorkflowVersionResponse, type RestoreWorkflowVersionResponses, type ResumeOrchestrationRunData, type ResumeOrchestrationRunErrors, type ResumeOrchestrationRunResponse, type ResumeOrchestrationRunResponses, type ResumeTaskData, type ResumeTaskErrors, type ResumeTaskResponse, type ResumeTaskResponses, type RotateTriggerSecretData, type RotateTriggerSecretErrors, type RotateTriggerSecretResponse, type RotateTriggerSecretResponses, type RotateWebhookSecretData, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type ScorerResult, type Scorers, type SearchKnowledgeData, type SearchKnowledgeError, type SearchKnowledgeErrors, type SearchKnowledgeResponse, type SearchKnowledgeResponses, type SecretResourceProperties, Secrets, type SendSessionMessageResponse, type SessionId, type SessionRecord, type SessionResourceProperties, Sessions, type SetAgentReleaseData, type SetAgentReleaseError, type SetAgentReleaseErrors, type SetAgentReleaseRequest, type SetAgentReleaseResponse, type SetAgentReleaseResponses, SoatClient, type SoatClientOptions, type StartEvalRunData, type StartEvalRunErrors, type StartEvalRunResponse, type StartEvalRunResponses, type StartOrchestrationRunData, type StartOrchestrationRunErrors, type 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 UpdateConversationData, type UpdateConversationError, type UpdateConversationErrors, type UpdateConversationResponse, type UpdateConversationResponses, type UpdateDatasetData, type UpdateDatasetErrors, type UpdateDatasetItemData, type UpdateDatasetItemErrors, type UpdateDatasetItemResponse, type UpdateDatasetItemResponses, type UpdateDatasetResponse, type UpdateDatasetResponses, type UpdateDocumentData, type UpdateDocumentError, type UpdateDocumentErrors, type UpdateDocumentResponse, type UpdateDocumentResponses, type UpdateEvalData, type UpdateEvalErrors, type UpdateEvalResponse, type UpdateEvalResponses, type UpdateFileMetadataData, type UpdateFileMetadataError, type UpdateFileMetadataErrors, type UpdateFileMetadataResponse, type UpdateFileMetadataResponses, type UpdateFormationData, type UpdateFormationErrors, type UpdateFormationResponse, type UpdateFormationResponses, type UpdateGenerationData, type UpdateGenerationError, type UpdateGenerationErrors, type UpdateGenerationRequest, type UpdateGenerationResponse, type UpdateGenerationResponses, type UpdateGuardrailData, type UpdateGuardrailError, type UpdateGuardrailErrors, type UpdateGuardrailRequest, type UpdateGuardrailResponse, type UpdateGuardrailResponses, type UpdateIngestionRuleData, type UpdateIngestionRuleErrors, type UpdateIngestionRuleResponse, type UpdateIngestionRuleResponses, type UpdateMemoryData, type UpdateMemoryEntryData, type UpdateMemoryEntryErrors, type UpdateMemoryEntryResponse, type UpdateMemoryEntryResponses, type UpdateMemoryErrors, type UpdateMemoryResponse, type UpdateMemoryResponses, type UpdateModelRouteData, type UpdateModelRouteErrors, type UpdateModelRouteResponse, type UpdateModelRouteResponses, type UpdateOrchestrationData, type UpdateOrchestrationErrors, type UpdateOrchestrationRequest, type UpdateOrchestrationResponse, type UpdateOrchestrationResponses, type UpdatePolicyData, type UpdatePolicyError, type UpdatePolicyErrors, type UpdatePolicyResponse, type UpdatePolicyResponses, type UpdateProjectData, type UpdateProjectErrors, type UpdateProjectPricesData, type UpdateProjectPricesErrors, type UpdateProjectPricesResponse, type UpdateProjectPricesResponses, type UpdateProjectResponse, type UpdateProjectResponses, type UpdateQuotaData, type UpdateQuotaErrors, type UpdateQuotaResponse, type UpdateQuotaResponses, type UpdateSecretData, type UpdateSecretErrors, type UpdateSecretResponses, type UpdateSessionData, type UpdateSessionError, type UpdateSessionErrors, type UpdateSessionRequest, type UpdateSessionResponse, type UpdateSessionResponses, type UpdateTaskData, type UpdateTaskErrors, type UpdateTaskRequest, type UpdateTaskResponse, type UpdateTaskResponses, type UpdateToolData, type UpdateToolError, type UpdateToolErrors, type UpdateToolRequest, type UpdateToolResponse, type UpdateToolResponses, type UpdateTriggerData, type UpdateTriggerErrors, type UpdateTriggerRequest, type UpdateTriggerResponse, type UpdateTriggerResponses, type UpdateWebhookData, type UpdateWebhookErrors, type UpdateWebhookRequest, type UpdateWebhookResponse, type UpdateWebhookResponses, type UpdateWorkflowData, type UpdateWorkflowErrors, type UpdateWorkflowRequest, type UpdateWorkflowResponse, type UpdateWorkflowResponses, type UploadFileBase64Data, type UploadFileBase64Error, type UploadFileBase64Errors, type UploadFileBase64Request, type UploadFileBase64Response, type UploadFileBase64Responses, type UploadFileData, type UploadFileError, type UploadFileErrors, type UploadFileResponse, type UploadFileResponses, type UploadFileWithTokenData, type UploadFileWithTokenError, type UploadFileWithTokenErrors, type UploadFileWithTokenRequest, type UploadFileWithTokenResponse, type UploadFileWithTokenResponses, type UpsertPriceBookData, type UpsertPriceBookError, type UpsertPriceBookErrors, type UpsertPriceBookResponse, type UpsertPriceBookResponses, type UpsertPricesRequest, type UpsertProjectPricesRequest, type UpsertProviderPricesRequest, Usage, type UsageAggregate, type UsageAggregateBucket, type UsageAggregateComponent, type UsageAggregateGroup, type UsageAggregateTotals, type UsageComponent, type UsageDistinct, type UsageEvent, type UsageGroupBy, type UsageReceipt, type UsageThreshold, type UsageTotals, type UserRecord, Users, type ValidateFormationData, type ValidateFormationErrors, type ValidateFormationResponse, type ValidateFormationResponses, type ValidateOrchestrationData, type ValidateOrchestrationErrors, type ValidateOrchestrationRequest, type ValidateOrchestrationResponse, type ValidateOrchestrationResponses, type ValidationError, type ValidationResult, type Webhook, type WebhookResourceProperties, type WebhookSecretResponse, type WebhookWithSecret, Webhooks, type Workflow, type WorkflowResourceProperties, type WorkflowState, type WorkflowTransition, type WorkflowVersion, Workflows, createClient, createConfig };
19929
+ export { type AbortAgentReleaseData, type AbortAgentReleaseError, type AbortAgentReleaseErrors, type AbortAgentReleaseResponse, type AbortAgentReleaseResponses, type AcceptedGenerationResponse, type AcknowledgeExceptionData, type AcknowledgeExceptionErrors, type AcknowledgeExceptionResponse, type AcknowledgeExceptionResponses, Activity, type ActivityEntry, type ActorRecord, type ActorResourceProperties, Actors, type AddConversationMessageData, type AddConversationMessageError, type AddConversationMessageErrors, type AddConversationMessageResponse, type AddConversationMessageResponses, type AddSessionMessageData, type AddSessionMessageError, type AddSessionMessageErrors, type AddSessionMessageRequest, type AddSessionMessageResponse, type AddSessionMessageResponse2, type AddSessionMessageResponses, type AddSessionMessageSaved, type Agent, type AgentGenerationResponse, type AgentRelease, type AgentResourceProperties, type AgentVersion, AgentVersions, Agents, type AggregateScores, type AiProviderResourceProperties, AiProviders, type ApiKeyCreated, type ApiKeyRecord, type ApiKeyResourceProperties, ApiKeys, type ApprovalId, type ApprovalItem, type ApprovalRecurrenceGroup, Approvals, type ApproveApprovalData, type ApproveApprovalErrors, type ApproveApprovalResponse, type ApproveApprovalResponses, type AttachUserPoliciesData, type AttachUserPoliciesError, type AttachUserPoliciesErrors, type AttachUserPoliciesResponse, type AttachUserPoliciesResponses, type AuditEntry, AuditLog, type BaselineComparison, type BootstrapUserData, type BootstrapUserError, type BootstrapUserErrors, type BootstrapUserResponse, type BootstrapUserResponses, type CallToolData, type CallToolError, type CallToolErrors, type CallToolRequest, type CallToolResponses, type CancelEvalRunData, type CancelEvalRunErrors, type CancelEvalRunResponse, type CancelEvalRunResponses, type CancelOrchestrationRunData, type CancelOrchestrationRunErrors, type CancelOrchestrationRunResponse, type CancelOrchestrationRunResponses, type Chain, type ChainId, Chains, type Chat, type ChatCompletionChoice, type ChatCompletionRequest, type ChatCompletionResponse, type ChatCompletionResponseMessage, type ChatMessageInput, type ChatResourceProperties, Chats, type ClientOptions, type CompleteIngestionCallbackData, type CompleteIngestionCallbackError, type CompleteIngestionCallbackErrors, type CompleteIngestionCallbackResponse, type CompleteIngestionCallbackResponses, type ContainsScorer, type ConversationMessageRecord, type ConversationRecord, type ConversationResourceProperties, Conversations, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentData, type CreateAgentError, type CreateAgentErrors, type CreateAgentGenerationData, type CreateAgentGenerationError, type CreateAgentGenerationErrors, type CreateAgentGenerationRequest, type CreateAgentGenerationResponse, type CreateAgentGenerationResponses, type CreateAgentRequest, type CreateAgentResponse, type CreateAgentResponses, type CreateAiProviderData, type CreateAiProviderErrors, type CreateAiProviderResponse, type CreateAiProviderResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChatCompletionData, type CreateChatCompletionError, type CreateChatCompletionErrors, type CreateChatCompletionResponse, type CreateChatCompletionResponses, type CreateChatData, type CreateChatError, type CreateChatErrors, type CreateChatRequest, type CreateChatResponse, type CreateChatResponses, type CreateConversationData, type CreateConversationError, type CreateConversationErrors, type CreateConversationResponse, type CreateConversationResponses, type CreateDatasetData, type CreateDatasetErrors, type CreateDatasetItemData, type CreateDatasetItemErrors, type CreateDatasetItemFromGenerationData, type CreateDatasetItemFromGenerationErrors, type CreateDatasetItemFromGenerationResponse, type CreateDatasetItemFromGenerationResponses, type CreateDatasetItemResponse, type CreateDatasetItemResponses, type CreateDatasetResponse, type CreateDatasetResponses, type CreateDocumentData, type CreateDocumentError, type CreateDocumentErrors, type CreateDocumentResponse, type CreateDocumentResponses, type CreateEmbeddingsData, type CreateEmbeddingsError, type CreateEmbeddingsErrors, type CreateEmbeddingsResponse, type CreateEmbeddingsResponses, type CreateEvalData, type CreateEvalErrors, type CreateEvalResponse, type CreateEvalResponses, type CreateFileData, type CreateFileError, type CreateFileErrors, type CreateFileResponse, type CreateFileResponses, type CreateFormationData, type CreateFormationErrors, type CreateFormationResponse, type CreateFormationResponses, type CreateGuardrailData, type CreateGuardrailError, type CreateGuardrailErrors, type CreateGuardrailRequest, type CreateGuardrailResponse, type CreateGuardrailResponses, type CreateIngestionRuleData, type CreateIngestionRuleErrors, type CreateIngestionRuleResponse, type CreateIngestionRuleResponses, type CreateMemoryData, type CreateMemoryEntryData, type CreateMemoryEntryErrors, type CreateMemoryEntryResponse, type CreateMemoryEntryResponses, type CreateMemoryErrors, type CreateMemoryResponse, type CreateMemoryResponses, type CreateModelRouteData, type CreateModelRouteErrors, type CreateModelRouteResponse, type CreateModelRouteResponses, type CreateOrchestrationData, type CreateOrchestrationErrors, type CreateOrchestrationRequest, type CreateOrchestrationResponse, type CreateOrchestrationResponses, type CreatePolicyData, type CreatePolicyError, type CreatePolicyErrors, type CreatePolicyResponse, type CreatePolicyResponses, type CreatePresignedUrlData, type CreatePresignedUrlError, type CreatePresignedUrlErrors, type CreatePresignedUrlResponse, type CreatePresignedUrlResponses, type CreateProjectData, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateQuotaData, type CreateQuotaErrors, type CreateQuotaResponse, type CreateQuotaResponses, type CreateSecretData, type CreateSecretErrors, type CreateSecretResponse, type CreateSecretResponses, type CreateSessionData, type CreateSessionError, type CreateSessionErrors, type CreateSessionRequest, type CreateSessionResponse, type CreateSessionResponses, type CreateTaskData, type CreateTaskErrors, type CreateTaskRequest, type CreateTaskResponse, type CreateTaskResponses, type CreateToolData, type CreateToolError, type CreateToolErrors, type CreateToolRequest, type CreateToolResponse, type CreateToolResponses, type CreateTriggerData, type CreateTriggerErrors, type CreateTriggerRequest, type CreateTriggerResponse, type CreateTriggerResponses, type CreateUsageThresholdData, type CreateUsageThresholdError, type CreateUsageThresholdErrors, type CreateUsageThresholdRequest, type CreateUsageThresholdResponse, type CreateUsageThresholdResponses, type CreateUserData, type CreateUserError, type CreateUserErrors, type CreateUserResponse, type CreateUserResponses, type CreateWebhookData, type CreateWebhookErrors, type CreateWebhookRequest, type CreateWebhookResponse, type CreateWebhookResponses, type CreateWorkflowData, type CreateWorkflowErrors, type CreateWorkflowRequest, type CreateWorkflowResponse, type CreateWorkflowResponses, type Dataset, type DatasetItem, type DatasetItemInput, type DatasetItemResourceProperties, type DatasetResourceProperties, type DeleteActorData, type DeleteActorError, type DeleteActorErrors, type DeleteActorResponse, type DeleteActorResponses, type DeleteAgentData, type DeleteAgentError, type DeleteAgentErrors, type DeleteAgentResponse, type DeleteAgentResponses, type DeleteAiProviderData, type DeleteAiProviderErrors, type DeleteAiProviderResponse, type DeleteAiProviderResponses, type DeleteApiKeyData, type DeleteApiKeyErrors, type DeleteApiKeyResponse, type DeleteApiKeyResponses, type DeleteChatData, type DeleteChatError, type DeleteChatErrors, type DeleteChatResponse, type DeleteChatResponses, type DeleteConversationData, type DeleteConversationError, type DeleteConversationErrors, type DeleteConversationResponse, type DeleteConversationResponses, type DeleteDatasetData, type DeleteDatasetErrors, type DeleteDatasetItemData, type DeleteDatasetItemErrors, type DeleteDatasetItemResponse, type DeleteDatasetItemResponses, type DeleteDatasetResponse, type DeleteDatasetResponses, type DeleteDocumentData, type DeleteDocumentError, type DeleteDocumentErrors, type DeleteDocumentResponse, type DeleteDocumentResponses, type DeleteEvalData, type DeleteEvalErrors, type DeleteEvalResponse, type DeleteEvalResponses, type DeleteFileData, type DeleteFileError, type DeleteFileErrors, type DeleteFileResponse, type DeleteFileResponses, type DeleteFormationData, type DeleteFormationErrors, type DeleteFormationResponse, type DeleteFormationResponses, type DeleteGuardrailData, type DeleteGuardrailError, type DeleteGuardrailErrors, type DeleteGuardrailResponse, type DeleteGuardrailResponses, type DeleteIngestionRuleData, type DeleteIngestionRuleErrors, type DeleteIngestionRuleResponse, type DeleteIngestionRuleResponses, type DeleteMemoryData, type DeleteMemoryEntryData, type DeleteMemoryEntryErrors, type DeleteMemoryEntryResponse, type DeleteMemoryEntryResponses, type DeleteMemoryErrors, type DeleteMemoryResponse, type DeleteMemoryResponses, type DeleteModelRouteData, type DeleteModelRouteErrors, type DeleteModelRouteResponse, type DeleteModelRouteResponses, type DeleteOrchestrationData, type DeleteOrchestrationErrors, type DeleteOrchestrationResponse, type DeleteOrchestrationResponses, type DeletePolicyData, type DeletePolicyErrors, type DeletePolicyResponse, type DeletePolicyResponses, type DeleteProjectData, type DeleteProjectError, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteQuotaData, type DeleteQuotaErrors, type DeleteQuotaResponse, type DeleteQuotaResponses, type DeleteSecretData, type DeleteSecretErrors, type DeleteSecretResponses, type DeleteSessionData, type DeleteSessionError, type DeleteSessionErrors, type DeleteSessionResponse, type DeleteSessionResponses, type DeleteTaskData, type DeleteTaskErrors, type DeleteTaskResponse, type DeleteTaskResponses, type DeleteToolData, type DeleteToolError, type DeleteToolErrors, type DeleteToolResponse, type DeleteToolResponses, type DeleteTriggerData, type DeleteTriggerErrors, type DeleteTriggerResponse, type DeleteTriggerResponses, type DeleteUsageThresholdData, type DeleteUsageThresholdError, type DeleteUsageThresholdErrors, type DeleteUsageThresholdResponse, type DeleteUsageThresholdResponses, type DeleteUserData, type DeleteUserError, type DeleteUserErrors, type DeleteUserResponse, type DeleteUserResponses, type DeleteWebhookData, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type DeleteWorkflowData, type DeleteWorkflowErrors, type DeleteWorkflowResponse, type DeleteWorkflowResponses, type Delivery, type DeliveryListResponse, type DocumentKnowledgeResult, type DocumentMessageContent, type DocumentRecord, type DocumentResourceProperties, type DocumentStatusRecord, Documents, type DownloadFileBase64Data, type DownloadFileBase64Error, type DownloadFileBase64Errors, type DownloadFileBase64Response, type DownloadFileBase64Responses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, 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 ExactMatchScorer, type ExceptionId, type ExceptionItem, Exceptions, type ExportAuditEntriesData, type ExportAuditEntriesErrors, type ExportAuditEntriesResponse, type ExportAuditEntriesResponses, type FileRecord, type FileRecordWritable, type FileResourceProperties, Files, type FireTriggerData, type FireTriggerErrors, type FireTriggerRequest, type FireTriggerResponse, type FireTriggerResponses, type ForkSessionData, type ForkSessionError, type ForkSessionErrors, type ForkSessionRequest, type ForkSessionResponse, type ForkSessionResponses, type Formation, type FormationError, type FormationEvent, type FormationOperation, type FormationResource, type FormationTemplate, type FormationTemplateInput, Formations, type GenerateConversationMessageCompleted, type GenerateConversationMessageData, type GenerateConversationMessageError, type GenerateConversationMessageErrors, type GenerateConversationMessageRequiresAction, type GenerateConversationMessageResponse, type GenerateConversationMessageResponse2, type GenerateConversationMessageResponses, type GenerateSessionRequest, type GenerateSessionResponse, type GenerateSessionResponseData, type GenerateSessionResponseError, type GenerateSessionResponseErrors, type GenerateSessionResponseResponse, type GenerateSessionResponseResponses, type Generation, type GenerationTranscript, Generations, type GetActorData, type GetActorError, type GetActorErrors, type GetActorResponse, type GetActorResponses, type GetActorTagsData, type GetActorTagsError, type GetActorTagsErrors, type GetActorTagsResponse, type GetActorTagsResponses, type GetAgentData, type GetAgentError, type GetAgentErrors, type GetAgentResponse, type GetAgentResponses, type GetAgentVersionData, type GetAgentVersionError, type GetAgentVersionErrors, type GetAgentVersionResponse, type GetAgentVersionResponses, type GetAiProviderData, type GetAiProviderErrors, type GetAiProviderPricesData, type GetAiProviderPricesErrors, type GetAiProviderPricesResponse, type GetAiProviderPricesResponses, type GetAiProviderResponse, type GetAiProviderResponses, type GetApiKeyData, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, type GetApprovalData, type GetApprovalErrors, type GetApprovalResponse, type GetApprovalResponses, type GetAuditEntryData, type GetAuditEntryErrors, type GetAuditEntryResponse, type GetAuditEntryResponses, type GetChainData, type GetChainErrors, type GetChainResponse, type GetChainResponses, type GetChatData, type GetChatError, type GetChatErrors, type GetChatResponse, type GetChatResponses, type GetConversationData, type GetConversationError, type GetConversationErrors, type GetConversationResponse, type GetConversationResponses, type GetConversationTagsData, type GetConversationTagsError, type GetConversationTagsErrors, type GetConversationTagsResponse, type GetConversationTagsResponses, type GetCurrentUserData, type GetCurrentUserError, type GetCurrentUserErrors, type GetCurrentUserResponse, type GetCurrentUserResponses, type GetDatasetData, type GetDatasetErrors, type GetDatasetResponse, type GetDatasetResponses, type GetDocumentData, type GetDocumentError, type GetDocumentErrors, type GetDocumentResponse, type GetDocumentResponses, type GetDocumentStatusData, type GetDocumentStatusError, type GetDocumentStatusErrors, type GetDocumentStatusResponse, type GetDocumentStatusResponses, type GetDocumentTagsData, type GetDocumentTagsError, type GetDocumentTagsErrors, type GetDocumentTagsResponse, type GetDocumentTagsResponses, type GetEvalData, type GetEvalErrors, type GetEvalResponse, type GetEvalResponses, type GetEvalRunData, type GetEvalRunErrors, type GetEvalRunResponse, type GetEvalRunResponses, type GetExceptionData, type GetExceptionErrors, type GetExceptionResponse, type GetExceptionResponses, type GetFileData, type GetFileError, type GetFileErrors, type GetFileResponse, type GetFileResponses, type GetFileTagsData, type GetFileTagsError, type GetFileTagsErrors, type GetFileTagsResponse, type GetFileTagsResponses, type GetFormationData, type GetFormationErrors, type GetFormationResponse, type GetFormationResponses, type GetGenerationData, type GetGenerationError, type GetGenerationErrors, type GetGenerationResponse, type GetGenerationResponses, type GetGenerationTranscriptData, type GetGenerationTranscriptError, type GetGenerationTranscriptErrors, type GetGenerationTranscriptResponse, type GetGenerationTranscriptResponses, type GetGuardrailData, type GetGuardrailError, type GetGuardrailErrors, type GetGuardrailResponse, type GetGuardrailResponses, type GetGuardrailVersionData, type GetGuardrailVersionError, type GetGuardrailVersionErrors, type GetGuardrailVersionResponse, type GetGuardrailVersionResponses, type GetIngestionRuleData, type GetIngestionRuleErrors, type GetIngestionRuleResponse, type GetIngestionRuleResponses, type GetMemoryData, type GetMemoryEntryData, type GetMemoryEntryErrors, type GetMemoryEntryResponse, type GetMemoryEntryResponses, type GetMemoryEntryTagsData, type GetMemoryEntryTagsErrors, type GetMemoryEntryTagsResponse, type GetMemoryEntryTagsResponses, type GetMemoryErrors, type GetMemoryResponse, type GetMemoryResponses, type GetMemoryTagsData, type GetMemoryTagsErrors, type GetMemoryTagsResponse, type GetMemoryTagsResponses, type GetModelRouteData, type GetModelRouteErrors, type GetModelRouteResponse, type GetModelRouteResponses, type GetOrchestrationData, type GetOrchestrationErrors, type GetOrchestrationResponse, type GetOrchestrationResponses, type GetOrchestrationRunData, type GetOrchestrationRunErrors, type GetOrchestrationRunResponse, type GetOrchestrationRunResponses, type GetOrchestrationVersionData, type GetOrchestrationVersionErrors, type GetOrchestrationVersionResponse, type GetOrchestrationVersionResponses, type GetPolicyData, type GetPolicyErrors, type GetPolicyResponse, type GetPolicyResponses, type GetPriceBookData, type GetPriceBookError, type GetPriceBookErrors, type GetPriceBookResponse, type GetPriceBookResponses, type GetProjectData, type GetProjectErrors, type GetProjectPricesData, type GetProjectPricesErrors, type GetProjectPricesResponse, type GetProjectPricesResponses, type GetProjectResponse, type GetProjectResponses, type GetQueueStatsData, type GetQueueStatsErrors, type GetQueueStatsResponse, type GetQueueStatsResponses, type GetQuotaData, type GetQuotaErrors, type GetQuotaResponse, type GetQuotaResponses, type GetSecretData, type GetSecretErrors, type GetSecretResponse, type GetSecretResponses, type GetSessionData, type GetSessionError, type GetSessionErrors, type GetSessionResponse, type GetSessionResponses, type GetSessionTagsData, type GetSessionTagsError, type GetSessionTagsErrors, type GetSessionTagsResponse, type GetSessionTagsResponses, type GetTaskData, type GetTaskErrors, type GetTaskHistoryData, type GetTaskHistoryErrors, type GetTaskHistoryResponse, type GetTaskHistoryResponses, type GetTaskResponse, type GetTaskResponses, type GetToolData, type GetToolError, type GetToolErrors, type GetToolResponse, type GetToolResponses, type GetTraceData, type GetTraceError, type GetTraceErrors, type GetTraceResponse, type GetTraceResponses, type GetTraceTreeData, type GetTraceTreeError, type GetTraceTreeErrors, type GetTraceTreeResponse, type GetTraceTreeResponses, type GetTriggerData, type GetTriggerErrors, type GetTriggerFiringData, type GetTriggerFiringErrors, type GetTriggerFiringResponse, type GetTriggerFiringResponses, type GetTriggerResponse, type GetTriggerResponses, type GetTriggerSecretData, type GetTriggerSecretErrors, type GetTriggerSecretResponse, type GetTriggerSecretResponses, type GetUsageAggregateData, type GetUsageAggregateError, type GetUsageAggregateErrors, type GetUsageAggregateResponse, type GetUsageAggregateResponses, type GetUsageReceiptData, type GetUsageReceiptError, type GetUsageReceiptErrors, type GetUsageReceiptResponse, type GetUsageReceiptResponses, type GetUserData, type GetUserError, type GetUserErrors, type GetUserResponse, type GetUserResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type GetWebhookSecretData, type GetWebhookSecretErrors, type GetWebhookSecretResponse, type GetWebhookSecretResponses, type GetWorkflowData, type GetWorkflowErrors, type GetWorkflowResponse, type GetWorkflowResponses, type GetWorkflowVersionData, type GetWorkflowVersionErrors, type GetWorkflowVersionResponse, type GetWorkflowVersionResponses, type Guardrail, type GuardrailDocument, type GuardrailEvaluation, type GuardrailResourceProperties, type GuardrailVersion, Guardrails, type HumanInputRequest, type IngestDocumentData, type IngestDocumentError, type IngestDocumentErrors, type IngestDocumentResponse, type IngestDocumentResponses, type IngestedDocumentRecord, type IngestionRule, type IngestionRuleResourceProperties, IngestionRules, type JsonLogicScorer, Knowledge, type KnowledgeResult, type ListActivityData, type ListActivityErrors, type ListActivityResponse, type ListActivityResponses, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAgentVersionsData, type ListAgentVersionsError, type ListAgentVersionsErrors, type ListAgentVersionsResponse, type ListAgentVersionsResponses, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListAiProviderModelsData, type ListAiProviderModelsErrors, type ListAiProviderModelsResponse, type ListAiProviderModelsResponses, type ListAiProvidersData, type ListAiProvidersErrors, type ListAiProvidersResponse, type ListAiProvidersResponses, type ListApiKeysData, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListApprovalRecurrencesData, type ListApprovalRecurrencesErrors, type ListApprovalRecurrencesResponse, type ListApprovalRecurrencesResponses, type ListApprovalsData, type ListApprovalsErrors, type ListApprovalsResponse, type ListApprovalsResponses, type ListAuditEntriesData, type ListAuditEntriesErrors, type ListAuditEntriesResponse, type ListAuditEntriesResponses, type ListChainsData, type ListChainsErrors, type ListChainsResponse, type ListChainsResponses, type ListChatsData, type ListChatsError, type ListChatsErrors, type ListChatsResponse, type ListChatsResponses, type ListConversationMessagesData, type ListConversationMessagesError, type ListConversationMessagesErrors, type ListConversationMessagesResponse, type ListConversationMessagesResponses, type ListConversationsData, type ListConversationsError, type ListConversationsErrors, type ListConversationsResponse, type ListConversationsResponses, type ListDatasetItemsData, type ListDatasetItemsErrors, type ListDatasetItemsResponse, type ListDatasetItemsResponses, type ListDatasetsData, type ListDatasetsErrors, type ListDatasetsResponse, type ListDatasetsResponses, type ListDocumentsData, type ListDocumentsError, type ListDocumentsErrors, type ListDocumentsResponse, type ListDocumentsResponses, type ListEvalResultsData, type ListEvalResultsErrors, type ListEvalResultsResponse, type ListEvalResultsResponses, type ListEvalRunsData, type ListEvalRunsErrors, type ListEvalRunsResponse, type ListEvalRunsResponses, type ListEvalsData, type ListEvalsErrors, type ListEvalsResponse, type ListEvalsResponses, type ListExceptionsData, type ListExceptionsErrors, type ListExceptionsResponse, type ListExceptionsResponses, type ListFilesData, type ListFilesError, type ListFilesErrors, type ListFilesResponse, type ListFilesResponses, type ListFormationEventsData, type ListFormationEventsErrors, type ListFormationEventsResponse, type ListFormationEventsResponses, type ListFormationsData, type ListFormationsErrors, type ListFormationsResponse, type ListFormationsResponses, type ListGenerationsData, type ListGenerationsError, type ListGenerationsErrors, type ListGenerationsResponse, type ListGenerationsResponses, type ListGuardrailVersionsData, type ListGuardrailVersionsError, type ListGuardrailVersionsErrors, type ListGuardrailVersionsResponse, type ListGuardrailVersionsResponses, type ListGuardrailsData, type ListGuardrailsError, type ListGuardrailsErrors, type ListGuardrailsResponse, type ListGuardrailsResponses, type ListIngestionRulesData, type ListIngestionRulesErrors, type ListIngestionRulesResponse, type ListIngestionRulesResponses, type ListMemoriesData, type ListMemoriesErrors, type ListMemoriesResponse, type ListMemoriesResponses, type ListMemoryEntriesData, type ListMemoryEntriesErrors, type ListMemoryEntriesResponse, type ListMemoryEntriesResponses, type ListModelRoutesData, type ListModelRoutesErrors, type ListModelRoutesResponse, type ListModelRoutesResponses, type ListOrchestrationRunsData, type ListOrchestrationRunsErrors, type ListOrchestrationRunsResponse, type ListOrchestrationRunsResponses, type ListOrchestrationVersionsData, type ListOrchestrationVersionsErrors, type ListOrchestrationVersionsResponse, type ListOrchestrationVersionsResponses, type ListOrchestrationsData, type ListOrchestrationsErrors, type ListOrchestrationsResponse, type ListOrchestrationsResponses, type ListPoliciesData, type ListPoliciesErrors, type ListPoliciesResponse, type ListPoliciesResponses, type ListProjectsData, type ListProjectsErrors, type ListProjectsResponse, type ListProjectsResponses, type ListQuotasData, type ListQuotasErrors, type ListQuotasResponse, type ListQuotasResponses, type ListSecretsData, type ListSecretsErrors, type ListSecretsResponse, type ListSecretsResponses, type ListSessionForksData, type ListSessionForksError, type ListSessionForksErrors, type ListSessionForksResponse, type ListSessionForksResponses, type ListSessionsData, type ListSessionsError, type ListSessionsErrors, type ListSessionsResponse, type ListSessionsResponses, type ListTasksData, type ListTasksErrors, type ListTasksResponse, type ListTasksResponses, type ListToolsData, type ListToolsError, type ListToolsErrors, type ListToolsResponse, type ListToolsResponses, type ListTracesData, type ListTracesError, type ListTracesErrors, type ListTracesResponse, type ListTracesResponses, type ListTriggerFiringsData, type ListTriggerFiringsErrors, type ListTriggerFiringsResponse, type ListTriggerFiringsResponses, type ListTriggersData, type ListTriggersErrors, type ListTriggersResponse, type ListTriggersResponses, type ListUsageEventsData, type ListUsageEventsError, type ListUsageEventsErrors, type ListUsageEventsResponse, type ListUsageEventsResponses, type ListUsageThresholdsData, type ListUsageThresholdsError, type ListUsageThresholdsErrors, type ListUsageThresholdsResponse, type ListUsageThresholdsResponses, type ListUsersData, type ListUsersError, type ListUsersErrors, type ListUsersResponse, type ListUsersResponses, type ListWebhookDeliveriesData, type ListWebhookDeliveriesErrors, type ListWebhookDeliveriesResponse, type ListWebhookDeliveriesResponses, type ListWebhooksData, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type ListWorkflowVersionsData, type ListWorkflowVersionsErrors, type ListWorkflowVersionsResponse, type ListWorkflowVersionsResponses, type ListWorkflowsData, type ListWorkflowsErrors, type ListWorkflowsResponse, type ListWorkflowsResponses, type LlmJudgeScorer, type LoginResponse, type LoginUserData, type LoginUserError, type LoginUserErrors, type LoginUserResponse, type LoginUserResponses, Memories, type Memory, MemoryEntries, type MemoryEntry, type MemoryEntryResourceProperties, type MemoryEntryWriteResult, type MemoryKnowledgeResult, type MemoryResourceProperties, type MergeActorTagsData, type MergeActorTagsError, type MergeActorTagsErrors, type MergeActorTagsResponse, type MergeActorTagsResponses, type MergeConversationTagsData, type MergeConversationTagsError, type MergeConversationTagsErrors, type MergeConversationTagsResponse, type MergeConversationTagsResponses, type MergeDocumentTagsData, type MergeDocumentTagsError, type MergeDocumentTagsErrors, type MergeDocumentTagsResponse, type MergeDocumentTagsResponses, type MergeFileTagsData, type MergeFileTagsError, type MergeFileTagsErrors, type MergeFileTagsResponse, type MergeFileTagsResponses, type 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 ModelRoute, type ModelRouteResourceProperties, type ModelRouteTarget, ModelRoutes, type NodeExecution, type NullableTagBag, type OauthAuthorizationServerMetadata, type OauthClientRegistrationRequest, type OauthClientRegistrationResponse, type OauthErrorResponse, type OauthProtectedResourceMetadata, type OauthTokenRequest, type OauthTokenResponse, 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 PlanFormationData, type PlanFormationErrors, type PlanFormationResponse, type PlanFormationResponses, type PlanResult, Policies, type PolicyDocument, type PolicyRecord, type PolicyResourceProperties, type PolicyStatement, type PresignedUrlRequest, type PresignedUrlResponse, type Price, type PriceBookResponse, type ProjectPrice, type ProjectPriceResourceProperties, type ProjectPricesResponse, type ProjectRecord, Projects, type PromoteAgentReleaseData, type PromoteAgentReleaseError, type PromoteAgentReleaseErrors, type PromoteAgentReleaseResponse, type PromoteAgentReleaseResponses, type ProviderModelsResponse, type ProviderPrice, type ProviderPricesResponse, type PurgeGenerationContentData, type PurgeGenerationContentError, type PurgeGenerationContentErrors, type PurgeGenerationContentResponse, type PurgeGenerationContentResponses, type PurgeTraceContentData, type PurgeTraceContentError, type PurgeTraceContentErrors, type PurgeTraceContentResponse, type PurgeTraceContentResponses, type QueueStats, type Quota, type QuotaResourceProperties, Quotas, type RedeliverWebhookDeliveryData, type RedeliverWebhookDeliveryErrors, type RedeliverWebhookDeliveryResponse, type RedeliverWebhookDeliveryResponses, type ReingestDocumentData, type ReingestDocumentError, type ReingestDocumentErrors, type ReingestDocumentResponse, type ReingestDocumentResponses, type RejectApprovalData, type RejectApprovalErrors, type RejectApprovalResponse, type RejectApprovalResponses, type RemoveConversationMessageData, type RemoveConversationMessageError, type RemoveConversationMessageErrors, type RemoveConversationMessageResponse, type RemoveConversationMessageResponses, type ReplaceActorTagsData, type ReplaceActorTagsError, type ReplaceActorTagsErrors, type ReplaceActorTagsResponse, type ReplaceActorTagsResponses, type ReplaceConversationTagsData, type ReplaceConversationTagsError, type ReplaceConversationTagsErrors, type ReplaceConversationTagsResponse, type ReplaceConversationTagsResponses, type ReplaceDocumentTagsData, type ReplaceDocumentTagsError, type ReplaceDocumentTagsErrors, type ReplaceDocumentTagsResponse, type ReplaceDocumentTagsResponses, type ReplaceFileTagsData, type ReplaceFileTagsError, type ReplaceFileTagsErrors, type ReplaceFileTagsResponse, type ReplaceFileTagsResponses, type 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 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 RotateTriggerSecretData, type RotateTriggerSecretErrors, type RotateTriggerSecretResponse, type RotateTriggerSecretResponses, type RotateWebhookSecretData, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type ScorerResult, type Scorers, type SearchKnowledgeData, type SearchKnowledgeError, type SearchKnowledgeErrors, type SearchKnowledgeResponse, type SearchKnowledgeResponses, type SecretResourceProperties, Secrets, type SendSessionMessageResponse, type SessionId, type SessionRecord, type SessionResourceProperties, Sessions, type SetAgentReleaseData, type SetAgentReleaseError, type SetAgentReleaseErrors, type SetAgentReleaseRequest, type SetAgentReleaseResponse, type SetAgentReleaseResponses, SoatClient, type SoatClientOptions, type StartEvalRunData, type StartEvalRunErrors, type StartEvalRunResponse, type StartEvalRunResponses, type StartOrchestrationRunData, type StartOrchestrationRunErrors, type 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 UpdateConversationData, type UpdateConversationError, type UpdateConversationErrors, type UpdateConversationResponse, type UpdateConversationResponses, type UpdateDatasetData, type UpdateDatasetErrors, type UpdateDatasetItemData, type UpdateDatasetItemErrors, type UpdateDatasetItemResponse, type UpdateDatasetItemResponses, type UpdateDatasetResponse, type UpdateDatasetResponses, type UpdateDocumentData, type UpdateDocumentError, type UpdateDocumentErrors, type UpdateDocumentResponse, type UpdateDocumentResponses, type UpdateEvalData, type UpdateEvalErrors, type UpdateEvalResponse, type UpdateEvalResponses, type UpdateFileMetadataData, type UpdateFileMetadataError, type UpdateFileMetadataErrors, type UpdateFileMetadataResponse, type UpdateFileMetadataResponses, type UpdateFormationData, type UpdateFormationErrors, type UpdateFormationResponse, type UpdateFormationResponses, type UpdateGenerationData, type UpdateGenerationError, type UpdateGenerationErrors, type UpdateGenerationRequest, type UpdateGenerationResponse, type UpdateGenerationResponses, type UpdateGuardrailData, type UpdateGuardrailError, type UpdateGuardrailErrors, type UpdateGuardrailRequest, type UpdateGuardrailResponse, type UpdateGuardrailResponses, type UpdateIngestionRuleData, type UpdateIngestionRuleErrors, type UpdateIngestionRuleResponse, type UpdateIngestionRuleResponses, type UpdateMemoryData, type UpdateMemoryEntryData, type UpdateMemoryEntryErrors, type UpdateMemoryEntryResponse, type UpdateMemoryEntryResponses, type UpdateMemoryErrors, type UpdateMemoryResponse, type UpdateMemoryResponses, type UpdateModelRouteData, type UpdateModelRouteErrors, type UpdateModelRouteResponse, type UpdateModelRouteResponses, type UpdateOrchestrationData, type UpdateOrchestrationErrors, type UpdateOrchestrationRequest, type UpdateOrchestrationResponse, type UpdateOrchestrationResponses, type UpdatePolicyData, type UpdatePolicyError, type UpdatePolicyErrors, type UpdatePolicyResponse, type UpdatePolicyResponses, type UpdateProjectData, type UpdateProjectErrors, type UpdateProjectPricesData, type UpdateProjectPricesErrors, type UpdateProjectPricesResponse, type UpdateProjectPricesResponses, type UpdateProjectResponse, type UpdateProjectResponses, type UpdateQuotaData, type UpdateQuotaErrors, type UpdateQuotaResponse, type UpdateQuotaResponses, type UpdateSecretData, type UpdateSecretErrors, type UpdateSecretResponses, type UpdateSessionData, type UpdateSessionError, type UpdateSessionErrors, type UpdateSessionRequest, type UpdateSessionResponse, type UpdateSessionResponses, type UpdateTaskData, type UpdateTaskErrors, type UpdateTaskRequest, type UpdateTaskResponse, type UpdateTaskResponses, type UpdateToolData, type UpdateToolError, type UpdateToolErrors, type UpdateToolRequest, type UpdateToolResponse, type UpdateToolResponses, type UpdateTriggerData, type UpdateTriggerErrors, type UpdateTriggerRequest, type UpdateTriggerResponse, type UpdateTriggerResponses, type UpdateWebhookData, type UpdateWebhookErrors, type UpdateWebhookRequest, type UpdateWebhookResponse, type UpdateWebhookResponses, type UpdateWorkflowData, type UpdateWorkflowErrors, type UpdateWorkflowRequest, type UpdateWorkflowResponse, type UpdateWorkflowResponses, type UploadFileBase64Data, type UploadFileBase64Error, type UploadFileBase64Errors, type UploadFileBase64Request, type UploadFileBase64Response, type UploadFileBase64Responses, type UploadFileData, type UploadFileError, type UploadFileErrors, type UploadFileResponse, type UploadFileResponses, type UploadFileWithTokenData, type UploadFileWithTokenError, type UploadFileWithTokenErrors, type UploadFileWithTokenRequest, type UploadFileWithTokenResponse, type UploadFileWithTokenResponses, type UpsertPriceBookData, type UpsertPriceBookError, type UpsertPriceBookErrors, type UpsertPriceBookResponse, type UpsertPriceBookResponses, type UpsertPricesRequest, type UpsertProjectPricesRequest, type UpsertProviderPricesRequest, Usage, type UsageAggregate, type UsageAggregateBucket, type UsageAggregateComponent, type UsageAggregateFilters, type UsageAggregateGroup, type UsageAggregateTotals, type UsageComponent, type UsageDistinct, type UsageEvent, type UsageGroupBy, type UsageReceipt, type UsageThreshold, type UsageTotals, type UserRecord, Users, type ValidateFormationData, type ValidateFormationErrors, type ValidateFormationResponse, type ValidateFormationResponses, type ValidateOrchestrationData, type ValidateOrchestrationErrors, type ValidateOrchestrationRequest, type ValidateOrchestrationResponse, type ValidateOrchestrationResponses, type ValidationError, type ValidationResult, type Webhook, type WebhookResourceProperties, type WebhookSecretResponse, type WebhookWithSecret, Webhooks, type Workflow, type WorkflowResourceProperties, type WorkflowState, type WorkflowTransition, type WorkflowVersion, Workflows, createClient, createConfig };