@naturali/sdk 0.73.2 → 0.74.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
@@ -656,7 +656,7 @@ type SetAgentReleaseRequest = {
656
656
  promotion_gate?: string | null;
657
657
  };
658
658
  /**
659
- * One agent↔tool attachment. Exactly one of `tool_id` (persisted tool reference) or `tool` (inline ephemeral definition) per entry. Tool-call gating is owned by Guardrails, attached via `guardrail_ids` on the project, agent, or tool — not on the binding.
659
+ * One agent↔tool attachment. Exactly one of `tool_id` (persisted tool reference) or `tool` (inline ephemeral definition) per entry. Tool-call gating is owned by [Guardrails](/docs/modules/guardrails), attached via `guardrail_ids` on the project, agent, or tool — not on the binding.
660
660
  */
661
661
  type ToolBinding = {
662
662
  /**
@@ -1280,6 +1280,133 @@ type ApiKeyList = {
1280
1280
  data: Array<ApiKeyRecord>;
1281
1281
  next_cursor: string | null;
1282
1282
  };
1283
+ /**
1284
+ * A set of approval items sharing a `dedup_key` — the same proposed action recurring — with the ordered chain and its resolution reasons.
1285
+ */
1286
+ type ApprovalRecurrenceGroup = {
1287
+ /**
1288
+ * The shared dedup key that defines the group
1289
+ */
1290
+ dedup_key?: string;
1291
+ /**
1292
+ * Proposing agent (shared across the group)
1293
+ */
1294
+ agent_id?: string | null;
1295
+ /**
1296
+ * Proposed tool (shared across the group)
1297
+ */
1298
+ tool_id?: string | null;
1299
+ /**
1300
+ * Number of items in the group
1301
+ */
1302
+ count?: number;
1303
+ /**
1304
+ * The items oldest → newest (the `previous_item_id` chain)
1305
+ */
1306
+ chain?: Array<{
1307
+ id?: string;
1308
+ status?: 'pending' | 'approved' | 'rejected' | 'expired';
1309
+ resolution_reason?: string | null;
1310
+ created_at?: Date;
1311
+ }>;
1312
+ /**
1313
+ * The chain's resolution reasons in order (empty entries omitted)
1314
+ */
1315
+ reasons?: Array<string>;
1316
+ };
1317
+ type ApprovalItem = {
1318
+ id?: string;
1319
+ project_id?: string;
1320
+ /**
1321
+ * How the item was produced (analytics/filtering only)
1322
+ */
1323
+ origin?: 'node' | 'tool_call' | 'task_transition';
1324
+ status?: 'pending' | 'approved' | 'rejected' | 'expired';
1325
+ /**
1326
+ * The frozen proposed action. Null for producers whose proposal is not a tool call (a `task_transition` item gates a workflow transition, named by `task_transition`).
1327
+ */
1328
+ proposed_action?: {
1329
+ tool_id?: string;
1330
+ /**
1331
+ * Resolved action name (the action name) for `tool_call`-origin items — always present there, even for single-action tools. Omitted for `node`-origin items, whose downstream execution is wired by a separate `tool` node in the graph.
1332
+ */
1333
+ action?: string;
1334
+ arguments?: {
1335
+ [key: string]: unknown;
1336
+ };
1337
+ } | null;
1338
+ /**
1339
+ * The proposing agent's rationale
1340
+ */
1341
+ reasoning?: string | null;
1342
+ /**
1343
+ * Supporting structured data
1344
+ */
1345
+ evidence?: {
1346
+ [key: string]: unknown;
1347
+ } | null;
1348
+ /**
1349
+ * Expected execution effect
1350
+ */
1351
+ predicted_impact?: string | null;
1352
+ /**
1353
+ * Server-enforced hard gate; the item can never execute after this
1354
+ */
1355
+ expires_at?: Date;
1356
+ /**
1357
+ * Set on tool-call items to suppress duplicate proposals
1358
+ */
1359
+ dedup_key?: string | null;
1360
+ /**
1361
+ * Originating orchestration run (node producer)
1362
+ */
1363
+ orchestration_run_id?: string | null;
1364
+ /**
1365
+ * Originating node id within the run's graph
1366
+ */
1367
+ node_id?: string | null;
1368
+ /**
1369
+ * Originating generation (tool-call producer)
1370
+ */
1371
+ generation_id?: string | null;
1372
+ /**
1373
+ * Session the originating generation ran in (tool-call producer)
1374
+ */
1375
+ session_id?: string | null;
1376
+ /**
1377
+ * Proposing agent
1378
+ */
1379
+ agent_id?: string | null;
1380
+ /**
1381
+ * Gated task (task_transition producer)
1382
+ */
1383
+ task_id?: string | null;
1384
+ /**
1385
+ * Transition fired on approval (task_transition producer)
1386
+ */
1387
+ task_transition?: string | null;
1388
+ policy_version?: string | null;
1389
+ /**
1390
+ * Prior item's ID when this proposal was re-filed after an earlier matching item (same dedup_key) had been rejected
1391
+ */
1392
+ previous_item_id?: string | null;
1393
+ /**
1394
+ * Resolving user's public ID; null on expiry
1395
+ */
1396
+ resolved_by?: string | null;
1397
+ /**
1398
+ * Required on rejection
1399
+ */
1400
+ resolution_reason?: string | null;
1401
+ /**
1402
+ * Set on edit-then-approve
1403
+ */
1404
+ edited_arguments?: {
1405
+ [key: string]: unknown;
1406
+ } | null;
1407
+ created_at?: Date;
1408
+ updated_at?: Date;
1409
+ };
1283
1410
  /**
1284
1411
  * One channel identity authorized to operate one naturali account through the Assistant.
1285
1412
  *
@@ -2224,6 +2351,64 @@ type EvalResult = {
2224
2351
  error?: string | null;
2225
2352
  created_at?: Date;
2226
2353
  };
2354
+ type ExceptionItem = {
2355
+ id?: string;
2356
+ project_id?: string;
2357
+ status?: 'open' | 'acknowledged' | 'resolved';
2358
+ severity?: 'info' | 'warning' | 'critical';
2359
+ /**
2360
+ * How the exception was filed
2361
+ */
2362
+ kind?: 'run_failed' | 'guardrail_tripwire' | 'approval_expired' | 'quota_unpriced' | 'manual';
2363
+ /**
2364
+ * Human-readable one-line summary
2365
+ */
2366
+ title?: string;
2367
+ /**
2368
+ * Structured context (tool, args digest, error message, guardrail version)
2369
+ */
2370
+ detail?: {
2371
+ [key: string]: unknown;
2372
+ } | null;
2373
+ /**
2374
+ * How many times this exact failure has been observed while open
2375
+ */
2376
+ occurrence_count?: number;
2377
+ /**
2378
+ * Timestamp of the most recent occurrence
2379
+ */
2380
+ last_seen_at?: Date;
2381
+ /**
2382
+ * Originating orchestration run
2383
+ */
2384
+ orchestration_run_id?: string | null;
2385
+ /**
2386
+ * Originating node id within the run's graph
2387
+ */
2388
+ node_id?: string | null;
2389
+ /**
2390
+ * Associated agent
2391
+ */
2392
+ agent_id?: string | null;
2393
+ /**
2394
+ * `<guardrailId>@<version>` for a guardrail_tripwire exception
2395
+ */
2396
+ guardrail_version?: string | null;
2397
+ /**
2398
+ * Acknowledging user's public ID
2399
+ */
2400
+ acknowledged_by?: string | null;
2401
+ /**
2402
+ * Resolving user's public ID
2403
+ */
2404
+ resolved_by?: string | null;
2405
+ /**
2406
+ * Optional note recorded at resolution
2407
+ */
2408
+ resolution_note?: string | null;
2409
+ created_at?: Date;
2410
+ updated_at?: Date;
2411
+ };
2227
2412
  type UploadFileBase64Request = {
2228
2413
  /**
2229
2414
  * Base64-encoded file content
@@ -2606,6 +2791,181 @@ type GenerationTranscript = {
2606
2791
  */
2607
2792
  content_redacted_by_principal_id?: string | null;
2608
2793
  };
2794
+ /**
2795
+ * The action-class document. `class` maps a call to an action class; `guard` gates class-B autonomy. Both are single JSON Logic expressions over the `args.*` / `context.*` / `runtime.*` namespaces.
2796
+ *
2797
+ */
2798
+ type GuardrailDocument = {
2799
+ /**
2800
+ * A class literal (`A` / `B` / `C` / `D`) or a JSON Logic expression returning one. An invalid result resolves to `default_class`.
2801
+ *
2802
+ */
2803
+ class: 'A' | 'B' | 'C' | 'D' | {
2804
+ [key: string]: unknown;
2805
+ };
2806
+ /**
2807
+ * Applied when the `class` expression returns anything other than a valid class. Defaults to `C` (fail-closed).
2808
+ *
2809
+ */
2810
+ default_class?: 'A' | 'B' | 'C' | 'D';
2811
+ /**
2812
+ * A single JSON Logic expression; when the call classifies as `B` it must evaluate truthy to execute autonomously. Compose multiple conditions with `{ "and": [...] }`.
2813
+ *
2814
+ */
2815
+ guard?: {
2816
+ [key: string]: unknown;
2817
+ };
2818
+ /**
2819
+ * When `true`, a failing guard routes to approval instead of tripping fail-closed.
2820
+ *
2821
+ */
2822
+ escalate?: boolean;
2823
+ /**
2824
+ * Default approval window in seconds for a class-C approval this guardrail files. Omitted → the platform's 24h default. When several guardrails apply, the governing (strictest-matching) one's value is used.
2825
+ *
2826
+ */
2827
+ expires_in?: number;
2828
+ [key: string]: unknown;
2829
+ };
2830
+ type Guardrail = {
2831
+ /**
2832
+ * Public ID of the guardrail
2833
+ */
2834
+ id?: string;
2835
+ /**
2836
+ * Public ID of the owning project
2837
+ */
2838
+ project_id?: string;
2839
+ /**
2840
+ * Human-readable name
2841
+ */
2842
+ name?: string;
2843
+ /**
2844
+ * Optional description
2845
+ */
2846
+ description?: string | null;
2847
+ /**
2848
+ * Incremented on every document write; prior versions are archived
2849
+ */
2850
+ version?: number;
2851
+ document?: GuardrailDocument;
2852
+ /**
2853
+ * Optional tool the platform calls at evaluation time to fetch fresh guardrail context.
2854
+ *
2855
+ */
2856
+ context_tool_id?: string | null;
2857
+ /**
2858
+ * How tool-fetched context combines with the caller-supplied context.
2859
+ *
2860
+ */
2861
+ context_mode?: 'merge' | 'replace' | null;
2862
+ created_at?: Date;
2863
+ updated_at?: Date;
2864
+ };
2865
+ /**
2866
+ * The record produced by evaluating a guardrail against one call — written to the audit trail at dispatch time (one per applying guardrail) and returned verbatim by the dry-run endpoint.
2867
+ *
2868
+ */
2869
+ type GuardrailEvaluation = {
2870
+ /**
2871
+ * Always `guardrail_evaluation`.
2872
+ */
2873
+ kind?: string;
2874
+ guardrail_id?: string;
2875
+ /**
2876
+ * The governing version; null for a dangling reference (fail-closed C).
2877
+ */
2878
+ guardrail_version?: number | null;
2879
+ scope?: 'project' | 'agent' | 'tool';
2880
+ tool?: string | null;
2881
+ action?: string | null;
2882
+ /**
2883
+ * The resolved class (or the applied default_class).
2884
+ */
2885
+ class?: 'A' | 'B' | 'C' | 'D';
2886
+ decision?: 'execute' | 'route_to_approval' | 'blocked' | 'tripwire';
2887
+ /**
2888
+ * The guard outcome; null when the call did not classify as B.
2889
+ */
2890
+ guard_result?: boolean | null;
2891
+ context_source?: 'caller' | 'tool' | 'merged' | 'none';
2892
+ /**
2893
+ * Flat map of only the vars the class/guard expressions referenced, keyed by fully-qualified path, frozen at evaluation-time values.
2894
+ *
2895
+ */
2896
+ context_snapshot?: {
2897
+ [key: string]: unknown;
2898
+ };
2899
+ agent_id?: string | null;
2900
+ orchestration_run_id?: string | null;
2901
+ generation_id?: string | null;
2902
+ };
2903
+ /**
2904
+ * An immutable archive of a guardrail's configuration at one version.
2905
+ */
2906
+ type GuardrailVersion = {
2907
+ /**
2908
+ * Public ID of the archived version
2909
+ */
2910
+ id?: string;
2911
+ /**
2912
+ * Public ID of the guardrail this version belongs to
2913
+ */
2914
+ guardrail_id?: string;
2915
+ /**
2916
+ * The archived version number
2917
+ */
2918
+ version?: number;
2919
+ /**
2920
+ * The guardrail's versioned surface as it stood at this version. Today that is the policy `document` and nothing else: name, description and the context binding are metadata, and bumping the version when one of them changes would make two version numbers denote the same policy — which is exactly what an evaluation record cites.
2921
+ *
2922
+ * Deliberately open rather than a fixed schema: an archive written by an earlier release of the runtime reflects the guardrail surface **of its own time**, so it may carry fields the current API no longer documents.
2923
+ */
2924
+ config?: {
2925
+ document?: GuardrailDocument;
2926
+ [key: string]: unknown;
2927
+ };
2928
+ /**
2929
+ * Optional human tag for this version, e.g. `pre-tightening`. Set from the `label` field of a restore, or generated for one.
2930
+ */
2931
+ label?: string | null;
2932
+ /**
2933
+ * Public ID of the user whose action produced this version. Null for writes with no request user behind them.
2934
+ */
2935
+ created_by?: string | null;
2936
+ created_at?: Date;
2937
+ };
2938
+ type RestoreGuardrailVersionRequest = {
2939
+ /**
2940
+ * Optional tag for the version the restore creates. Defaults to `restored from v<version>`.
2941
+ */
2942
+ label?: string;
2943
+ };
2944
+ type CreateGuardrailRequest = {
2945
+ /**
2946
+ * Human-readable name
2947
+ */
2948
+ name: string;
2949
+ description?: string | null;
2950
+ document: GuardrailDocument;
2951
+ context_tool_id?: string | null;
2952
+ context_mode?: 'merge' | 'replace';
2953
+ /**
2954
+ * Optional tag for the config version this write archives (e.g. `initial`). Annotates the version only — it is not stored on the guardrail and is not part of the config, so labelling a change is never itself a change.
2955
+ */
2956
+ version_label?: string;
2957
+ };
2958
+ type UpdateGuardrailRequest = {
2959
+ name?: string;
2960
+ description?: string | null;
2961
+ document?: GuardrailDocument;
2962
+ context_tool_id?: string | null;
2963
+ context_mode?: 'merge' | 'replace' | null;
2964
+ /**
2965
+ * Optional tag for the config version this write archives (e.g. `pre-tightening`). Annotates the version only — it is not stored on the guardrail and is not part of the config, so labelling a change is never itself a change. Ignored when the write changes no policy, since no version is created.
2966
+ */
2967
+ version_label?: string;
2968
+ };
2609
2969
  type IngestionRule = {
2610
2970
  id?: string;
2611
2971
  project_id?: string;
@@ -2744,26 +3104,78 @@ type MemoryKnowledgeResult = {
2744
3104
  */
2745
3105
  updated_at: Date;
2746
3106
  };
2747
- type ModelRouteTarget = {
3107
+ type Memory = {
3108
+ id?: string;
3109
+ project_id?: string;
3110
+ name?: string;
3111
+ description?: string | null;
2748
3112
  /**
2749
- * AI provider in the route's project
3113
+ * List of tags for filtering in knowledge search
2750
3114
  */
2751
- ai_provider_id: string;
3115
+ tags?: Array<string> | null;
3116
+ created_at?: Date;
3117
+ updated_at?: Date;
3118
+ };
3119
+ type MemoryEntry = {
3120
+ id?: string;
3121
+ memory_id?: string;
3122
+ content?: string;
3123
+ source_type?: 'manual' | 'agent' | 'extraction' | 'orchestration';
2752
3124
  /**
2753
- * Model name to call on that provider
3125
+ * Per-entry tag strings
2754
3126
  */
2755
- model: string;
3127
+ tags?: Array<string> | null;
2756
3128
  /**
2757
- * Per-attempt deadline, enforced with an AbortSignal composed with the caller's signal. A timeout classifies as `timeout`; the caller's own signal firing aborts the run without failover. Omitted means no per-target deadline.
3129
+ * Arbitrary structured metadata attached to the entry
2758
3130
  */
2759
- timeout_seconds?: number;
3131
+ metadata?: {
3132
+ [key: string]: unknown;
3133
+ } | null;
2760
3134
  /**
2761
- * Retries on this target before falling through to the next one. The route is the only retry authority routed calls pass `maxRetries: 0` to the AI SDK so its own retry loop cannot multiply these.
3135
+ * The generation whose turn produced this entry. Set for entries written by the `write_memory` tool and by automatic extraction; null for manual and orchestration writes. Recorded when the entry is created and never rewritten by a later merge.
2762
3136
  */
2763
- max_retries?: number;
2764
- };
2765
- type ModelRoute = {
2766
- id?: string;
3137
+ source_generation_id?: string | null;
3138
+ /**
3139
+ * The conversation the producing turn belonged to. Null when the entry did not come from a conversation (a direct agent generation, a manual write, or an orchestration write).
3140
+ */
3141
+ source_conversation_id?: string | null;
3142
+ /**
3143
+ * When the entry was superseded. Null means the entry is currently valid. Invalidated entries are excluded from listing, from write deduplication, and from knowledge search, but remain readable by ID for audit.
3144
+ */
3145
+ invalidated_at?: Date | null;
3146
+ /**
3147
+ * The entry that replaced this one, when it was superseded. Null for valid entries.
3148
+ */
3149
+ superseded_by_entry_id?: string | null;
3150
+ created_at?: Date;
3151
+ updated_at?: Date;
3152
+ };
3153
+ type MemoryEntryWriteResult = MemoryEntry & {
3154
+ /**
3155
+ * The outcome of the write operation. `updated` means an existing entry was rewritten to absorb the incoming fact — it is produced only by the LLM consolidation on agent write paths (the `write_memory` tool and automatic extraction), never by this endpoint, which creates instead of merging. `superseded` means the incoming content contradicted an existing entry, which was invalidated and replaced — it is produced by the LLM-arbitrated write path and does not occur until that ships.
3156
+ */
3157
+ action?: 'created' | 'updated' | 'skipped' | 'superseded';
3158
+ };
3159
+ type ModelRouteTarget = {
3160
+ /**
3161
+ * AI provider in the route's project
3162
+ */
3163
+ ai_provider_id: string;
3164
+ /**
3165
+ * Model name to call on that provider
3166
+ */
3167
+ model: string;
3168
+ /**
3169
+ * Per-attempt deadline, enforced with an AbortSignal composed with the caller's signal. A timeout classifies as `timeout`; the caller's own signal firing aborts the run without failover. Omitted means no per-target deadline.
3170
+ */
3171
+ timeout_seconds?: number;
3172
+ /**
3173
+ * Retries on this target before falling through to the next one. The route is the only retry authority — routed calls pass `maxRetries: 0` to the AI SDK so its own retry loop cannot multiply these.
3174
+ */
3175
+ max_retries?: number;
3176
+ };
3177
+ type ModelRoute = {
3178
+ id?: string;
2767
3179
  project_id?: string;
2768
3180
  name?: string;
2769
3181
  targets?: Array<ModelRouteTarget>;
@@ -4731,6 +5143,10 @@ type IdempotencyKey = string;
4731
5143
  * API key public ID (key_ prefix).
4732
5144
  */
4733
5145
  type ApiKeyId = string;
5146
+ /**
5147
+ * Approval item ID
5148
+ */
5149
+ type ApprovalId = string;
4734
5150
  /**
4735
5151
  * Grant public ID (agr_ prefix).
4736
5152
  */
@@ -4759,6 +5175,10 @@ type MessagesLimit = number;
4759
5175
  * Number of messages to skip.
4760
5176
  */
4761
5177
  type Offset = number;
5178
+ /**
5179
+ * Exception item ID
5180
+ */
5181
+ type ExceptionId = string;
4762
5182
  /**
4763
5183
  * Public model id.
4764
5184
  */
@@ -6543,6 +6963,262 @@ type RotateApiKeyResponses = {
6543
6963
  200: ApiKeyCreated;
6544
6964
  };
6545
6965
  type RotateApiKeyResponse = RotateApiKeyResponses[keyof RotateApiKeyResponses];
6966
+ type ListApprovalsData = {
6967
+ body?: never;
6968
+ path: {
6969
+ /**
6970
+ * Project public ID (proj_ prefix).
6971
+ */
6972
+ project_id: string;
6973
+ };
6974
+ query?: {
6975
+ /**
6976
+ * Filter by lifecycle status
6977
+ */
6978
+ status?: 'pending' | 'approved' | 'rejected' | 'expired';
6979
+ /**
6980
+ * Filter by producer origin
6981
+ */
6982
+ origin?: 'node' | 'tool_call' | 'task_transition';
6983
+ /**
6984
+ * Return only items expiring at or before this timestamp
6985
+ */
6986
+ expires_before?: Date;
6987
+ /**
6988
+ * Maximum number of results to return
6989
+ */
6990
+ limit?: number;
6991
+ /**
6992
+ * Number of results to skip
6993
+ */
6994
+ offset?: number;
6995
+ };
6996
+ url: '/v1/projects/{project_id}/approvals';
6997
+ };
6998
+ type ListApprovalsErrors = {
6999
+ /**
7000
+ * Invalid `status` or `origin` filter value
7001
+ */
7002
+ 400: unknown;
7003
+ /**
7004
+ * Unauthorized
7005
+ */
7006
+ 401: unknown;
7007
+ /**
7008
+ * Forbidden
7009
+ */
7010
+ 403: unknown;
7011
+ /**
7012
+ * Internal server error
7013
+ */
7014
+ 500: unknown;
7015
+ };
7016
+ type ListApprovalsResponses = {
7017
+ /**
7018
+ * List of approval items
7019
+ */
7020
+ 200: {
7021
+ data: Array<ApprovalItem>;
7022
+ total: number;
7023
+ limit: number;
7024
+ offset: number;
7025
+ };
7026
+ };
7027
+ type ListApprovalsResponse = ListApprovalsResponses[keyof ListApprovalsResponses];
7028
+ type ListApprovalRecurrencesData = {
7029
+ body?: never;
7030
+ path: {
7031
+ /**
7032
+ * Project public ID (proj_ prefix).
7033
+ */
7034
+ project_id: string;
7035
+ };
7036
+ query?: {
7037
+ /**
7038
+ * Lifecycle status the groups are built from (default `rejected`)
7039
+ */
7040
+ status?: 'pending' | 'approved' | 'rejected' | 'expired';
7041
+ /**
7042
+ * Minimum items in a group for it to be returned
7043
+ */
7044
+ min_count?: number;
7045
+ /**
7046
+ * Maximum number of groups to return
7047
+ */
7048
+ limit?: number;
7049
+ /**
7050
+ * Number of groups to skip
7051
+ */
7052
+ offset?: number;
7053
+ };
7054
+ url: '/v1/projects/{project_id}/approvals/recurrences';
7055
+ };
7056
+ type ListApprovalRecurrencesErrors = {
7057
+ /**
7058
+ * Invalid `status` filter value
7059
+ */
7060
+ 400: unknown;
7061
+ /**
7062
+ * Unauthorized
7063
+ */
7064
+ 401: unknown;
7065
+ /**
7066
+ * Forbidden
7067
+ */
7068
+ 403: unknown;
7069
+ /**
7070
+ * Internal server error
7071
+ */
7072
+ 500: unknown;
7073
+ };
7074
+ type ListApprovalRecurrencesResponses = {
7075
+ /**
7076
+ * List of recurrence groups
7077
+ */
7078
+ 200: {
7079
+ data: Array<ApprovalRecurrenceGroup>;
7080
+ total: number;
7081
+ limit: number;
7082
+ offset: number;
7083
+ };
7084
+ };
7085
+ type ListApprovalRecurrencesResponse = ListApprovalRecurrencesResponses[keyof ListApprovalRecurrencesResponses];
7086
+ type GetApprovalData = {
7087
+ body?: never;
7088
+ path: {
7089
+ /**
7090
+ * Project public ID (proj_ prefix).
7091
+ */
7092
+ project_id: string;
7093
+ /**
7094
+ * Approval item ID
7095
+ */
7096
+ approval_id: string;
7097
+ };
7098
+ query?: never;
7099
+ url: '/v1/projects/{project_id}/approvals/{approval_id}';
7100
+ };
7101
+ type GetApprovalErrors = {
7102
+ /**
7103
+ * Unauthorized
7104
+ */
7105
+ 401: unknown;
7106
+ /**
7107
+ * Forbidden
7108
+ */
7109
+ 403: unknown;
7110
+ /**
7111
+ * Approval item not found
7112
+ */
7113
+ 404: unknown;
7114
+ };
7115
+ type GetApprovalResponses = {
7116
+ /**
7117
+ * Approval item
7118
+ */
7119
+ 200: ApprovalItem;
7120
+ };
7121
+ type GetApprovalResponse = GetApprovalResponses[keyof GetApprovalResponses];
7122
+ type ApproveApprovalData = {
7123
+ body?: {
7124
+ /**
7125
+ * Edited arguments to execute instead of the proposed ones
7126
+ */
7127
+ arguments?: {
7128
+ [key: string]: unknown;
7129
+ };
7130
+ };
7131
+ path: {
7132
+ /**
7133
+ * Project public ID (proj_ prefix).
7134
+ */
7135
+ project_id: string;
7136
+ /**
7137
+ * Approval item ID
7138
+ */
7139
+ approval_id: string;
7140
+ };
7141
+ query?: never;
7142
+ url: '/v1/projects/{project_id}/approvals/{approval_id}/approve';
7143
+ };
7144
+ type ApproveApprovalErrors = {
7145
+ /**
7146
+ * Edited arguments are not a JSON object
7147
+ */
7148
+ 400: unknown;
7149
+ /**
7150
+ * Unauthorized
7151
+ */
7152
+ 401: unknown;
7153
+ /**
7154
+ * Forbidden
7155
+ */
7156
+ 403: unknown;
7157
+ /**
7158
+ * Approval item not found
7159
+ */
7160
+ 404: unknown;
7161
+ /**
7162
+ * Item already resolved or expired
7163
+ */
7164
+ 409: unknown;
7165
+ };
7166
+ type ApproveApprovalResponses = {
7167
+ /**
7168
+ * Approval item approved
7169
+ */
7170
+ 200: ApprovalItem;
7171
+ };
7172
+ type ApproveApprovalResponse = ApproveApprovalResponses[keyof ApproveApprovalResponses];
7173
+ type RejectApprovalData = {
7174
+ body: {
7175
+ /**
7176
+ * Why the item is being rejected (required)
7177
+ */
7178
+ reason: string;
7179
+ };
7180
+ path: {
7181
+ /**
7182
+ * Project public ID (proj_ prefix).
7183
+ */
7184
+ project_id: string;
7185
+ /**
7186
+ * Approval item ID
7187
+ */
7188
+ approval_id: string;
7189
+ };
7190
+ query?: never;
7191
+ url: '/v1/projects/{project_id}/approvals/{approval_id}/reject';
7192
+ };
7193
+ type RejectApprovalErrors = {
7194
+ /**
7195
+ * Reason missing
7196
+ */
7197
+ 400: unknown;
7198
+ /**
7199
+ * Unauthorized
7200
+ */
7201
+ 401: unknown;
7202
+ /**
7203
+ * Forbidden
7204
+ */
7205
+ 403: unknown;
7206
+ /**
7207
+ * Approval item not found
7208
+ */
7209
+ 404: unknown;
7210
+ /**
7211
+ * Item already resolved or expired
7212
+ */
7213
+ 409: unknown;
7214
+ };
7215
+ type RejectApprovalResponses = {
7216
+ /**
7217
+ * Approval item rejected
7218
+ */
7219
+ 200: ApprovalItem;
7220
+ };
7221
+ type RejectApprovalResponse = RejectApprovalResponses[keyof RejectApprovalResponses];
6546
7222
  type ListAssistantGrantsData = {
6547
7223
  body?: never;
6548
7224
  path?: never;
@@ -9575,7 +10251,7 @@ type CancelEvalRunResponses = {
9575
10251
  200: EvalRun;
9576
10252
  };
9577
10253
  type CancelEvalRunResponse = CancelEvalRunResponses[keyof CancelEvalRunResponses];
9578
- type ListFilesData = {
10254
+ type ListExceptionsData = {
9579
10255
  body?: never;
9580
10256
  path: {
9581
10257
  /**
@@ -9584,6 +10260,18 @@ type ListFilesData = {
9584
10260
  project_id: string;
9585
10261
  };
9586
10262
  query?: {
10263
+ /**
10264
+ * Filter by triage status
10265
+ */
10266
+ status?: 'open' | 'acknowledged' | 'resolved';
10267
+ /**
10268
+ * Filter by severity
10269
+ */
10270
+ severity?: 'info' | 'warning' | 'critical';
10271
+ /**
10272
+ * Filter by how the exception was filed
10273
+ */
10274
+ kind?: 'run_failed' | 'guardrail_tripwire' | 'approval_expired' | 'quota_unpriced' | 'manual';
9587
10275
  /**
9588
10276
  * Maximum number of results to return
9589
10277
  */
@@ -9593,26 +10281,193 @@ type ListFilesData = {
9593
10281
  */
9594
10282
  offset?: number;
9595
10283
  };
9596
- url: '/v1/projects/{project_id}/files';
10284
+ url: '/v1/projects/{project_id}/exceptions';
9597
10285
  };
9598
- type ListFilesErrors = {
10286
+ type ListExceptionsErrors = {
10287
+ /**
10288
+ * Unauthorized
10289
+ */
10290
+ 401: unknown;
10291
+ /**
10292
+ * Forbidden
10293
+ */
10294
+ 403: unknown;
9599
10295
  /**
9600
10296
  * Internal server error
9601
10297
  */
9602
- 500: ErrorResponse;
10298
+ 500: unknown;
9603
10299
  };
9604
- type ListFilesError = ListFilesErrors[keyof ListFilesErrors];
9605
- type ListFilesResponses = {
10300
+ type ListExceptionsResponses = {
9606
10301
  /**
9607
- * List of files returned successfully
10302
+ * List of exception items
9608
10303
  */
9609
10304
  200: {
9610
- data?: Array<FileRecord>;
9611
- total?: number;
9612
- limit?: number;
9613
- offset?: number;
9614
- };
9615
- };
10305
+ data: Array<ExceptionItem>;
10306
+ total: number;
10307
+ limit: number;
10308
+ offset: number;
10309
+ };
10310
+ };
10311
+ type ListExceptionsResponse = ListExceptionsResponses[keyof ListExceptionsResponses];
10312
+ type GetExceptionData = {
10313
+ body?: never;
10314
+ path: {
10315
+ /**
10316
+ * Project public ID (proj_ prefix).
10317
+ */
10318
+ project_id: string;
10319
+ /**
10320
+ * Exception item ID
10321
+ */
10322
+ exception_id: string;
10323
+ };
10324
+ query?: never;
10325
+ url: '/v1/projects/{project_id}/exceptions/{exception_id}';
10326
+ };
10327
+ type GetExceptionErrors = {
10328
+ /**
10329
+ * Unauthorized
10330
+ */
10331
+ 401: unknown;
10332
+ /**
10333
+ * Forbidden
10334
+ */
10335
+ 403: unknown;
10336
+ /**
10337
+ * Exception item not found
10338
+ */
10339
+ 404: unknown;
10340
+ };
10341
+ type GetExceptionResponses = {
10342
+ /**
10343
+ * Exception item
10344
+ */
10345
+ 200: ExceptionItem;
10346
+ };
10347
+ type GetExceptionResponse = GetExceptionResponses[keyof GetExceptionResponses];
10348
+ type AcknowledgeExceptionData = {
10349
+ body?: never;
10350
+ path: {
10351
+ /**
10352
+ * Project public ID (proj_ prefix).
10353
+ */
10354
+ project_id: string;
10355
+ /**
10356
+ * Exception item ID
10357
+ */
10358
+ exception_id: string;
10359
+ };
10360
+ query?: never;
10361
+ url: '/v1/projects/{project_id}/exceptions/{exception_id}/acknowledge';
10362
+ };
10363
+ type AcknowledgeExceptionErrors = {
10364
+ /**
10365
+ * Unauthorized
10366
+ */
10367
+ 401: unknown;
10368
+ /**
10369
+ * Forbidden
10370
+ */
10371
+ 403: unknown;
10372
+ /**
10373
+ * Exception item not found
10374
+ */
10375
+ 404: unknown;
10376
+ /**
10377
+ * Item already resolved
10378
+ */
10379
+ 409: unknown;
10380
+ };
10381
+ type AcknowledgeExceptionResponses = {
10382
+ /**
10383
+ * Exception item acknowledged
10384
+ */
10385
+ 200: ExceptionItem;
10386
+ };
10387
+ type AcknowledgeExceptionResponse = AcknowledgeExceptionResponses[keyof AcknowledgeExceptionResponses];
10388
+ type ResolveExceptionData = {
10389
+ body?: {
10390
+ /**
10391
+ * Optional resolution note
10392
+ */
10393
+ note?: string;
10394
+ };
10395
+ path: {
10396
+ /**
10397
+ * Project public ID (proj_ prefix).
10398
+ */
10399
+ project_id: string;
10400
+ /**
10401
+ * Exception item ID
10402
+ */
10403
+ exception_id: string;
10404
+ };
10405
+ query?: never;
10406
+ url: '/v1/projects/{project_id}/exceptions/{exception_id}/resolve';
10407
+ };
10408
+ type ResolveExceptionErrors = {
10409
+ /**
10410
+ * Unauthorized
10411
+ */
10412
+ 401: unknown;
10413
+ /**
10414
+ * Forbidden
10415
+ */
10416
+ 403: unknown;
10417
+ /**
10418
+ * Exception item not found
10419
+ */
10420
+ 404: unknown;
10421
+ /**
10422
+ * Item already resolved
10423
+ */
10424
+ 409: unknown;
10425
+ };
10426
+ type ResolveExceptionResponses = {
10427
+ /**
10428
+ * Exception item resolved
10429
+ */
10430
+ 200: ExceptionItem;
10431
+ };
10432
+ type ResolveExceptionResponse = ResolveExceptionResponses[keyof ResolveExceptionResponses];
10433
+ type ListFilesData = {
10434
+ body?: never;
10435
+ path: {
10436
+ /**
10437
+ * Project public ID (proj_ prefix).
10438
+ */
10439
+ project_id: string;
10440
+ };
10441
+ query?: {
10442
+ /**
10443
+ * Maximum number of results to return
10444
+ */
10445
+ limit?: number;
10446
+ /**
10447
+ * Number of results to skip
10448
+ */
10449
+ offset?: number;
10450
+ };
10451
+ url: '/v1/projects/{project_id}/files';
10452
+ };
10453
+ type ListFilesErrors = {
10454
+ /**
10455
+ * Internal server error
10456
+ */
10457
+ 500: ErrorResponse;
10458
+ };
10459
+ type ListFilesError = ListFilesErrors[keyof ListFilesErrors];
10460
+ type ListFilesResponses = {
10461
+ /**
10462
+ * List of files returned successfully
10463
+ */
10464
+ 200: {
10465
+ data?: Array<FileRecord>;
10466
+ total?: number;
10467
+ limit?: number;
10468
+ offset?: number;
10469
+ };
10470
+ };
9616
10471
  type ListFilesResponse = ListFilesResponses[keyof ListFilesResponses];
9617
10472
  type CreateFileData = {
9618
10473
  body: {
@@ -10293,7 +11148,7 @@ type GetGenerationTranscriptResponses = {
10293
11148
  200: GenerationTranscript;
10294
11149
  };
10295
11150
  type GetGenerationTranscriptResponse = GetGenerationTranscriptResponses[keyof GetGenerationTranscriptResponses];
10296
- type ListIngestionRulesData = {
11151
+ type ListGuardrailsData = {
10297
11152
  body?: never;
10298
11153
  path: {
10299
11154
  /**
@@ -10303,7 +11158,7 @@ type ListIngestionRulesData = {
10303
11158
  };
10304
11159
  query?: {
10305
11160
  /**
10306
- * Number of results per page
11161
+ * Maximum number of results to return
10307
11162
  */
10308
11163
  limit?: number;
10309
11164
  /**
@@ -10311,56 +11166,416 @@ type ListIngestionRulesData = {
10311
11166
  */
10312
11167
  offset?: number;
10313
11168
  };
10314
- url: '/v1/projects/{project_id}/ingestion-rules';
11169
+ url: '/v1/projects/{project_id}/guardrails';
10315
11170
  };
10316
- type ListIngestionRulesErrors = {
11171
+ type ListGuardrailsErrors = {
10317
11172
  /**
10318
11173
  * Unauthorized
10319
11174
  */
10320
- 401: unknown;
11175
+ 401: ErrorResponse;
10321
11176
  /**
10322
11177
  * Forbidden
10323
11178
  */
10324
- 403: unknown;
10325
- /**
10326
- * Internal server error
10327
- */
10328
- 500: unknown;
11179
+ 403: ErrorResponse;
10329
11180
  };
10330
- type ListIngestionRulesResponses = {
11181
+ type ListGuardrailsError = ListGuardrailsErrors[keyof ListGuardrailsErrors];
11182
+ type ListGuardrailsResponses = {
10331
11183
  /**
10332
- * List of ingestion rules
11184
+ * List of guardrails
10333
11185
  */
10334
11186
  200: {
10335
- data: Array<IngestionRule>;
11187
+ data: Array<Guardrail>;
10336
11188
  total: number;
10337
11189
  limit: number;
10338
11190
  offset: number;
10339
11191
  };
10340
11192
  };
10341
- type ListIngestionRulesResponse = ListIngestionRulesResponses[keyof ListIngestionRulesResponses];
10342
- type CreateIngestionRuleData = {
10343
- body: {
11193
+ type ListGuardrailsResponse = ListGuardrailsResponses[keyof ListGuardrailsResponses];
11194
+ type CreateGuardrailData = {
11195
+ body: CreateGuardrailRequest;
11196
+ path: {
10344
11197
  /**
10345
- * MIME type glob matched against a file's content_type
11198
+ * Project public ID (proj_ prefix).
10346
11199
  */
10347
- content_type_glob: string;
11200
+ project_id: string;
11201
+ };
11202
+ query?: never;
11203
+ url: '/v1/projects/{project_id}/guardrails';
11204
+ };
11205
+ type CreateGuardrailErrors = {
11206
+ /**
11207
+ * Bad Request — invalid document or variable reference
11208
+ */
11209
+ 400: ErrorResponse;
11210
+ /**
11211
+ * Unauthorized
11212
+ */
11213
+ 401: ErrorResponse;
11214
+ /**
11215
+ * Forbidden
11216
+ */
11217
+ 403: ErrorResponse;
11218
+ };
11219
+ type CreateGuardrailError = CreateGuardrailErrors[keyof CreateGuardrailErrors];
11220
+ type CreateGuardrailResponses = {
11221
+ /**
11222
+ * Guardrail created
11223
+ */
11224
+ 201: Guardrail;
11225
+ };
11226
+ type CreateGuardrailResponse = CreateGuardrailResponses[keyof CreateGuardrailResponses];
11227
+ type DeleteGuardrailData = {
11228
+ body?: never;
11229
+ path: {
10348
11230
  /**
10349
- * Converter tool id (mutually exclusive with agent_id)
11231
+ * Project public ID (proj_ prefix).
10350
11232
  */
10351
- tool_id?: string;
11233
+ project_id: string;
11234
+ guardrail_id: string;
11235
+ };
11236
+ query?: never;
11237
+ url: '/v1/projects/{project_id}/guardrails/{guardrail_id}';
11238
+ };
11239
+ type DeleteGuardrailErrors = {
11240
+ /**
11241
+ * Unauthorized
11242
+ */
11243
+ 401: ErrorResponse;
11244
+ /**
11245
+ * Forbidden
11246
+ */
11247
+ 403: ErrorResponse;
11248
+ /**
11249
+ * Not found
11250
+ */
11251
+ 404: ErrorResponse;
11252
+ };
11253
+ type DeleteGuardrailError = DeleteGuardrailErrors[keyof DeleteGuardrailErrors];
11254
+ type DeleteGuardrailResponses = {
11255
+ /**
11256
+ * Deleted
11257
+ */
11258
+ 204: void;
11259
+ };
11260
+ type DeleteGuardrailResponse = DeleteGuardrailResponses[keyof DeleteGuardrailResponses];
11261
+ type GetGuardrailData = {
11262
+ body?: never;
11263
+ path: {
10352
11264
  /**
10353
- * Converter agent id (mutually exclusive with tool_id)
11265
+ * Project public ID (proj_ prefix).
10354
11266
  */
10355
- agent_id?: string;
11267
+ project_id: string;
11268
+ guardrail_id: string;
11269
+ };
11270
+ query?: never;
11271
+ url: '/v1/projects/{project_id}/guardrails/{guardrail_id}';
11272
+ };
11273
+ type GetGuardrailErrors = {
11274
+ /**
11275
+ * Unauthorized
11276
+ */
11277
+ 401: ErrorResponse;
11278
+ /**
11279
+ * Forbidden
11280
+ */
11281
+ 403: ErrorResponse;
11282
+ /**
11283
+ * Not found
11284
+ */
11285
+ 404: ErrorResponse;
11286
+ };
11287
+ type GetGuardrailError = GetGuardrailErrors[keyof GetGuardrailErrors];
11288
+ type GetGuardrailResponses = {
11289
+ /**
11290
+ * Guardrail
11291
+ */
11292
+ 200: Guardrail;
11293
+ };
11294
+ type GetGuardrailResponse = GetGuardrailResponses[keyof GetGuardrailResponses];
11295
+ type UpdateGuardrailData = {
11296
+ body: UpdateGuardrailRequest;
11297
+ path: {
10356
11298
  /**
10357
- * Operation id, required for mcp tool converters
11299
+ * Project public ID (proj_ prefix).
10358
11300
  */
10359
- action?: string;
11301
+ project_id: string;
11302
+ guardrail_id: string;
11303
+ };
11304
+ query?: never;
11305
+ url: '/v1/projects/{project_id}/guardrails/{guardrail_id}';
11306
+ };
11307
+ type UpdateGuardrailErrors = {
11308
+ /**
11309
+ * Bad Request — invalid document or variable reference
11310
+ */
11311
+ 400: ErrorResponse;
11312
+ /**
11313
+ * Unauthorized
11314
+ */
11315
+ 401: ErrorResponse;
11316
+ /**
11317
+ * Forbidden
11318
+ */
11319
+ 403: ErrorResponse;
11320
+ /**
11321
+ * Not found
11322
+ */
11323
+ 404: ErrorResponse;
11324
+ };
11325
+ type UpdateGuardrailError = UpdateGuardrailErrors[keyof UpdateGuardrailErrors];
11326
+ type UpdateGuardrailResponses = {
11327
+ /**
11328
+ * Guardrail updated
11329
+ */
11330
+ 200: Guardrail;
11331
+ };
11332
+ type UpdateGuardrailResponse = UpdateGuardrailResponses[keyof UpdateGuardrailResponses];
11333
+ type ListGuardrailVersionsData = {
11334
+ body?: never;
11335
+ path: {
10360
11336
  /**
10361
- * Merged into the tool input before invocation (tool converters only)
11337
+ * Project public ID (proj_ prefix).
10362
11338
  */
10363
- preset_parameters?: {
11339
+ project_id: string;
11340
+ guardrail_id: string;
11341
+ };
11342
+ query?: {
11343
+ /**
11344
+ * Maximum number of results to return
11345
+ */
11346
+ limit?: number;
11347
+ /**
11348
+ * Number of results to skip
11349
+ */
11350
+ offset?: number;
11351
+ };
11352
+ url: '/v1/projects/{project_id}/guardrails/{guardrail_id}/versions';
11353
+ };
11354
+ type ListGuardrailVersionsErrors = {
11355
+ /**
11356
+ * Unauthorized
11357
+ */
11358
+ 401: ErrorResponse;
11359
+ /**
11360
+ * Forbidden
11361
+ */
11362
+ 403: ErrorResponse;
11363
+ /**
11364
+ * Guardrail not found
11365
+ */
11366
+ 404: ErrorResponse;
11367
+ };
11368
+ type ListGuardrailVersionsError = ListGuardrailVersionsErrors[keyof ListGuardrailVersionsErrors];
11369
+ type ListGuardrailVersionsResponses = {
11370
+ /**
11371
+ * List of guardrail versions, newest first
11372
+ */
11373
+ 200: {
11374
+ data: Array<GuardrailVersion>;
11375
+ total: number;
11376
+ limit: number;
11377
+ offset: number;
11378
+ };
11379
+ };
11380
+ type ListGuardrailVersionsResponse = ListGuardrailVersionsResponses[keyof ListGuardrailVersionsResponses];
11381
+ type GetGuardrailVersionData = {
11382
+ body?: never;
11383
+ path: {
11384
+ /**
11385
+ * Project public ID (proj_ prefix).
11386
+ */
11387
+ project_id: string;
11388
+ guardrail_id: string;
11389
+ version: number;
11390
+ };
11391
+ query?: never;
11392
+ url: '/v1/projects/{project_id}/guardrails/{guardrail_id}/versions/{version}';
11393
+ };
11394
+ type GetGuardrailVersionErrors = {
11395
+ /**
11396
+ * Bad Request — version is not a positive integer
11397
+ */
11398
+ 400: ErrorResponse;
11399
+ /**
11400
+ * Unauthorized
11401
+ */
11402
+ 401: ErrorResponse;
11403
+ /**
11404
+ * Forbidden
11405
+ */
11406
+ 403: ErrorResponse;
11407
+ /**
11408
+ * Not found
11409
+ */
11410
+ 404: ErrorResponse;
11411
+ };
11412
+ type GetGuardrailVersionError = GetGuardrailVersionErrors[keyof GetGuardrailVersionErrors];
11413
+ type GetGuardrailVersionResponses = {
11414
+ /**
11415
+ * Archived guardrail version
11416
+ */
11417
+ 200: GuardrailVersion;
11418
+ };
11419
+ type GetGuardrailVersionResponse = GetGuardrailVersionResponses[keyof GetGuardrailVersionResponses];
11420
+ type RestoreGuardrailVersionData = {
11421
+ body?: RestoreGuardrailVersionRequest;
11422
+ path: {
11423
+ /**
11424
+ * Project public ID (proj_ prefix).
11425
+ */
11426
+ project_id: string;
11427
+ guardrail_id: string;
11428
+ version: number;
11429
+ };
11430
+ query?: never;
11431
+ url: '/v1/projects/{project_id}/guardrails/{guardrail_id}/versions/{version}/restore';
11432
+ };
11433
+ type RestoreGuardrailVersionErrors = {
11434
+ /**
11435
+ * Bad Request — invalid version, or the archived document no longer validates
11436
+ */
11437
+ 400: ErrorResponse;
11438
+ /**
11439
+ * Unauthorized
11440
+ */
11441
+ 401: ErrorResponse;
11442
+ /**
11443
+ * Forbidden
11444
+ */
11445
+ 403: ErrorResponse;
11446
+ /**
11447
+ * Guardrail or version not found
11448
+ */
11449
+ 404: ErrorResponse;
11450
+ };
11451
+ type RestoreGuardrailVersionError = RestoreGuardrailVersionErrors[keyof RestoreGuardrailVersionErrors];
11452
+ type RestoreGuardrailVersionResponses = {
11453
+ /**
11454
+ * The guardrail, at its new version
11455
+ */
11456
+ 200: Guardrail;
11457
+ };
11458
+ type RestoreGuardrailVersionResponse = RestoreGuardrailVersionResponses[keyof RestoreGuardrailVersionResponses];
11459
+ type EvaluateGuardrailData = {
11460
+ body?: {
11461
+ /**
11462
+ * The proposed call's arguments (the `args.*` namespace).
11463
+ */
11464
+ args?: {
11465
+ [key: string]: unknown;
11466
+ };
11467
+ /**
11468
+ * The caller-supplied guardrail context (the `context.*` namespace), combined with the context tool per `context_mode`.
11469
+ *
11470
+ */
11471
+ guardrail_context?: {
11472
+ [key: string]: unknown;
11473
+ };
11474
+ /**
11475
+ * Optional tool to resolve `runtime.tool.*` against.
11476
+ */
11477
+ tool_id?: string;
11478
+ };
11479
+ path: {
11480
+ /**
11481
+ * Project public ID (proj_ prefix).
11482
+ */
11483
+ project_id: string;
11484
+ guardrail_id: string;
11485
+ };
11486
+ query?: never;
11487
+ url: '/v1/projects/{project_id}/guardrails/{guardrail_id}/evaluate';
11488
+ };
11489
+ type EvaluateGuardrailErrors = {
11490
+ /**
11491
+ * Unauthorized
11492
+ */
11493
+ 401: ErrorResponse;
11494
+ /**
11495
+ * Forbidden
11496
+ */
11497
+ 403: ErrorResponse;
11498
+ /**
11499
+ * Not found
11500
+ */
11501
+ 404: ErrorResponse;
11502
+ };
11503
+ type EvaluateGuardrailError = EvaluateGuardrailErrors[keyof EvaluateGuardrailErrors];
11504
+ type EvaluateGuardrailResponses = {
11505
+ /**
11506
+ * The would-be evaluation record (nothing executed)
11507
+ */
11508
+ 200: GuardrailEvaluation;
11509
+ };
11510
+ type EvaluateGuardrailResponse = EvaluateGuardrailResponses[keyof EvaluateGuardrailResponses];
11511
+ type ListIngestionRulesData = {
11512
+ body?: never;
11513
+ path: {
11514
+ /**
11515
+ * Project public ID (proj_ prefix).
11516
+ */
11517
+ project_id: string;
11518
+ };
11519
+ query?: {
11520
+ /**
11521
+ * Number of results per page
11522
+ */
11523
+ limit?: number;
11524
+ /**
11525
+ * Number of results to skip
11526
+ */
11527
+ offset?: number;
11528
+ };
11529
+ url: '/v1/projects/{project_id}/ingestion-rules';
11530
+ };
11531
+ type ListIngestionRulesErrors = {
11532
+ /**
11533
+ * Unauthorized
11534
+ */
11535
+ 401: unknown;
11536
+ /**
11537
+ * Forbidden
11538
+ */
11539
+ 403: unknown;
11540
+ /**
11541
+ * Internal server error
11542
+ */
11543
+ 500: unknown;
11544
+ };
11545
+ type ListIngestionRulesResponses = {
11546
+ /**
11547
+ * List of ingestion rules
11548
+ */
11549
+ 200: {
11550
+ data: Array<IngestionRule>;
11551
+ total: number;
11552
+ limit: number;
11553
+ offset: number;
11554
+ };
11555
+ };
11556
+ type ListIngestionRulesResponse = ListIngestionRulesResponses[keyof ListIngestionRulesResponses];
11557
+ type CreateIngestionRuleData = {
11558
+ body: {
11559
+ /**
11560
+ * MIME type glob matched against a file's content_type
11561
+ */
11562
+ content_type_glob: string;
11563
+ /**
11564
+ * Converter tool id (mutually exclusive with agent_id)
11565
+ */
11566
+ tool_id?: string;
11567
+ /**
11568
+ * Converter agent id (mutually exclusive with tool_id)
11569
+ */
11570
+ agent_id?: string;
11571
+ /**
11572
+ * Operation id, required for mcp tool converters
11573
+ */
11574
+ action?: string;
11575
+ /**
11576
+ * Merged into the tool input before invocation (tool converters only)
11577
+ */
11578
+ preset_parameters?: {
10364
11579
  [key: string]: unknown;
10365
11580
  };
10366
11581
  /**
@@ -10368,27 +11583,575 @@ type CreateIngestionRuleData = {
10368
11583
  */
10369
11584
  native_extraction?: 'first' | 'skip';
10370
11585
  /**
10371
- * How the file reaches a tool converter (default base64)
11586
+ * How the file reaches a tool converter (default base64)
11587
+ */
11588
+ file_delivery?: 'base64' | 'download_url';
11589
+ /**
11590
+ * Default chunk strategy, overridable per ingest request
11591
+ */
11592
+ chunk_strategy?: 'page' | 'whole' | 'size';
11593
+ /**
11594
+ * Default window size in characters for the size strategy
11595
+ */
11596
+ chunk_size?: number;
11597
+ /**
11598
+ * Default overlap in characters for the size strategy
11599
+ */
11600
+ chunk_overlap?: number;
11601
+ /**
11602
+ * Arbitrary JSON metadata
11603
+ */
11604
+ metadata?: {
11605
+ [key: string]: unknown;
11606
+ };
11607
+ };
11608
+ path: {
11609
+ /**
11610
+ * Project public ID (proj_ prefix).
11611
+ */
11612
+ project_id: string;
11613
+ };
11614
+ query?: never;
11615
+ url: '/v1/projects/{project_id}/ingestion-rules';
11616
+ };
11617
+ type CreateIngestionRuleErrors = {
11618
+ /**
11619
+ * Validation failed (e.g. tool_id and agent_id both set or both missing)
11620
+ */
11621
+ 400: unknown;
11622
+ /**
11623
+ * Unauthorized
11624
+ */
11625
+ 401: unknown;
11626
+ /**
11627
+ * Forbidden
11628
+ */
11629
+ 403: unknown;
11630
+ /**
11631
+ * A rule for this content_type_glob already exists in the project
11632
+ */
11633
+ 409: unknown;
11634
+ /**
11635
+ * Internal server error
11636
+ */
11637
+ 500: unknown;
11638
+ };
11639
+ type CreateIngestionRuleResponses = {
11640
+ /**
11641
+ * Ingestion rule created
11642
+ */
11643
+ 201: IngestionRule;
11644
+ };
11645
+ type CreateIngestionRuleResponse = CreateIngestionRuleResponses[keyof CreateIngestionRuleResponses];
11646
+ type DeleteIngestionRuleData = {
11647
+ body?: never;
11648
+ path: {
11649
+ /**
11650
+ * Project public ID (proj_ prefix).
11651
+ */
11652
+ project_id: string;
11653
+ /**
11654
+ * Ingestion rule ID
11655
+ */
11656
+ ingestion_rule_id: string;
11657
+ };
11658
+ query?: never;
11659
+ url: '/v1/projects/{project_id}/ingestion-rules/{ingestion_rule_id}';
11660
+ };
11661
+ type DeleteIngestionRuleErrors = {
11662
+ /**
11663
+ * Unauthorized
11664
+ */
11665
+ 401: unknown;
11666
+ /**
11667
+ * Forbidden
11668
+ */
11669
+ 403: unknown;
11670
+ /**
11671
+ * Ingestion rule not found
11672
+ */
11673
+ 404: unknown;
11674
+ };
11675
+ type DeleteIngestionRuleResponses = {
11676
+ /**
11677
+ * Ingestion rule deleted
11678
+ */
11679
+ 204: void;
11680
+ };
11681
+ type DeleteIngestionRuleResponse = DeleteIngestionRuleResponses[keyof DeleteIngestionRuleResponses];
11682
+ type GetIngestionRuleData = {
11683
+ body?: never;
11684
+ path: {
11685
+ /**
11686
+ * Project public ID (proj_ prefix).
11687
+ */
11688
+ project_id: string;
11689
+ /**
11690
+ * Ingestion rule ID
11691
+ */
11692
+ ingestion_rule_id: string;
11693
+ };
11694
+ query?: never;
11695
+ url: '/v1/projects/{project_id}/ingestion-rules/{ingestion_rule_id}';
11696
+ };
11697
+ type GetIngestionRuleErrors = {
11698
+ /**
11699
+ * Unauthorized
11700
+ */
11701
+ 401: unknown;
11702
+ /**
11703
+ * Forbidden
11704
+ */
11705
+ 403: unknown;
11706
+ /**
11707
+ * Ingestion rule not found
11708
+ */
11709
+ 404: unknown;
11710
+ };
11711
+ type GetIngestionRuleResponses = {
11712
+ /**
11713
+ * Ingestion rule details
11714
+ */
11715
+ 200: IngestionRule;
11716
+ };
11717
+ type GetIngestionRuleResponse = GetIngestionRuleResponses[keyof GetIngestionRuleResponses];
11718
+ type UpdateIngestionRuleData = {
11719
+ body: {
11720
+ content_type_glob?: string;
11721
+ tool_id?: string | null;
11722
+ agent_id?: string | null;
11723
+ action?: string | null;
11724
+ preset_parameters?: {
11725
+ [key: string]: unknown;
11726
+ } | null;
11727
+ native_extraction?: 'first' | 'skip';
11728
+ file_delivery?: 'base64' | 'download_url';
11729
+ /**
11730
+ * Send `null` to clear the rule's override and fall back to the per-request default.
11731
+ */
11732
+ chunk_strategy?: 'page' | 'whole' | 'size' | null;
11733
+ chunk_size?: number | null;
11734
+ chunk_overlap?: number | null;
11735
+ metadata?: {
11736
+ [key: string]: unknown;
11737
+ } | null;
11738
+ };
11739
+ path: {
11740
+ /**
11741
+ * Project public ID (proj_ prefix).
11742
+ */
11743
+ project_id: string;
11744
+ /**
11745
+ * Ingestion rule ID
11746
+ */
11747
+ ingestion_rule_id: string;
11748
+ };
11749
+ query?: never;
11750
+ url: '/v1/projects/{project_id}/ingestion-rules/{ingestion_rule_id}';
11751
+ };
11752
+ type UpdateIngestionRuleErrors = {
11753
+ /**
11754
+ * Validation failed
11755
+ */
11756
+ 400: unknown;
11757
+ /**
11758
+ * Unauthorized
11759
+ */
11760
+ 401: unknown;
11761
+ /**
11762
+ * Forbidden
11763
+ */
11764
+ 403: unknown;
11765
+ /**
11766
+ * Ingestion rule not found
11767
+ */
11768
+ 404: unknown;
11769
+ /**
11770
+ * A rule for this content_type_glob already exists in the project
11771
+ */
11772
+ 409: unknown;
11773
+ };
11774
+ type UpdateIngestionRuleResponses = {
11775
+ /**
11776
+ * Ingestion rule updated
11777
+ */
11778
+ 200: IngestionRule;
11779
+ };
11780
+ type UpdateIngestionRuleResponse = UpdateIngestionRuleResponses[keyof UpdateIngestionRuleResponses];
11781
+ type SearchKnowledgeData = {
11782
+ body: {
11783
+ /**
11784
+ * Semantic search query text
11785
+ */
11786
+ query?: string;
11787
+ /**
11788
+ * Minimum `score` a result must reach to be returned. Filters on the implementation-defined `score`, not on `similarity_score`, so the cutoff follows the ranking. Only applies when `query` is provided. Because the scale behind `score` is not part of the contract, treat a tuned value as tied to the deployment rather than portable.
11789
+ */
11790
+ min_score?: number;
11791
+ /**
11792
+ * Maximum number of results to return (default 10)
11793
+ */
11794
+ limit?: number;
11795
+ /**
11796
+ * Search entries within these specific memories
11797
+ */
11798
+ memory_ids?: Array<string>;
11799
+ /**
11800
+ * Search entries in memories whose tags match any of these patterns (glob supported)
11801
+ */
11802
+ memory_tags?: Array<string>;
11803
+ /**
11804
+ * Filter results to documents whose file path starts with one of these prefixes
11805
+ */
11806
+ document_paths?: Array<string>;
11807
+ /**
11808
+ * Filter results to specific document IDs
11809
+ */
11810
+ document_ids?: Array<string>;
11811
+ };
11812
+ path: {
11813
+ /**
11814
+ * Project public ID (proj_ prefix).
11815
+ */
11816
+ project_id: string;
11817
+ };
11818
+ query?: never;
11819
+ url: '/v1/projects/{project_id}/knowledge/search';
11820
+ };
11821
+ type SearchKnowledgeErrors = {
11822
+ /**
11823
+ * Bad request — at least one search parameter is required
11824
+ */
11825
+ 400: ErrorResponse;
11826
+ /**
11827
+ * Unauthorized
11828
+ */
11829
+ 401: ErrorResponse;
11830
+ /**
11831
+ * Forbidden
11832
+ */
11833
+ 403: ErrorResponse;
11834
+ };
11835
+ type SearchKnowledgeError = SearchKnowledgeErrors[keyof SearchKnowledgeErrors];
11836
+ type SearchKnowledgeResponses = {
11837
+ /**
11838
+ * Search results
11839
+ */
11840
+ 200: {
11841
+ results: Array<KnowledgeResult>;
11842
+ };
11843
+ };
11844
+ type SearchKnowledgeResponse = SearchKnowledgeResponses[keyof SearchKnowledgeResponses];
11845
+ type ListMemoriesData = {
11846
+ body?: never;
11847
+ path: {
11848
+ /**
11849
+ * Project public ID (proj_ prefix).
11850
+ */
11851
+ project_id: string;
11852
+ };
11853
+ query?: {
11854
+ /**
11855
+ * 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.
11856
+ *
11857
+ */
11858
+ tags?: Array<string>;
11859
+ /**
11860
+ * Maximum number of results to return
11861
+ */
11862
+ limit?: number;
11863
+ /**
11864
+ * Number of results to skip
11865
+ */
11866
+ offset?: number;
11867
+ };
11868
+ url: '/v1/projects/{project_id}/memories';
11869
+ };
11870
+ type ListMemoriesErrors = {
11871
+ /**
11872
+ * Unauthorized
11873
+ */
11874
+ 401: unknown;
11875
+ /**
11876
+ * Forbidden
11877
+ */
11878
+ 403: unknown;
11879
+ /**
11880
+ * Internal server error
11881
+ */
11882
+ 500: unknown;
11883
+ };
11884
+ type ListMemoriesResponses = {
11885
+ /**
11886
+ * List of memories
11887
+ */
11888
+ 200: {
11889
+ data: Array<Memory>;
11890
+ total: number;
11891
+ limit: number;
11892
+ offset: number;
11893
+ };
11894
+ };
11895
+ type ListMemoriesResponse = ListMemoriesResponses[keyof ListMemoriesResponses];
11896
+ type CreateMemoryData = {
11897
+ body: {
11898
+ /**
11899
+ * Memory name
11900
+ */
11901
+ name: string;
11902
+ /**
11903
+ * Optional description
11904
+ */
11905
+ description?: string;
11906
+ /**
11907
+ * Optional list of tags for filtering in knowledge search
11908
+ */
11909
+ tags?: Array<string>;
11910
+ };
11911
+ path: {
11912
+ /**
11913
+ * Project public ID (proj_ prefix).
11914
+ */
11915
+ project_id: string;
11916
+ };
11917
+ query?: never;
11918
+ url: '/v1/projects/{project_id}/memories';
11919
+ };
11920
+ type CreateMemoryErrors = {
11921
+ /**
11922
+ * Bad request (missing required fields or invalid config)
11923
+ */
11924
+ 400: unknown;
11925
+ /**
11926
+ * Unauthorized
11927
+ */
11928
+ 401: unknown;
11929
+ /**
11930
+ * Forbidden
11931
+ */
11932
+ 403: unknown;
11933
+ /**
11934
+ * Internal server error
11935
+ */
11936
+ 500: unknown;
11937
+ };
11938
+ type CreateMemoryResponses = {
11939
+ /**
11940
+ * Memory created
11941
+ */
11942
+ 201: Memory;
11943
+ };
11944
+ type CreateMemoryResponse = CreateMemoryResponses[keyof CreateMemoryResponses];
11945
+ type DeleteMemoryData = {
11946
+ body?: never;
11947
+ path: {
11948
+ /**
11949
+ * Project public ID (proj_ prefix).
11950
+ */
11951
+ project_id: string;
11952
+ memory_id: string;
11953
+ };
11954
+ query?: never;
11955
+ url: '/v1/projects/{project_id}/memories/{memory_id}';
11956
+ };
11957
+ type DeleteMemoryErrors = {
11958
+ /**
11959
+ * Unauthorized
11960
+ */
11961
+ 401: unknown;
11962
+ /**
11963
+ * Forbidden
11964
+ */
11965
+ 403: unknown;
11966
+ /**
11967
+ * Memory not found
11968
+ */
11969
+ 404: unknown;
11970
+ /**
11971
+ * Internal server error
11972
+ */
11973
+ 500: unknown;
11974
+ };
11975
+ type DeleteMemoryResponses = {
11976
+ /**
11977
+ * Memory deleted
11978
+ */
11979
+ 204: void;
11980
+ };
11981
+ type DeleteMemoryResponse = DeleteMemoryResponses[keyof DeleteMemoryResponses];
11982
+ type GetMemoryData = {
11983
+ body?: never;
11984
+ path: {
11985
+ /**
11986
+ * Project public ID (proj_ prefix).
11987
+ */
11988
+ project_id: string;
11989
+ memory_id: string;
11990
+ };
11991
+ query?: never;
11992
+ url: '/v1/projects/{project_id}/memories/{memory_id}';
11993
+ };
11994
+ type GetMemoryErrors = {
11995
+ /**
11996
+ * Unauthorized
11997
+ */
11998
+ 401: unknown;
11999
+ /**
12000
+ * Forbidden
12001
+ */
12002
+ 403: unknown;
12003
+ /**
12004
+ * Memory not found
12005
+ */
12006
+ 404: unknown;
12007
+ /**
12008
+ * Internal server error
12009
+ */
12010
+ 500: unknown;
12011
+ };
12012
+ type GetMemoryResponses = {
12013
+ /**
12014
+ * Memory found
12015
+ */
12016
+ 200: Memory;
12017
+ };
12018
+ type GetMemoryResponse = GetMemoryResponses[keyof GetMemoryResponses];
12019
+ type UpdateMemoryData = {
12020
+ body: {
12021
+ /**
12022
+ * Memory name
12023
+ */
12024
+ name?: string;
12025
+ /**
12026
+ * Optional description
12027
+ */
12028
+ description?: string | null;
12029
+ /**
12030
+ * Optional list of tags for filtering in knowledge search
12031
+ */
12032
+ tags?: Array<string> | null;
12033
+ };
12034
+ path: {
12035
+ /**
12036
+ * Project public ID (proj_ prefix).
12037
+ */
12038
+ project_id: string;
12039
+ memory_id: string;
12040
+ };
12041
+ query?: never;
12042
+ url: '/v1/projects/{project_id}/memories/{memory_id}';
12043
+ };
12044
+ type UpdateMemoryErrors = {
12045
+ /**
12046
+ * Unauthorized
12047
+ */
12048
+ 401: unknown;
12049
+ /**
12050
+ * Forbidden
12051
+ */
12052
+ 403: unknown;
12053
+ /**
12054
+ * Memory not found
12055
+ */
12056
+ 404: unknown;
12057
+ /**
12058
+ * Internal server error
12059
+ */
12060
+ 500: unknown;
12061
+ };
12062
+ type UpdateMemoryResponses = {
12063
+ /**
12064
+ * Memory updated
12065
+ */
12066
+ 200: Memory;
12067
+ };
12068
+ type UpdateMemoryResponse = UpdateMemoryResponses[keyof UpdateMemoryResponses];
12069
+ type ListMemoryEntriesData = {
12070
+ body?: never;
12071
+ path: {
12072
+ /**
12073
+ * Project public ID (proj_ prefix).
12074
+ */
12075
+ project_id: string;
12076
+ };
12077
+ query: {
12078
+ /**
12079
+ * Memory container to list entries from (mem_...)
12080
+ */
12081
+ memory_id: string;
12082
+ /**
12083
+ * Maximum number of results to return
12084
+ */
12085
+ limit?: number;
12086
+ /**
12087
+ * Number of results to skip
12088
+ */
12089
+ offset?: number;
12090
+ /**
12091
+ * Include invalidated (superseded) entries. They are excluded by default; set this to audit the supersede history.
12092
+ */
12093
+ include_invalidated?: boolean;
12094
+ };
12095
+ url: '/v1/projects/{project_id}/memory-entries';
12096
+ };
12097
+ type ListMemoryEntriesErrors = {
12098
+ /**
12099
+ * Unauthorized
12100
+ */
12101
+ 401: unknown;
12102
+ /**
12103
+ * Forbidden
12104
+ */
12105
+ 403: unknown;
12106
+ /**
12107
+ * Memory not found
12108
+ */
12109
+ 404: unknown;
12110
+ /**
12111
+ * Internal server error
12112
+ */
12113
+ 500: unknown;
12114
+ };
12115
+ type ListMemoryEntriesResponses = {
12116
+ /**
12117
+ * List of memory entries
12118
+ */
12119
+ 200: {
12120
+ data: Array<MemoryEntry>;
12121
+ total: number;
12122
+ limit: number;
12123
+ offset: number;
12124
+ };
12125
+ };
12126
+ type ListMemoryEntriesResponse = ListMemoryEntriesResponses[keyof ListMemoryEntriesResponses];
12127
+ type CreateMemoryEntryData = {
12128
+ body: {
12129
+ /**
12130
+ * Memory container to add the entry to (mem_...)
10372
12131
  */
10373
- file_delivery?: 'base64' | 'download_url';
12132
+ memory_id: string;
10374
12133
  /**
10375
- * Default chunk strategy, overridable per ingest request
12134
+ * The text content of the memory entry
10376
12135
  */
10377
- chunk_strategy?: 'page' | 'whole' | 'size';
12136
+ content: string;
10378
12137
  /**
10379
- * Default window size in characters for the size strategy
12138
+ * How this entry was created
10380
12139
  */
10381
- chunk_size?: number;
12140
+ source_type?: 'manual' | 'agent' | 'extraction' | 'orchestration';
10382
12141
  /**
10383
- * Default overlap in characters for the size strategy
12142
+ * Per-entry tag strings, used for entry-granularity filtering in search-knowledge (memory_tags)
10384
12143
  */
10385
- chunk_overlap?: number;
12144
+ tags?: Array<string>;
10386
12145
  /**
10387
- * Arbitrary JSON metadata
12146
+ * Arbitrary structured metadata attached to the entry
10388
12147
  */
10389
12148
  metadata?: {
10390
12149
  [key: string]: unknown;
10391
12150
  };
12151
+ /**
12152
+ * Cosine similarity score at or above which the incoming content is considered a duplicate of an existing entry and skipped (default 0.95). Below it the entry is always created.
12153
+ */
12154
+ duplicate_threshold?: number;
10392
12155
  };
10393
12156
  path: {
10394
12157
  /**
@@ -10397,11 +12160,11 @@ type CreateIngestionRuleData = {
10397
12160
  project_id: string;
10398
12161
  };
10399
12162
  query?: never;
10400
- url: '/v1/projects/{project_id}/ingestion-rules';
12163
+ url: '/v1/projects/{project_id}/memory-entries';
10401
12164
  };
10402
- type CreateIngestionRuleErrors = {
12165
+ type CreateMemoryEntryErrors = {
10403
12166
  /**
10404
- * Validation failed (e.g. tool_id and agent_id both set or both missing)
12167
+ * Bad request (missing required fields)
10405
12168
  */
10406
12169
  400: unknown;
10407
12170
  /**
@@ -10413,37 +12176,38 @@ type CreateIngestionRuleErrors = {
10413
12176
  */
10414
12177
  403: unknown;
10415
12178
  /**
10416
- * A rule for this content_type_glob already exists in the project
12179
+ * Memory not found
10417
12180
  */
10418
- 409: unknown;
12181
+ 404: unknown;
10419
12182
  /**
10420
12183
  * Internal server error
10421
12184
  */
10422
12185
  500: unknown;
10423
12186
  };
10424
- type CreateIngestionRuleResponses = {
12187
+ type CreateMemoryEntryResponses = {
10425
12188
  /**
10426
- * Ingestion rule created
12189
+ * Memory entry deduplicated (action is "skipped")
10427
12190
  */
10428
- 201: IngestionRule;
12191
+ 200: MemoryEntryWriteResult;
12192
+ /**
12193
+ * Memory entry created
12194
+ */
12195
+ 201: MemoryEntryWriteResult;
10429
12196
  };
10430
- type CreateIngestionRuleResponse = CreateIngestionRuleResponses[keyof CreateIngestionRuleResponses];
10431
- type DeleteIngestionRuleData = {
12197
+ type CreateMemoryEntryResponse = CreateMemoryEntryResponses[keyof CreateMemoryEntryResponses];
12198
+ type DeleteMemoryEntryData = {
10432
12199
  body?: never;
10433
12200
  path: {
10434
12201
  /**
10435
12202
  * Project public ID (proj_ prefix).
10436
12203
  */
10437
12204
  project_id: string;
10438
- /**
10439
- * Ingestion rule ID
10440
- */
10441
- ingestion_rule_id: string;
12205
+ entry_id: string;
10442
12206
  };
10443
12207
  query?: never;
10444
- url: '/v1/projects/{project_id}/ingestion-rules/{ingestion_rule_id}';
12208
+ url: '/v1/projects/{project_id}/memory-entries/{entry_id}';
10445
12209
  };
10446
- type DeleteIngestionRuleErrors = {
12210
+ type DeleteMemoryEntryErrors = {
10447
12211
  /**
10448
12212
  * Unauthorized
10449
12213
  */
@@ -10453,33 +12217,34 @@ type DeleteIngestionRuleErrors = {
10453
12217
  */
10454
12218
  403: unknown;
10455
12219
  /**
10456
- * Ingestion rule not found
12220
+ * Memory or entry not found
10457
12221
  */
10458
12222
  404: unknown;
12223
+ /**
12224
+ * Internal server error
12225
+ */
12226
+ 500: unknown;
10459
12227
  };
10460
- type DeleteIngestionRuleResponses = {
12228
+ type DeleteMemoryEntryResponses = {
10461
12229
  /**
10462
- * Ingestion rule deleted
12230
+ * Memory entry deleted
10463
12231
  */
10464
12232
  204: void;
10465
12233
  };
10466
- type DeleteIngestionRuleResponse = DeleteIngestionRuleResponses[keyof DeleteIngestionRuleResponses];
10467
- type GetIngestionRuleData = {
12234
+ type DeleteMemoryEntryResponse = DeleteMemoryEntryResponses[keyof DeleteMemoryEntryResponses];
12235
+ type GetMemoryEntryData = {
10468
12236
  body?: never;
10469
12237
  path: {
10470
12238
  /**
10471
12239
  * Project public ID (proj_ prefix).
10472
12240
  */
10473
12241
  project_id: string;
10474
- /**
10475
- * Ingestion rule ID
10476
- */
10477
- ingestion_rule_id: string;
12242
+ entry_id: string;
10478
12243
  };
10479
12244
  query?: never;
10480
- url: '/v1/projects/{project_id}/ingestion-rules/{ingestion_rule_id}';
12245
+ url: '/v1/projects/{project_id}/memory-entries/{entry_id}';
10481
12246
  };
10482
- type GetIngestionRuleErrors = {
12247
+ type GetMemoryEntryErrors = {
10483
12248
  /**
10484
12249
  * Unauthorized
10485
12250
  */
@@ -10489,34 +12254,34 @@ type GetIngestionRuleErrors = {
10489
12254
  */
10490
12255
  403: unknown;
10491
12256
  /**
10492
- * Ingestion rule not found
12257
+ * Memory or entry not found
10493
12258
  */
10494
12259
  404: unknown;
12260
+ /**
12261
+ * Internal server error
12262
+ */
12263
+ 500: unknown;
10495
12264
  };
10496
- type GetIngestionRuleResponses = {
12265
+ type GetMemoryEntryResponses = {
10497
12266
  /**
10498
- * Ingestion rule details
12267
+ * Memory entry found
10499
12268
  */
10500
- 200: IngestionRule;
12269
+ 200: MemoryEntry;
10501
12270
  };
10502
- type GetIngestionRuleResponse = GetIngestionRuleResponses[keyof GetIngestionRuleResponses];
10503
- type UpdateIngestionRuleData = {
12271
+ type GetMemoryEntryResponse = GetMemoryEntryResponses[keyof GetMemoryEntryResponses];
12272
+ type UpdateMemoryEntryData = {
10504
12273
  body: {
10505
- content_type_glob?: string;
10506
- tool_id?: string | null;
10507
- agent_id?: string | null;
10508
- action?: string | null;
10509
- preset_parameters?: {
10510
- [key: string]: unknown;
10511
- } | null;
10512
- native_extraction?: 'first' | 'skip';
10513
- file_delivery?: 'base64' | 'download_url';
10514
12274
  /**
10515
- * Send `null` to clear the rule's override and fall back to the per-request default.
12275
+ * Updated text content
12276
+ */
12277
+ content?: string;
12278
+ /**
12279
+ * Replaces the entry's tags. Pass null or an empty array to clear.
12280
+ */
12281
+ tags?: Array<string> | null;
12282
+ /**
12283
+ * Replaces the entry's metadata. Pass null to clear.
10516
12284
  */
10517
- chunk_strategy?: 'page' | 'whole' | 'size' | null;
10518
- chunk_size?: number | null;
10519
- chunk_overlap?: number | null;
10520
12285
  metadata?: {
10521
12286
  [key: string]: unknown;
10522
12287
  } | null;
@@ -10526,19 +12291,12 @@ type UpdateIngestionRuleData = {
10526
12291
  * Project public ID (proj_ prefix).
10527
12292
  */
10528
12293
  project_id: string;
10529
- /**
10530
- * Ingestion rule ID
10531
- */
10532
- ingestion_rule_id: string;
12294
+ entry_id: string;
10533
12295
  };
10534
12296
  query?: never;
10535
- url: '/v1/projects/{project_id}/ingestion-rules/{ingestion_rule_id}';
12297
+ url: '/v1/projects/{project_id}/memory-entries/{entry_id}';
10536
12298
  };
10537
- type UpdateIngestionRuleErrors = {
10538
- /**
10539
- * Validation failed
10540
- */
10541
- 400: unknown;
12299
+ type UpdateMemoryEntryErrors = {
10542
12300
  /**
10543
12301
  * Unauthorized
10544
12302
  */
@@ -10548,85 +12306,21 @@ type UpdateIngestionRuleErrors = {
10548
12306
  */
10549
12307
  403: unknown;
10550
12308
  /**
10551
- * Ingestion rule not found
12309
+ * Memory or entry not found
10552
12310
  */
10553
12311
  404: unknown;
10554
12312
  /**
10555
- * A rule for this content_type_glob already exists in the project
10556
- */
10557
- 409: unknown;
10558
- };
10559
- type UpdateIngestionRuleResponses = {
10560
- /**
10561
- * Ingestion rule updated
10562
- */
10563
- 200: IngestionRule;
10564
- };
10565
- type UpdateIngestionRuleResponse = UpdateIngestionRuleResponses[keyof UpdateIngestionRuleResponses];
10566
- type SearchKnowledgeData = {
10567
- body: {
10568
- /**
10569
- * Semantic search query text
10570
- */
10571
- query?: string;
10572
- /**
10573
- * Minimum `score` a result must reach to be returned. Filters on the implementation-defined `score`, not on `similarity_score`, so the cutoff follows the ranking. Only applies when `query` is provided. Because the scale behind `score` is not part of the contract, treat a tuned value as tied to the deployment rather than portable.
10574
- */
10575
- min_score?: number;
10576
- /**
10577
- * Maximum number of results to return (default 10)
10578
- */
10579
- limit?: number;
10580
- /**
10581
- * Search entries within these specific memories
10582
- */
10583
- memory_ids?: Array<string>;
10584
- /**
10585
- * Search entries in memories whose tags match any of these patterns (glob supported)
10586
- */
10587
- memory_tags?: Array<string>;
10588
- /**
10589
- * Filter results to documents whose file path starts with one of these prefixes
10590
- */
10591
- document_paths?: Array<string>;
10592
- /**
10593
- * Filter results to specific document IDs
10594
- */
10595
- document_ids?: Array<string>;
10596
- };
10597
- path: {
10598
- /**
10599
- * Project public ID (proj_ prefix).
10600
- */
10601
- project_id: string;
10602
- };
10603
- query?: never;
10604
- url: '/v1/projects/{project_id}/knowledge/search';
10605
- };
10606
- type SearchKnowledgeErrors = {
10607
- /**
10608
- * Bad request — at least one search parameter is required
10609
- */
10610
- 400: ErrorResponse;
10611
- /**
10612
- * Unauthorized
10613
- */
10614
- 401: ErrorResponse;
10615
- /**
10616
- * Forbidden
12313
+ * Internal server error
10617
12314
  */
10618
- 403: ErrorResponse;
12315
+ 500: unknown;
10619
12316
  };
10620
- type SearchKnowledgeError = SearchKnowledgeErrors[keyof SearchKnowledgeErrors];
10621
- type SearchKnowledgeResponses = {
12317
+ type UpdateMemoryEntryResponses = {
10622
12318
  /**
10623
- * Search results
12319
+ * Memory entry updated
10624
12320
  */
10625
- 200: {
10626
- results: Array<KnowledgeResult>;
10627
- };
12321
+ 200: MemoryEntry;
10628
12322
  };
10629
- type SearchKnowledgeResponse = SearchKnowledgeResponses[keyof SearchKnowledgeResponses];
12323
+ type UpdateMemoryEntryResponse = UpdateMemoryEntryResponses[keyof UpdateMemoryEntryResponses];
10630
12324
  type ListModelRoutesData = {
10631
12325
  body?: never;
10632
12326
  path: {
@@ -14812,6 +16506,38 @@ declare class ApiKeys {
14812
16506
  */
14813
16507
  static rotateApiKey<ThrowOnError extends boolean = false>(options: Options<RotateApiKeyData, ThrowOnError>): RequestResult<RotateApiKeyResponses, RotateApiKeyErrors, ThrowOnError>;
14814
16508
  }
16509
+ declare class Approvals {
16510
+ /**
16511
+ * List approval items
16512
+ *
16513
+ * Returns approval items for a project, filterable by status, origin, and expiry.
16514
+ */
16515
+ static listApprovals<ThrowOnError extends boolean = false>(options: Options<ListApprovalsData, ThrowOnError>): RequestResult<ListApprovalsResponses, ListApprovalsErrors, ThrowOnError>;
16516
+ /**
16517
+ * List recurring approval groups
16518
+ *
16519
+ * Read-only rollup answering "what keeps coming back?" — groups items by `dedup_key` and returns those recurring at least `min_count` times, most-recurrent first. Each group carries the ordered item chain (via `previous_item_id`) and the resolution reasons in order, so a human can read recurring rejections side by side and graduate the pattern into a guardrail `deny`. Exact-key grouping only; no cluster state is stored.
16520
+ */
16521
+ static listApprovalRecurrences<ThrowOnError extends boolean = false>(options: Options<ListApprovalRecurrencesData, ThrowOnError>): RequestResult<ListApprovalRecurrencesResponses, ListApprovalRecurrencesErrors, ThrowOnError>;
16522
+ /**
16523
+ * Get an approval item
16524
+ *
16525
+ * Returns a single approval item with its full evidence.
16526
+ */
16527
+ static getApproval<ThrowOnError extends boolean = false>(options: Options<GetApprovalData, ThrowOnError>): RequestResult<GetApprovalResponses, GetApprovalErrors, ThrowOnError>;
16528
+ /**
16529
+ * Approve an approval item
16530
+ *
16531
+ * Approves the item. Optionally supply edited `arguments` to replace the proposed arguments (edit-then-approve); the original is preserved on the item. Expiry is re-checked at decision time — an expired item can never be approved.
16532
+ */
16533
+ static approveApproval<ThrowOnError extends boolean = false>(options: Options<ApproveApprovalData, ThrowOnError>): RequestResult<ApproveApprovalResponses, ApproveApprovalErrors, ThrowOnError>;
16534
+ /**
16535
+ * Reject an approval item
16536
+ *
16537
+ * Rejects the item. A reason is required and preserved on the item.
16538
+ */
16539
+ static rejectApproval<ThrowOnError extends boolean = false>(options: Options<RejectApprovalData, ThrowOnError>): RequestResult<RejectApprovalResponses, RejectApprovalErrors, ThrowOnError>;
16540
+ }
14815
16541
  declare class Assistant {
14816
16542
  /**
14817
16543
  * List linked identities
@@ -15203,6 +16929,32 @@ declare class Evaluations {
15203
16929
  */
15204
16930
  static cancelEvalRun<ThrowOnError extends boolean = false>(options: Options<CancelEvalRunData, ThrowOnError>): RequestResult<CancelEvalRunResponses, CancelEvalRunErrors, ThrowOnError>;
15205
16931
  }
16932
+ declare class Exceptions {
16933
+ /**
16934
+ * List exception items
16935
+ *
16936
+ * Returns exception items for a project, filterable by status, severity, and kind.
16937
+ */
16938
+ static listExceptions<ThrowOnError extends boolean = false>(options: Options<ListExceptionsData, ThrowOnError>): RequestResult<ListExceptionsResponses, ListExceptionsErrors, ThrowOnError>;
16939
+ /**
16940
+ * Get an exception item
16941
+ *
16942
+ * Returns a single exception item with its full detail.
16943
+ */
16944
+ static getException<ThrowOnError extends boolean = false>(options: Options<GetExceptionData, ThrowOnError>): RequestResult<GetExceptionResponses, GetExceptionErrors, ThrowOnError>;
16945
+ /**
16946
+ * Acknowledge an exception item
16947
+ *
16948
+ * Moves the item to `acknowledged` ("someone is on it"), recording who. A no-op that returns the item unchanged when already acknowledged; rejected when already resolved.
16949
+ */
16950
+ static acknowledgeException<ThrowOnError extends boolean = false>(options: Options<AcknowledgeExceptionData, ThrowOnError>): RequestResult<AcknowledgeExceptionResponses, AcknowledgeExceptionErrors, ThrowOnError>;
16951
+ /**
16952
+ * Resolve an exception item
16953
+ *
16954
+ * Moves the item to `resolved` ("fixed"), recording who and an optional note.
16955
+ */
16956
+ static resolveException<ThrowOnError extends boolean = false>(options: Options<ResolveExceptionData, ThrowOnError>): RequestResult<ResolveExceptionResponses, ResolveExceptionErrors, ThrowOnError>;
16957
+ }
15206
16958
  declare class Files {
15207
16959
  /**
15208
16960
  * List all files
@@ -15324,6 +17076,70 @@ declare class Generations {
15324
17076
  */
15325
17077
  static getGenerationTranscript<ThrowOnError extends boolean = false>(options: Options<GetGenerationTranscriptData, ThrowOnError>): RequestResult<GetGenerationTranscriptResponses, GetGenerationTranscriptErrors, ThrowOnError>;
15326
17078
  }
17079
+ declare class Guardrails {
17080
+ /**
17081
+ * List guardrails
17082
+ *
17083
+ * Returns all guardrails in the project.
17084
+ */
17085
+ static listGuardrails<ThrowOnError extends boolean = false>(options: Options<ListGuardrailsData, ThrowOnError>): RequestResult<ListGuardrailsResponses, ListGuardrailsErrors, ThrowOnError>;
17086
+ /**
17087
+ * Create a guardrail
17088
+ *
17089
+ * Creates a new guardrail in the project, archiving its document as version 1. The `document` is validated on write: `class` must be a literal (A/B/C/D) or a JSON Logic expression, and every variable it (and `guard`) reference must resolve to the `args.*` / `context.*` / `runtime.*` namespaces — an out-of-catalog `runtime.*` key is rejected with 400.
17090
+ *
17091
+ */
17092
+ static createGuardrail<ThrowOnError extends boolean = false>(options: Options<CreateGuardrailData, ThrowOnError>): RequestResult<CreateGuardrailResponses, CreateGuardrailErrors, ThrowOnError>;
17093
+ /**
17094
+ * Delete a guardrail
17095
+ *
17096
+ * Deletes a guardrail and its archived versions by ID.
17097
+ */
17098
+ static deleteGuardrail<ThrowOnError extends boolean = false>(options: Options<DeleteGuardrailData, ThrowOnError>): RequestResult<DeleteGuardrailResponses, DeleteGuardrailErrors, ThrowOnError>;
17099
+ /**
17100
+ * Get a guardrail
17101
+ *
17102
+ * Returns a single guardrail by ID.
17103
+ */
17104
+ static getGuardrail<ThrowOnError extends boolean = false>(options: Options<GetGuardrailData, ThrowOnError>): RequestResult<GetGuardrailResponses, GetGuardrailErrors, ThrowOnError>;
17105
+ /**
17106
+ * Update a guardrail
17107
+ *
17108
+ * Updates an existing guardrail. A `document` write that actually changes the policy increments `version` and archives the new document as a GuardrailVersion; metadata-only edits (name / description / context), and re-writing the document the guardrail already holds, leave the version untouched.
17109
+ *
17110
+ */
17111
+ static updateGuardrail<ThrowOnError extends boolean = false>(options: Options<UpdateGuardrailData, ThrowOnError>): RequestResult<UpdateGuardrailResponses, UpdateGuardrailErrors, ThrowOnError>;
17112
+ /**
17113
+ * List a guardrail's config versions
17114
+ *
17115
+ * Returns the guardrail's archived configurations, newest first. A version is written on create and on every subsequent write that changes the policy `document` — through the REST API or a formation apply alike. Metadata-only edits (name, description, context binding) do not archive a version. See [Versioning](/docs/modules/guardrails#versioning).
17116
+ *
17117
+ */
17118
+ static listGuardrailVersions<ThrowOnError extends boolean = false>(options: Options<ListGuardrailVersionsData, ThrowOnError>): RequestResult<ListGuardrailVersionsResponses, ListGuardrailVersionsErrors, ThrowOnError>;
17119
+ /**
17120
+ * Fetch an archived guardrail version
17121
+ *
17122
+ * Returns the exact configuration — and so the exact `document` — that governed at a given version. Approval items, activity entries, and exceptions record the version that governed them, so the audit chain survives edits.
17123
+ *
17124
+ */
17125
+ static getGuardrailVersion<ThrowOnError extends boolean = false>(options: Options<GetGuardrailVersionData, ThrowOnError>): RequestResult<GetGuardrailVersionResponses, GetGuardrailVersionErrors, ThrowOnError>;
17126
+ /**
17127
+ * Restore an archived guardrail config
17128
+ *
17129
+ * Writes an archived version's `document` back as the guardrail's live policy, which archives it again as a **new** version rather than rewinding the counter — so an approval item or exception citing any version in between still resolves.
17130
+ *
17131
+ * The restore runs through the ordinary update path, so the archived document is re-validated; restoring the policy the guardrail already holds is a no-op and archives nothing.
17132
+ *
17133
+ */
17134
+ static restoreGuardrailVersion<ThrowOnError extends boolean = false>(options: Options<RestoreGuardrailVersionData, ThrowOnError>): RequestResult<RestoreGuardrailVersionResponses, RestoreGuardrailVersionErrors, ThrowOnError>;
17135
+ /**
17136
+ * Dry-run evaluate a guardrail
17137
+ *
17138
+ * Runs the full evaluation pipeline — the `class` expression, the guard, the context tool per `context_mode`, live `runtime.*` resolution — against caller-supplied `args` and `guardrail_context`, and returns the exact `guardrail_evaluation` record a real call would produce. Nothing executes, no approval item is filed, and no activity entry is written. This is the adoption path: preview a document's decisions against production-shaped calls before attaching it — or before editing a widely-attached one. Pass an optional `tool_id` to resolve `runtime.tool.*`.
17139
+ *
17140
+ */
17141
+ static evaluateGuardrail<ThrowOnError extends boolean = false>(options: Options<EvaluateGuardrailData, ThrowOnError>): RequestResult<EvaluateGuardrailResponses, EvaluateGuardrailErrors, ThrowOnError>;
17142
+ }
15327
17143
  declare class IngestionRules {
15328
17144
  /**
15329
17145
  * List ingestion rules
@@ -15364,6 +17180,70 @@ declare class Knowledge {
15364
17180
  */
15365
17181
  static searchKnowledge<ThrowOnError extends boolean = false>(options: Options<SearchKnowledgeData, ThrowOnError>): RequestResult<SearchKnowledgeResponses, SearchKnowledgeErrors, ThrowOnError>;
15366
17182
  }
17183
+ declare class Memories {
17184
+ /**
17185
+ * List memories
17186
+ *
17187
+ * Returns a list of memory configurations for a project
17188
+ */
17189
+ static listMemories<ThrowOnError extends boolean = false>(options: Options<ListMemoriesData, ThrowOnError>): RequestResult<ListMemoriesResponses, ListMemoriesErrors, ThrowOnError>;
17190
+ /**
17191
+ * Create a memory
17192
+ *
17193
+ * Creates a new memory configuration in a project
17194
+ */
17195
+ static createMemory<ThrowOnError extends boolean = false>(options: Options<CreateMemoryData, ThrowOnError>): RequestResult<CreateMemoryResponses, CreateMemoryErrors, ThrowOnError>;
17196
+ /**
17197
+ * Delete a memory
17198
+ *
17199
+ * Deletes a memory configuration
17200
+ */
17201
+ static deleteMemory<ThrowOnError extends boolean = false>(options: Options<DeleteMemoryData, ThrowOnError>): RequestResult<DeleteMemoryResponses, DeleteMemoryErrors, ThrowOnError>;
17202
+ /**
17203
+ * Get a memory
17204
+ *
17205
+ * Returns a single memory configuration by ID
17206
+ */
17207
+ static getMemory<ThrowOnError extends boolean = false>(options: Options<GetMemoryData, ThrowOnError>): RequestResult<GetMemoryResponses, GetMemoryErrors, ThrowOnError>;
17208
+ /**
17209
+ * Update a memory
17210
+ *
17211
+ * Updates an existing memory configuration
17212
+ */
17213
+ static updateMemory<ThrowOnError extends boolean = false>(options: Options<UpdateMemoryData, ThrowOnError>): RequestResult<UpdateMemoryResponses, UpdateMemoryErrors, ThrowOnError>;
17214
+ }
17215
+ declare class MemoryEntries {
17216
+ /**
17217
+ * List memory entries
17218
+ *
17219
+ * Returns all entries in a memory container
17220
+ */
17221
+ static listMemoryEntries<ThrowOnError extends boolean = false>(options: Options<ListMemoryEntriesData, ThrowOnError>): RequestResult<ListMemoryEntriesResponses, ListMemoryEntriesErrors, ThrowOnError>;
17222
+ /**
17223
+ * Create a memory entry
17224
+ *
17225
+ * Creates a new entry in the specified memory container. Automatically generates an embedding for semantic search, and skips the write when an existing entry is a near-duplicate (see `duplicate_threshold`). A merely similar fact is stored as its own entry: this path has no agent context and therefore no model to consolidate two facts into one.
17226
+ */
17227
+ static createMemoryEntry<ThrowOnError extends boolean = false>(options: Options<CreateMemoryEntryData, ThrowOnError>): RequestResult<CreateMemoryEntryResponses, CreateMemoryEntryErrors, ThrowOnError>;
17228
+ /**
17229
+ * Delete a memory entry
17230
+ *
17231
+ * Deletes a memory entry
17232
+ */
17233
+ static deleteMemoryEntry<ThrowOnError extends boolean = false>(options: Options<DeleteMemoryEntryData, ThrowOnError>): RequestResult<DeleteMemoryEntryResponses, DeleteMemoryEntryErrors, ThrowOnError>;
17234
+ /**
17235
+ * Get a memory entry
17236
+ *
17237
+ * Returns a single memory entry by ID
17238
+ */
17239
+ static getMemoryEntry<ThrowOnError extends boolean = false>(options: Options<GetMemoryEntryData, ThrowOnError>): RequestResult<GetMemoryEntryResponses, GetMemoryEntryErrors, ThrowOnError>;
17240
+ /**
17241
+ * Update a memory entry
17242
+ *
17243
+ * Updates an existing memory entry. Regenerates the embedding if content changes.
17244
+ */
17245
+ static updateMemoryEntry<ThrowOnError extends boolean = false>(options: Options<UpdateMemoryEntryData, ThrowOnError>): RequestResult<UpdateMemoryEntryResponses, UpdateMemoryEntryErrors, ThrowOnError>;
17246
+ }
15367
17247
  declare class ModelRoutes {
15368
17248
  /**
15369
17249
  * List model routes
@@ -16064,6 +17944,7 @@ declare class NaturaliClient {
16064
17944
  readonly agentVersions: typeof AgentVersions;
16065
17945
  readonly aiProviders: typeof AiProviders;
16066
17946
  readonly apiKeys: typeof ApiKeys;
17947
+ readonly approvals: typeof Approvals;
16067
17948
  readonly assistant: typeof Assistant;
16068
17949
  readonly channels: typeof Channels;
16069
17950
  readonly auth: typeof Auth;
@@ -16071,10 +17952,14 @@ declare class NaturaliClient {
16071
17952
  readonly documents: typeof Documents;
16072
17953
  readonly embeddings: typeof Embeddings;
16073
17954
  readonly evaluations: typeof Evaluations;
17955
+ readonly exceptions: typeof Exceptions;
16074
17956
  readonly files: typeof Files;
16075
17957
  readonly generations: typeof Generations;
17958
+ readonly guardrails: typeof Guardrails;
16076
17959
  readonly ingestionRules: typeof IngestionRules;
16077
17960
  readonly knowledge: typeof Knowledge;
17961
+ readonly memories: typeof Memories;
17962
+ readonly memoryEntries: typeof MemoryEntries;
16078
17963
  readonly modelRoutes: typeof ModelRoutes;
16079
17964
  readonly models: typeof Models;
16080
17965
  readonly orchestrations: typeof Orchestrations;
@@ -16093,4 +17978,4 @@ declare class NaturaliClient {
16093
17978
  constructor({ token, headers }?: NaturaliClientOptions);
16094
17979
  }
16095
17980
  //#endregion
16096
- export { type AbortAgentReleaseData, type AbortAgentReleaseError, type AbortAgentReleaseErrors, type AbortAgentReleaseResponse, type AbortAgentReleaseResponses, type AcceptedGenerationResponse, type Acknowledgement, type ActorRecord, 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 Address, type AddressActionSet, type AddressList, type Agent, type AgentGenerationResponse, type AgentRelease, type AgentVersion, AgentVersions, Agents, type AggregateScores, AiProviders, type ApiKeyCreate, type ApiKeyCreated, type ApiKeyId, type ApiKeyList, type ApiKeyRecord, type ApiKeyUpdate, ApiKeys, Assistant, type AssistantChannel, type AssistantGrant, type AssistantGrantList, type AssistantLinkPreview, type AssistantLinkRedeem, type AssistantScope, Auth, type AuthSession, type BaselineComparison, type CallToolData, type CallToolError, type CallToolErrors, type CallToolRequest, type CallToolResponses, type CancelEvalRunData, type CancelEvalRunErrors, type CancelEvalRunResponse, type CancelEvalRunResponses, type CancelOrchestrationRunData, type CancelOrchestrationRunErrors, type CancelOrchestrationRunResponse, type CancelOrchestrationRunResponses, type Channel, type ChannelCreate, type ChannelDefaultAction, type ChannelDefaultActionInput, type ChannelId, type ChannelKind, type ChannelKindList, type ChannelList, type ChannelPredicate, type ChannelRoute, type ChannelRouteList, type ChannelRouteWrite, type ChannelSurface, type ChannelUpdate, Channels, type ClientOptions, type ContainsScorer, type Conversation, type ConversationId, type ConversationList, type ConversationMessage, type ConversationMessageList, type ConversationMessageRecord, type ConversationRecord, Conversations, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentData, type CreateAgentError, type CreateAgentErrors, type CreateAgentGenerationData, type CreateAgentGenerationError, type CreateAgentGenerationErrors, type CreateAgentGenerationRequest, type CreateAgentGenerationResponse, type CreateAgentGenerationResponses, type CreateAgentRequest, type CreateAgentResponse, type CreateAgentResponses, type CreateAiProviderData, type CreateAiProviderErrors, type CreateAiProviderResponse, type CreateAiProviderResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChannelData, type CreateChannelError, type CreateChannelErrors, type CreateChannelResponse, type CreateChannelResponses, type CreateChannelRouteData, type CreateChannelRouteError, type CreateChannelRouteErrors, type CreateChannelRouteResponse, type CreateChannelRouteResponses, type CreateConversationData, type CreateConversationError, type CreateConversationErrors, type CreateConversationResponse, type CreateConversationResponses, type CreateDatasetData, type CreateDatasetErrors, type CreateDatasetItemData, type CreateDatasetItemErrors, type CreateDatasetItemFromGenerationData, type CreateDatasetItemFromGenerationErrors, type CreateDatasetItemFromGenerationResponse, type CreateDatasetItemFromGenerationResponses, type CreateDatasetItemResponse, type CreateDatasetItemResponses, type CreateDatasetResponse, type CreateDatasetResponses, type CreateDocumentData, type CreateDocumentError, type CreateDocumentErrors, type CreateDocumentResponse, type CreateDocumentResponses, type CreateEmbeddingsData, type CreateEmbeddingsError, type CreateEmbeddingsErrors, type CreateEmbeddingsResponse, type CreateEmbeddingsResponses, type CreateEvalData, type CreateEvalErrors, type CreateEvalResponse, type CreateEvalResponses, type CreateFileData, type CreateFileError, type CreateFileErrors, type CreateFileResponse, type CreateFileResponses, type CreateIngestionRuleData, type CreateIngestionRuleErrors, type CreateIngestionRuleResponse, type CreateIngestionRuleResponses, type CreateModelRouteData, type CreateModelRouteErrors, type CreateModelRouteResponse, type CreateModelRouteResponses, type CreateOrchestrationData, type CreateOrchestrationErrors, type CreateOrchestrationRequest, type CreateOrchestrationResponse, type CreateOrchestrationResponses, type CreateProjectData, type CreateProjectError, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateSecretData, type CreateSecretErrors, type CreateSecretResponse, type CreateSecretResponses, type CreateSessionData, type CreateSessionError, type CreateSessionErrors, type CreateSessionRequest, type CreateSessionResponse, type CreateSessionResponses, type CreateTaskData, type CreateTaskErrors, type CreateTaskRequest, type CreateTaskResponse, type CreateTaskResponses, type CreateToolData, type CreateToolError, type CreateToolErrors, type CreateToolRequest, type CreateToolResponse, type CreateToolResponses, type CreateTriggerData, type CreateTriggerErrors, type CreateTriggerRequest, type CreateTriggerResponse, type CreateTriggerResponses, type CreateWebhookData, type CreateWebhookError, type CreateWebhookErrors, type CreateWebhookResponse, type CreateWebhookResponses, type CreateWorkflowData, type CreateWorkflowErrors, type CreateWorkflowRequest, type CreateWorkflowResponse, type CreateWorkflowResponses, type Cursor, type Dataset, type DatasetItem, type DatasetItemInput, type DeleteActorData, type DeleteActorError, type DeleteActorErrors, type DeleteActorResponse, type DeleteActorResponses, type DeleteAddressData, type DeleteAddressError, type DeleteAddressErrors, type DeleteAddressResponse, type DeleteAddressResponses, type DeleteAgentData, type DeleteAgentError, type DeleteAgentErrors, type DeleteAgentResponse, type DeleteAgentResponses, type DeleteAiProviderData, type DeleteAiProviderErrors, type DeleteAiProviderResponse, type DeleteAiProviderResponses, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyErrors, type DeleteApiKeyResponse, type DeleteApiKeyResponses, type DeleteChannelData, type DeleteChannelError, type DeleteChannelErrors, type DeleteChannelResponse, type DeleteChannelResponses, type DeleteChannelRouteData, type DeleteChannelRouteError, type DeleteChannelRouteErrors, type DeleteChannelRouteResponse, type DeleteChannelRouteResponses, type DeleteConversationData, type DeleteConversationError, type DeleteConversationErrors, type DeleteConversationResponse, type DeleteConversationResponses, type DeleteDatasetData, type DeleteDatasetErrors, type DeleteDatasetItemData, type DeleteDatasetItemErrors, type DeleteDatasetItemResponse, type DeleteDatasetItemResponses, type DeleteDatasetResponse, type DeleteDatasetResponses, type DeleteDocumentData, type DeleteDocumentError, type DeleteDocumentErrors, type DeleteDocumentResponse, type DeleteDocumentResponses, type DeleteEvalData, type DeleteEvalErrors, type DeleteEvalResponse, type DeleteEvalResponses, type DeleteFileData, type DeleteFileError, type DeleteFileErrors, type DeleteFileResponse, type DeleteFileResponses, type DeleteIngestionRuleData, type DeleteIngestionRuleErrors, type DeleteIngestionRuleResponse, type DeleteIngestionRuleResponses, type DeleteModelRouteData, type DeleteModelRouteErrors, type DeleteModelRouteResponse, type DeleteModelRouteResponses, type DeleteOrchestrationData, type DeleteOrchestrationErrors, type DeleteOrchestrationResponse, type DeleteOrchestrationResponses, type DeleteProjectData, type DeleteProjectError, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteSecretData, type DeleteSecretErrors, type DeleteSecretResponses, type DeleteSessionData, type DeleteSessionError, type DeleteSessionErrors, type DeleteSessionResponse, type DeleteSessionResponses, type DeleteTaskData, type DeleteTaskErrors, type DeleteTaskResponse, type DeleteTaskResponses, type DeleteToolData, type DeleteToolError, type DeleteToolErrors, type DeleteToolResponse, type DeleteToolResponses, type DeleteTriggerData, type DeleteTriggerErrors, type DeleteTriggerResponse, type DeleteTriggerResponses, type DeleteWebhookData, type DeleteWebhookError, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type DeleteWorkflowData, type DeleteWorkflowErrors, type DeleteWorkflowResponse, type DeleteWorkflowResponses, type DeliveryId, type DiscordModes, type DocumentKnowledgeResult, type DocumentMessageContent, type DocumentRecord, type 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 EnableManagedModelsData, type EnableManagedModelsError, type EnableManagedModelsErrors, type EnableManagedModelsResponse, type EnableManagedModelsResponses, type ErrorResponse, type Eval, type EvalResult, type EvalRun, Evaluations, type Event, type EventSubscription, type EventType, type ExactMatchScorer, type FileRecord, type FileRecordWritable, Files, type FireTriggerData, type FireTriggerErrors, type FireTriggerRequest, type FireTriggerResponse, type FireTriggerResponses, type Force, type ForkSessionData, type ForkSessionError, type ForkSessionErrors, type ForkSessionRequest, type ForkSessionResponse, type ForkSessionResponses, type GenerateConversationMessageCompleted, type GenerateConversationMessageData, type GenerateConversationMessageError, type GenerateConversationMessageErrors, type GenerateConversationMessageRequiresAction, type GenerateConversationMessageResponse, type GenerateConversationMessageResponse2, type GenerateConversationMessageResponses, type GenerateSessionRequest, type GenerateSessionResponse, type GenerateSessionResponseData, type GenerateSessionResponseError, type GenerateSessionResponseErrors, type GenerateSessionResponseResponse, type GenerateSessionResponseResponses, type Generation, type GenerationTranscript, Generations, type GetActorData, type GetActorError, type GetActorErrors, type GetActorResponse, type GetActorResponses, type GetActorTagsData, type GetActorTagsError, type GetActorTagsErrors, type GetActorTagsResponse, type GetActorTagsResponses, type GetAddressData, type GetAddressError, type GetAddressErrors, type GetAddressResponse, type GetAddressResponses, type GetAgentData, type GetAgentError, type GetAgentErrors, type GetAgentResponse, type GetAgentResponses, type GetAgentVersionData, type GetAgentVersionError, type GetAgentVersionErrors, type GetAgentVersionResponse, type GetAgentVersionResponses, type GetAiProviderData, type GetAiProviderErrors, type GetAiProviderPricesData, type GetAiProviderPricesErrors, type GetAiProviderPricesResponse, type GetAiProviderPricesResponses, type GetAiProviderResponse, type GetAiProviderResponses, type GetApiKeyData, type GetApiKeyError, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, type GetChannelConversationData, type GetChannelConversationError, type GetChannelConversationErrors, type GetChannelConversationResponse, type GetChannelConversationResponses, type GetChannelData, type GetChannelError, type GetChannelErrors, type GetChannelResponse, type GetChannelResponses, type GetChannelRouteData, type GetChannelRouteError, type GetChannelRouteErrors, type GetChannelRouteResponse, type GetChannelRouteResponses, type GetConversationData, type GetConversationError, type GetConversationErrors, type GetConversationResponse, type GetConversationResponses, type GetConversationTagsData, type GetConversationTagsError, type GetConversationTagsErrors, type GetConversationTagsResponse, type GetConversationTagsResponses, type 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 GetFileData, type GetFileError, type GetFileErrors, type GetFileResponse, type GetFileResponses, type GetFileTagsData, type GetFileTagsError, type GetFileTagsErrors, type GetFileTagsResponse, type GetFileTagsResponses, type GetGenerationData, type GetGenerationError, type GetGenerationErrors, type GetGenerationResponse, type GetGenerationResponses, type GetGenerationTranscriptData, type GetGenerationTranscriptError, type GetGenerationTranscriptErrors, type GetGenerationTranscriptResponse, type GetGenerationTranscriptResponses, type GetIngestionRuleData, type GetIngestionRuleErrors, type GetIngestionRuleResponse, type GetIngestionRuleResponses, type GetModelData, type GetModelError, type GetModelErrors, type GetModelResponse, type GetModelResponses, type GetModelRouteData, type GetModelRouteErrors, type GetModelRouteResponse, type GetModelRouteResponses, type GetOrchestrationData, type GetOrchestrationErrors, type GetOrchestrationResponse, type GetOrchestrationResponses, type GetOrchestrationRunData, type GetOrchestrationRunErrors, type GetOrchestrationRunResponse, type GetOrchestrationRunResponses, type GetOrchestrationVersionData, type GetOrchestrationVersionErrors, type GetOrchestrationVersionResponse, type GetOrchestrationVersionResponses, type GetProjectData, type GetProjectError, type GetProjectErrors, type GetProjectResponse, type GetProjectResponses, type GetProjectUsageData, type GetProjectUsageError, type GetProjectUsageErrors, type GetProjectUsageResponse, type GetProjectUsageResponses, type GetQueueStatsData, type GetQueueStatsErrors, type GetQueueStatsResponse, type GetQueueStatsResponses, type GetSecretData, type GetSecretErrors, type GetSecretResponse, type GetSecretResponses, type GetSessionData, type GetSessionError, type GetSessionErrors, type GetSessionResponse, type GetSessionResponses, type GetSessionTagsData, type GetSessionTagsError, type GetSessionTagsErrors, type GetSessionTagsResponse, type GetSessionTagsResponses, type GetTaskData, type GetTaskErrors, type GetTaskHistoryData, type GetTaskHistoryErrors, type GetTaskHistoryResponse, type GetTaskHistoryResponses, type GetTaskResponse, type GetTaskResponses, type GetToolData, type GetToolError, type GetToolErrors, type GetToolResponse, type GetToolResponses, type GetTraceData, type GetTraceError, type GetTraceErrors, type GetTraceResponse, type GetTraceResponses, type GetTraceTreeData, type GetTraceTreeError, type GetTraceTreeErrors, type GetTraceTreeResponse, type GetTraceTreeResponses, type GetTriggerData, type GetTriggerErrors, type GetTriggerFiringData, type GetTriggerFiringErrors, type GetTriggerFiringResponse, type GetTriggerFiringResponses, type GetTriggerResponse, type GetTriggerResponses, type GetTriggerSecretData, type GetTriggerSecretErrors, type GetTriggerSecretResponse, type GetTriggerSecretResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryError, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookError, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type GetWorkflowData, type GetWorkflowErrors, type GetWorkflowResponse, type GetWorkflowResponses, type GetWorkflowVersionData, type GetWorkflowVersionErrors, type GetWorkflowVersionResponse, type GetWorkflowVersionResponses, type GrantId, type HumanInputRequest, type IdempotencyKey, type Identifier, type IngestDocumentData, type IngestDocumentError, type IngestDocumentErrors, type IngestDocumentResponse, type IngestDocumentResponses, type IngestedDocumentRecord, type IngestionRule, IngestionRules, type JsonLogicScorer, Knowledge, type KnowledgeResult, type Limit, type LinkToken, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAddressConversationsData, type ListAddressConversationsError, type ListAddressConversationsErrors, type ListAddressConversationsResponse, type ListAddressConversationsResponses, type ListAddressesData, type ListAddressesError, type ListAddressesErrors, type ListAddressesResponse, type ListAddressesResponses, type ListAgentVersionsData, type ListAgentVersionsError, type ListAgentVersionsErrors, type ListAgentVersionsResponse, type ListAgentVersionsResponses, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListAiProviderModelsData, type ListAiProviderModelsErrors, type ListAiProviderModelsResponse, type ListAiProviderModelsResponses, type ListAiProvidersData, type ListAiProvidersErrors, type ListAiProvidersResponse, type ListAiProvidersResponses, type ListApiKeysData, type ListApiKeysError, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListAssistantGrantsData, type ListAssistantGrantsError, type ListAssistantGrantsErrors, type ListAssistantGrantsResponse, type ListAssistantGrantsResponses, type ListChannelConversationMessagesData, type ListChannelConversationMessagesError, type ListChannelConversationMessagesErrors, type ListChannelConversationMessagesResponse, type ListChannelConversationMessagesResponses, type ListChannelConversationsData, type ListChannelConversationsError, type ListChannelConversationsErrors, type ListChannelConversationsResponse, type ListChannelConversationsResponses, type ListChannelKindsData, type ListChannelKindsError, type ListChannelKindsErrors, type ListChannelKindsResponse, type ListChannelKindsResponses, type ListChannelRoutesData, type ListChannelRoutesError, type ListChannelRoutesErrors, type ListChannelRoutesResponse, type ListChannelRoutesResponses, type ListChannelsData, type ListChannelsError, type ListChannelsErrors, type ListChannelsResponse, type ListChannelsResponses, type ListConversationMessagesData, type ListConversationMessagesError, type ListConversationMessagesErrors, type ListConversationMessagesResponse, type ListConversationMessagesResponses, type ListConversationsData, type ListConversationsError, type ListConversationsErrors, type ListConversationsResponse, type ListConversationsResponses, type ListDatasetItemsData, type ListDatasetItemsErrors, type ListDatasetItemsResponse, type ListDatasetItemsResponses, type ListDatasetsData, type ListDatasetsErrors, type ListDatasetsResponse, type ListDatasetsResponses, type ListDocumentsData, type ListDocumentsError, type ListDocumentsErrors, type ListDocumentsResponse, type ListDocumentsResponses, type ListEvalResultsData, type ListEvalResultsErrors, type ListEvalResultsResponse, type ListEvalResultsResponses, type ListEvalRunsData, type ListEvalRunsErrors, type ListEvalRunsResponse, type ListEvalRunsResponses, type ListEvalsData, type ListEvalsErrors, type ListEvalsResponse, type ListEvalsResponses, type ListFilesData, type ListFilesError, type ListFilesErrors, type ListFilesResponse, type ListFilesResponses, type ListGenerationsData, type ListGenerationsError, type ListGenerationsErrors, type ListGenerationsResponse, type ListGenerationsResponses, type ListIngestionRulesData, type ListIngestionRulesErrors, type ListIngestionRulesResponse, type ListIngestionRulesResponses, type ListModelRoutesData, type ListModelRoutesErrors, type ListModelRoutesResponse, type ListModelRoutesResponses, type ListModelsData, type ListModelsError, type ListModelsErrors, type ListModelsResponse, type ListModelsResponses, type ListOrchestrationRunsData, type ListOrchestrationRunsErrors, type ListOrchestrationRunsResponse, type ListOrchestrationRunsResponses, type ListOrchestrationVersionsData, type ListOrchestrationVersionsErrors, type ListOrchestrationVersionsResponse, type ListOrchestrationVersionsResponses, type ListOrchestrationsData, type ListOrchestrationsErrors, type ListOrchestrationsResponse, type ListOrchestrationsResponses, type ListProjectChannelRoutesData, type ListProjectChannelRoutesError, type ListProjectChannelRoutesErrors, type ListProjectChannelRoutesResponse, type ListProjectChannelRoutesResponses, type ListProjectMembersData, type ListProjectMembersError, type ListProjectMembersErrors, type ListProjectMembersResponse, type ListProjectMembersResponses, type ListProjectsData, type ListProjectsError, type ListProjectsErrors, type ListProjectsResponse, type ListProjectsResponses, 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 ListWebhookDeliveriesData, type ListWebhookDeliveriesError, type ListWebhookDeliveriesErrors, type ListWebhookDeliveriesResponse, type ListWebhookDeliveriesResponses, type ListWebhooksData, type ListWebhooksError, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type ListWorkflowVersionsData, type ListWorkflowVersionsErrors, type ListWorkflowVersionsResponse, type ListWorkflowVersionsResponses, type ListWorkflowsData, type ListWorkflowsErrors, type ListWorkflowsResponse, type ListWorkflowsResponses, type LlmJudgeScorer, type LogoutData, type LogoutError, type LogoutErrors, type LogoutRequest, type LogoutResponse, type LogoutResponses, type ManagedProvider, type MemoryKnowledgeResult, type MergeActorTagsData, type MergeActorTagsError, type MergeActorTagsErrors, type MergeActorTagsResponse, type MergeActorTagsResponses, type MergeConversationTagsData, type MergeConversationTagsError, type MergeConversationTagsErrors, type MergeConversationTagsResponse, type MergeConversationTagsResponses, type MergeDocumentTagsData, type MergeDocumentTagsError, type MergeDocumentTagsErrors, type MergeDocumentTagsResponse, type MergeDocumentTagsResponses, type MergeFileTagsData, type MergeFileTagsError, type MergeFileTagsErrors, type MergeFileTagsResponse, type MergeFileTagsResponses, type MergeSessionTagsData, type MergeSessionTagsError, type MergeSessionTagsErrors, type MergeSessionTagsResponse, type MergeSessionTagsResponses, type MessagesLimit, type Model, type ModelId, type ModelList, type ModelRoute, type ModelRouteTarget, ModelRoutes, Models, NaturaliClient, type NaturaliClientOptions, type NodeExecution, type Offset, type OpenChannelConversationData, type OpenChannelConversationError, type OpenChannelConversationErrors, type OpenChannelConversationResponse, type OpenChannelConversationResponses, type Options, type Orchestration, type OrchestrationEdge, type OrchestrationId, type OrchestrationNode, type OrchestrationRun, type OrchestrationRunId, type OrchestrationVersion, Orchestrations, type OutputSchemaScorer, type PatchAgentData, type PatchAgentError, type PatchAgentErrors, type PatchAgentResponse, type PatchAgentResponses, type PreviewAssistantLinkData, type PreviewAssistantLinkError, type PreviewAssistantLinkErrors, type PreviewAssistantLinkResponse, type PreviewAssistantLinkResponses, type Project, type ProjectCreate, type ProjectId, type ProjectList, type ProjectMember, type ProjectMemberList, type ProjectRole, type ProjectUpdate, type ProjectUsage, 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 RedeemAssistantLinkData, type RedeemAssistantLinkError, type RedeemAssistantLinkErrors, type RedeemAssistantLinkResponse, type RedeemAssistantLinkResponses, type RedeliverWebhookDeliveryData, type RedeliverWebhookDeliveryError, type RedeliverWebhookDeliveryErrors, type RedeliverWebhookDeliveryResponse, type RedeliverWebhookDeliveryResponses, type RefreshRequest, type RefreshSessionData, type RefreshSessionError, type RefreshSessionErrors, type RefreshSessionResponse, type RefreshSessionResponses, type ReingestDocumentData, type ReingestDocumentError, type ReingestDocumentErrors, type ReingestDocumentResponse, type ReingestDocumentResponses, type 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 RequestSignInCodeData, type RequestSignInCodeError, type RequestSignInCodeErrors, type RequestSignInCodeResponse, type RequestSignInCodeResponses, type RequiredAction, type RestoreAgentVersionData, type RestoreAgentVersionError, type RestoreAgentVersionErrors, type RestoreAgentVersionRequest, type RestoreAgentVersionResponse, type RestoreAgentVersionResponses, 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 RevokeAssistantGrantData, type RevokeAssistantGrantError, type RevokeAssistantGrantErrors, type RevokeAssistantGrantResponse, type RevokeAssistantGrantResponses, type RotateApiKeyData, type RotateApiKeyError, type RotateApiKeyErrors, type RotateApiKeyResponse, type RotateApiKeyResponses, type RotateTriggerSecretData, type RotateTriggerSecretErrors, type RotateTriggerSecretResponse, type RotateTriggerSecretResponses, type RotateWebhookSecretData, type RotateWebhookSecretError, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RouteId, type RunUsageTotals, type ScorerResult, type Scorers, type SearchKnowledgeData, type SearchKnowledgeError, type SearchKnowledgeErrors, type SearchKnowledgeResponse, type SearchKnowledgeResponses, Secrets, type SendSessionMessageResponse, type SessionId, type SessionRecord, Sessions, type SetAddressActionData, type SetAddressActionError, type SetAddressActionErrors, type SetAddressActionResponse, type SetAddressActionResponses, type SetAgentReleaseData, type SetAgentReleaseError, type SetAgentReleaseErrors, type SetAgentReleaseRequest, type SetAgentReleaseResponse, type SetAgentReleaseResponses, type SignInCodeRequest, type SignInCodeVerify, type StartEvalRunData, type StartEvalRunErrors, type StartEvalRunResponse, type StartEvalRunResponses, type StartOrchestrationRunData, type StartOrchestrationRunErrors, type StartOrchestrationRunResponse, type StartOrchestrationRunResponses, type StartRunRequest, type SubmitAgentToolOutputsData, type SubmitAgentToolOutputsError, type SubmitAgentToolOutputsErrors, type SubmitAgentToolOutputsResponse, type SubmitAgentToolOutputsResponses, type SubmitHumanInputData, type SubmitHumanInputErrors, type SubmitHumanInputResponse, type SubmitHumanInputResponses, type SubmitSessionToolOutputsData, type SubmitSessionToolOutputsError, type SubmitSessionToolOutputsErrors, type SubmitSessionToolOutputsRequest, type SubmitSessionToolOutputsResponse, type SubmitSessionToolOutputsResponses, type SubmitToolOutputsRequest, type Task, type TaskTransition, Tasks, type Tool, type ToolBinding, type ToolOutputMessageContent, type 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 TriggerSecretResponse, type TriggerWithSecret, Triggers, type UpdateActorData, type UpdateActorError, type UpdateActorErrors, type UpdateActorResponse, type UpdateActorResponses, type UpdateAgentData, type UpdateAgentError, type UpdateAgentErrors, type UpdateAgentRequest, type UpdateAgentResponse, type UpdateAgentResponses, type UpdateAiProviderData, type UpdateAiProviderErrors, type UpdateAiProviderPricesData, type UpdateAiProviderPricesErrors, type UpdateAiProviderPricesResponse, type UpdateAiProviderPricesResponses, type UpdateAiProviderResponses, type UpdateApiKeyData, type UpdateApiKeyError, type UpdateApiKeyErrors, type UpdateApiKeyResponse, type UpdateApiKeyResponses, type UpdateChannelData, type UpdateChannelError, type UpdateChannelErrors, type UpdateChannelResponse, type UpdateChannelResponses, type UpdateChannelRouteData, type UpdateChannelRouteError, type UpdateChannelRouteErrors, type UpdateChannelRouteResponse, type UpdateChannelRouteResponses, type UpdateConversationData, type UpdateConversationError, type UpdateConversationErrors, type UpdateConversationResponse, type UpdateConversationResponses, type UpdateCurrentUserData, type UpdateCurrentUserError, type UpdateCurrentUserErrors, type UpdateCurrentUserResponse, type UpdateCurrentUserResponses, type UpdateDatasetData, type UpdateDatasetErrors, type UpdateDatasetItemData, type UpdateDatasetItemErrors, type UpdateDatasetItemResponse, type UpdateDatasetItemResponses, type UpdateDatasetResponse, type UpdateDatasetResponses, type UpdateDocumentData, type UpdateDocumentError, type UpdateDocumentErrors, type UpdateDocumentResponse, type UpdateDocumentResponses, type UpdateEvalData, type UpdateEvalErrors, type UpdateEvalResponse, type UpdateEvalResponses, type UpdateFileMetadataData, type UpdateFileMetadataError, type UpdateFileMetadataErrors, type UpdateFileMetadataResponse, type UpdateFileMetadataResponses, type UpdateGenerationData, type UpdateGenerationError, type UpdateGenerationErrors, type UpdateGenerationRequest, type UpdateGenerationResponse, type UpdateGenerationResponses, type UpdateIngestionRuleData, type UpdateIngestionRuleErrors, type UpdateIngestionRuleResponse, type UpdateIngestionRuleResponses, type UpdateModelRouteData, type UpdateModelRouteErrors, type UpdateModelRouteResponse, type UpdateModelRouteResponses, type UpdateOrchestrationData, type UpdateOrchestrationErrors, type UpdateOrchestrationRequest, type UpdateOrchestrationResponse, type UpdateOrchestrationResponses, type UpdateProjectData, type UpdateProjectError, type UpdateProjectErrors, type UpdateProjectResponse, type UpdateProjectResponses, 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 UpdateWebhookError, type UpdateWebhookErrors, type UpdateWebhookResponse, type UpdateWebhookResponses, type UpdateWorkflowData, type UpdateWorkflowErrors, type UpdateWorkflowRequest, type UpdateWorkflowResponse, type UpdateWorkflowResponses, type UploadFileBase64Data, type UploadFileBase64Error, type UploadFileBase64Errors, type UploadFileBase64Request, type UploadFileBase64Response, type UploadFileBase64Responses, type UploadFileData, type UploadFileError, type UploadFileErrors, type UploadFileResponse, type UploadFileResponses, type UpsertProviderPricesRequest, type UsageComponent, type UsageComponents, type UsageGroup, type UsageTokens, type User, type UserUpdate, Users, type ValidateOrchestrationData, type ValidateOrchestrationErrors, type ValidateOrchestrationRequest, type ValidateOrchestrationResponse, type ValidateOrchestrationResponses, type ValidationError, type ValidationResult, type VerifySignInCodeData, type VerifySignInCodeError, type VerifySignInCodeErrors, type VerifySignInCodeResponse, type VerifySignInCodeResponses, type Webhook, type WebhookCreate, type WebhookDelivery, type WebhookDeliveryList, type WebhookId, type WebhookList, type WebhookUpdate, type WebhookWithSecret, Webhooks, type Workflow, type WorkflowState, type WorkflowTransition, type WorkflowVersion, Workflows, createClient, createConfig };
17981
+ export { type AbortAgentReleaseData, type AbortAgentReleaseError, type AbortAgentReleaseErrors, type AbortAgentReleaseResponse, type AbortAgentReleaseResponses, type AcceptedGenerationResponse, type AcknowledgeExceptionData, type AcknowledgeExceptionErrors, type AcknowledgeExceptionResponse, type AcknowledgeExceptionResponses, type Acknowledgement, type ActorRecord, 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 Address, type AddressActionSet, type AddressList, type Agent, type AgentGenerationResponse, type AgentRelease, type AgentVersion, AgentVersions, Agents, type AggregateScores, AiProviders, type ApiKeyCreate, type ApiKeyCreated, type ApiKeyId, type ApiKeyList, type ApiKeyRecord, type ApiKeyUpdate, ApiKeys, type ApprovalId, type ApprovalItem, type ApprovalRecurrenceGroup, Approvals, type ApproveApprovalData, type ApproveApprovalErrors, type ApproveApprovalResponse, type ApproveApprovalResponses, Assistant, type AssistantChannel, type AssistantGrant, type AssistantGrantList, type AssistantLinkPreview, type AssistantLinkRedeem, type AssistantScope, Auth, type AuthSession, type BaselineComparison, type CallToolData, type CallToolError, type CallToolErrors, type CallToolRequest, type CallToolResponses, type CancelEvalRunData, type CancelEvalRunErrors, type CancelEvalRunResponse, type CancelEvalRunResponses, type CancelOrchestrationRunData, type CancelOrchestrationRunErrors, type CancelOrchestrationRunResponse, type CancelOrchestrationRunResponses, type Channel, type ChannelCreate, type ChannelDefaultAction, type ChannelDefaultActionInput, type ChannelId, type ChannelKind, type ChannelKindList, type ChannelList, type ChannelPredicate, type ChannelRoute, type ChannelRouteList, type ChannelRouteWrite, type ChannelSurface, type ChannelUpdate, Channels, type ClientOptions, type ContainsScorer, type Conversation, type ConversationId, type ConversationList, type ConversationMessage, type ConversationMessageList, type ConversationMessageRecord, type ConversationRecord, Conversations, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentData, type CreateAgentError, type CreateAgentErrors, type CreateAgentGenerationData, type CreateAgentGenerationError, type CreateAgentGenerationErrors, type CreateAgentGenerationRequest, type CreateAgentGenerationResponse, type CreateAgentGenerationResponses, type CreateAgentRequest, type CreateAgentResponse, type CreateAgentResponses, type CreateAiProviderData, type CreateAiProviderErrors, type CreateAiProviderResponse, type CreateAiProviderResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChannelData, type CreateChannelError, type CreateChannelErrors, type CreateChannelResponse, type CreateChannelResponses, type CreateChannelRouteData, type CreateChannelRouteError, type CreateChannelRouteErrors, type CreateChannelRouteResponse, type CreateChannelRouteResponses, type CreateConversationData, type CreateConversationError, type CreateConversationErrors, type CreateConversationResponse, type CreateConversationResponses, type CreateDatasetData, type CreateDatasetErrors, type CreateDatasetItemData, type CreateDatasetItemErrors, type CreateDatasetItemFromGenerationData, type CreateDatasetItemFromGenerationErrors, type CreateDatasetItemFromGenerationResponse, type CreateDatasetItemFromGenerationResponses, type CreateDatasetItemResponse, type CreateDatasetItemResponses, type CreateDatasetResponse, type CreateDatasetResponses, type CreateDocumentData, type CreateDocumentError, type CreateDocumentErrors, type CreateDocumentResponse, type CreateDocumentResponses, type CreateEmbeddingsData, type CreateEmbeddingsError, type CreateEmbeddingsErrors, type CreateEmbeddingsResponse, type CreateEmbeddingsResponses, type CreateEvalData, type CreateEvalErrors, type CreateEvalResponse, type CreateEvalResponses, type CreateFileData, type CreateFileError, type CreateFileErrors, type CreateFileResponse, type CreateFileResponses, type CreateGuardrailData, type CreateGuardrailError, type CreateGuardrailErrors, type CreateGuardrailRequest, type CreateGuardrailResponse, type CreateGuardrailResponses, type CreateIngestionRuleData, type CreateIngestionRuleErrors, type CreateIngestionRuleResponse, type CreateIngestionRuleResponses, type CreateMemoryData, type CreateMemoryEntryData, type CreateMemoryEntryErrors, type CreateMemoryEntryResponse, type CreateMemoryEntryResponses, type CreateMemoryErrors, type CreateMemoryResponse, type CreateMemoryResponses, type CreateModelRouteData, type CreateModelRouteErrors, type CreateModelRouteResponse, type CreateModelRouteResponses, type CreateOrchestrationData, type CreateOrchestrationErrors, type CreateOrchestrationRequest, type CreateOrchestrationResponse, type CreateOrchestrationResponses, type CreateProjectData, type CreateProjectError, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateSecretData, type CreateSecretErrors, type CreateSecretResponse, type CreateSecretResponses, type CreateSessionData, type CreateSessionError, type CreateSessionErrors, type CreateSessionRequest, type CreateSessionResponse, type CreateSessionResponses, type CreateTaskData, type CreateTaskErrors, type CreateTaskRequest, type CreateTaskResponse, type CreateTaskResponses, type CreateToolData, type CreateToolError, type CreateToolErrors, type CreateToolRequest, type CreateToolResponse, type CreateToolResponses, type CreateTriggerData, type CreateTriggerErrors, type CreateTriggerRequest, type CreateTriggerResponse, type CreateTriggerResponses, type CreateWebhookData, type CreateWebhookError, type CreateWebhookErrors, type CreateWebhookResponse, type CreateWebhookResponses, type CreateWorkflowData, type CreateWorkflowErrors, type CreateWorkflowRequest, type CreateWorkflowResponse, type CreateWorkflowResponses, type Cursor, type Dataset, type DatasetItem, type DatasetItemInput, type DeleteActorData, type DeleteActorError, type DeleteActorErrors, type DeleteActorResponse, type DeleteActorResponses, type DeleteAddressData, type DeleteAddressError, type DeleteAddressErrors, type DeleteAddressResponse, type DeleteAddressResponses, type DeleteAgentData, type DeleteAgentError, type DeleteAgentErrors, type DeleteAgentResponse, type DeleteAgentResponses, type DeleteAiProviderData, type DeleteAiProviderErrors, type DeleteAiProviderResponse, type DeleteAiProviderResponses, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyErrors, type DeleteApiKeyResponse, type DeleteApiKeyResponses, type DeleteChannelData, type DeleteChannelError, type DeleteChannelErrors, type DeleteChannelResponse, type DeleteChannelResponses, type DeleteChannelRouteData, type DeleteChannelRouteError, type DeleteChannelRouteErrors, type DeleteChannelRouteResponse, type DeleteChannelRouteResponses, type DeleteConversationData, type DeleteConversationError, type DeleteConversationErrors, type DeleteConversationResponse, type DeleteConversationResponses, type DeleteDatasetData, type DeleteDatasetErrors, type DeleteDatasetItemData, type DeleteDatasetItemErrors, type DeleteDatasetItemResponse, type DeleteDatasetItemResponses, type DeleteDatasetResponse, type DeleteDatasetResponses, type DeleteDocumentData, type DeleteDocumentError, type DeleteDocumentErrors, type DeleteDocumentResponse, type DeleteDocumentResponses, type DeleteEvalData, type DeleteEvalErrors, type DeleteEvalResponse, type DeleteEvalResponses, type DeleteFileData, type DeleteFileError, type DeleteFileErrors, type DeleteFileResponse, type DeleteFileResponses, type DeleteGuardrailData, type DeleteGuardrailError, type DeleteGuardrailErrors, type DeleteGuardrailResponse, type DeleteGuardrailResponses, type DeleteIngestionRuleData, type DeleteIngestionRuleErrors, type DeleteIngestionRuleResponse, type DeleteIngestionRuleResponses, type DeleteMemoryData, type DeleteMemoryEntryData, type DeleteMemoryEntryErrors, type DeleteMemoryEntryResponse, type DeleteMemoryEntryResponses, type DeleteMemoryErrors, type DeleteMemoryResponse, type DeleteMemoryResponses, type DeleteModelRouteData, type DeleteModelRouteErrors, type DeleteModelRouteResponse, type DeleteModelRouteResponses, type DeleteOrchestrationData, type DeleteOrchestrationErrors, type DeleteOrchestrationResponse, type DeleteOrchestrationResponses, type DeleteProjectData, type DeleteProjectError, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteSecretData, type DeleteSecretErrors, type DeleteSecretResponses, type DeleteSessionData, type DeleteSessionError, type DeleteSessionErrors, type DeleteSessionResponse, type DeleteSessionResponses, type DeleteTaskData, type DeleteTaskErrors, type DeleteTaskResponse, type DeleteTaskResponses, type DeleteToolData, type DeleteToolError, type DeleteToolErrors, type DeleteToolResponse, type DeleteToolResponses, type DeleteTriggerData, type DeleteTriggerErrors, type DeleteTriggerResponse, type DeleteTriggerResponses, type DeleteWebhookData, type DeleteWebhookError, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type DeleteWorkflowData, type DeleteWorkflowErrors, type DeleteWorkflowResponse, type DeleteWorkflowResponses, type DeliveryId, type DiscordModes, type DocumentKnowledgeResult, type DocumentMessageContent, type DocumentRecord, type 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 EnableManagedModelsData, type EnableManagedModelsError, type EnableManagedModelsErrors, type EnableManagedModelsResponse, type EnableManagedModelsResponses, type ErrorResponse, type Eval, type EvalResult, type EvalRun, type EvaluateGuardrailData, type EvaluateGuardrailError, type EvaluateGuardrailErrors, type EvaluateGuardrailResponse, type EvaluateGuardrailResponses, Evaluations, type Event, type EventSubscription, type EventType, type ExactMatchScorer, type ExceptionId, type ExceptionItem, Exceptions, type FileRecord, type FileRecordWritable, Files, type FireTriggerData, type FireTriggerErrors, type FireTriggerRequest, type FireTriggerResponse, type FireTriggerResponses, type Force, type ForkSessionData, type ForkSessionError, type ForkSessionErrors, type ForkSessionRequest, type ForkSessionResponse, type ForkSessionResponses, type GenerateConversationMessageCompleted, type GenerateConversationMessageData, type GenerateConversationMessageError, type GenerateConversationMessageErrors, type GenerateConversationMessageRequiresAction, type GenerateConversationMessageResponse, type GenerateConversationMessageResponse2, type GenerateConversationMessageResponses, type GenerateSessionRequest, type GenerateSessionResponse, type GenerateSessionResponseData, type GenerateSessionResponseError, type GenerateSessionResponseErrors, type GenerateSessionResponseResponse, type GenerateSessionResponseResponses, type Generation, type GenerationTranscript, Generations, type GetActorData, type GetActorError, type GetActorErrors, type GetActorResponse, type GetActorResponses, type GetActorTagsData, type GetActorTagsError, type GetActorTagsErrors, type GetActorTagsResponse, type GetActorTagsResponses, type GetAddressData, type GetAddressError, type GetAddressErrors, type GetAddressResponse, type GetAddressResponses, type GetAgentData, type GetAgentError, type GetAgentErrors, type GetAgentResponse, type GetAgentResponses, type GetAgentVersionData, type GetAgentVersionError, type GetAgentVersionErrors, type GetAgentVersionResponse, type GetAgentVersionResponses, type GetAiProviderData, type GetAiProviderErrors, type GetAiProviderPricesData, type GetAiProviderPricesErrors, type GetAiProviderPricesResponse, type GetAiProviderPricesResponses, type GetAiProviderResponse, type GetAiProviderResponses, type GetApiKeyData, type GetApiKeyError, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, type GetApprovalData, type GetApprovalErrors, type GetApprovalResponse, type GetApprovalResponses, type GetChannelConversationData, type GetChannelConversationError, type GetChannelConversationErrors, type GetChannelConversationResponse, type GetChannelConversationResponses, type GetChannelData, type GetChannelError, type GetChannelErrors, type GetChannelResponse, type GetChannelResponses, type GetChannelRouteData, type GetChannelRouteError, type GetChannelRouteErrors, type GetChannelRouteResponse, type GetChannelRouteResponses, type GetConversationData, type GetConversationError, type GetConversationErrors, type GetConversationResponse, type GetConversationResponses, type GetConversationTagsData, type GetConversationTagsError, type GetConversationTagsErrors, type GetConversationTagsResponse, type GetConversationTagsResponses, type 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 GetGenerationData, type GetGenerationError, type GetGenerationErrors, type GetGenerationResponse, type GetGenerationResponses, type GetGenerationTranscriptData, type GetGenerationTranscriptError, type GetGenerationTranscriptErrors, type GetGenerationTranscriptResponse, type GetGenerationTranscriptResponses, type GetGuardrailData, type GetGuardrailError, type GetGuardrailErrors, type GetGuardrailResponse, type GetGuardrailResponses, type GetGuardrailVersionData, type GetGuardrailVersionError, type GetGuardrailVersionErrors, type GetGuardrailVersionResponse, type GetGuardrailVersionResponses, type GetIngestionRuleData, type GetIngestionRuleErrors, type GetIngestionRuleResponse, type GetIngestionRuleResponses, type GetMemoryData, type GetMemoryEntryData, type GetMemoryEntryErrors, type GetMemoryEntryResponse, type GetMemoryEntryResponses, type GetMemoryErrors, type GetMemoryResponse, type GetMemoryResponses, type GetModelData, type GetModelError, type GetModelErrors, type GetModelResponse, type GetModelResponses, type GetModelRouteData, type GetModelRouteErrors, type GetModelRouteResponse, type GetModelRouteResponses, type GetOrchestrationData, type GetOrchestrationErrors, type GetOrchestrationResponse, type GetOrchestrationResponses, type GetOrchestrationRunData, type GetOrchestrationRunErrors, type GetOrchestrationRunResponse, type GetOrchestrationRunResponses, type GetOrchestrationVersionData, type GetOrchestrationVersionErrors, type GetOrchestrationVersionResponse, type GetOrchestrationVersionResponses, type GetProjectData, type GetProjectError, type GetProjectErrors, type GetProjectResponse, type GetProjectResponses, type GetProjectUsageData, type GetProjectUsageError, type GetProjectUsageErrors, type GetProjectUsageResponse, type GetProjectUsageResponses, type GetQueueStatsData, type GetQueueStatsErrors, type GetQueueStatsResponse, type GetQueueStatsResponses, type GetSecretData, type GetSecretErrors, type GetSecretResponse, type GetSecretResponses, type GetSessionData, type GetSessionError, type GetSessionErrors, type GetSessionResponse, type GetSessionResponses, type GetSessionTagsData, type GetSessionTagsError, type GetSessionTagsErrors, type GetSessionTagsResponse, type GetSessionTagsResponses, type GetTaskData, type GetTaskErrors, type GetTaskHistoryData, type GetTaskHistoryErrors, type GetTaskHistoryResponse, type GetTaskHistoryResponses, type GetTaskResponse, type GetTaskResponses, type GetToolData, type GetToolError, type GetToolErrors, type GetToolResponse, type GetToolResponses, type GetTraceData, type GetTraceError, type GetTraceErrors, type GetTraceResponse, type GetTraceResponses, type GetTraceTreeData, type GetTraceTreeError, type GetTraceTreeErrors, type GetTraceTreeResponse, type GetTraceTreeResponses, type GetTriggerData, type GetTriggerErrors, type GetTriggerFiringData, type GetTriggerFiringErrors, type GetTriggerFiringResponse, type GetTriggerFiringResponses, type GetTriggerResponse, type GetTriggerResponses, type GetTriggerSecretData, type GetTriggerSecretErrors, type GetTriggerSecretResponse, type GetTriggerSecretResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryError, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookError, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type GetWorkflowData, type GetWorkflowErrors, type GetWorkflowResponse, type GetWorkflowResponses, type GetWorkflowVersionData, type GetWorkflowVersionErrors, type GetWorkflowVersionResponse, type GetWorkflowVersionResponses, type GrantId, type Guardrail, type GuardrailDocument, type GuardrailEvaluation, type GuardrailVersion, Guardrails, type HumanInputRequest, type IdempotencyKey, type Identifier, type IngestDocumentData, type IngestDocumentError, type IngestDocumentErrors, type IngestDocumentResponse, type IngestDocumentResponses, type IngestedDocumentRecord, type IngestionRule, IngestionRules, type JsonLogicScorer, Knowledge, type KnowledgeResult, type Limit, type LinkToken, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAddressConversationsData, type ListAddressConversationsError, type ListAddressConversationsErrors, type ListAddressConversationsResponse, type ListAddressConversationsResponses, type ListAddressesData, type ListAddressesError, type ListAddressesErrors, type ListAddressesResponse, type ListAddressesResponses, type ListAgentVersionsData, type ListAgentVersionsError, type ListAgentVersionsErrors, type ListAgentVersionsResponse, type ListAgentVersionsResponses, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListAiProviderModelsData, type ListAiProviderModelsErrors, type ListAiProviderModelsResponse, type ListAiProviderModelsResponses, type ListAiProvidersData, type ListAiProvidersErrors, type ListAiProvidersResponse, type ListAiProvidersResponses, type ListApiKeysData, type ListApiKeysError, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListApprovalRecurrencesData, type ListApprovalRecurrencesErrors, type ListApprovalRecurrencesResponse, type ListApprovalRecurrencesResponses, type ListApprovalsData, type ListApprovalsErrors, type ListApprovalsResponse, type ListApprovalsResponses, type ListAssistantGrantsData, type ListAssistantGrantsError, type ListAssistantGrantsErrors, type ListAssistantGrantsResponse, type ListAssistantGrantsResponses, type ListChannelConversationMessagesData, type ListChannelConversationMessagesError, type ListChannelConversationMessagesErrors, type ListChannelConversationMessagesResponse, type ListChannelConversationMessagesResponses, type ListChannelConversationsData, type ListChannelConversationsError, type ListChannelConversationsErrors, type ListChannelConversationsResponse, type ListChannelConversationsResponses, type ListChannelKindsData, type ListChannelKindsError, type ListChannelKindsErrors, type ListChannelKindsResponse, type ListChannelKindsResponses, type ListChannelRoutesData, type ListChannelRoutesError, type ListChannelRoutesErrors, type ListChannelRoutesResponse, type ListChannelRoutesResponses, type ListChannelsData, type ListChannelsError, type ListChannelsErrors, type ListChannelsResponse, type ListChannelsResponses, type ListConversationMessagesData, type ListConversationMessagesError, type ListConversationMessagesErrors, type ListConversationMessagesResponse, type ListConversationMessagesResponses, type ListConversationsData, type ListConversationsError, type ListConversationsErrors, type ListConversationsResponse, type ListConversationsResponses, type ListDatasetItemsData, type ListDatasetItemsErrors, type ListDatasetItemsResponse, type ListDatasetItemsResponses, type ListDatasetsData, type ListDatasetsErrors, type ListDatasetsResponse, type ListDatasetsResponses, type ListDocumentsData, type ListDocumentsError, type ListDocumentsErrors, type ListDocumentsResponse, type ListDocumentsResponses, type ListEvalResultsData, type ListEvalResultsErrors, type ListEvalResultsResponse, type ListEvalResultsResponses, type ListEvalRunsData, type ListEvalRunsErrors, type ListEvalRunsResponse, type ListEvalRunsResponses, type ListEvalsData, type ListEvalsErrors, type ListEvalsResponse, type ListEvalsResponses, type ListExceptionsData, type ListExceptionsErrors, type ListExceptionsResponse, type ListExceptionsResponses, type ListFilesData, type ListFilesError, type ListFilesErrors, type ListFilesResponse, type ListFilesResponses, type ListGenerationsData, type ListGenerationsError, type ListGenerationsErrors, type ListGenerationsResponse, type ListGenerationsResponses, type ListGuardrailVersionsData, type ListGuardrailVersionsError, type ListGuardrailVersionsErrors, type ListGuardrailVersionsResponse, type ListGuardrailVersionsResponses, type ListGuardrailsData, type ListGuardrailsError, type ListGuardrailsErrors, type ListGuardrailsResponse, type ListGuardrailsResponses, type ListIngestionRulesData, type ListIngestionRulesErrors, type ListIngestionRulesResponse, type ListIngestionRulesResponses, type ListMemoriesData, type ListMemoriesErrors, type ListMemoriesResponse, type ListMemoriesResponses, type ListMemoryEntriesData, type ListMemoryEntriesErrors, type ListMemoryEntriesResponse, type ListMemoryEntriesResponses, type ListModelRoutesData, type ListModelRoutesErrors, type ListModelRoutesResponse, type ListModelRoutesResponses, type ListModelsData, type ListModelsError, type ListModelsErrors, type ListModelsResponse, type ListModelsResponses, type ListOrchestrationRunsData, type ListOrchestrationRunsErrors, type ListOrchestrationRunsResponse, type ListOrchestrationRunsResponses, type ListOrchestrationVersionsData, type ListOrchestrationVersionsErrors, type ListOrchestrationVersionsResponse, type ListOrchestrationVersionsResponses, type ListOrchestrationsData, type ListOrchestrationsErrors, type ListOrchestrationsResponse, type ListOrchestrationsResponses, type ListProjectChannelRoutesData, type ListProjectChannelRoutesError, type ListProjectChannelRoutesErrors, type ListProjectChannelRoutesResponse, type ListProjectChannelRoutesResponses, type ListProjectMembersData, type ListProjectMembersError, type ListProjectMembersErrors, type ListProjectMembersResponse, type ListProjectMembersResponses, type ListProjectsData, type ListProjectsError, type ListProjectsErrors, type ListProjectsResponse, type ListProjectsResponses, 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 ListWebhookDeliveriesData, type ListWebhookDeliveriesError, type ListWebhookDeliveriesErrors, type ListWebhookDeliveriesResponse, type ListWebhookDeliveriesResponses, type ListWebhooksData, type ListWebhooksError, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type ListWorkflowVersionsData, type ListWorkflowVersionsErrors, type ListWorkflowVersionsResponse, type ListWorkflowVersionsResponses, type ListWorkflowsData, type ListWorkflowsErrors, type ListWorkflowsResponse, type ListWorkflowsResponses, type LlmJudgeScorer, type LogoutData, type LogoutError, type LogoutErrors, type LogoutRequest, type LogoutResponse, type LogoutResponses, type ManagedProvider, Memories, type Memory, MemoryEntries, type MemoryEntry, type MemoryEntryWriteResult, type MemoryKnowledgeResult, type MergeActorTagsData, type MergeActorTagsError, type MergeActorTagsErrors, type MergeActorTagsResponse, type MergeActorTagsResponses, type MergeConversationTagsData, type MergeConversationTagsError, type MergeConversationTagsErrors, type MergeConversationTagsResponse, type MergeConversationTagsResponses, type MergeDocumentTagsData, type MergeDocumentTagsError, type MergeDocumentTagsErrors, type MergeDocumentTagsResponse, type MergeDocumentTagsResponses, type MergeFileTagsData, type MergeFileTagsError, type MergeFileTagsErrors, type MergeFileTagsResponse, type MergeFileTagsResponses, type MergeSessionTagsData, type MergeSessionTagsError, type MergeSessionTagsErrors, type MergeSessionTagsResponse, type MergeSessionTagsResponses, type MessagesLimit, type Model, type ModelId, type ModelList, type ModelRoute, type ModelRouteTarget, ModelRoutes, Models, NaturaliClient, type NaturaliClientOptions, type NodeExecution, type Offset, type OpenChannelConversationData, type OpenChannelConversationError, type OpenChannelConversationErrors, type OpenChannelConversationResponse, type OpenChannelConversationResponses, type Options, type Orchestration, type OrchestrationEdge, type OrchestrationId, type OrchestrationNode, type OrchestrationRun, type OrchestrationRunId, type OrchestrationVersion, Orchestrations, type OutputSchemaScorer, type PatchAgentData, type PatchAgentError, type PatchAgentErrors, type PatchAgentResponse, type PatchAgentResponses, type PreviewAssistantLinkData, type PreviewAssistantLinkError, type PreviewAssistantLinkErrors, type PreviewAssistantLinkResponse, type PreviewAssistantLinkResponses, type Project, type ProjectCreate, type ProjectId, type ProjectList, type ProjectMember, type ProjectMemberList, type ProjectRole, type ProjectUpdate, type ProjectUsage, 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 RedeemAssistantLinkData, type RedeemAssistantLinkError, type RedeemAssistantLinkErrors, type RedeemAssistantLinkResponse, type RedeemAssistantLinkResponses, type RedeliverWebhookDeliveryData, type RedeliverWebhookDeliveryError, type RedeliverWebhookDeliveryErrors, type RedeliverWebhookDeliveryResponse, type RedeliverWebhookDeliveryResponses, type RefreshRequest, type RefreshSessionData, type RefreshSessionError, type RefreshSessionErrors, type RefreshSessionResponse, type RefreshSessionResponses, type ReingestDocumentData, type ReingestDocumentError, type ReingestDocumentErrors, type ReingestDocumentResponse, type ReingestDocumentResponses, type RejectApprovalData, type RejectApprovalErrors, type RejectApprovalResponse, type RejectApprovalResponses, type RemoveConversationMessageData, type RemoveConversationMessageError, type RemoveConversationMessageErrors, type RemoveConversationMessageResponse, type RemoveConversationMessageResponses, type ReplaceActorTagsData, type ReplaceActorTagsError, type ReplaceActorTagsErrors, type ReplaceActorTagsResponse, type ReplaceActorTagsResponses, type ReplaceConversationTagsData, type ReplaceConversationTagsError, type ReplaceConversationTagsErrors, type ReplaceConversationTagsResponse, type ReplaceConversationTagsResponses, type ReplaceDocumentTagsData, type ReplaceDocumentTagsError, type ReplaceDocumentTagsErrors, type ReplaceDocumentTagsResponse, type ReplaceDocumentTagsResponses, type ReplaceFileTagsData, type ReplaceFileTagsError, type ReplaceFileTagsErrors, type ReplaceFileTagsResponse, type ReplaceFileTagsResponses, type ReplaceSessionTagsData, type ReplaceSessionTagsError, type ReplaceSessionTagsErrors, type ReplaceSessionTagsResponse, type ReplaceSessionTagsResponses, type RequestSignInCodeData, type RequestSignInCodeError, type RequestSignInCodeErrors, type RequestSignInCodeResponse, type RequestSignInCodeResponses, type RequiredAction, type ResolveExceptionData, type ResolveExceptionErrors, type ResolveExceptionResponse, type ResolveExceptionResponses, type 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 RevokeAssistantGrantData, type RevokeAssistantGrantError, type RevokeAssistantGrantErrors, type RevokeAssistantGrantResponse, type RevokeAssistantGrantResponses, type RotateApiKeyData, type RotateApiKeyError, type RotateApiKeyErrors, type RotateApiKeyResponse, type RotateApiKeyResponses, type RotateTriggerSecretData, type RotateTriggerSecretErrors, type RotateTriggerSecretResponse, type RotateTriggerSecretResponses, type RotateWebhookSecretData, type RotateWebhookSecretError, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RouteId, type RunUsageTotals, type ScorerResult, type Scorers, type SearchKnowledgeData, type SearchKnowledgeError, type SearchKnowledgeErrors, type SearchKnowledgeResponse, type SearchKnowledgeResponses, Secrets, type SendSessionMessageResponse, type SessionId, type SessionRecord, Sessions, type SetAddressActionData, type SetAddressActionError, type SetAddressActionErrors, type SetAddressActionResponse, type SetAddressActionResponses, type SetAgentReleaseData, type SetAgentReleaseError, type SetAgentReleaseErrors, type SetAgentReleaseRequest, type SetAgentReleaseResponse, type SetAgentReleaseResponses, type SignInCodeRequest, type SignInCodeVerify, type StartEvalRunData, type StartEvalRunErrors, type StartEvalRunResponse, type StartEvalRunResponses, type StartOrchestrationRunData, type StartOrchestrationRunErrors, type StartOrchestrationRunResponse, type StartOrchestrationRunResponses, type StartRunRequest, type SubmitAgentToolOutputsData, type SubmitAgentToolOutputsError, type SubmitAgentToolOutputsErrors, type SubmitAgentToolOutputsResponse, type SubmitAgentToolOutputsResponses, type SubmitHumanInputData, type SubmitHumanInputErrors, type SubmitHumanInputResponse, type SubmitHumanInputResponses, type SubmitSessionToolOutputsData, type SubmitSessionToolOutputsError, type SubmitSessionToolOutputsErrors, type SubmitSessionToolOutputsRequest, type SubmitSessionToolOutputsResponse, type SubmitSessionToolOutputsResponses, type SubmitToolOutputsRequest, type Task, type TaskTransition, Tasks, type Tool, type ToolBinding, type ToolOutputMessageContent, type 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 TriggerSecretResponse, type TriggerWithSecret, Triggers, type UpdateActorData, type UpdateActorError, type UpdateActorErrors, type UpdateActorResponse, type UpdateActorResponses, type UpdateAgentData, type UpdateAgentError, type UpdateAgentErrors, type UpdateAgentRequest, type UpdateAgentResponse, type UpdateAgentResponses, type UpdateAiProviderData, type UpdateAiProviderErrors, type UpdateAiProviderPricesData, type UpdateAiProviderPricesErrors, type UpdateAiProviderPricesResponse, type UpdateAiProviderPricesResponses, type UpdateAiProviderResponses, type UpdateApiKeyData, type UpdateApiKeyError, type UpdateApiKeyErrors, type UpdateApiKeyResponse, type UpdateApiKeyResponses, type UpdateChannelData, type UpdateChannelError, type UpdateChannelErrors, type UpdateChannelResponse, type UpdateChannelResponses, type UpdateChannelRouteData, type UpdateChannelRouteError, type UpdateChannelRouteErrors, type UpdateChannelRouteResponse, type UpdateChannelRouteResponses, type UpdateConversationData, type UpdateConversationError, type UpdateConversationErrors, type UpdateConversationResponse, type UpdateConversationResponses, type UpdateCurrentUserData, type UpdateCurrentUserError, type UpdateCurrentUserErrors, type UpdateCurrentUserResponse, type UpdateCurrentUserResponses, type UpdateDatasetData, type UpdateDatasetErrors, type UpdateDatasetItemData, type UpdateDatasetItemErrors, type UpdateDatasetItemResponse, type UpdateDatasetItemResponses, type UpdateDatasetResponse, type UpdateDatasetResponses, type UpdateDocumentData, type UpdateDocumentError, type UpdateDocumentErrors, type UpdateDocumentResponse, type UpdateDocumentResponses, type UpdateEvalData, type UpdateEvalErrors, type UpdateEvalResponse, type UpdateEvalResponses, type UpdateFileMetadataData, type UpdateFileMetadataError, type UpdateFileMetadataErrors, type UpdateFileMetadataResponse, type UpdateFileMetadataResponses, type UpdateGenerationData, type UpdateGenerationError, type UpdateGenerationErrors, type UpdateGenerationRequest, type UpdateGenerationResponse, type UpdateGenerationResponses, type UpdateGuardrailData, type UpdateGuardrailError, type UpdateGuardrailErrors, type UpdateGuardrailRequest, type UpdateGuardrailResponse, type UpdateGuardrailResponses, type UpdateIngestionRuleData, type UpdateIngestionRuleErrors, type UpdateIngestionRuleResponse, type UpdateIngestionRuleResponses, type UpdateMemoryData, type UpdateMemoryEntryData, type UpdateMemoryEntryErrors, type UpdateMemoryEntryResponse, type UpdateMemoryEntryResponses, type UpdateMemoryErrors, type UpdateMemoryResponse, type UpdateMemoryResponses, type UpdateModelRouteData, type UpdateModelRouteErrors, type UpdateModelRouteResponse, type UpdateModelRouteResponses, type UpdateOrchestrationData, type UpdateOrchestrationErrors, type UpdateOrchestrationRequest, type UpdateOrchestrationResponse, type UpdateOrchestrationResponses, type UpdateProjectData, type UpdateProjectError, type UpdateProjectErrors, type UpdateProjectResponse, type UpdateProjectResponses, 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 UpdateWebhookError, type UpdateWebhookErrors, type UpdateWebhookResponse, type UpdateWebhookResponses, type UpdateWorkflowData, type UpdateWorkflowErrors, type UpdateWorkflowRequest, type UpdateWorkflowResponse, type UpdateWorkflowResponses, type UploadFileBase64Data, type UploadFileBase64Error, type UploadFileBase64Errors, type UploadFileBase64Request, type UploadFileBase64Response, type UploadFileBase64Responses, type UploadFileData, type UploadFileError, type UploadFileErrors, type UploadFileResponse, type UploadFileResponses, type UpsertProviderPricesRequest, type UsageComponent, type UsageComponents, type UsageGroup, type UsageTokens, type User, type UserUpdate, Users, type ValidateOrchestrationData, type ValidateOrchestrationErrors, type ValidateOrchestrationRequest, type ValidateOrchestrationResponse, type ValidateOrchestrationResponses, type ValidationError, type ValidationResult, type VerifySignInCodeData, type VerifySignInCodeError, type VerifySignInCodeErrors, type VerifySignInCodeResponse, type VerifySignInCodeResponses, type Webhook, type WebhookCreate, type WebhookDelivery, type WebhookDeliveryList, type WebhookId, type WebhookList, type WebhookUpdate, type WebhookWithSecret, Webhooks, type Workflow, type WorkflowState, type WorkflowTransition, type WorkflowVersion, Workflows, createClient, createConfig };