@soat/sdk 0.15.3 → 0.15.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -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
- * USD per one million input (prompt) tokens
791
+ * The token component this row prices (`input_tokens`, `output_tokens`, `cached_tokens`)
788
792
  */
789
- input_price_per_m?: number;
793
+ component?: string;
790
794
  /**
791
- * USD per one million output (completion) tokens
795
+ * Always `token` for provider price overrides
792
796
  */
793
- output_price_per_m?: number;
797
+ unit?: string;
794
798
  /**
795
- * USD per one million cached input tokens; null falls back to the input price
799
+ * USD per token for this component
796
800
  */
797
- cached_price_per_m?: number | null;
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
- input_price_per_m: number;
811
- output_price_per_m: number;
812
- cached_price_per_m?: number | null;
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
  */
@@ -1854,6 +1867,18 @@ type DocumentResourceProperties = {
1854
1867
  tags?: {
1855
1868
  [key: string]: unknown;
1856
1869
  } | null;
1870
+ /**
1871
+ * 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.
1872
+ */
1873
+ chunk_strategy?: 'page' | 'whole' | 'size';
1874
+ /**
1875
+ * Window size in characters when `chunk_strategy=size`. Defaults to 1000.
1876
+ */
1877
+ chunk_size?: number;
1878
+ /**
1879
+ * Overlap in characters between consecutive windows when `chunk_strategy=size`. Defaults to 200.
1880
+ */
1881
+ chunk_overlap?: number;
1857
1882
  };
1858
1883
  /**
1859
1884
  * Creates a named memory store that actors can read from and write to across conversations.
@@ -2318,6 +2343,21 @@ type PlanChange = {
2318
2343
  logical_id?: string;
2319
2344
  resource_type?: string;
2320
2345
  action?: 'create' | 'update' | 'delete' | 'no-op';
2346
+ /**
2347
+ * The existing resource's physical ID. Present for update / no-op / delete actions, absent for create.
2348
+ */
2349
+ physical_resource_id?: string;
2350
+ /**
2351
+ * 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).
2352
+ */
2353
+ diff?: {
2354
+ desired?: {
2355
+ [key: string]: unknown;
2356
+ };
2357
+ current?: {
2358
+ [key: string]: unknown;
2359
+ } | null;
2360
+ };
2321
2361
  };
2322
2362
  type PlanResult = {
2323
2363
  changes?: Array<PlanChange>;
@@ -2919,12 +2959,29 @@ type OrchestrationRun = {
2919
2959
  * 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
2960
  */
2921
2961
  node_executions?: Array<NodeExecution>;
2962
+ /**
2963
+ * 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.
2964
+ */
2965
+ usage?: RunUsageTotals;
2922
2966
  required_action?: RequiredAction | null;
2923
2967
  started_at?: Date | null;
2924
2968
  completed_at?: Date | null;
2925
2969
  created_at: Date;
2926
2970
  updated_at: Date;
2927
2971
  };
2972
+ /**
2973
+ * Token and cost roll-up for an orchestration run, summed across every usage event the run's generations produced.
2974
+ */
2975
+ type RunUsageTotals = {
2976
+ total_input_tokens?: number;
2977
+ total_output_tokens?: number;
2978
+ total_cached_tokens?: number;
2979
+ total_reasoning_tokens?: number;
2980
+ /**
2981
+ * Sum of the run's priced component costs in USD. Null when nothing on the run was priced.
2982
+ */
2983
+ total_cost_usd?: number | null;
2984
+ };
2928
2985
  /**
2929
2986
  * Record of a single node execution within a run, used to debug which node failed, what input it received, and what it produced.
2930
2987
  */
@@ -3066,20 +3123,24 @@ type ProjectPrice = {
3066
3123
  * Always null for a project + provider-slug price
3067
3124
  */
3068
3125
  ai_provider_id?: string | null;
3126
+ /**
3127
+ * Always `llm_tokens` for project prices
3128
+ */
3129
+ meter_type?: string;
3069
3130
  provider?: string;
3070
3131
  model?: string;
3071
3132
  /**
3072
- * USD per one million input (prompt) tokens
3133
+ * The token component this row prices (`input_tokens`, `output_tokens`, `cached_tokens`)
3073
3134
  */
3074
- input_price_per_m?: number;
3135
+ component?: string;
3075
3136
  /**
3076
- * USD per one million output (completion) tokens
3137
+ * Always `token` for token pricing
3077
3138
  */
3078
- output_price_per_m?: number;
3139
+ unit?: string;
3079
3140
  /**
3080
- * USD per one million cached input tokens; null falls back to the input price
3141
+ * USD per token for this component
3081
3142
  */
3082
- cached_price_per_m?: number | null;
3143
+ unit_price?: number;
3083
3144
  /**
3084
3145
  * The row with the latest effective_from <= now() prices a call
3085
3146
  */
@@ -3093,9 +3154,18 @@ type UpsertProjectPricesRequest = {
3093
3154
  prices: Array<{
3094
3155
  provider: string;
3095
3156
  model: string;
3096
- input_price_per_m: number;
3097
- output_price_per_m: number;
3098
- cached_price_per_m?: number | null;
3157
+ /**
3158
+ * The token component this row prices (`input_tokens`, `output_tokens`, `cached_tokens`)
3159
+ */
3160
+ component: string;
3161
+ /**
3162
+ * Always `token` for token pricing
3163
+ */
3164
+ unit: string;
3165
+ /**
3166
+ * USD per token for this component
3167
+ */
3168
+ unit_price: number;
3099
3169
  /**
3100
3170
  * Must be in the future; past prices are immutable
3101
3171
  */
@@ -3729,9 +3799,48 @@ type TriggerFiringListResponse = {
3729
3799
  limit?: number;
3730
3800
  offset?: number;
3731
3801
  };
3732
- type UsageMeter = {
3802
+ /**
3803
+ * 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.
3804
+ *
3805
+ */
3806
+ type UsageComponent = {
3807
+ /**
3808
+ * The measured dimension (e.g. `input_tokens`, `compute_second`)
3809
+ */
3810
+ component?: string;
3811
+ /**
3812
+ * The measured amount, expressed in `unit`
3813
+ */
3814
+ quantity?: number;
3815
+ /**
3816
+ * Unit `quantity` is measured in (`token`, `compute_second`, …)
3817
+ */
3818
+ unit?: string;
3819
+ /**
3820
+ * 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.
3821
+ *
3822
+ */
3823
+ billable?: boolean;
3824
+ /**
3825
+ * USD per `unit`, frozen at write time; null when unpriced
3826
+ */
3827
+ unit_price?: number | null;
3828
+ /**
3829
+ * quantity × unit_price, frozen at write time; null when unpriced
3830
+ */
3831
+ cost_usd?: number | null;
3832
+ /**
3833
+ * Public ID of the price-book row that priced this component
3834
+ */
3835
+ price_id?: string | null;
3836
+ };
3837
+ /**
3838
+ * One metered occurrence (a completed LLM call, a node execution, …). Attribution and total cost live here; the measured quantities live in `components`.
3839
+ *
3840
+ */
3841
+ type UsageEvent = {
3733
3842
  /**
3734
- * Public ID of the usage-meter row
3843
+ * Public ID of the usage event
3735
3844
  */
3736
3845
  id?: string;
3737
3846
  /**
@@ -3739,7 +3848,7 @@ type UsageMeter = {
3739
3848
  */
3740
3849
  project_id?: string;
3741
3850
  /**
3742
- * Public ID of the orchestration run that initiated the call, when the generation ran inside a run. Null for standalone generations.
3851
+ * Public ID of the orchestration run that initiated the occurrence. Null for standalone events.
3743
3852
  *
3744
3853
  */
3745
3854
  run_id?: string | null;
@@ -3760,7 +3869,7 @@ type UsageMeter = {
3760
3869
  */
3761
3870
  trace_id?: string | null;
3762
3871
  /**
3763
- * Public ID of the AI provider instance billed. Correlates the meter to the price book. Null if the provider was later deleted; the `provider`/`model` snapshot still records what was billed.
3872
+ * 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
3873
  *
3765
3874
  */
3766
3875
  ai_provider_id?: string | null;
@@ -3775,68 +3884,158 @@ type UsageMeter = {
3775
3884
  */
3776
3885
  action_id?: string | null;
3777
3886
  /**
3778
- * Denormalized as-billed provider slug, retained even if the AI provider is later deleted
3887
+ * What the event measures: `llm_tokens`, `compute_execution`, `api_request`, or `storage`.
3888
+ *
3889
+ */
3890
+ meter_type?: string;
3891
+ /**
3892
+ * As-billed SKU vendor slug, retained even if the AI provider is deleted. `soat` for platform meter types.
3779
3893
  *
3780
3894
  */
3781
3895
  provider?: string;
3782
3896
  /**
3783
- * Model identifier the provider billed
3897
+ * Model id, or the billable SKU for platform meter types
3784
3898
  */
3785
3899
  model?: string;
3786
3900
  /**
3787
- * Input (prompt) tokens reported by the provider
3901
+ * Total USD cost the sum of the priced component costs, frozen at write time. Null when no component was priced.
3902
+ *
3788
3903
  */
3789
- input_tokens?: number;
3904
+ cost_usd?: number | null;
3905
+ components?: Array<UsageComponent>;
3906
+ created_at?: Date;
3907
+ };
3908
+ /**
3909
+ * Summed token counts and cost for a bucket (or the grand total).
3910
+ */
3911
+ type UsageAggregateTotals = {
3790
3912
  /**
3791
- * Output (completion) tokens reported by the provider
3913
+ * Sum of priced event costs in the bucket; null when nothing is priced
3792
3914
  */
3793
- output_tokens?: number;
3915
+ cost_usd?: number | null;
3794
3916
  /**
3795
- * Cached input tokens read, when the provider reports them
3917
+ * Full prompt tokens (uncached input + cached), reconstructed from components
3796
3918
  */
3919
+ input_tokens?: number;
3920
+ output_tokens?: number;
3797
3921
  cached_tokens?: number;
3922
+ reasoning_tokens?: number;
3923
+ };
3924
+ type UsageAggregate = {
3925
+ project_id?: string;
3926
+ /**
3927
+ * Lower bound applied, echoed back; null when unbounded
3928
+ */
3929
+ from?: Date | null;
3930
+ /**
3931
+ * Upper bound applied, echoed back; null when unbounded
3932
+ */
3933
+ to?: Date | null;
3934
+ group_by?: 'model' | 'agent' | 'run' | 'day' | 'meter_type';
3798
3935
  /**
3799
- * Reasoning tokens the provider reports separately (e.g. OpenAI `completion_tokens_details.reasoning_tokens`). 0 when unreported.
3936
+ * One entry per distinct value in the chosen dimension.
3937
+ */
3938
+ groups?: Array<{
3939
+ /**
3940
+ * 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.
3941
+ *
3942
+ */
3943
+ key?: string | null;
3944
+ } & UsageAggregateTotals>;
3945
+ totals?: UsageAggregateTotals;
3946
+ };
3947
+ /**
3948
+ * 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.
3949
+ *
3950
+ */
3951
+ type UsageThreshold = {
3952
+ /**
3953
+ * Public ID of the threshold
3954
+ */
3955
+ id?: string;
3956
+ project_id?: string;
3957
+ /**
3958
+ * What is measured: `cost_usd` (across all meter types) or `tokens` (input + output + cached).
3800
3959
  *
3801
3960
  */
3802
- reasoning_tokens?: number;
3961
+ metric?: 'cost_usd' | 'tokens';
3803
3962
  /**
3804
- * Cost in USD computed at write time from the versioned price book. Null when the tokens are captured but not yet priced.
3963
+ * The evaluation window: the current UTC calendar month, or the trailing 24 hours.
3805
3964
  *
3806
3965
  */
3807
- cost_usd?: number | null;
3966
+ window?: 'calendar_month' | 'rolling_24h';
3967
+ /**
3968
+ * The value the windowed aggregate must cross to fire
3969
+ */
3970
+ threshold?: number;
3971
+ /**
3972
+ * When the threshold last fired; null until first fire
3973
+ */
3974
+ last_fired_at?: Date | null;
3808
3975
  /**
3809
- * Public ID of the price-book row that produced `cost_usd` (the price-table version). Null when no price applied.
3976
+ * The `YYYY-MM` window key of the last fire (calendar_month hysteresis); null for rolling_24h and before the first fire.
3810
3977
  *
3811
3978
  */
3812
- price_id?: string | null;
3979
+ fired_window_key?: string | null;
3813
3980
  created_at?: Date;
3814
3981
  };
3982
+ type CreateUsageThresholdRequest = {
3983
+ project_id: string;
3984
+ metric: 'cost_usd' | 'tokens';
3985
+ window: 'calendar_month' | 'rolling_24h';
3986
+ /**
3987
+ * Must be greater than 0
3988
+ */
3989
+ threshold: number;
3990
+ };
3815
3991
  type UsageReceipt = {
3992
+ /**
3993
+ * Present on a per-generation receipt; absent on a per-run receipt.
3994
+ *
3995
+ */
3816
3996
  generation_id?: string;
3997
+ /**
3998
+ * Present on a per-run receipt (summed across the run's meters); absent on a per-generation receipt.
3999
+ *
4000
+ */
4001
+ run_id?: string;
3817
4002
  currency?: string;
4003
+ /**
4004
+ * One line per usage event — for a generation receipt, the events on that generation; for a run receipt, every event across the run.
4005
+ *
4006
+ */
3818
4007
  line_items?: Array<{
4008
+ event_id?: string;
4009
+ meter_type?: string;
3819
4010
  provider?: string;
3820
4011
  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;
4012
+ cost_usd?: number | null;
4013
+ components?: Array<UsageComponent>;
4014
+ }>;
4015
+ /**
4016
+ * Per-meter-type cost rollup — the "tokens + infra" split. A single-type receipt has one entry whose cost equals the receipt total.
4017
+ *
4018
+ */
4019
+ by_meter_type?: Array<{
4020
+ meter_type?: string;
3829
4021
  cost_usd?: number | null;
3830
4022
  }>;
4023
+ /**
4024
+ * Full prompt tokens (uncached input + cached), reconstructed from components
4025
+ */
3831
4026
  total_input_tokens?: number;
3832
4027
  total_output_tokens?: number;
3833
4028
  total_cached_tokens?: number;
3834
4029
  total_reasoning_tokens?: number;
3835
4030
  /**
3836
- * Sum of priced line costs; null when no line is priced
4031
+ * Sum of priced component costs; null when nothing is priced
3837
4032
  */
3838
4033
  total_cost_usd?: number | null;
3839
4034
  };
4035
+ /**
4036
+ * A versioned unit price for one billable component of a SKU. Cost is uniform across meter types — quantity × unit_price.
4037
+ *
4038
+ */
3840
4039
  type Price = {
3841
4040
  /**
3842
4041
  * Public ID of the price row
@@ -3847,20 +4046,30 @@ type Price = {
3847
4046
  *
3848
4047
  */
3849
4048
  ai_provider_id?: string | null;
4049
+ /**
4050
+ * Meter type this SKU belongs to (`llm_tokens`, `compute_execution`, …)
4051
+ */
4052
+ meter_type?: string;
4053
+ /**
4054
+ * SKU vendor slug (`openai`, or `soat` for platform SKUs)
4055
+ */
3850
4056
  provider?: string;
4057
+ /**
4058
+ * Model id, or the billable SKU for platform meter types
4059
+ */
3851
4060
  model?: string;
3852
4061
  /**
3853
- * USD per one million input (prompt) tokens
4062
+ * The component this row prices (`input_tokens`, `compute_second`, …)
3854
4063
  */
3855
- input_price_per_m?: number;
4064
+ component?: string;
3856
4065
  /**
3857
- * USD per one million output (completion) tokens
4066
+ * Unit `unit_price` is denominated in (`token`, `compute_second`, …)
3858
4067
  */
3859
- output_price_per_m?: number;
4068
+ unit?: string;
3860
4069
  /**
3861
- * USD per one million cached input tokens; null falls back to the input price
4070
+ * USD per `unit` (for token components, USD per token)
3862
4071
  */
3863
- cached_price_per_m?: number | null;
4072
+ unit_price?: number;
3864
4073
  /**
3865
4074
  * The row with the latest effective_from <= now() prices a call
3866
4075
  */
@@ -3877,11 +4086,25 @@ type UpsertPricesRequest = {
3877
4086
  *
3878
4087
  */
3879
4088
  ai_provider_id?: string | null;
4089
+ /**
4090
+ * Defaults to `llm_tokens`. Set to a platform meter type (e.g. `compute_execution`) for a platform SKU.
4091
+ *
4092
+ */
4093
+ meter_type?: string;
3880
4094
  provider: string;
3881
4095
  model: string;
3882
- input_price_per_m: number;
3883
- output_price_per_m: number;
3884
- cached_price_per_m?: number | null;
4096
+ /**
4097
+ * The component this row prices (`input_tokens`, `compute_second`, …)
4098
+ */
4099
+ component: string;
4100
+ /**
4101
+ * Unit `unit_price` is denominated in (`token`, `compute_second`, …)
4102
+ */
4103
+ unit: string;
4104
+ /**
4105
+ * USD per `unit`
4106
+ */
4107
+ unit_price: number;
3885
4108
  /**
3886
4109
  * Must be in the future; past prices are immutable
3887
4110
  */
@@ -10538,6 +10761,11 @@ type ListUsageMetersData = {
10538
10761
  * Filter by logical action id
10539
10762
  */
10540
10763
  action_id?: string;
10764
+ /**
10765
+ * Filter by meter type (e.g. `llm_tokens`, `compute_execution`, `api_request`, `storage`)
10766
+ *
10767
+ */
10768
+ meter_type?: string;
10541
10769
  limit?: number;
10542
10770
  offset?: number;
10543
10771
  };
@@ -10559,21 +10787,167 @@ type ListUsageMetersResponses = {
10559
10787
  * Paginated list of usage-meter rows
10560
10788
  */
10561
10789
  200: {
10562
- data?: Array<UsageMeter>;
10790
+ data?: Array<UsageEvent>;
10563
10791
  total?: number;
10564
10792
  limit?: number;
10565
10793
  offset?: number;
10566
10794
  };
10567
10795
  };
10568
10796
  type ListUsageMetersResponse = ListUsageMetersResponses[keyof ListUsageMetersResponses];
10569
- type GetUsageReceiptData = {
10797
+ type GetUsageData = {
10570
10798
  body?: never;
10571
10799
  path?: never;
10572
10800
  query: {
10573
10801
  /**
10574
- * Generation public ID
10802
+ * Project public ID to aggregate usage for
10575
10803
  */
10576
- generation_id: string;
10804
+ project_id: string;
10805
+ /**
10806
+ * Dimension to bucket by. `day` buckets on the event's UTC calendar day; the others bucket on the matching column.
10807
+ *
10808
+ */
10809
+ group_by: 'model' | 'agent' | 'run' | 'day' | 'meter_type';
10810
+ /**
10811
+ * Inclusive lower bound (ISO-8601 timestamp) on the event created_at. Omit for no lower bound.
10812
+ *
10813
+ */
10814
+ from?: Date;
10815
+ /**
10816
+ * Inclusive upper bound (ISO-8601 timestamp) on the event created_at. Omit for no upper bound.
10817
+ *
10818
+ */
10819
+ to?: Date;
10820
+ };
10821
+ url: '/api/v1/usage';
10822
+ };
10823
+ type GetUsageErrors = {
10824
+ /**
10825
+ * Bad Request (missing project_id, invalid group_by or timestamp)
10826
+ */
10827
+ 400: ErrorResponse;
10828
+ /**
10829
+ * Unauthorized
10830
+ */
10831
+ 401: ErrorResponse;
10832
+ /**
10833
+ * Forbidden
10834
+ */
10835
+ 403: ErrorResponse;
10836
+ };
10837
+ type GetUsageError = GetUsageErrors[keyof GetUsageErrors];
10838
+ type GetUsageResponses = {
10839
+ /**
10840
+ * The aggregated usage rollup
10841
+ */
10842
+ 200: UsageAggregate;
10843
+ };
10844
+ type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
10845
+ type ListUsageThresholdsData = {
10846
+ body?: never;
10847
+ path?: never;
10848
+ query?: {
10849
+ /**
10850
+ * Filter by project public ID
10851
+ */
10852
+ project_id?: string;
10853
+ };
10854
+ url: '/api/v1/usage/thresholds';
10855
+ };
10856
+ type ListUsageThresholdsErrors = {
10857
+ /**
10858
+ * Unauthorized
10859
+ */
10860
+ 401: ErrorResponse;
10861
+ /**
10862
+ * Forbidden
10863
+ */
10864
+ 403: ErrorResponse;
10865
+ };
10866
+ type ListUsageThresholdsError = ListUsageThresholdsErrors[keyof ListUsageThresholdsErrors];
10867
+ type ListUsageThresholdsResponses = {
10868
+ /**
10869
+ * The usage thresholds
10870
+ */
10871
+ 200: {
10872
+ data?: Array<UsageThreshold>;
10873
+ };
10874
+ };
10875
+ type ListUsageThresholdsResponse = ListUsageThresholdsResponses[keyof ListUsageThresholdsResponses];
10876
+ type CreateUsageThresholdData = {
10877
+ body: CreateUsageThresholdRequest;
10878
+ path?: never;
10879
+ query?: never;
10880
+ url: '/api/v1/usage/thresholds';
10881
+ };
10882
+ type CreateUsageThresholdErrors = {
10883
+ /**
10884
+ * Bad Request (missing/invalid metric, window, or threshold)
10885
+ */
10886
+ 400: ErrorResponse;
10887
+ /**
10888
+ * Unauthorized
10889
+ */
10890
+ 401: ErrorResponse;
10891
+ /**
10892
+ * Forbidden
10893
+ */
10894
+ 403: ErrorResponse;
10895
+ };
10896
+ type CreateUsageThresholdError = CreateUsageThresholdErrors[keyof CreateUsageThresholdErrors];
10897
+ type CreateUsageThresholdResponses = {
10898
+ /**
10899
+ * The created threshold
10900
+ */
10901
+ 201: UsageThreshold;
10902
+ };
10903
+ type CreateUsageThresholdResponse = CreateUsageThresholdResponses[keyof CreateUsageThresholdResponses];
10904
+ type DeleteUsageThresholdData = {
10905
+ body?: never;
10906
+ path: {
10907
+ /**
10908
+ * Threshold public ID
10909
+ */
10910
+ threshold_id: string;
10911
+ };
10912
+ query?: never;
10913
+ url: '/api/v1/usage/thresholds/{threshold_id}';
10914
+ };
10915
+ type DeleteUsageThresholdErrors = {
10916
+ /**
10917
+ * Unauthorized
10918
+ */
10919
+ 401: ErrorResponse;
10920
+ /**
10921
+ * Forbidden
10922
+ */
10923
+ 403: ErrorResponse;
10924
+ /**
10925
+ * Threshold not found
10926
+ */
10927
+ 404: ErrorResponse;
10928
+ };
10929
+ type DeleteUsageThresholdError = DeleteUsageThresholdErrors[keyof DeleteUsageThresholdErrors];
10930
+ type DeleteUsageThresholdResponses = {
10931
+ /**
10932
+ * Deleted
10933
+ */
10934
+ 204: void;
10935
+ };
10936
+ type DeleteUsageThresholdResponse = DeleteUsageThresholdResponses[keyof DeleteUsageThresholdResponses];
10937
+ type GetUsageReceiptData = {
10938
+ body?: never;
10939
+ path?: never;
10940
+ query?: {
10941
+ /**
10942
+ * Generation public ID. Mutually exclusive with run_id.
10943
+ *
10944
+ */
10945
+ generation_id?: string;
10946
+ /**
10947
+ * Orchestration run public ID. Returns the receipt summed across every generation the run metered. Mutually exclusive with generation_id.
10948
+ *
10949
+ */
10950
+ run_id?: string;
10577
10951
  };
10578
10952
  url: '/api/v1/usage/receipt';
10579
10953
  };
@@ -10594,7 +10968,7 @@ type GetUsageReceiptErrors = {
10594
10968
  type GetUsageReceiptError = GetUsageReceiptErrors[keyof GetUsageReceiptErrors];
10595
10969
  type GetUsageReceiptResponses = {
10596
10970
  /**
10597
- * The generation's usage receipt
10971
+ * The generation or run usage receipt
10598
10972
  */
10599
10973
  200: UsageReceipt;
10600
10974
  };
@@ -12289,12 +12663,40 @@ declare class Usage {
12289
12663
  */
12290
12664
  static listUsageMeters<ThrowOnError extends boolean = false>(options?: Options<ListUsageMetersData, ThrowOnError>): RequestResult<ListUsageMetersResponses, ListUsageMetersErrors, ThrowOnError>;
12291
12665
  /**
12292
- * Get a generation's billing receipt
12666
+ * Get aggregated usage for a project
12667
+ *
12668
+ * 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.
12669
+ *
12670
+ */
12671
+ static getUsage<ThrowOnError extends boolean = false>(options: Options<GetUsageData, ThrowOnError>): RequestResult<GetUsageResponses, GetUsageErrors, ThrowOnError>;
12672
+ /**
12673
+ * List usage thresholds
12674
+ *
12675
+ * 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.
12676
+ *
12677
+ */
12678
+ static listUsageThresholds<ThrowOnError extends boolean = false>(options?: Options<ListUsageThresholdsData, ThrowOnError>): RequestResult<ListUsageThresholdsResponses, ListUsageThresholdsErrors, ThrowOnError>;
12679
+ /**
12680
+ * Create a usage threshold
12681
+ *
12682
+ * 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).
12683
+ *
12684
+ */
12685
+ static createUsageThreshold<ThrowOnError extends boolean = false>(options: Options<CreateUsageThresholdData, ThrowOnError>): RequestResult<CreateUsageThresholdResponses, CreateUsageThresholdErrors, ThrowOnError>;
12686
+ /**
12687
+ * Delete a usage threshold
12688
+ *
12689
+ * Deletes a usage threshold, resetting its fire state. Recreating a threshold starts its once-per-window / hysteresis state fresh.
12690
+ *
12691
+ */
12692
+ static deleteUsageThreshold<ThrowOnError extends boolean = false>(options: Options<DeleteUsageThresholdData, ThrowOnError>): RequestResult<DeleteUsageThresholdResponses, DeleteUsageThresholdErrors, ThrowOnError>;
12693
+ /**
12694
+ * Get a generation or run billing receipt
12293
12695
  *
12294
- * Returns a billing receipt for a completed generation: per-model line items (tokens, the price-book version that priced them, and cost) plus totals.
12696
+ * 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
12697
  *
12296
12698
  */
12297
- static getUsageReceipt<ThrowOnError extends boolean = false>(options: Options<GetUsageReceiptData, ThrowOnError>): RequestResult<GetUsageReceiptResponses, GetUsageReceiptErrors, ThrowOnError>;
12699
+ static getUsageReceipt<ThrowOnError extends boolean = false>(options?: Options<GetUsageReceiptData, ThrowOnError>): RequestResult<GetUsageReceiptResponses, GetUsageReceiptErrors, ThrowOnError>;
12298
12700
  /**
12299
12701
  * Get the price book
12300
12702
  *
@@ -12485,4 +12887,4 @@ declare class SoatClient {
12485
12887
  constructor({ baseUrl, token, headers }?: SoatClientOptions);
12486
12888
  }
12487
12889
  //#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 };
12890
+ 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 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 };