@soat/sdk 0.15.3 → 0.15.5
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.cjs +55 -3
- package/dist/index.d.cts +554 -67
- package/dist/index.d.mts +554 -67
- package/dist/index.mjs +55 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -778,23 +778,27 @@ type ProviderPrice = {
|
|
|
778
778
|
* The AI provider instance this override prices
|
|
779
779
|
*/
|
|
780
780
|
ai_provider_id?: string;
|
|
781
|
+
/**
|
|
782
|
+
* Always `llm_tokens` for provider price overrides
|
|
783
|
+
*/
|
|
784
|
+
meter_type?: string;
|
|
781
785
|
/**
|
|
782
786
|
* Provider slug (taken from the AI provider instance)
|
|
783
787
|
*/
|
|
784
788
|
provider?: string;
|
|
785
789
|
model?: string;
|
|
786
790
|
/**
|
|
787
|
-
*
|
|
791
|
+
* The token component this row prices (`input_tokens`, `output_tokens`, `cached_tokens`)
|
|
788
792
|
*/
|
|
789
|
-
|
|
793
|
+
component?: string;
|
|
790
794
|
/**
|
|
791
|
-
*
|
|
795
|
+
* Always `token` for provider price overrides
|
|
792
796
|
*/
|
|
793
|
-
|
|
797
|
+
unit?: string;
|
|
794
798
|
/**
|
|
795
|
-
* USD per
|
|
799
|
+
* USD per token for this component
|
|
796
800
|
*/
|
|
797
|
-
|
|
801
|
+
unit_price?: number;
|
|
798
802
|
/**
|
|
799
803
|
* The row with the latest effective_from <= now() prices a call
|
|
800
804
|
*/
|
|
@@ -807,9 +811,18 @@ type ProviderPricesResponse = {
|
|
|
807
811
|
type UpsertProviderPricesRequest = {
|
|
808
812
|
prices: Array<{
|
|
809
813
|
model: string;
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
814
|
+
/**
|
|
815
|
+
* The token component this row prices (`input_tokens`, `output_tokens`, `cached_tokens`)
|
|
816
|
+
*/
|
|
817
|
+
component: string;
|
|
818
|
+
/**
|
|
819
|
+
* Always `token` for token pricing
|
|
820
|
+
*/
|
|
821
|
+
unit: string;
|
|
822
|
+
/**
|
|
823
|
+
* USD per token for this component
|
|
824
|
+
*/
|
|
825
|
+
unit_price: number;
|
|
813
826
|
/**
|
|
814
827
|
* Must be in the future; past prices are immutable
|
|
815
828
|
*/
|
|
@@ -1285,6 +1298,18 @@ type DocumentRecord = {
|
|
|
1285
1298
|
* Text content (only present on getDocument, and only when status is ready)
|
|
1286
1299
|
*/
|
|
1287
1300
|
content?: string | null;
|
|
1301
|
+
/**
|
|
1302
|
+
* The chunk strategy the document was last (re-)ingested with. `null` when the default (`whole`) was used.
|
|
1303
|
+
*/
|
|
1304
|
+
chunk_strategy?: 'page' | 'whole' | 'size';
|
|
1305
|
+
/**
|
|
1306
|
+
* Window size in characters used when `chunk_strategy=size`.
|
|
1307
|
+
*/
|
|
1308
|
+
chunk_size?: number | null;
|
|
1309
|
+
/**
|
|
1310
|
+
* Overlap in characters between consecutive windows used when `chunk_strategy=size`.
|
|
1311
|
+
*/
|
|
1312
|
+
chunk_overlap?: number | null;
|
|
1288
1313
|
created_at?: Date;
|
|
1289
1314
|
updated_at?: Date;
|
|
1290
1315
|
};
|
|
@@ -1854,6 +1879,18 @@ type DocumentResourceProperties = {
|
|
|
1854
1879
|
tags?: {
|
|
1855
1880
|
[key: string]: unknown;
|
|
1856
1881
|
} | null;
|
|
1882
|
+
/**
|
|
1883
|
+
* How to split the content into embeddable chunks, matching `POST /documents`. `whole` (default) stores the content as a single chunk; `size` splits into fixed-size character windows with overlap. `page` is equivalent to `whole` for plain text.
|
|
1884
|
+
*/
|
|
1885
|
+
chunk_strategy?: 'page' | 'whole' | 'size';
|
|
1886
|
+
/**
|
|
1887
|
+
* Window size in characters when `chunk_strategy=size`. Defaults to 1000.
|
|
1888
|
+
*/
|
|
1889
|
+
chunk_size?: number;
|
|
1890
|
+
/**
|
|
1891
|
+
* Overlap in characters between consecutive windows when `chunk_strategy=size`. Defaults to 200.
|
|
1892
|
+
*/
|
|
1893
|
+
chunk_overlap?: number;
|
|
1857
1894
|
};
|
|
1858
1895
|
/**
|
|
1859
1896
|
* Creates a named memory store that actors can read from and write to across conversations.
|
|
@@ -1887,7 +1924,17 @@ type MemoryEntryResourceProperties = {
|
|
|
1887
1924
|
/**
|
|
1888
1925
|
* How this entry was created (defaults to manual)
|
|
1889
1926
|
*/
|
|
1890
|
-
source_type?: 'manual' | 'agent' | 'extraction';
|
|
1927
|
+
source_type?: 'manual' | 'agent' | 'extraction' | 'orchestration';
|
|
1928
|
+
/**
|
|
1929
|
+
* Per-entry tag strings for entry-granularity filtering
|
|
1930
|
+
*/
|
|
1931
|
+
tags?: Array<string> | null;
|
|
1932
|
+
/**
|
|
1933
|
+
* Arbitrary structured metadata attached to the entry
|
|
1934
|
+
*/
|
|
1935
|
+
metadata?: {
|
|
1936
|
+
[key: string]: unknown;
|
|
1937
|
+
} | null;
|
|
1891
1938
|
};
|
|
1892
1939
|
/**
|
|
1893
1940
|
* Registers an HTTPS endpoint to receive SOAT platform event notifications.
|
|
@@ -2099,6 +2146,39 @@ type SecretResourceProperties = {
|
|
|
2099
2146
|
*/
|
|
2100
2147
|
value: string;
|
|
2101
2148
|
};
|
|
2149
|
+
/**
|
|
2150
|
+
* Upserts a project-scoped price row so a deployed stack produces billing-grade usage cost with no out-of-band pricing step. The row is keyed on (provider, model, component, effective_from) within the formation's project — the middle pricing tier that covers every one of the project's instances of a given provider slug. When `effective_from` is omitted the price takes effect at deploy time, so generations run right after deploy are priced.
|
|
2151
|
+
*/
|
|
2152
|
+
type ProjectPriceResourceProperties = {
|
|
2153
|
+
/**
|
|
2154
|
+
* SKU vendor slug the price applies to (e.g. openai, anthropic, soat)
|
|
2155
|
+
*/
|
|
2156
|
+
provider: string;
|
|
2157
|
+
/**
|
|
2158
|
+
* SKU identifier — the model id for LLM SKUs, the platform unit otherwise
|
|
2159
|
+
*/
|
|
2160
|
+
model: string;
|
|
2161
|
+
/**
|
|
2162
|
+
* The billable component this row prices (input_tokens, output_tokens, cached_tokens, compute_second, …)
|
|
2163
|
+
*/
|
|
2164
|
+
component: string;
|
|
2165
|
+
/**
|
|
2166
|
+
* Unit the unit_price is denominated in (token, compute_second, …); must match the metered component's unit
|
|
2167
|
+
*/
|
|
2168
|
+
unit: string;
|
|
2169
|
+
/**
|
|
2170
|
+
* USD per unit. Must be a non-negative number
|
|
2171
|
+
*/
|
|
2172
|
+
unit_price: number;
|
|
2173
|
+
/**
|
|
2174
|
+
* Meter type this SKU belongs to (defaults to llm_tokens)
|
|
2175
|
+
*/
|
|
2176
|
+
meter_type?: string;
|
|
2177
|
+
/**
|
|
2178
|
+
* Timestamp from which this price applies. Omit to take effect at deploy time. The row with the latest effective_from at or before now() prices a call.
|
|
2179
|
+
*/
|
|
2180
|
+
effective_from?: Date;
|
|
2181
|
+
};
|
|
2102
2182
|
/**
|
|
2103
2183
|
* Creates a session attached to an agent within the formation's project.
|
|
2104
2184
|
*/
|
|
@@ -2224,12 +2304,12 @@ type ResourceDeclaration = {
|
|
|
2224
2304
|
/**
|
|
2225
2305
|
* Resource type
|
|
2226
2306
|
*/
|
|
2227
|
-
type: 'ai_provider' | 'tool' | 'agent' | 'actor' | 'api_key' | 'chat' | 'conversation' | 'document' | 'file' | 'ingestion_rule' | 'memory' | 'memory_entry' | 'orchestration' | 'policy' | 'secret' | 'session' | 'webhook' | 'trigger';
|
|
2307
|
+
type: 'ai_provider' | 'tool' | 'agent' | 'actor' | 'api_key' | 'chat' | 'conversation' | 'document' | 'file' | 'ingestion_rule' | 'memory' | 'memory_entry' | 'orchestration' | 'policy' | 'project_price' | 'secret' | 'session' | 'webhook' | 'trigger';
|
|
2228
2308
|
/**
|
|
2229
2309
|
* Resource properties. Values may use `{ "ref": "logicalId" }` to reference physical IDs of other resources in the template, `{ "param": "ParamName" }` to substitute a parameter value, or `{ "sub": "text ${ParamName}" }` to interpolate parameter values into a string.
|
|
2230
2310
|
*
|
|
2231
2311
|
*/
|
|
2232
|
-
properties: AgentResourceProperties | ActorResourceProperties | AiProviderResourceProperties | ToolResourceProperties | ApiKeyResourceProperties | ChatResourceProperties | ConversationResourceProperties | DiscussionResourceProperties | DocumentResourceProperties | FileResourceProperties | IngestionRuleResourceProperties | MemoryResourceProperties | MemoryEntryResourceProperties | OrchestrationResourceProperties | PolicyResourceProperties | SecretResourceProperties | SessionResourceProperties | WebhookResourceProperties | TriggerResourceProperties;
|
|
2312
|
+
properties: AgentResourceProperties | ActorResourceProperties | AiProviderResourceProperties | ToolResourceProperties | ApiKeyResourceProperties | ChatResourceProperties | ConversationResourceProperties | DiscussionResourceProperties | DocumentResourceProperties | FileResourceProperties | IngestionRuleResourceProperties | MemoryResourceProperties | MemoryEntryResourceProperties | OrchestrationResourceProperties | PolicyResourceProperties | ProjectPriceResourceProperties | SecretResourceProperties | SessionResourceProperties | WebhookResourceProperties | TriggerResourceProperties;
|
|
2233
2313
|
/**
|
|
2234
2314
|
* Explicit dependency list. In addition to implicit `ref` dependencies.
|
|
2235
2315
|
*/
|
|
@@ -2318,6 +2398,21 @@ type PlanChange = {
|
|
|
2318
2398
|
logical_id?: string;
|
|
2319
2399
|
resource_type?: string;
|
|
2320
2400
|
action?: 'create' | 'update' | 'delete' | 'no-op';
|
|
2401
|
+
/**
|
|
2402
|
+
* The existing resource's physical ID. Present for update / no-op / delete actions, absent for create.
|
|
2403
|
+
*/
|
|
2404
|
+
physical_resource_id?: string;
|
|
2405
|
+
/**
|
|
2406
|
+
* Resolved desired-state properties (post parameter/ref substitution) and, when available, the current live or last-applied properties they were compared against. Omitted when neither side could be computed (e.g. an unregistered resource type).
|
|
2407
|
+
*/
|
|
2408
|
+
diff?: {
|
|
2409
|
+
desired?: {
|
|
2410
|
+
[key: string]: unknown;
|
|
2411
|
+
};
|
|
2412
|
+
current?: {
|
|
2413
|
+
[key: string]: unknown;
|
|
2414
|
+
} | null;
|
|
2415
|
+
};
|
|
2321
2416
|
};
|
|
2322
2417
|
type PlanResult = {
|
|
2323
2418
|
changes?: Array<PlanChange>;
|
|
@@ -2585,7 +2680,17 @@ type MemoryEntry = {
|
|
|
2585
2680
|
id?: string;
|
|
2586
2681
|
memory_id?: string;
|
|
2587
2682
|
content?: string;
|
|
2588
|
-
source_type?: 'manual' | 'agent' | 'extraction';
|
|
2683
|
+
source_type?: 'manual' | 'agent' | 'extraction' | 'orchestration';
|
|
2684
|
+
/**
|
|
2685
|
+
* Per-entry tag strings
|
|
2686
|
+
*/
|
|
2687
|
+
tags?: Array<string> | null;
|
|
2688
|
+
/**
|
|
2689
|
+
* Arbitrary structured metadata attached to the entry
|
|
2690
|
+
*/
|
|
2691
|
+
metadata?: {
|
|
2692
|
+
[key: string]: unknown;
|
|
2693
|
+
} | null;
|
|
2589
2694
|
created_at?: Date;
|
|
2590
2695
|
updated_at?: Date;
|
|
2591
2696
|
};
|
|
@@ -2919,12 +3024,29 @@ type OrchestrationRun = {
|
|
|
2919
3024
|
* Per-node execution records in chronological order. Each entry captures the resolved input, output, status, and error for a single node execution — the orchestration analogue of an LLM trace.
|
|
2920
3025
|
*/
|
|
2921
3026
|
node_executions?: Array<NodeExecution>;
|
|
3027
|
+
/**
|
|
3028
|
+
* Usage roll-up (token counts and cost_usd) summed across every metered generation the run produced. Present on the single-run read; omitted from run list responses.
|
|
3029
|
+
*/
|
|
3030
|
+
usage?: RunUsageTotals;
|
|
2922
3031
|
required_action?: RequiredAction | null;
|
|
2923
3032
|
started_at?: Date | null;
|
|
2924
3033
|
completed_at?: Date | null;
|
|
2925
3034
|
created_at: Date;
|
|
2926
3035
|
updated_at: Date;
|
|
2927
3036
|
};
|
|
3037
|
+
/**
|
|
3038
|
+
* Token and cost roll-up for an orchestration run, summed across every usage event the run's generations produced.
|
|
3039
|
+
*/
|
|
3040
|
+
type RunUsageTotals = {
|
|
3041
|
+
total_input_tokens?: number;
|
|
3042
|
+
total_output_tokens?: number;
|
|
3043
|
+
total_cached_tokens?: number;
|
|
3044
|
+
total_reasoning_tokens?: number;
|
|
3045
|
+
/**
|
|
3046
|
+
* Sum of the run's priced component costs in USD. Null when nothing on the run was priced.
|
|
3047
|
+
*/
|
|
3048
|
+
total_cost_usd?: number | null;
|
|
3049
|
+
};
|
|
2928
3050
|
/**
|
|
2929
3051
|
* Record of a single node execution within a run, used to debug which node failed, what input it received, and what it produced.
|
|
2930
3052
|
*/
|
|
@@ -3066,20 +3188,24 @@ type ProjectPrice = {
|
|
|
3066
3188
|
* Always null for a project + provider-slug price
|
|
3067
3189
|
*/
|
|
3068
3190
|
ai_provider_id?: string | null;
|
|
3191
|
+
/**
|
|
3192
|
+
* Always `llm_tokens` for project prices
|
|
3193
|
+
*/
|
|
3194
|
+
meter_type?: string;
|
|
3069
3195
|
provider?: string;
|
|
3070
3196
|
model?: string;
|
|
3071
3197
|
/**
|
|
3072
|
-
*
|
|
3198
|
+
* The token component this row prices (`input_tokens`, `output_tokens`, `cached_tokens`)
|
|
3073
3199
|
*/
|
|
3074
|
-
|
|
3200
|
+
component?: string;
|
|
3075
3201
|
/**
|
|
3076
|
-
*
|
|
3202
|
+
* Always `token` for token pricing
|
|
3077
3203
|
*/
|
|
3078
|
-
|
|
3204
|
+
unit?: string;
|
|
3079
3205
|
/**
|
|
3080
|
-
* USD per
|
|
3206
|
+
* USD per token for this component
|
|
3081
3207
|
*/
|
|
3082
|
-
|
|
3208
|
+
unit_price?: number;
|
|
3083
3209
|
/**
|
|
3084
3210
|
* The row with the latest effective_from <= now() prices a call
|
|
3085
3211
|
*/
|
|
@@ -3093,9 +3219,18 @@ type UpsertProjectPricesRequest = {
|
|
|
3093
3219
|
prices: Array<{
|
|
3094
3220
|
provider: string;
|
|
3095
3221
|
model: string;
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3222
|
+
/**
|
|
3223
|
+
* The token component this row prices (`input_tokens`, `output_tokens`, `cached_tokens`)
|
|
3224
|
+
*/
|
|
3225
|
+
component: string;
|
|
3226
|
+
/**
|
|
3227
|
+
* Always `token` for token pricing
|
|
3228
|
+
*/
|
|
3229
|
+
unit: string;
|
|
3230
|
+
/**
|
|
3231
|
+
* USD per token for this component
|
|
3232
|
+
*/
|
|
3233
|
+
unit_price: number;
|
|
3099
3234
|
/**
|
|
3100
3235
|
* Must be in the future; past prices are immutable
|
|
3101
3236
|
*/
|
|
@@ -3729,9 +3864,48 @@ type TriggerFiringListResponse = {
|
|
|
3729
3864
|
limit?: number;
|
|
3730
3865
|
offset?: number;
|
|
3731
3866
|
};
|
|
3732
|
-
|
|
3867
|
+
/**
|
|
3868
|
+
* One priced dimension of a usage event. Every meter type is expressed as components, so tokens and infra are uniform: an `llm_tokens` event has `input_tokens` / `output_tokens` (+ `cached_tokens`, and a non-billable `reasoning_tokens` detail), a `compute_execution` event has one `compute_second` component.
|
|
3869
|
+
*
|
|
3870
|
+
*/
|
|
3871
|
+
type UsageComponent = {
|
|
3872
|
+
/**
|
|
3873
|
+
* The measured dimension (e.g. `input_tokens`, `compute_second`)
|
|
3874
|
+
*/
|
|
3875
|
+
component?: string;
|
|
3876
|
+
/**
|
|
3877
|
+
* The measured amount, expressed in `unit`
|
|
3878
|
+
*/
|
|
3879
|
+
quantity?: number;
|
|
3880
|
+
/**
|
|
3881
|
+
* Unit `quantity` is measured in (`token`, `compute_second`, …)
|
|
3882
|
+
*/
|
|
3883
|
+
unit?: string;
|
|
3884
|
+
/**
|
|
3885
|
+
* Whether this component contributes to cost. Non-billable details (e.g. `reasoning_tokens`, a subset of `output_tokens`) are never priced and never double-counted into billable totals.
|
|
3886
|
+
*
|
|
3887
|
+
*/
|
|
3888
|
+
billable?: boolean;
|
|
3889
|
+
/**
|
|
3890
|
+
* USD per `unit`, frozen at write time; null when unpriced
|
|
3891
|
+
*/
|
|
3892
|
+
unit_price?: number | null;
|
|
3893
|
+
/**
|
|
3894
|
+
* quantity × unit_price, frozen at write time; null when unpriced
|
|
3895
|
+
*/
|
|
3896
|
+
cost_usd?: number | null;
|
|
3897
|
+
/**
|
|
3898
|
+
* Public ID of the price-book row that priced this component
|
|
3899
|
+
*/
|
|
3900
|
+
price_id?: string | null;
|
|
3901
|
+
};
|
|
3902
|
+
/**
|
|
3903
|
+
* One metered occurrence (a completed LLM call, a node execution, …). Attribution and total cost live here; the measured quantities live in `components`.
|
|
3904
|
+
*
|
|
3905
|
+
*/
|
|
3906
|
+
type UsageEvent = {
|
|
3733
3907
|
/**
|
|
3734
|
-
* Public ID of the usage
|
|
3908
|
+
* Public ID of the usage event
|
|
3735
3909
|
*/
|
|
3736
3910
|
id?: string;
|
|
3737
3911
|
/**
|
|
@@ -3739,7 +3913,7 @@ type UsageMeter = {
|
|
|
3739
3913
|
*/
|
|
3740
3914
|
project_id?: string;
|
|
3741
3915
|
/**
|
|
3742
|
-
* Public ID of the orchestration run that initiated the
|
|
3916
|
+
* Public ID of the orchestration run that initiated the occurrence. Null for standalone events.
|
|
3743
3917
|
*
|
|
3744
3918
|
*/
|
|
3745
3919
|
run_id?: string | null;
|
|
@@ -3760,7 +3934,7 @@ type UsageMeter = {
|
|
|
3760
3934
|
*/
|
|
3761
3935
|
trace_id?: string | null;
|
|
3762
3936
|
/**
|
|
3763
|
-
* Public ID of the AI provider instance billed.
|
|
3937
|
+
* Public ID of the AI provider instance billed. Null if the provider was later deleted; the `provider`/`model` snapshot still records what was billed.
|
|
3764
3938
|
*
|
|
3765
3939
|
*/
|
|
3766
3940
|
ai_provider_id?: string | null;
|
|
@@ -3775,68 +3949,158 @@ type UsageMeter = {
|
|
|
3775
3949
|
*/
|
|
3776
3950
|
action_id?: string | null;
|
|
3777
3951
|
/**
|
|
3778
|
-
*
|
|
3952
|
+
* What the event measures: `llm_tokens`, `compute_execution`, `api_request`, or `storage`.
|
|
3953
|
+
*
|
|
3954
|
+
*/
|
|
3955
|
+
meter_type?: string;
|
|
3956
|
+
/**
|
|
3957
|
+
* As-billed SKU vendor slug, retained even if the AI provider is deleted. `soat` for platform meter types.
|
|
3779
3958
|
*
|
|
3780
3959
|
*/
|
|
3781
3960
|
provider?: string;
|
|
3782
3961
|
/**
|
|
3783
|
-
* Model
|
|
3962
|
+
* Model id, or the billable SKU for platform meter types
|
|
3784
3963
|
*/
|
|
3785
3964
|
model?: string;
|
|
3786
3965
|
/**
|
|
3787
|
-
*
|
|
3966
|
+
* Total USD cost — the sum of the priced component costs, frozen at write time. Null when no component was priced.
|
|
3967
|
+
*
|
|
3788
3968
|
*/
|
|
3789
|
-
|
|
3969
|
+
cost_usd?: number | null;
|
|
3970
|
+
components?: Array<UsageComponent>;
|
|
3971
|
+
created_at?: Date;
|
|
3972
|
+
};
|
|
3973
|
+
/**
|
|
3974
|
+
* Summed token counts and cost for a bucket (or the grand total).
|
|
3975
|
+
*/
|
|
3976
|
+
type UsageAggregateTotals = {
|
|
3790
3977
|
/**
|
|
3791
|
-
*
|
|
3978
|
+
* Sum of priced event costs in the bucket; null when nothing is priced
|
|
3792
3979
|
*/
|
|
3793
|
-
|
|
3980
|
+
cost_usd?: number | null;
|
|
3794
3981
|
/**
|
|
3795
|
-
*
|
|
3982
|
+
* Full prompt tokens (uncached input + cached), reconstructed from components
|
|
3796
3983
|
*/
|
|
3984
|
+
input_tokens?: number;
|
|
3985
|
+
output_tokens?: number;
|
|
3797
3986
|
cached_tokens?: number;
|
|
3987
|
+
reasoning_tokens?: number;
|
|
3988
|
+
};
|
|
3989
|
+
type UsageAggregate = {
|
|
3990
|
+
project_id?: string;
|
|
3991
|
+
/**
|
|
3992
|
+
* Lower bound applied, echoed back; null when unbounded
|
|
3993
|
+
*/
|
|
3994
|
+
from?: Date | null;
|
|
3995
|
+
/**
|
|
3996
|
+
* Upper bound applied, echoed back; null when unbounded
|
|
3997
|
+
*/
|
|
3998
|
+
to?: Date | null;
|
|
3999
|
+
group_by?: 'model' | 'agent' | 'run' | 'day' | 'meter_type';
|
|
3798
4000
|
/**
|
|
3799
|
-
*
|
|
4001
|
+
* One entry per distinct value in the chosen dimension.
|
|
4002
|
+
*/
|
|
4003
|
+
groups?: Array<{
|
|
4004
|
+
/**
|
|
4005
|
+
* The bucket's value in the chosen dimension (a model id, meter type, agent/run public id, or `YYYY-MM-DD` UTC day). Null when the dimension does not apply to an event.
|
|
4006
|
+
*
|
|
4007
|
+
*/
|
|
4008
|
+
key?: string | null;
|
|
4009
|
+
} & UsageAggregateTotals>;
|
|
4010
|
+
totals?: UsageAggregateTotals;
|
|
4011
|
+
};
|
|
4012
|
+
/**
|
|
4013
|
+
* A per-project alert rule on windowed usage. When the project's `metric` over `window` crosses `threshold`, a `usage.threshold_crossed` webhook fires. Fire state is enforced with once-per-window (calendar) / 10% re-arm (rolling) hysteresis.
|
|
4014
|
+
*
|
|
4015
|
+
*/
|
|
4016
|
+
type UsageThreshold = {
|
|
4017
|
+
/**
|
|
4018
|
+
* Public ID of the threshold
|
|
4019
|
+
*/
|
|
4020
|
+
id?: string;
|
|
4021
|
+
project_id?: string;
|
|
4022
|
+
/**
|
|
4023
|
+
* What is measured: `cost_usd` (across all meter types) or `tokens` (input + output + cached).
|
|
3800
4024
|
*
|
|
3801
4025
|
*/
|
|
3802
|
-
|
|
4026
|
+
metric?: 'cost_usd' | 'tokens';
|
|
3803
4027
|
/**
|
|
3804
|
-
*
|
|
4028
|
+
* The evaluation window: the current UTC calendar month, or the trailing 24 hours.
|
|
3805
4029
|
*
|
|
3806
4030
|
*/
|
|
3807
|
-
|
|
4031
|
+
window?: 'calendar_month' | 'rolling_24h';
|
|
3808
4032
|
/**
|
|
3809
|
-
*
|
|
4033
|
+
* The value the windowed aggregate must cross to fire
|
|
4034
|
+
*/
|
|
4035
|
+
threshold?: number;
|
|
4036
|
+
/**
|
|
4037
|
+
* When the threshold last fired; null until first fire
|
|
4038
|
+
*/
|
|
4039
|
+
last_fired_at?: Date | null;
|
|
4040
|
+
/**
|
|
4041
|
+
* The `YYYY-MM` window key of the last fire (calendar_month hysteresis); null for rolling_24h and before the first fire.
|
|
3810
4042
|
*
|
|
3811
4043
|
*/
|
|
3812
|
-
|
|
4044
|
+
fired_window_key?: string | null;
|
|
3813
4045
|
created_at?: Date;
|
|
3814
4046
|
};
|
|
4047
|
+
type CreateUsageThresholdRequest = {
|
|
4048
|
+
project_id: string;
|
|
4049
|
+
metric: 'cost_usd' | 'tokens';
|
|
4050
|
+
window: 'calendar_month' | 'rolling_24h';
|
|
4051
|
+
/**
|
|
4052
|
+
* Must be greater than 0
|
|
4053
|
+
*/
|
|
4054
|
+
threshold: number;
|
|
4055
|
+
};
|
|
3815
4056
|
type UsageReceipt = {
|
|
4057
|
+
/**
|
|
4058
|
+
* Present on a per-generation receipt; absent on a per-run receipt.
|
|
4059
|
+
*
|
|
4060
|
+
*/
|
|
3816
4061
|
generation_id?: string;
|
|
4062
|
+
/**
|
|
4063
|
+
* Present on a per-run receipt (summed across the run's meters); absent on a per-generation receipt.
|
|
4064
|
+
*
|
|
4065
|
+
*/
|
|
4066
|
+
run_id?: string;
|
|
3817
4067
|
currency?: string;
|
|
4068
|
+
/**
|
|
4069
|
+
* One line per usage event — for a generation receipt, the events on that generation; for a run receipt, every event across the run.
|
|
4070
|
+
*
|
|
4071
|
+
*/
|
|
3818
4072
|
line_items?: Array<{
|
|
4073
|
+
event_id?: string;
|
|
4074
|
+
meter_type?: string;
|
|
3819
4075
|
provider?: string;
|
|
3820
4076
|
model?: string;
|
|
3821
|
-
/**
|
|
3822
|
-
* Price-book version that priced this line
|
|
3823
|
-
*/
|
|
3824
|
-
price_id?: string | null;
|
|
3825
|
-
input_tokens?: number;
|
|
3826
|
-
output_tokens?: number;
|
|
3827
|
-
cached_tokens?: number;
|
|
3828
|
-
reasoning_tokens?: number;
|
|
3829
4077
|
cost_usd?: number | null;
|
|
4078
|
+
components?: Array<UsageComponent>;
|
|
3830
4079
|
}>;
|
|
4080
|
+
/**
|
|
4081
|
+
* Per-meter-type cost rollup — the "tokens + infra" split. A single-type receipt has one entry whose cost equals the receipt total.
|
|
4082
|
+
*
|
|
4083
|
+
*/
|
|
4084
|
+
by_meter_type?: Array<{
|
|
4085
|
+
meter_type?: string;
|
|
4086
|
+
cost_usd?: number | null;
|
|
4087
|
+
}>;
|
|
4088
|
+
/**
|
|
4089
|
+
* Full prompt tokens (uncached input + cached), reconstructed from components
|
|
4090
|
+
*/
|
|
3831
4091
|
total_input_tokens?: number;
|
|
3832
4092
|
total_output_tokens?: number;
|
|
3833
4093
|
total_cached_tokens?: number;
|
|
3834
4094
|
total_reasoning_tokens?: number;
|
|
3835
4095
|
/**
|
|
3836
|
-
* Sum of priced
|
|
4096
|
+
* Sum of priced component costs; null when nothing is priced
|
|
3837
4097
|
*/
|
|
3838
4098
|
total_cost_usd?: number | null;
|
|
3839
4099
|
};
|
|
4100
|
+
/**
|
|
4101
|
+
* A versioned unit price for one billable component of a SKU. Cost is uniform across meter types — quantity × unit_price.
|
|
4102
|
+
*
|
|
4103
|
+
*/
|
|
3840
4104
|
type Price = {
|
|
3841
4105
|
/**
|
|
3842
4106
|
* Public ID of the price row
|
|
@@ -3847,20 +4111,30 @@ type Price = {
|
|
|
3847
4111
|
*
|
|
3848
4112
|
*/
|
|
3849
4113
|
ai_provider_id?: string | null;
|
|
4114
|
+
/**
|
|
4115
|
+
* Meter type this SKU belongs to (`llm_tokens`, `compute_execution`, …)
|
|
4116
|
+
*/
|
|
4117
|
+
meter_type?: string;
|
|
4118
|
+
/**
|
|
4119
|
+
* SKU vendor slug (`openai`, or `soat` for platform SKUs)
|
|
4120
|
+
*/
|
|
3850
4121
|
provider?: string;
|
|
4122
|
+
/**
|
|
4123
|
+
* Model id, or the billable SKU for platform meter types
|
|
4124
|
+
*/
|
|
3851
4125
|
model?: string;
|
|
3852
4126
|
/**
|
|
3853
|
-
*
|
|
4127
|
+
* The component this row prices (`input_tokens`, `compute_second`, …)
|
|
3854
4128
|
*/
|
|
3855
|
-
|
|
4129
|
+
component?: string;
|
|
3856
4130
|
/**
|
|
3857
|
-
*
|
|
4131
|
+
* Unit `unit_price` is denominated in (`token`, `compute_second`, …)
|
|
3858
4132
|
*/
|
|
3859
|
-
|
|
4133
|
+
unit?: string;
|
|
3860
4134
|
/**
|
|
3861
|
-
* USD per
|
|
4135
|
+
* USD per `unit` (for token components, USD per token)
|
|
3862
4136
|
*/
|
|
3863
|
-
|
|
4137
|
+
unit_price?: number;
|
|
3864
4138
|
/**
|
|
3865
4139
|
* The row with the latest effective_from <= now() prices a call
|
|
3866
4140
|
*/
|
|
@@ -3877,11 +4151,25 @@ type UpsertPricesRequest = {
|
|
|
3877
4151
|
*
|
|
3878
4152
|
*/
|
|
3879
4153
|
ai_provider_id?: string | null;
|
|
4154
|
+
/**
|
|
4155
|
+
* Defaults to `llm_tokens`. Set to a platform meter type (e.g. `compute_execution`) for a platform SKU.
|
|
4156
|
+
*
|
|
4157
|
+
*/
|
|
4158
|
+
meter_type?: string;
|
|
3880
4159
|
provider: string;
|
|
3881
4160
|
model: string;
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
4161
|
+
/**
|
|
4162
|
+
* The component this row prices (`input_tokens`, `compute_second`, …)
|
|
4163
|
+
*/
|
|
4164
|
+
component: string;
|
|
4165
|
+
/**
|
|
4166
|
+
* Unit `unit_price` is denominated in (`token`, `compute_second`, …)
|
|
4167
|
+
*/
|
|
4168
|
+
unit: string;
|
|
4169
|
+
/**
|
|
4170
|
+
* USD per `unit`
|
|
4171
|
+
*/
|
|
4172
|
+
unit_price: number;
|
|
3885
4173
|
/**
|
|
3886
4174
|
* Must be in the future; past prices are immutable
|
|
3887
4175
|
*/
|
|
@@ -8332,7 +8620,17 @@ type CreateMemoryEntryData = {
|
|
|
8332
8620
|
/**
|
|
8333
8621
|
* How this entry was created
|
|
8334
8622
|
*/
|
|
8335
|
-
source_type?: 'manual' | 'agent' | 'extraction';
|
|
8623
|
+
source_type?: 'manual' | 'agent' | 'extraction' | 'orchestration';
|
|
8624
|
+
/**
|
|
8625
|
+
* Per-entry tag strings, used for entry-granularity filtering in search-knowledge (memory_tags)
|
|
8626
|
+
*/
|
|
8627
|
+
tags?: Array<string>;
|
|
8628
|
+
/**
|
|
8629
|
+
* Arbitrary structured metadata attached to the entry
|
|
8630
|
+
*/
|
|
8631
|
+
metadata?: {
|
|
8632
|
+
[key: string]: unknown;
|
|
8633
|
+
};
|
|
8336
8634
|
/**
|
|
8337
8635
|
* Cosine similarity score at or above which the incoming content is considered a duplicate and skipped (default 0.95)
|
|
8338
8636
|
*/
|
|
@@ -8451,6 +8749,16 @@ type UpdateMemoryEntryData = {
|
|
|
8451
8749
|
* Updated text content
|
|
8452
8750
|
*/
|
|
8453
8751
|
content?: string;
|
|
8752
|
+
/**
|
|
8753
|
+
* Replaces the entry's tags. Pass null or an empty array to clear.
|
|
8754
|
+
*/
|
|
8755
|
+
tags?: Array<string> | null;
|
|
8756
|
+
/**
|
|
8757
|
+
* Replaces the entry's metadata. Pass null to clear.
|
|
8758
|
+
*/
|
|
8759
|
+
metadata?: {
|
|
8760
|
+
[key: string]: unknown;
|
|
8761
|
+
} | null;
|
|
8454
8762
|
};
|
|
8455
8763
|
path: {
|
|
8456
8764
|
entry_id: string;
|
|
@@ -10538,6 +10846,11 @@ type ListUsageMetersData = {
|
|
|
10538
10846
|
* Filter by logical action id
|
|
10539
10847
|
*/
|
|
10540
10848
|
action_id?: string;
|
|
10849
|
+
/**
|
|
10850
|
+
* Filter by meter type (e.g. `llm_tokens`, `compute_execution`, `api_request`, `storage`)
|
|
10851
|
+
*
|
|
10852
|
+
*/
|
|
10853
|
+
meter_type?: string;
|
|
10541
10854
|
limit?: number;
|
|
10542
10855
|
offset?: number;
|
|
10543
10856
|
};
|
|
@@ -10559,21 +10872,167 @@ type ListUsageMetersResponses = {
|
|
|
10559
10872
|
* Paginated list of usage-meter rows
|
|
10560
10873
|
*/
|
|
10561
10874
|
200: {
|
|
10562
|
-
data?: Array<
|
|
10875
|
+
data?: Array<UsageEvent>;
|
|
10563
10876
|
total?: number;
|
|
10564
10877
|
limit?: number;
|
|
10565
10878
|
offset?: number;
|
|
10566
10879
|
};
|
|
10567
10880
|
};
|
|
10568
10881
|
type ListUsageMetersResponse = ListUsageMetersResponses[keyof ListUsageMetersResponses];
|
|
10569
|
-
type
|
|
10882
|
+
type GetUsageData = {
|
|
10570
10883
|
body?: never;
|
|
10571
10884
|
path?: never;
|
|
10572
10885
|
query: {
|
|
10573
10886
|
/**
|
|
10574
|
-
*
|
|
10887
|
+
* Project public ID to aggregate usage for
|
|
10575
10888
|
*/
|
|
10576
|
-
|
|
10889
|
+
project_id: string;
|
|
10890
|
+
/**
|
|
10891
|
+
* Dimension to bucket by. `day` buckets on the event's UTC calendar day; the others bucket on the matching column.
|
|
10892
|
+
*
|
|
10893
|
+
*/
|
|
10894
|
+
group_by: 'model' | 'agent' | 'run' | 'day' | 'meter_type';
|
|
10895
|
+
/**
|
|
10896
|
+
* Inclusive lower bound (ISO-8601 timestamp) on the event created_at. Omit for no lower bound.
|
|
10897
|
+
*
|
|
10898
|
+
*/
|
|
10899
|
+
from?: Date;
|
|
10900
|
+
/**
|
|
10901
|
+
* Inclusive upper bound (ISO-8601 timestamp) on the event created_at. Omit for no upper bound.
|
|
10902
|
+
*
|
|
10903
|
+
*/
|
|
10904
|
+
to?: Date;
|
|
10905
|
+
};
|
|
10906
|
+
url: '/api/v1/usage';
|
|
10907
|
+
};
|
|
10908
|
+
type GetUsageErrors = {
|
|
10909
|
+
/**
|
|
10910
|
+
* Bad Request (missing project_id, invalid group_by or timestamp)
|
|
10911
|
+
*/
|
|
10912
|
+
400: ErrorResponse;
|
|
10913
|
+
/**
|
|
10914
|
+
* Unauthorized
|
|
10915
|
+
*/
|
|
10916
|
+
401: ErrorResponse;
|
|
10917
|
+
/**
|
|
10918
|
+
* Forbidden
|
|
10919
|
+
*/
|
|
10920
|
+
403: ErrorResponse;
|
|
10921
|
+
};
|
|
10922
|
+
type GetUsageError = GetUsageErrors[keyof GetUsageErrors];
|
|
10923
|
+
type GetUsageResponses = {
|
|
10924
|
+
/**
|
|
10925
|
+
* The aggregated usage rollup
|
|
10926
|
+
*/
|
|
10927
|
+
200: UsageAggregate;
|
|
10928
|
+
};
|
|
10929
|
+
type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
10930
|
+
type ListUsageThresholdsData = {
|
|
10931
|
+
body?: never;
|
|
10932
|
+
path?: never;
|
|
10933
|
+
query?: {
|
|
10934
|
+
/**
|
|
10935
|
+
* Filter by project public ID
|
|
10936
|
+
*/
|
|
10937
|
+
project_id?: string;
|
|
10938
|
+
};
|
|
10939
|
+
url: '/api/v1/usage/thresholds';
|
|
10940
|
+
};
|
|
10941
|
+
type ListUsageThresholdsErrors = {
|
|
10942
|
+
/**
|
|
10943
|
+
* Unauthorized
|
|
10944
|
+
*/
|
|
10945
|
+
401: ErrorResponse;
|
|
10946
|
+
/**
|
|
10947
|
+
* Forbidden
|
|
10948
|
+
*/
|
|
10949
|
+
403: ErrorResponse;
|
|
10950
|
+
};
|
|
10951
|
+
type ListUsageThresholdsError = ListUsageThresholdsErrors[keyof ListUsageThresholdsErrors];
|
|
10952
|
+
type ListUsageThresholdsResponses = {
|
|
10953
|
+
/**
|
|
10954
|
+
* The usage thresholds
|
|
10955
|
+
*/
|
|
10956
|
+
200: {
|
|
10957
|
+
data?: Array<UsageThreshold>;
|
|
10958
|
+
};
|
|
10959
|
+
};
|
|
10960
|
+
type ListUsageThresholdsResponse = ListUsageThresholdsResponses[keyof ListUsageThresholdsResponses];
|
|
10961
|
+
type CreateUsageThresholdData = {
|
|
10962
|
+
body: CreateUsageThresholdRequest;
|
|
10963
|
+
path?: never;
|
|
10964
|
+
query?: never;
|
|
10965
|
+
url: '/api/v1/usage/thresholds';
|
|
10966
|
+
};
|
|
10967
|
+
type CreateUsageThresholdErrors = {
|
|
10968
|
+
/**
|
|
10969
|
+
* Bad Request (missing/invalid metric, window, or threshold)
|
|
10970
|
+
*/
|
|
10971
|
+
400: ErrorResponse;
|
|
10972
|
+
/**
|
|
10973
|
+
* Unauthorized
|
|
10974
|
+
*/
|
|
10975
|
+
401: ErrorResponse;
|
|
10976
|
+
/**
|
|
10977
|
+
* Forbidden
|
|
10978
|
+
*/
|
|
10979
|
+
403: ErrorResponse;
|
|
10980
|
+
};
|
|
10981
|
+
type CreateUsageThresholdError = CreateUsageThresholdErrors[keyof CreateUsageThresholdErrors];
|
|
10982
|
+
type CreateUsageThresholdResponses = {
|
|
10983
|
+
/**
|
|
10984
|
+
* The created threshold
|
|
10985
|
+
*/
|
|
10986
|
+
201: UsageThreshold;
|
|
10987
|
+
};
|
|
10988
|
+
type CreateUsageThresholdResponse = CreateUsageThresholdResponses[keyof CreateUsageThresholdResponses];
|
|
10989
|
+
type DeleteUsageThresholdData = {
|
|
10990
|
+
body?: never;
|
|
10991
|
+
path: {
|
|
10992
|
+
/**
|
|
10993
|
+
* Threshold public ID
|
|
10994
|
+
*/
|
|
10995
|
+
threshold_id: string;
|
|
10996
|
+
};
|
|
10997
|
+
query?: never;
|
|
10998
|
+
url: '/api/v1/usage/thresholds/{threshold_id}';
|
|
10999
|
+
};
|
|
11000
|
+
type DeleteUsageThresholdErrors = {
|
|
11001
|
+
/**
|
|
11002
|
+
* Unauthorized
|
|
11003
|
+
*/
|
|
11004
|
+
401: ErrorResponse;
|
|
11005
|
+
/**
|
|
11006
|
+
* Forbidden
|
|
11007
|
+
*/
|
|
11008
|
+
403: ErrorResponse;
|
|
11009
|
+
/**
|
|
11010
|
+
* Threshold not found
|
|
11011
|
+
*/
|
|
11012
|
+
404: ErrorResponse;
|
|
11013
|
+
};
|
|
11014
|
+
type DeleteUsageThresholdError = DeleteUsageThresholdErrors[keyof DeleteUsageThresholdErrors];
|
|
11015
|
+
type DeleteUsageThresholdResponses = {
|
|
11016
|
+
/**
|
|
11017
|
+
* Deleted
|
|
11018
|
+
*/
|
|
11019
|
+
204: void;
|
|
11020
|
+
};
|
|
11021
|
+
type DeleteUsageThresholdResponse = DeleteUsageThresholdResponses[keyof DeleteUsageThresholdResponses];
|
|
11022
|
+
type GetUsageReceiptData = {
|
|
11023
|
+
body?: never;
|
|
11024
|
+
path?: never;
|
|
11025
|
+
query?: {
|
|
11026
|
+
/**
|
|
11027
|
+
* Generation public ID. Mutually exclusive with run_id.
|
|
11028
|
+
*
|
|
11029
|
+
*/
|
|
11030
|
+
generation_id?: string;
|
|
11031
|
+
/**
|
|
11032
|
+
* Orchestration run public ID. Returns the receipt summed across every generation the run metered. Mutually exclusive with generation_id.
|
|
11033
|
+
*
|
|
11034
|
+
*/
|
|
11035
|
+
run_id?: string;
|
|
10577
11036
|
};
|
|
10578
11037
|
url: '/api/v1/usage/receipt';
|
|
10579
11038
|
};
|
|
@@ -10594,7 +11053,7 @@ type GetUsageReceiptErrors = {
|
|
|
10594
11053
|
type GetUsageReceiptError = GetUsageReceiptErrors[keyof GetUsageReceiptErrors];
|
|
10595
11054
|
type GetUsageReceiptResponses = {
|
|
10596
11055
|
/**
|
|
10597
|
-
* The generation
|
|
11056
|
+
* The generation or run usage receipt
|
|
10598
11057
|
*/
|
|
10599
11058
|
200: UsageReceipt;
|
|
10600
11059
|
};
|
|
@@ -12289,12 +12748,40 @@ declare class Usage {
|
|
|
12289
12748
|
*/
|
|
12290
12749
|
static listUsageMeters<ThrowOnError extends boolean = false>(options?: Options<ListUsageMetersData, ThrowOnError>): RequestResult<ListUsageMetersResponses, ListUsageMetersErrors, ThrowOnError>;
|
|
12291
12750
|
/**
|
|
12292
|
-
* Get
|
|
12751
|
+
* Get aggregated usage for a project
|
|
12752
|
+
*
|
|
12753
|
+
* Returns a project's usage rolled up over an optional `[from, to]` time window, bucketed by a single dimension. Each group and the grand total carry summed token counts and `cost_usd` (null when no event in the bucket was priced). This is the per-project cost-by-range/by-category query — a monthly figure without scanning raw meter rows client-side.
|
|
12754
|
+
*
|
|
12755
|
+
*/
|
|
12756
|
+
static getUsage<ThrowOnError extends boolean = false>(options: Options<GetUsageData, ThrowOnError>): RequestResult<GetUsageResponses, GetUsageErrors, ThrowOnError>;
|
|
12757
|
+
/**
|
|
12758
|
+
* List usage thresholds
|
|
12759
|
+
*
|
|
12760
|
+
* Lists the usage alert thresholds the caller can access, optionally filtered by project_id. Each threshold fires the `usage.threshold_crossed` webhook when a project's cost or token usage over a calendar-month or rolling-24h window crosses the configured value.
|
|
12761
|
+
*
|
|
12762
|
+
*/
|
|
12763
|
+
static listUsageThresholds<ThrowOnError extends boolean = false>(options?: Options<ListUsageThresholdsData, ThrowOnError>): RequestResult<ListUsageThresholdsResponses, ListUsageThresholdsErrors, ThrowOnError>;
|
|
12764
|
+
/**
|
|
12765
|
+
* Create a usage threshold
|
|
12766
|
+
*
|
|
12767
|
+
* Creates a usage alert threshold on a project. Thresholds are immutable apart from deletion — to change one, delete and recreate it (which resets its fire state).
|
|
12768
|
+
*
|
|
12769
|
+
*/
|
|
12770
|
+
static createUsageThreshold<ThrowOnError extends boolean = false>(options: Options<CreateUsageThresholdData, ThrowOnError>): RequestResult<CreateUsageThresholdResponses, CreateUsageThresholdErrors, ThrowOnError>;
|
|
12771
|
+
/**
|
|
12772
|
+
* Delete a usage threshold
|
|
12773
|
+
*
|
|
12774
|
+
* Deletes a usage threshold, resetting its fire state. Recreating a threshold starts its once-per-window / hysteresis state fresh.
|
|
12775
|
+
*
|
|
12776
|
+
*/
|
|
12777
|
+
static deleteUsageThreshold<ThrowOnError extends boolean = false>(options: Options<DeleteUsageThresholdData, ThrowOnError>): RequestResult<DeleteUsageThresholdResponses, DeleteUsageThresholdErrors, ThrowOnError>;
|
|
12778
|
+
/**
|
|
12779
|
+
* Get a generation or run billing receipt
|
|
12293
12780
|
*
|
|
12294
|
-
* Returns a billing receipt for a
|
|
12781
|
+
* Returns a billing receipt. Pass generation_id for a per-generation receipt, or run_id for a per-run receipt summed across the orchestration run's meters — both share the same shape (per-model line items with tokens, the price-book version that priced them, and cost, plus totals). Exactly one of generation_id or run_id must be supplied.
|
|
12295
12782
|
*
|
|
12296
12783
|
*/
|
|
12297
|
-
static getUsageReceipt<ThrowOnError extends boolean = false>(options
|
|
12784
|
+
static getUsageReceipt<ThrowOnError extends boolean = false>(options?: Options<GetUsageReceiptData, ThrowOnError>): RequestResult<GetUsageReceiptResponses, GetUsageReceiptErrors, ThrowOnError>;
|
|
12298
12785
|
/**
|
|
12299
12786
|
* Get the price book
|
|
12300
12787
|
*
|
|
@@ -12485,4 +12972,4 @@ declare class SoatClient {
|
|
|
12485
12972
|
constructor({ baseUrl, token, headers }?: SoatClientOptions);
|
|
12486
12973
|
}
|
|
12487
12974
|
//#endregion
|
|
12488
|
-
export { type ActorRecord, type ActorResourceProperties, Actors, type AddConversationMessageData, type AddConversationMessageError, type AddConversationMessageErrors, type AddConversationMessageResponse, type AddConversationMessageResponses, type AddSessionMessageData, type AddSessionMessageError, type AddSessionMessageErrors, type AddSessionMessageRequest, type AddSessionMessageResponse, type AddSessionMessageResponse2, type AddSessionMessageResponses, type AddSessionMessageSaved, type Agent, type AgentGenerationResponse, type AgentResourceProperties, Agents, type AiProviderResourceProperties, AiProviders, type ApiKeyCreated, type ApiKeyRecord, type ApiKeyResourceProperties, ApiKeys, type ApprovalId, type ApprovalItem, Approvals, type ApproveApprovalData, type ApproveApprovalErrors, type ApproveApprovalResponse, type ApproveApprovalResponses, type AttachUserPoliciesData, type AttachUserPoliciesError, type AttachUserPoliciesErrors, type AttachUserPoliciesResponse, type AttachUserPoliciesResponses, type BootstrapUserData, type BootstrapUserError, type BootstrapUserErrors, type BootstrapUserResponse, type BootstrapUserResponses, type CallToolData, type CallToolError, type CallToolErrors, type CallToolRequest, type CallToolResponse, type CallToolResponses, type CancelOrchestrationRunData, type CancelOrchestrationRunErrors, type CancelOrchestrationRunResponse, type CancelOrchestrationRunResponses, type Chat, type ChatCompletionChoice, type ChatCompletionForChatRequest, type ChatCompletionRequest, type ChatCompletionResponse, type ChatCompletionResponseMessage, type ChatMessage, type ChatMessageInput, type ChatResourceProperties, Chats, type ClientOptions, type CompleteIngestionCallbackData, type CompleteIngestionCallbackError, type CompleteIngestionCallbackErrors, type CompleteIngestionCallbackResponse, type CompleteIngestionCallbackResponses, type ConversationMessageRecord, type ConversationRecord, type ConversationResourceProperties, Conversations, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentData, type CreateAgentError, type CreateAgentErrors, type CreateAgentGenerationData, type CreateAgentGenerationError, type CreateAgentGenerationErrors, type CreateAgentGenerationRequest, type CreateAgentGenerationResponse, type CreateAgentGenerationResponses, type CreateAgentRequest, type CreateAgentResponse, type CreateAgentResponses, type CreateAiProviderData, type CreateAiProviderErrors, type CreateAiProviderResponse, type CreateAiProviderResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChatCompletionData, type CreateChatCompletionError, type CreateChatCompletionErrors, type CreateChatCompletionForChatData, type CreateChatCompletionForChatError, type CreateChatCompletionForChatErrors, type CreateChatCompletionForChatResponse, type CreateChatCompletionForChatResponses, type CreateChatCompletionResponse, type CreateChatCompletionResponses, type CreateChatData, type CreateChatError, type CreateChatErrors, type CreateChatRequest, type CreateChatResponse, type CreateChatResponses, type CreateConversationData, type CreateConversationError, type CreateConversationErrors, type CreateConversationResponse, type CreateConversationResponses, type CreateDiscussionData, type CreateDiscussionError, type CreateDiscussionErrors, type CreateDiscussionResponse, type CreateDiscussionResponses, type CreateDiscussionRunData, type CreateDiscussionRunError, type CreateDiscussionRunErrors, type CreateDiscussionRunResponse, type CreateDiscussionRunResponses, type CreateDocumentData, type CreateDocumentError, type CreateDocumentErrors, type CreateDocumentResponse, type CreateDocumentResponses, type CreateEmbeddingsData, type CreateEmbeddingsError, type CreateEmbeddingsErrors, type CreateEmbeddingsResponse, type CreateEmbeddingsResponses, type CreateFileData, type CreateFileError, type CreateFileErrors, type CreateFileResponse, type CreateFileResponses, type CreateFormationData, type CreateFormationErrors, type CreateFormationResponse, type CreateFormationResponses, 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 CreateOrchestrationData, type CreateOrchestrationErrors, type CreateOrchestrationRequest, type CreateOrchestrationResponse, type CreateOrchestrationResponses, type CreatePolicyData, type CreatePolicyError, type CreatePolicyErrors, type CreatePolicyResponse, type CreatePolicyResponses, type CreatePresignedUrlData, type CreatePresignedUrlError, type CreatePresignedUrlErrors, type CreatePresignedUrlResponse, type CreatePresignedUrlResponses, type CreateProjectData, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateSecretData, type CreateSecretErrors, type CreateSecretResponse, type CreateSecretResponses, type CreateSessionData, type CreateSessionError, type CreateSessionErrors, type CreateSessionRequest, type CreateSessionResponse, type CreateSessionResponses, type CreateToolData, type CreateToolError, type CreateToolErrors, type CreateToolRequest, type CreateToolResponse, type CreateToolResponses, type CreateTriggerData, type CreateTriggerErrors, type CreateTriggerRequest, type CreateTriggerResponse, type CreateTriggerResponses, type CreateUserData, type CreateUserError, type CreateUserErrors, type CreateUserResponse, type CreateUserResponses, type CreateWebhookData, type CreateWebhookErrors, type CreateWebhookRequest, type CreateWebhookResponse, type CreateWebhookResponses, type DeleteActorData, type DeleteActorError, type DeleteActorErrors, type DeleteActorResponse, type DeleteActorResponses, type DeleteAgentData, type DeleteAgentError, type DeleteAgentErrors, type DeleteAgentResponse, type DeleteAgentResponses, type DeleteAiProviderData, type DeleteAiProviderErrors, type DeleteAiProviderResponses, type DeleteApiKeyData, type DeleteApiKeyErrors, type DeleteApiKeyResponse, type DeleteApiKeyResponses, type DeleteChatData, type DeleteChatError, type DeleteChatErrors, type DeleteChatResponse, type DeleteChatResponses, type DeleteConversationData, type DeleteConversationError, type DeleteConversationErrors, type DeleteConversationResponse, type DeleteConversationResponses, type DeleteDiscussionData, type DeleteDiscussionError, type DeleteDiscussionErrors, type DeleteDiscussionResponse, type DeleteDiscussionResponses, type DeleteDocumentData, type DeleteDocumentError, type DeleteDocumentErrors, type DeleteDocumentResponse, type DeleteDocumentResponses, type DeleteFileData, type DeleteFileError, type DeleteFileErrors, type DeleteFileResponse, type DeleteFileResponses, type DeleteFormationData, type DeleteFormationErrors, type DeleteFormationResponse, type DeleteFormationResponses, 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 DeleteOrchestrationData, type DeleteOrchestrationErrors, type DeleteOrchestrationResponse, type DeleteOrchestrationResponses, type DeletePolicyData, type DeletePolicyErrors, type DeletePolicyResponse, type DeletePolicyResponses, type DeleteProjectData, type DeleteProjectError, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteSecretData, type DeleteSecretErrors, type DeleteSecretResponses, type DeleteSessionData, type DeleteSessionError, type DeleteSessionErrors, type DeleteSessionResponse, type DeleteSessionResponses, type DeleteToolData, type DeleteToolError, type DeleteToolErrors, type DeleteToolResponse, type DeleteToolResponses, type DeleteTriggerData, type DeleteTriggerErrors, type DeleteTriggerResponse, type DeleteTriggerResponses, type DeleteUserData, type DeleteUserError, type DeleteUserErrors, type DeleteUserResponse, type DeleteUserResponses, type DeleteWebhookData, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type Delivery, type DeliveryListResponse, type DiscussionRecord, type DiscussionResourceProperties, type DiscussionRunRecord, Discussions, type DocumentKnowledgeResult, type DocumentMessageContent, type DocumentRecord, type DocumentResourceProperties, type DocumentStatusRecord, Documents, type DownloadFileBase64Data, type DownloadFileBase64Error, type DownloadFileBase64Errors, type DownloadFileBase64Response, type DownloadFileBase64Responses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, Embeddings, type EmbeddingsResponse, type ErrorResponse, type FileRecord, type FileRecordWritable, type FileResourceProperties, Files, type FireTriggerData, type FireTriggerErrors, type FireTriggerRequest, type FireTriggerResponse, type FireTriggerResponses, type Formation, type FormationEvent, type FormationOperation, type FormationResource, type FormationTemplate, type FormationTemplateInput, Formations, type GenerateConversationMessageCompleted, type GenerateConversationMessageData, type GenerateConversationMessageError, type GenerateConversationMessageErrors, type GenerateConversationMessageRequiresAction, type GenerateConversationMessageResponse, type GenerateConversationMessageResponse2, type GenerateConversationMessageResponses, type GenerateSessionRequest, type GenerateSessionResponse, type GenerateSessionResponseData, type GenerateSessionResponseError, type GenerateSessionResponseErrors, type GenerateSessionResponseResponse, type GenerateSessionResponseResponses, type Generation, Generations, type GetActorData, type GetActorError, type GetActorErrors, type GetActorResponse, type GetActorResponses, type GetActorTagsData, type GetActorTagsError, type GetActorTagsErrors, type GetActorTagsResponse, type GetActorTagsResponses, type GetAgentData, type GetAgentError, type GetAgentErrors, type GetAgentResponse, type GetAgentResponses, type GetAiProviderData, type GetAiProviderErrors, type GetAiProviderPricesData, type GetAiProviderPricesErrors, type GetAiProviderPricesResponse, type GetAiProviderPricesResponses, type GetAiProviderResponse, type GetAiProviderResponses, type GetApiKeyData, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, type GetApprovalData, type GetApprovalErrors, type GetApprovalResponse, type GetApprovalResponses, type GetChatData, type GetChatError, type GetChatErrors, type GetChatResponse, type GetChatResponses, type GetConversationData, type GetConversationError, type GetConversationErrors, type GetConversationResponse, type GetConversationResponses, type GetConversationTagsData, type GetConversationTagsError, type GetConversationTagsErrors, type GetConversationTagsResponse, type GetConversationTagsResponses, type GetCurrentUserData, type GetCurrentUserError, type GetCurrentUserErrors, type GetCurrentUserResponse, type GetCurrentUserResponses, type GetDiscussionData, type GetDiscussionError, type GetDiscussionErrors, type GetDiscussionResponse, type GetDiscussionResponses, type GetDiscussionRunData, type GetDiscussionRunError, type GetDiscussionRunErrors, type GetDiscussionRunResponse, type GetDiscussionRunResponses, 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 GetFileData, type GetFileError, type GetFileErrors, type GetFileResponse, type GetFileResponses, type GetFileTagsData, type GetFileTagsError, type GetFileTagsErrors, type GetFileTagsResponse, type GetFileTagsResponses, type GetFormationData, type GetFormationErrors, type GetFormationResponse, type GetFormationResponses, type GetGenerationData, type GetGenerationError, type GetGenerationErrors, type GetGenerationResponse, type GetGenerationResponses, type GetIngestionRuleData, type GetIngestionRuleErrors, type GetIngestionRuleResponse, type GetIngestionRuleResponses, type GetMemoryData, type GetMemoryEntryData, type GetMemoryEntryErrors, type GetMemoryEntryResponse, type GetMemoryEntryResponses, type GetMemoryErrors, type GetMemoryResponse, type GetMemoryResponses, type GetOrchestrationData, type GetOrchestrationErrors, type GetOrchestrationResponse, type GetOrchestrationResponses, type GetOrchestrationRunData, type GetOrchestrationRunErrors, type GetOrchestrationRunResponse, type GetOrchestrationRunResponses, type GetPolicyData, type GetPolicyErrors, type GetPolicyResponse, type GetPolicyResponses, type GetPriceBookData, type GetPriceBookError, type GetPriceBookErrors, type GetPriceBookResponse, type GetPriceBookResponses, type GetProjectData, type GetProjectErrors, type GetProjectPricesData, type GetProjectPricesErrors, type GetProjectPricesResponse, type GetProjectPricesResponses, type GetProjectResponse, type GetProjectResponses, type 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 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 GetUsageReceiptData, type GetUsageReceiptError, type GetUsageReceiptErrors, type GetUsageReceiptResponse, type GetUsageReceiptResponses, type GetUserData, type GetUserError, type GetUserErrors, type GetUserResponse, type GetUserResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type GetWebhookSecretData, type GetWebhookSecretErrors, type GetWebhookSecretResponse, type GetWebhookSecretResponses, type HumanInputRequest, type IngestDocumentData, type IngestDocumentError, type IngestDocumentErrors, type IngestDocumentResponse, type IngestDocumentResponses, type IngestedDocumentRecord, type IngestionRule, type IngestionRuleResourceProperties, IngestionRules, Knowledge, type KnowledgeResult, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListAiProvidersData, type ListAiProvidersErrors, type ListAiProvidersResponse, type ListAiProvidersResponses, type ListApiKeysData, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListApprovalsData, type ListApprovalsErrors, type ListApprovalsResponse, type ListApprovalsResponses, type ListChatsData, type ListChatsError, type ListChatsErrors, type ListChatsResponse, type ListChatsResponses, type ListConversationMessagesData, type ListConversationMessagesError, type ListConversationMessagesErrors, type ListConversationMessagesResponse, type ListConversationMessagesResponses, type ListConversationsData, type ListConversationsError, type ListConversationsErrors, type ListConversationsResponse, type ListConversationsResponses, type ListDiscussionRunsData, type ListDiscussionRunsError, type ListDiscussionRunsErrors, type ListDiscussionRunsResponse, type ListDiscussionRunsResponses, type ListDiscussionsData, type ListDiscussionsError, type ListDiscussionsErrors, type ListDiscussionsResponse, type ListDiscussionsResponses, type ListDocumentsData, type ListDocumentsError, type ListDocumentsErrors, type ListDocumentsResponse, type ListDocumentsResponses, type ListFilesData, type ListFilesError, type ListFilesErrors, type ListFilesResponse, type ListFilesResponses, type ListFormationEventsData, type ListFormationEventsErrors, type ListFormationEventsResponse, type ListFormationEventsResponses, type ListFormationsData, type ListFormationsErrors, type ListFormationsResponse, type ListFormationsResponses, type ListGenerationsData, type ListGenerationsError, type ListGenerationsErrors, type ListGenerationsResponse, type ListGenerationsResponses, type ListIngestionRulesData, type ListIngestionRulesErrors, type ListIngestionRulesResponse, type ListIngestionRulesResponses, type ListMemoriesData, type ListMemoriesErrors, type ListMemoriesResponse, type ListMemoriesResponses, type ListMemoryEntriesData, type ListMemoryEntriesErrors, type ListMemoryEntriesResponse, type ListMemoryEntriesResponses, type ListOrchestrationRunsData, type ListOrchestrationRunsErrors, type ListOrchestrationRunsResponse, type ListOrchestrationRunsResponses, type ListOrchestrationsData, type ListOrchestrationsErrors, type ListOrchestrationsResponse, type ListOrchestrationsResponses, type ListPoliciesData, type ListPoliciesErrors, type ListPoliciesResponse, type ListPoliciesResponses, type ListProjectsData, type ListProjectsErrors, type ListProjectsResponse, type ListProjectsResponses, type ListSecretsData, type ListSecretsErrors, type ListSecretsResponse, type ListSecretsResponses, type ListSessionsData, type ListSessionsError, type ListSessionsErrors, type ListSessionsResponse, type ListSessionsResponses, 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 ListUsageMetersData, type ListUsageMetersError, type ListUsageMetersErrors, type ListUsageMetersResponse, type ListUsageMetersResponses, type ListUsersData, type ListUsersError, type ListUsersErrors, type ListUsersResponse, type ListUsersResponses, type ListWebhookDeliveriesData, type ListWebhookDeliveriesErrors, type ListWebhookDeliveriesResponse, type ListWebhookDeliveriesResponses, type ListWebhooksData, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type LoginResponse, type LoginUserData, type LoginUserError, type LoginUserErrors, type LoginUserResponse, type LoginUserResponses, Memories, type Memory, MemoryEntries, type MemoryEntry, type MemoryEntryResourceProperties, type MemoryEntryWriteResult, type MemoryKnowledgeResult, type MemoryResourceProperties, type MergeActorTagsData, type MergeActorTagsError, type MergeActorTagsErrors, type MergeActorTagsResponse, type MergeActorTagsResponses, type MergeConversationTagsData, type MergeConversationTagsError, type MergeConversationTagsErrors, type MergeConversationTagsResponse, type MergeConversationTagsResponses, type MergeDocumentTagsData, type MergeDocumentTagsError, type MergeDocumentTagsErrors, type MergeDocumentTagsResponse, type MergeDocumentTagsResponses, type MergeFileTagsData, type MergeFileTagsError, type MergeFileTagsErrors, type MergeFileTagsResponse, type MergeFileTagsResponses, type MergeSessionTagsData, type MergeSessionTagsError, type MergeSessionTagsErrors, type MergeSessionTagsResponse, type MergeSessionTagsResponses, type NodeExecution, type Options, type Orchestration, type OrchestrationEdge, type OrchestrationId, type OrchestrationNode, type OrchestrationResourceProperties, type OrchestrationRun, Orchestrations, type ParameterDeclaration, type ParticipantInput, type ParticipantRecord, type PatchAgentData, type PatchAgentError, type PatchAgentErrors, type PatchAgentResponse, type PatchAgentResponses, type PlanChange, type PlanFormationData, type PlanFormationErrors, type PlanFormationResponse, type PlanFormationResponses, type PlanResult, Policies, type PolicyDocument, type PolicyRecord, type PolicyResourceProperties, type PolicyStatement, type PresignedUrlRequest, type PresignedUrlResponse, type Price, type PriceBookResponse, type ProjectPrice, type ProjectPricesResponse, type ProjectRecord, Projects, type ProviderPrice, type ProviderPricesResponse, type ReingestDocumentData, type ReingestDocumentError, type ReingestDocumentErrors, type ReingestDocumentResponse, type ReingestDocumentResponses, type RejectApprovalData, type RejectApprovalErrors, type RejectApprovalResponse, type RejectApprovalResponses, type RemoveConversationMessageData, type RemoveConversationMessageError, type RemoveConversationMessageErrors, type RemoveConversationMessageResponse, type RemoveConversationMessageResponses, type ReplaceActorTagsData, type ReplaceActorTagsError, type ReplaceActorTagsErrors, type ReplaceActorTagsResponse, type ReplaceActorTagsResponses, type ReplaceConversationTagsData, type ReplaceConversationTagsError, type ReplaceConversationTagsErrors, type ReplaceConversationTagsResponse, type ReplaceConversationTagsResponses, type ReplaceDocumentTagsData, type ReplaceDocumentTagsError, type ReplaceDocumentTagsErrors, type ReplaceDocumentTagsResponse, type ReplaceDocumentTagsResponses, type ReplaceFileTagsData, type ReplaceFileTagsError, type ReplaceFileTagsErrors, type ReplaceFileTagsResponse, type ReplaceFileTagsResponses, type ReplaceSessionTagsData, type ReplaceSessionTagsError, type ReplaceSessionTagsErrors, type ReplaceSessionTagsResponse, type ReplaceSessionTagsResponses, type RequiredAction, type ResourceDeclaration, type ResumeOrchestrationRunData, type ResumeOrchestrationRunErrors, type ResumeOrchestrationRunResponse, type ResumeOrchestrationRunResponses, type RotateTriggerSecretData, type RotateTriggerSecretErrors, type RotateTriggerSecretResponse, type RotateTriggerSecretResponses, type RotateWebhookSecretData, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RunId, type SearchKnowledgeData, type SearchKnowledgeError, type SearchKnowledgeErrors, type SearchKnowledgeResponse, type SearchKnowledgeResponses, type SecretResourceProperties, Secrets, type SendSessionMessageResponse, type SessionId, type SessionRecord, type SessionResourceProperties, Sessions, SoatClient, type SoatClientOptions, 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 SynthesisConfig, type Tool, type ToolOutputMessageContent, type ToolResourceProperties, Tools, type Trace, type TraceTreeNode, Traces, type Trigger, type TriggerFiring, type TriggerFiringListResponse, type TriggerResourceProperties, 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 UpdateConversationData, type UpdateConversationError, type UpdateConversationErrors, type UpdateConversationResponse, type UpdateConversationResponses, type UpdateDiscussionData, type UpdateDiscussionError, type UpdateDiscussionErrors, type UpdateDiscussionResponse, type UpdateDiscussionResponses, type UpdateDocumentData, type UpdateDocumentError, type UpdateDocumentErrors, type UpdateDocumentResponse, type UpdateDocumentResponses, type UpdateFileMetadataData, type UpdateFileMetadataError, type UpdateFileMetadataErrors, type UpdateFileMetadataResponse, type UpdateFileMetadataResponses, type UpdateFormationData, type UpdateFormationErrors, type UpdateFormationResponse, type UpdateFormationResponses, 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 UpdateOrchestrationData, type UpdateOrchestrationErrors, type UpdateOrchestrationRequest, type UpdateOrchestrationResponse, type UpdateOrchestrationResponses, type UpdatePolicyData, type UpdatePolicyError, type UpdatePolicyErrors, type UpdatePolicyResponse, type UpdatePolicyResponses, type UpdateProjectData, type UpdateProjectErrors, type UpdateProjectPricesData, type UpdateProjectPricesErrors, type UpdateProjectPricesResponse, type UpdateProjectPricesResponses, type UpdateProjectResponse, type UpdateProjectResponses, type UpdateSecretData, type UpdateSecretErrors, type UpdateSecretResponses, type UpdateSessionData, type UpdateSessionError, type UpdateSessionErrors, type UpdateSessionRequest, type UpdateSessionResponse, type UpdateSessionResponses, type UpdateToolData, type UpdateToolError, type UpdateToolErrors, type UpdateToolRequest, type UpdateToolResponse, type UpdateToolResponses, type UpdateTriggerData, type UpdateTriggerErrors, type UpdateTriggerRequest, type UpdateTriggerResponse, type UpdateTriggerResponses, type UpdateWebhookData, type UpdateWebhookErrors, type UpdateWebhookRequest, type UpdateWebhookResponse, type UpdateWebhookResponses, type UploadFileBase64Data, type UploadFileBase64Error, type UploadFileBase64Errors, type UploadFileBase64Request, type UploadFileBase64Response, type UploadFileBase64Responses, type UploadFileData, type UploadFileError, type UploadFileErrors, type UploadFileResponse, type UploadFileResponses, type UploadFileWithTokenData, type UploadFileWithTokenError, type UploadFileWithTokenErrors, type UploadFileWithTokenRequest, type UploadFileWithTokenResponse, type UploadFileWithTokenResponses, type UpsertPriceBookData, type UpsertPriceBookError, type UpsertPriceBookErrors, type UpsertPriceBookResponse, type UpsertPriceBookResponses, type UpsertPricesRequest, type UpsertProjectPricesRequest, type UpsertProviderPricesRequest, Usage, type UsageMeter, type UsageReceipt, type UserRecord, Users, type ValidateFormationData, type ValidateFormationErrors, type ValidateFormationResponse, type ValidateFormationResponses, type ValidateOrchestrationData, type ValidateOrchestrationErrors, type ValidateOrchestrationRequest, type ValidateOrchestrationResponse, type ValidateOrchestrationResponses, type ValidationError, type ValidationResult, type Webhook, type WebhookResourceProperties, type WebhookSecretResponse, type WebhookWithSecret, Webhooks, createClient, createConfig };
|
|
12975
|
+
export { type ActorRecord, type ActorResourceProperties, Actors, type AddConversationMessageData, type AddConversationMessageError, type AddConversationMessageErrors, type AddConversationMessageResponse, type AddConversationMessageResponses, type AddSessionMessageData, type AddSessionMessageError, type AddSessionMessageErrors, type AddSessionMessageRequest, type AddSessionMessageResponse, type AddSessionMessageResponse2, type AddSessionMessageResponses, type AddSessionMessageSaved, type Agent, type AgentGenerationResponse, type AgentResourceProperties, Agents, type AiProviderResourceProperties, AiProviders, type ApiKeyCreated, type ApiKeyRecord, type ApiKeyResourceProperties, ApiKeys, type ApprovalId, type ApprovalItem, Approvals, type ApproveApprovalData, type ApproveApprovalErrors, type ApproveApprovalResponse, type ApproveApprovalResponses, type AttachUserPoliciesData, type AttachUserPoliciesError, type AttachUserPoliciesErrors, type AttachUserPoliciesResponse, type AttachUserPoliciesResponses, type BootstrapUserData, type BootstrapUserError, type BootstrapUserErrors, type BootstrapUserResponse, type BootstrapUserResponses, type CallToolData, type CallToolError, type CallToolErrors, type CallToolRequest, type CallToolResponse, type CallToolResponses, type CancelOrchestrationRunData, type CancelOrchestrationRunErrors, type CancelOrchestrationRunResponse, type CancelOrchestrationRunResponses, type Chat, type ChatCompletionChoice, type ChatCompletionForChatRequest, type ChatCompletionRequest, type ChatCompletionResponse, type ChatCompletionResponseMessage, type ChatMessage, type ChatMessageInput, type ChatResourceProperties, Chats, type ClientOptions, type CompleteIngestionCallbackData, type CompleteIngestionCallbackError, type CompleteIngestionCallbackErrors, type CompleteIngestionCallbackResponse, type CompleteIngestionCallbackResponses, type ConversationMessageRecord, type ConversationRecord, type ConversationResourceProperties, Conversations, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentData, type CreateAgentError, type CreateAgentErrors, type CreateAgentGenerationData, type CreateAgentGenerationError, type CreateAgentGenerationErrors, type CreateAgentGenerationRequest, type CreateAgentGenerationResponse, type CreateAgentGenerationResponses, type CreateAgentRequest, type CreateAgentResponse, type CreateAgentResponses, type CreateAiProviderData, type CreateAiProviderErrors, type CreateAiProviderResponse, type CreateAiProviderResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChatCompletionData, type CreateChatCompletionError, type CreateChatCompletionErrors, type CreateChatCompletionForChatData, type CreateChatCompletionForChatError, type CreateChatCompletionForChatErrors, type CreateChatCompletionForChatResponse, type CreateChatCompletionForChatResponses, type CreateChatCompletionResponse, type CreateChatCompletionResponses, type CreateChatData, type CreateChatError, type CreateChatErrors, type CreateChatRequest, type CreateChatResponse, type CreateChatResponses, type CreateConversationData, type CreateConversationError, type CreateConversationErrors, type CreateConversationResponse, type CreateConversationResponses, type CreateDiscussionData, type CreateDiscussionError, type CreateDiscussionErrors, type CreateDiscussionResponse, type CreateDiscussionResponses, type CreateDiscussionRunData, type CreateDiscussionRunError, type CreateDiscussionRunErrors, type CreateDiscussionRunResponse, type CreateDiscussionRunResponses, type CreateDocumentData, type CreateDocumentError, type CreateDocumentErrors, type CreateDocumentResponse, type CreateDocumentResponses, type CreateEmbeddingsData, type CreateEmbeddingsError, type CreateEmbeddingsErrors, type CreateEmbeddingsResponse, type CreateEmbeddingsResponses, type CreateFileData, type CreateFileError, type CreateFileErrors, type CreateFileResponse, type CreateFileResponses, type CreateFormationData, type CreateFormationErrors, type CreateFormationResponse, type CreateFormationResponses, 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 CreateOrchestrationData, type CreateOrchestrationErrors, type CreateOrchestrationRequest, type CreateOrchestrationResponse, type CreateOrchestrationResponses, type CreatePolicyData, type CreatePolicyError, type CreatePolicyErrors, type CreatePolicyResponse, type CreatePolicyResponses, type CreatePresignedUrlData, type CreatePresignedUrlError, type CreatePresignedUrlErrors, type CreatePresignedUrlResponse, type CreatePresignedUrlResponses, type CreateProjectData, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateSecretData, type CreateSecretErrors, type CreateSecretResponse, type CreateSecretResponses, type CreateSessionData, type CreateSessionError, type CreateSessionErrors, type CreateSessionRequest, type CreateSessionResponse, type CreateSessionResponses, type CreateToolData, type CreateToolError, type CreateToolErrors, type CreateToolRequest, type CreateToolResponse, type CreateToolResponses, type CreateTriggerData, type CreateTriggerErrors, type CreateTriggerRequest, type CreateTriggerResponse, type CreateTriggerResponses, type CreateUsageThresholdData, type CreateUsageThresholdError, type CreateUsageThresholdErrors, type CreateUsageThresholdRequest, type CreateUsageThresholdResponse, type CreateUsageThresholdResponses, type CreateUserData, type CreateUserError, type CreateUserErrors, type CreateUserResponse, type CreateUserResponses, type CreateWebhookData, type CreateWebhookErrors, type CreateWebhookRequest, type CreateWebhookResponse, type CreateWebhookResponses, type DeleteActorData, type DeleteActorError, type DeleteActorErrors, type DeleteActorResponse, type DeleteActorResponses, type DeleteAgentData, type DeleteAgentError, type DeleteAgentErrors, type DeleteAgentResponse, type DeleteAgentResponses, type DeleteAiProviderData, type DeleteAiProviderErrors, type DeleteAiProviderResponses, type DeleteApiKeyData, type DeleteApiKeyErrors, type DeleteApiKeyResponse, type DeleteApiKeyResponses, type DeleteChatData, type DeleteChatError, type DeleteChatErrors, type DeleteChatResponse, type DeleteChatResponses, type DeleteConversationData, type DeleteConversationError, type DeleteConversationErrors, type DeleteConversationResponse, type DeleteConversationResponses, type DeleteDiscussionData, type DeleteDiscussionError, type DeleteDiscussionErrors, type DeleteDiscussionResponse, type DeleteDiscussionResponses, type DeleteDocumentData, type DeleteDocumentError, type DeleteDocumentErrors, type DeleteDocumentResponse, type DeleteDocumentResponses, type DeleteFileData, type DeleteFileError, type DeleteFileErrors, type DeleteFileResponse, type DeleteFileResponses, type DeleteFormationData, type DeleteFormationErrors, type DeleteFormationResponse, type DeleteFormationResponses, 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 DeleteOrchestrationData, type DeleteOrchestrationErrors, type DeleteOrchestrationResponse, type DeleteOrchestrationResponses, type DeletePolicyData, type DeletePolicyErrors, type DeletePolicyResponse, type DeletePolicyResponses, type DeleteProjectData, type DeleteProjectError, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteSecretData, type DeleteSecretErrors, type DeleteSecretResponses, type DeleteSessionData, type DeleteSessionError, type DeleteSessionErrors, type DeleteSessionResponse, type DeleteSessionResponses, type DeleteToolData, type DeleteToolError, type DeleteToolErrors, type DeleteToolResponse, type DeleteToolResponses, type DeleteTriggerData, type DeleteTriggerErrors, type DeleteTriggerResponse, type DeleteTriggerResponses, type DeleteUsageThresholdData, type DeleteUsageThresholdError, type DeleteUsageThresholdErrors, type DeleteUsageThresholdResponse, type DeleteUsageThresholdResponses, type DeleteUserData, type DeleteUserError, type DeleteUserErrors, type DeleteUserResponse, type DeleteUserResponses, type DeleteWebhookData, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type Delivery, type DeliveryListResponse, type DiscussionRecord, type DiscussionResourceProperties, type DiscussionRunRecord, Discussions, type DocumentKnowledgeResult, type DocumentMessageContent, type DocumentRecord, type DocumentResourceProperties, type DocumentStatusRecord, Documents, type DownloadFileBase64Data, type DownloadFileBase64Error, type DownloadFileBase64Errors, type DownloadFileBase64Response, type DownloadFileBase64Responses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, Embeddings, type EmbeddingsResponse, type ErrorResponse, type FileRecord, type FileRecordWritable, type FileResourceProperties, Files, type FireTriggerData, type FireTriggerErrors, type FireTriggerRequest, type FireTriggerResponse, type FireTriggerResponses, type Formation, type FormationEvent, type FormationOperation, type FormationResource, type FormationTemplate, type FormationTemplateInput, Formations, type GenerateConversationMessageCompleted, type GenerateConversationMessageData, type GenerateConversationMessageError, type GenerateConversationMessageErrors, type GenerateConversationMessageRequiresAction, type GenerateConversationMessageResponse, type GenerateConversationMessageResponse2, type GenerateConversationMessageResponses, type GenerateSessionRequest, type GenerateSessionResponse, type GenerateSessionResponseData, type GenerateSessionResponseError, type GenerateSessionResponseErrors, type GenerateSessionResponseResponse, type GenerateSessionResponseResponses, type Generation, Generations, type GetActorData, type GetActorError, type GetActorErrors, type GetActorResponse, type GetActorResponses, type GetActorTagsData, type GetActorTagsError, type GetActorTagsErrors, type GetActorTagsResponse, type GetActorTagsResponses, type GetAgentData, type GetAgentError, type GetAgentErrors, type GetAgentResponse, type GetAgentResponses, type GetAiProviderData, type GetAiProviderErrors, type GetAiProviderPricesData, type GetAiProviderPricesErrors, type GetAiProviderPricesResponse, type GetAiProviderPricesResponses, type GetAiProviderResponse, type GetAiProviderResponses, type GetApiKeyData, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, type GetApprovalData, type GetApprovalErrors, type GetApprovalResponse, type GetApprovalResponses, type GetChatData, type GetChatError, type GetChatErrors, type GetChatResponse, type GetChatResponses, type GetConversationData, type GetConversationError, type GetConversationErrors, type GetConversationResponse, type GetConversationResponses, type GetConversationTagsData, type GetConversationTagsError, type GetConversationTagsErrors, type GetConversationTagsResponse, type GetConversationTagsResponses, type GetCurrentUserData, type GetCurrentUserError, type GetCurrentUserErrors, type GetCurrentUserResponse, type GetCurrentUserResponses, type GetDiscussionData, type GetDiscussionError, type GetDiscussionErrors, type GetDiscussionResponse, type GetDiscussionResponses, type GetDiscussionRunData, type GetDiscussionRunError, type GetDiscussionRunErrors, type GetDiscussionRunResponse, type GetDiscussionRunResponses, 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 GetFileData, type GetFileError, type GetFileErrors, type GetFileResponse, type GetFileResponses, type GetFileTagsData, type GetFileTagsError, type GetFileTagsErrors, type GetFileTagsResponse, type GetFileTagsResponses, type GetFormationData, type GetFormationErrors, type GetFormationResponse, type GetFormationResponses, type GetGenerationData, type GetGenerationError, type GetGenerationErrors, type GetGenerationResponse, type GetGenerationResponses, type GetIngestionRuleData, type GetIngestionRuleErrors, type GetIngestionRuleResponse, type GetIngestionRuleResponses, type GetMemoryData, type GetMemoryEntryData, type GetMemoryEntryErrors, type GetMemoryEntryResponse, type GetMemoryEntryResponses, type GetMemoryErrors, type GetMemoryResponse, type GetMemoryResponses, type GetOrchestrationData, type GetOrchestrationErrors, type GetOrchestrationResponse, type GetOrchestrationResponses, type GetOrchestrationRunData, type GetOrchestrationRunErrors, type GetOrchestrationRunResponse, type GetOrchestrationRunResponses, type GetPolicyData, type GetPolicyErrors, type GetPolicyResponse, type GetPolicyResponses, type GetPriceBookData, type GetPriceBookError, type GetPriceBookErrors, type GetPriceBookResponse, type GetPriceBookResponses, type GetProjectData, type GetProjectErrors, type GetProjectPricesData, type GetProjectPricesErrors, type GetProjectPricesResponse, type GetProjectPricesResponses, type GetProjectResponse, type GetProjectResponses, type 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 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 GetUsageData, type GetUsageError, type GetUsageErrors, type GetUsageReceiptData, type GetUsageReceiptError, type GetUsageReceiptErrors, type GetUsageReceiptResponse, type GetUsageReceiptResponses, type GetUsageResponse, type GetUsageResponses, type GetUserData, type GetUserError, type GetUserErrors, type GetUserResponse, type GetUserResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type GetWebhookSecretData, type GetWebhookSecretErrors, type GetWebhookSecretResponse, type GetWebhookSecretResponses, type HumanInputRequest, type IngestDocumentData, type IngestDocumentError, type IngestDocumentErrors, type IngestDocumentResponse, type IngestDocumentResponses, type IngestedDocumentRecord, type IngestionRule, type IngestionRuleResourceProperties, IngestionRules, Knowledge, type KnowledgeResult, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListAiProvidersData, type ListAiProvidersErrors, type ListAiProvidersResponse, type ListAiProvidersResponses, type ListApiKeysData, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListApprovalsData, type ListApprovalsErrors, type ListApprovalsResponse, type ListApprovalsResponses, type ListChatsData, type ListChatsError, type ListChatsErrors, type ListChatsResponse, type ListChatsResponses, type ListConversationMessagesData, type ListConversationMessagesError, type ListConversationMessagesErrors, type ListConversationMessagesResponse, type ListConversationMessagesResponses, type ListConversationsData, type ListConversationsError, type ListConversationsErrors, type ListConversationsResponse, type ListConversationsResponses, type ListDiscussionRunsData, type ListDiscussionRunsError, type ListDiscussionRunsErrors, type ListDiscussionRunsResponse, type ListDiscussionRunsResponses, type ListDiscussionsData, type ListDiscussionsError, type ListDiscussionsErrors, type ListDiscussionsResponse, type ListDiscussionsResponses, type ListDocumentsData, type ListDocumentsError, type ListDocumentsErrors, type ListDocumentsResponse, type ListDocumentsResponses, type ListFilesData, type ListFilesError, type ListFilesErrors, type ListFilesResponse, type ListFilesResponses, type ListFormationEventsData, type ListFormationEventsErrors, type ListFormationEventsResponse, type ListFormationEventsResponses, type ListFormationsData, type ListFormationsErrors, type ListFormationsResponse, type ListFormationsResponses, type ListGenerationsData, type ListGenerationsError, type ListGenerationsErrors, type ListGenerationsResponse, type ListGenerationsResponses, type ListIngestionRulesData, type ListIngestionRulesErrors, type ListIngestionRulesResponse, type ListIngestionRulesResponses, type ListMemoriesData, type ListMemoriesErrors, type ListMemoriesResponse, type ListMemoriesResponses, type ListMemoryEntriesData, type ListMemoryEntriesErrors, type ListMemoryEntriesResponse, type ListMemoryEntriesResponses, type ListOrchestrationRunsData, type ListOrchestrationRunsErrors, type ListOrchestrationRunsResponse, type ListOrchestrationRunsResponses, type ListOrchestrationsData, type ListOrchestrationsErrors, type ListOrchestrationsResponse, type ListOrchestrationsResponses, type ListPoliciesData, type ListPoliciesErrors, type ListPoliciesResponse, type ListPoliciesResponses, type ListProjectsData, type ListProjectsErrors, type ListProjectsResponse, type ListProjectsResponses, type ListSecretsData, type ListSecretsErrors, type ListSecretsResponse, type ListSecretsResponses, type ListSessionsData, type ListSessionsError, type ListSessionsErrors, type ListSessionsResponse, type ListSessionsResponses, 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 ListUsageMetersData, type ListUsageMetersError, type ListUsageMetersErrors, type ListUsageMetersResponse, type ListUsageMetersResponses, type ListUsageThresholdsData, type ListUsageThresholdsError, type ListUsageThresholdsErrors, type ListUsageThresholdsResponse, type ListUsageThresholdsResponses, type ListUsersData, type ListUsersError, type ListUsersErrors, type ListUsersResponse, type ListUsersResponses, type ListWebhookDeliveriesData, type ListWebhookDeliveriesErrors, type ListWebhookDeliveriesResponse, type ListWebhookDeliveriesResponses, type ListWebhooksData, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type LoginResponse, type LoginUserData, type LoginUserError, type LoginUserErrors, type LoginUserResponse, type LoginUserResponses, Memories, type Memory, MemoryEntries, type MemoryEntry, type MemoryEntryResourceProperties, type MemoryEntryWriteResult, type MemoryKnowledgeResult, type MemoryResourceProperties, type MergeActorTagsData, type MergeActorTagsError, type MergeActorTagsErrors, type MergeActorTagsResponse, type MergeActorTagsResponses, type MergeConversationTagsData, type MergeConversationTagsError, type MergeConversationTagsErrors, type MergeConversationTagsResponse, type MergeConversationTagsResponses, type MergeDocumentTagsData, type MergeDocumentTagsError, type MergeDocumentTagsErrors, type MergeDocumentTagsResponse, type MergeDocumentTagsResponses, type MergeFileTagsData, type MergeFileTagsError, type MergeFileTagsErrors, type MergeFileTagsResponse, type MergeFileTagsResponses, type MergeSessionTagsData, type MergeSessionTagsError, type MergeSessionTagsErrors, type MergeSessionTagsResponse, type MergeSessionTagsResponses, type NodeExecution, type Options, type Orchestration, type OrchestrationEdge, type OrchestrationId, type OrchestrationNode, type OrchestrationResourceProperties, type OrchestrationRun, Orchestrations, type ParameterDeclaration, type ParticipantInput, type ParticipantRecord, type PatchAgentData, type PatchAgentError, type PatchAgentErrors, type PatchAgentResponse, type PatchAgentResponses, type PlanChange, type PlanFormationData, type PlanFormationErrors, type PlanFormationResponse, type PlanFormationResponses, type PlanResult, Policies, type PolicyDocument, type PolicyRecord, type PolicyResourceProperties, type PolicyStatement, type PresignedUrlRequest, type PresignedUrlResponse, type Price, type PriceBookResponse, type ProjectPrice, type ProjectPriceResourceProperties, type ProjectPricesResponse, type ProjectRecord, Projects, type ProviderPrice, type ProviderPricesResponse, type ReingestDocumentData, type ReingestDocumentError, type ReingestDocumentErrors, type ReingestDocumentResponse, type ReingestDocumentResponses, type RejectApprovalData, type RejectApprovalErrors, type RejectApprovalResponse, type RejectApprovalResponses, type RemoveConversationMessageData, type RemoveConversationMessageError, type RemoveConversationMessageErrors, type RemoveConversationMessageResponse, type RemoveConversationMessageResponses, type ReplaceActorTagsData, type ReplaceActorTagsError, type ReplaceActorTagsErrors, type ReplaceActorTagsResponse, type ReplaceActorTagsResponses, type ReplaceConversationTagsData, type ReplaceConversationTagsError, type ReplaceConversationTagsErrors, type ReplaceConversationTagsResponse, type ReplaceConversationTagsResponses, type ReplaceDocumentTagsData, type ReplaceDocumentTagsError, type ReplaceDocumentTagsErrors, type ReplaceDocumentTagsResponse, type ReplaceDocumentTagsResponses, type ReplaceFileTagsData, type ReplaceFileTagsError, type ReplaceFileTagsErrors, type ReplaceFileTagsResponse, type ReplaceFileTagsResponses, type ReplaceSessionTagsData, type ReplaceSessionTagsError, type ReplaceSessionTagsErrors, type ReplaceSessionTagsResponse, type ReplaceSessionTagsResponses, type RequiredAction, type ResourceDeclaration, type ResumeOrchestrationRunData, type ResumeOrchestrationRunErrors, type ResumeOrchestrationRunResponse, type ResumeOrchestrationRunResponses, type RotateTriggerSecretData, type RotateTriggerSecretErrors, type RotateTriggerSecretResponse, type RotateTriggerSecretResponses, type RotateWebhookSecretData, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RunId, type RunUsageTotals, type SearchKnowledgeData, type SearchKnowledgeError, type SearchKnowledgeErrors, type SearchKnowledgeResponse, type SearchKnowledgeResponses, type SecretResourceProperties, Secrets, type SendSessionMessageResponse, type SessionId, type SessionRecord, type SessionResourceProperties, Sessions, SoatClient, type SoatClientOptions, 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 SynthesisConfig, type Tool, type ToolOutputMessageContent, type ToolResourceProperties, Tools, type Trace, type TraceTreeNode, Traces, type Trigger, type TriggerFiring, type TriggerFiringListResponse, type TriggerResourceProperties, 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 UpdateConversationData, type UpdateConversationError, type UpdateConversationErrors, type UpdateConversationResponse, type UpdateConversationResponses, type UpdateDiscussionData, type UpdateDiscussionError, type UpdateDiscussionErrors, type UpdateDiscussionResponse, type UpdateDiscussionResponses, type UpdateDocumentData, type UpdateDocumentError, type UpdateDocumentErrors, type UpdateDocumentResponse, type UpdateDocumentResponses, type UpdateFileMetadataData, type UpdateFileMetadataError, type UpdateFileMetadataErrors, type UpdateFileMetadataResponse, type UpdateFileMetadataResponses, type UpdateFormationData, type UpdateFormationErrors, type UpdateFormationResponse, type UpdateFormationResponses, 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 UpdateOrchestrationData, type UpdateOrchestrationErrors, type UpdateOrchestrationRequest, type UpdateOrchestrationResponse, type UpdateOrchestrationResponses, type UpdatePolicyData, type UpdatePolicyError, type UpdatePolicyErrors, type UpdatePolicyResponse, type UpdatePolicyResponses, type UpdateProjectData, type UpdateProjectErrors, type UpdateProjectPricesData, type UpdateProjectPricesErrors, type UpdateProjectPricesResponse, type UpdateProjectPricesResponses, type UpdateProjectResponse, type UpdateProjectResponses, type UpdateSecretData, type UpdateSecretErrors, type UpdateSecretResponses, type UpdateSessionData, type UpdateSessionError, type UpdateSessionErrors, type UpdateSessionRequest, type UpdateSessionResponse, type UpdateSessionResponses, type UpdateToolData, type UpdateToolError, type UpdateToolErrors, type UpdateToolRequest, type UpdateToolResponse, type UpdateToolResponses, type UpdateTriggerData, type UpdateTriggerErrors, type UpdateTriggerRequest, type UpdateTriggerResponse, type UpdateTriggerResponses, type UpdateWebhookData, type UpdateWebhookErrors, type UpdateWebhookRequest, type UpdateWebhookResponse, type UpdateWebhookResponses, type UploadFileBase64Data, type UploadFileBase64Error, type UploadFileBase64Errors, type UploadFileBase64Request, type UploadFileBase64Response, type UploadFileBase64Responses, type UploadFileData, type UploadFileError, type UploadFileErrors, type UploadFileResponse, type UploadFileResponses, type UploadFileWithTokenData, type UploadFileWithTokenError, type UploadFileWithTokenErrors, type UploadFileWithTokenRequest, type UploadFileWithTokenResponse, type UploadFileWithTokenResponses, type UpsertPriceBookData, type UpsertPriceBookError, type UpsertPriceBookErrors, type UpsertPriceBookResponse, type UpsertPriceBookResponses, type UpsertPricesRequest, type UpsertProjectPricesRequest, type UpsertProviderPricesRequest, Usage, type UsageAggregate, type UsageAggregateTotals, type UsageComponent, type UsageEvent, type UsageReceipt, type UsageThreshold, type UserRecord, Users, type ValidateFormationData, type ValidateFormationErrors, type ValidateFormationResponse, type ValidateFormationResponses, type ValidateOrchestrationData, type ValidateOrchestrationErrors, type ValidateOrchestrationRequest, type ValidateOrchestrationResponse, type ValidateOrchestrationResponses, type ValidationError, type ValidationResult, type Webhook, type WebhookResourceProperties, type WebhookSecretResponse, type WebhookWithSecret, Webhooks, createClient, createConfig };
|