@amigo-ai/sdk 0.20.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1090,6 +1090,29 @@ export interface paths {
1090
1090
  patch?: never;
1091
1091
  trace?: never;
1092
1092
  };
1093
+ "/v1/{organization}/admin/sql_query": {
1094
+ parameters: {
1095
+ query?: never;
1096
+ header?: never;
1097
+ path?: never;
1098
+ cookie?: never;
1099
+ };
1100
+ get?: never;
1101
+ put?: never;
1102
+ /**
1103
+ * Submit a SQL query
1104
+ * @description Execute a read-only SQL query on Amigo's databases for the specified organization.
1105
+ *
1106
+ * #### Permissions
1107
+ * This endpoint requires the authenticated user to have greater privileges than the `DefaultAdministratorRole`.
1108
+ */
1109
+ post: operations["submit-sql-query"];
1110
+ delete?: never;
1111
+ options?: never;
1112
+ head?: never;
1113
+ patch?: never;
1114
+ trace?: never;
1115
+ };
1093
1116
  "/v1/{organization}/webhook_destination/": {
1094
1117
  parameters: {
1095
1118
  query?: never;
@@ -2147,6 +2170,55 @@ export interface paths {
2147
2170
  patch?: never;
2148
2171
  trace?: never;
2149
2172
  };
2173
+ "/v1/{organization}/tool/invocation": {
2174
+ parameters: {
2175
+ query?: never;
2176
+ header?: never;
2177
+ path?: never;
2178
+ cookie?: never;
2179
+ };
2180
+ /**
2181
+ * Get tool invocations
2182
+ * @description Retrieve tool invocations under the specified filters.
2183
+ *
2184
+ * #### Permissions
2185
+ * This endpoint may require the following permission:
2186
+ * * `Conversation:GetInteractionInsights` for `ToolInvocation`s from a regular conversation.
2187
+ * * `Simulation:GetSimulationUnitTestSetRun` for `ToolInvocation`s from a simulation conversation.
2188
+ */
2189
+ get: operations["get-tool-invocations"];
2190
+ put?: never;
2191
+ post?: never;
2192
+ delete?: never;
2193
+ options?: never;
2194
+ head?: never;
2195
+ patch?: never;
2196
+ trace?: never;
2197
+ };
2198
+ "/v1/{organization}/tool/{tool_id}/version/{version}/invoke": {
2199
+ parameters: {
2200
+ query?: never;
2201
+ header?: never;
2202
+ path?: never;
2203
+ cookie?: never;
2204
+ };
2205
+ get?: never;
2206
+ put?: never;
2207
+ /**
2208
+ * Invoke a tool version
2209
+ * @description Invoke a specified tool version with the given input parameters.
2210
+ *
2211
+ * #### Permissions
2212
+ * This endpoint requires the following permissions:
2213
+ * * `Tool:InvokeTool` for the tool to invoke.
2214
+ */
2215
+ post: operations["invoke-tool-version"];
2216
+ delete?: never;
2217
+ options?: never;
2218
+ head?: never;
2219
+ patch?: never;
2220
+ trace?: never;
2221
+ };
2150
2222
  }
2151
2223
  export type webhooks = Record<string, never>;
2152
2224
  export interface components {
@@ -2334,6 +2406,8 @@ export interface components {
2334
2406
  */
2335
2407
  tool_call_logs: components["schemas"]["ToolCallLog"][][];
2336
2408
  };
2409
+ "AgentFrameworkInvocationMetadata-Input": components["schemas"]["StateTransitionInvocationMetadata-Input"] | components["schemas"]["EngageUserInvocationMetadata-Input"];
2410
+ "AgentFrameworkInvocationMetadata-Output": components["schemas"]["StateTransitionInvocationMetadata-Output"] | components["schemas"]["EngageUserInvocationMetadata-Output"];
2337
2411
  /** AnnotationState */
2338
2412
  "AnnotationState-Input": {
2339
2413
  /**
@@ -2482,6 +2556,19 @@ export interface components {
2482
2556
  /** Queries */
2483
2557
  queries: string[];
2484
2558
  };
2559
+ /** Column */
2560
+ Column: {
2561
+ /**
2562
+ * Name
2563
+ * @description The name of the column.
2564
+ */
2565
+ name: string;
2566
+ /**
2567
+ * Type
2568
+ * @description The data type of the column.
2569
+ */
2570
+ type: string;
2571
+ };
2485
2572
  Condition: components["schemas"]["EqualCondition"] | components["schemas"]["InCondition"] | components["schemas"]["NotEqualCondition"];
2486
2573
  /** Conversation */
2487
2574
  Conversation: {
@@ -2892,6 +2979,48 @@ export interface components {
2892
2979
  */
2893
2980
  overriding: boolean;
2894
2981
  };
2982
+ /** EngageUserInvocationMetadata */
2983
+ "EngageUserInvocationMetadata-Input": {
2984
+ /**
2985
+ * @description discriminator enum property added by openapi-typescript
2986
+ * @enum {string}
2987
+ */
2988
+ type: "engage-user";
2989
+ /**
2990
+ * Current State Machine And Version
2991
+ * @description The ID and version of the state machine that is currently being executed.
2992
+ */
2993
+ current_state_machine_and_version: [
2994
+ string,
2995
+ number
2996
+ ];
2997
+ /**
2998
+ * Tool Call Round Index
2999
+ * @description The index of the tool call round.
3000
+ */
3001
+ tool_call_round_index: number;
3002
+ };
3003
+ /** EngageUserInvocationMetadata */
3004
+ "EngageUserInvocationMetadata-Output": {
3005
+ /**
3006
+ * @description discriminator enum property added by openapi-typescript
3007
+ * @enum {string}
3008
+ */
3009
+ type: "engage-user";
3010
+ /**
3011
+ * Current State Machine And Version
3012
+ * @description The ID and version of the state machine that is currently being executed.
3013
+ */
3014
+ current_state_machine_and_version: [
3015
+ string,
3016
+ number
3017
+ ];
3018
+ /**
3019
+ * Tool Call Round Index
3020
+ * @description The index of the tool call round.
3021
+ */
3022
+ tool_call_round_index: number;
3023
+ };
2895
3024
  /**
2896
3025
  * EngageUserMessageFragmentGeneratedEvent
2897
3026
  * @description Indicating that the agent has generated a fragment of the agent response.
@@ -3003,6 +3132,57 @@ export interface components {
3003
3132
  string
3004
3133
  ][];
3005
3134
  };
3135
+ /** FailedInvocationResult */
3136
+ FailedInvocationResult: {
3137
+ /**
3138
+ * @description discriminator enum property added by openapi-typescript
3139
+ * @enum {string}
3140
+ */
3141
+ succeeded: "False";
3142
+ /**
3143
+ * Exception Message
3144
+ * @description The message of the exception during the tool invocation.
3145
+ */
3146
+ exception_message: string;
3147
+ /**
3148
+ * Exception Type
3149
+ * @description The type of the exception during the tool invocation.
3150
+ */
3151
+ exception_type: string;
3152
+ /**
3153
+ * Exception Stack Trace
3154
+ * @description The stack trace of the exception during the tool invocation.
3155
+ */
3156
+ exception_stack_trace: string[];
3157
+ /**
3158
+ * Duration Ms
3159
+ * @description The duration of the tool invocation in milliseconds.
3160
+ */
3161
+ duration_ms: number;
3162
+ };
3163
+ /** FailedInvocationStatus */
3164
+ FailedInvocationStatus: {
3165
+ /**
3166
+ * @description discriminator enum property added by openapi-typescript
3167
+ * @enum {string}
3168
+ */
3169
+ succeeded: "False";
3170
+ /**
3171
+ * Exception Message
3172
+ * @description The exception message if the tool invocation failed.
3173
+ */
3174
+ exception_message: string;
3175
+ /**
3176
+ * Exception Type
3177
+ * @description The exception type if the tool invocation failed.
3178
+ */
3179
+ exception_type: string;
3180
+ /**
3181
+ * Exception Stack Trace
3182
+ * @description The exception stack trace if the tool invocation failed.
3183
+ */
3184
+ exception_stack_trace: string[];
3185
+ };
3006
3186
  /** @enum {string} */
3007
3187
  Format: "text" | "voice";
3008
3188
  /** @enum {string} */
@@ -3067,8 +3247,14 @@ export interface components {
3067
3247
  * @enum {string}
3068
3248
  */
3069
3249
  type: "external-event";
3070
- /** @description The message of the initial external event. */
3071
- message: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
3250
+ /**
3251
+ * Message And Offsets
3252
+ * @description A list of tuples, each containing a message and its offset in milliseconds from the conversation start time. These must be sorted by offset in the ascending order, and must not contain repeated offsets.
3253
+ */
3254
+ message_and_offsets: [
3255
+ components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"],
3256
+ number
3257
+ ][];
3072
3258
  };
3073
3259
  /** InitialExternalEventConfig */
3074
3260
  "InitialExternalEventConfig-Output": {
@@ -3077,8 +3263,14 @@ export interface components {
3077
3263
  * @enum {string}
3078
3264
  */
3079
3265
  type: "external-event";
3080
- /** Message */
3081
- message: string;
3266
+ /**
3267
+ * Message And Offsets
3268
+ * @description A list of tuples, each containing a message and its offset in milliseconds from the conversation start time.
3269
+ */
3270
+ message_and_offsets: [
3271
+ string,
3272
+ number
3273
+ ][];
3082
3274
  };
3083
3275
  "InitialMessageConfig-Input": components["schemas"]["InitialUserMessageConfig"] | components["schemas"]["InitialExternalEventConfig-Input"];
3084
3276
  "InitialMessageConfig-Output": components["schemas"]["InitialUserMessageConfig"] | components["schemas"]["InitialExternalEventConfig-Output"];
@@ -3090,6 +3282,22 @@ export interface components {
3090
3282
  */
3091
3283
  type: "user-message";
3092
3284
  };
3285
+ /** Input */
3286
+ Input: {
3287
+ /**
3288
+ * Input Parameters
3289
+ * @description The input parameters for the tool invocation.
3290
+ */
3291
+ input_parameters: {
3292
+ [key: string]: unknown;
3293
+ };
3294
+ /**
3295
+ * Invocation Mode
3296
+ * @description The mode of invocation.
3297
+ * @enum {string}
3298
+ */
3299
+ invocation_mode: "regular" | "conversation-simulation";
3300
+ };
3093
3301
  /** InsertRequest */
3094
3302
  InsertRequest: {
3095
3303
  /** @description The name of the environment variable to insert. */
@@ -3136,6 +3344,10 @@ export interface components {
3136
3344
  */
3137
3345
  conversation_completed: boolean;
3138
3346
  };
3347
+ InvocationResult: components["schemas"]["SucceededInvocationResult"] | components["schemas"]["FailedInvocationResult"];
3348
+ "InvocationSource-Input": components["schemas"]["RegularConversationInvocationSource-Input"] | components["schemas"]["SimulationConversationInvocationSource-Input"];
3349
+ "InvocationSource-Output": components["schemas"]["RegularConversationInvocationSource-Output"] | components["schemas"]["SimulationConversationInvocationSource-Output"];
3350
+ InvocationStatus: components["schemas"]["SucceededInvocationStatus"] | components["schemas"]["FailedInvocationStatus"];
3139
3351
  /** JumpbackStateTransitionLog */
3140
3352
  JumpbackStateTransitionLog: {
3141
3353
  /**
@@ -3237,9 +3449,9 @@ export interface components {
3237
3449
  };
3238
3450
  };
3239
3451
  /** @enum {string} */
3240
- LLMLoadBalancingSetType: "o4-mini-2025-04-16" | "gpt-5-2025-08-07" | "gpt-5-mini-2025-08-07" | "gpt-5-nano-2025-08-07" | "gpt-5-chat-2025-08-07" | "claude-sonnet-4-20250514";
3452
+ LLMLoadBalancingSetType: "o4-mini-2025-04-16" | "gpt-5-2025-08-07" | "gpt-5-mini-2025-08-07" | "gpt-5-nano-2025-08-07" | "claude-sonnet-4-20250514";
3241
3453
  /** @enum {string} */
3242
- LLMType: "openai_o4-mini-2025-04-16" | "openai_gpt-5-2025-08-07" | "openai_gpt-5-mini-2025-08-07" | "openai_gpt-5-nano-2025-08-07" | "openai_gpt-5-chat-2025-08-07" | "azure_o4-mini-2025-04-16" | "azure_gpt-4.1-2025-04-14" | "azure_gpt-4.1-mini-2025-04-14" | "azure_gpt-5-2025-08-07" | "azure_gpt-5-mini-2025-08-07" | "azure_gpt-5-nano-2025-08-07" | "azure_gpt-5-chat-2025-08-07" | "google_claude-sonnet-4@20250514" | "aws_claude-sonnet-4-20250514" | "anthropic_claude-sonnet-4-20250514" | "google_gemini-2.5-pro" | "google_gemini-2.5-flash";
3454
+ LLMType: "openai_o4-mini-2025-04-16" | "openai_gpt-5-2025-08-07" | "openai_gpt-5-mini-2025-08-07" | "openai_gpt-5-nano-2025-08-07" | "azure_o4-mini-2025-04-16" | "azure_gpt-4.1-2025-04-14" | "azure_gpt-4.1-mini-2025-04-14" | "azure_gpt-5-2025-08-07" | "azure_gpt-5-mini-2025-08-07" | "azure_gpt-5-nano-2025-08-07" | "google_claude-sonnet-4@20250514" | "aws_claude-sonnet-4-20250514" | "anthropic_claude-sonnet-4-20250514" | "google_gemini-2.5-pro" | "google_gemini-2.5-flash";
3243
3455
  /** MP3UserMessageAudioConfig */
3244
3456
  MP3UserMessageAudioConfig: {
3245
3457
  /**
@@ -4149,6 +4361,56 @@ export interface components {
4149
4361
  */
4150
4362
  tool_call_logs: components["schemas"]["ToolCallLog"][][];
4151
4363
  };
4364
+ /** RegularConversationInvocationSource */
4365
+ "RegularConversationInvocationSource-Input": {
4366
+ /**
4367
+ * @description discriminator enum property added by openapi-typescript
4368
+ * @enum {string}
4369
+ */
4370
+ type: "regular-conversation";
4371
+ /**
4372
+ * User Id
4373
+ * @description The ID of the user whose conversation invoked the tool.
4374
+ */
4375
+ user_id: string;
4376
+ /**
4377
+ * Conversation Id
4378
+ * @description The ID of the conversation where the tool was invoked. This conversation might not actually exist if later in the call the conversation is rolled back.
4379
+ */
4380
+ conversation_id: string | null;
4381
+ /**
4382
+ * Interaction Id
4383
+ * @description The ID of the interaction where the tool was invoked. This interaction might not actually exist if later in the call the interaction is rolled back.
4384
+ */
4385
+ interaction_id: string | null;
4386
+ /** @description Metadata about the invocation. */
4387
+ invocation_metadata: components["schemas"]["AgentFrameworkInvocationMetadata-Input"];
4388
+ };
4389
+ /** RegularConversationInvocationSource */
4390
+ "RegularConversationInvocationSource-Output": {
4391
+ /**
4392
+ * @description discriminator enum property added by openapi-typescript
4393
+ * @enum {string}
4394
+ */
4395
+ type: "regular-conversation";
4396
+ /**
4397
+ * User Id
4398
+ * @description The ID of the user whose conversation invoked the tool.
4399
+ */
4400
+ user_id: string;
4401
+ /**
4402
+ * Conversation Id
4403
+ * @description The ID of the conversation where the tool was invoked. This conversation might not actually exist if later in the call the conversation is rolled back.
4404
+ */
4405
+ conversation_id: string | null;
4406
+ /**
4407
+ * Interaction Id
4408
+ * @description The ID of the interaction where the tool was invoked. This interaction might not actually exist if later in the call the interaction is rolled back.
4409
+ */
4410
+ interaction_id: string | null;
4411
+ /** @description Metadata about the invocation. */
4412
+ invocation_metadata: components["schemas"]["AgentFrameworkInvocationMetadata-Output"];
4413
+ };
4152
4414
  /** RelationshipToDeveloper */
4153
4415
  "RelationshipToDeveloper-Input": {
4154
4416
  ownership: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
@@ -4458,6 +4720,38 @@ export interface components {
4458
4720
  */
4459
4721
  type: "side-effect";
4460
4722
  };
4723
+ /** SimulationConversationInvocationSource */
4724
+ "SimulationConversationInvocationSource-Input": {
4725
+ /**
4726
+ * @description discriminator enum property added by openapi-typescript
4727
+ * @enum {string}
4728
+ */
4729
+ type: "simulation-conversation";
4730
+ /** Simulation Unit Test Set Run Id */
4731
+ simulation_unit_test_set_run_id: string | null;
4732
+ /** Unit Test Id */
4733
+ unit_test_id: string | null;
4734
+ /** Run Index */
4735
+ run_index: number | null;
4736
+ /** @description Metadata about the invocation. */
4737
+ invocation_metadata: components["schemas"]["AgentFrameworkInvocationMetadata-Input"];
4738
+ };
4739
+ /** SimulationConversationInvocationSource */
4740
+ "SimulationConversationInvocationSource-Output": {
4741
+ /**
4742
+ * @description discriminator enum property added by openapi-typescript
4743
+ * @enum {string}
4744
+ */
4745
+ type: "simulation-conversation";
4746
+ /** Simulation Unit Test Set Run Id */
4747
+ simulation_unit_test_set_run_id: string | null;
4748
+ /** Unit Test Id */
4749
+ unit_test_id: string | null;
4750
+ /** Run Index */
4751
+ run_index: number | null;
4752
+ /** @description Metadata about the invocation. */
4753
+ invocation_metadata: components["schemas"]["AgentFrameworkInvocationMetadata-Output"];
4754
+ };
4461
4755
  /** SimulationEvaluationSource */
4462
4756
  SimulationEvaluationSource: {
4463
4757
  /**
@@ -4570,6 +4864,11 @@ export interface components {
4570
4864
  * @description The timezone of the simulation persona in the IANA tz database format. If unspecified, UTC is used.
4571
4865
  */
4572
4866
  timezone: string | null;
4867
+ /**
4868
+ * User Models
4869
+ * @description The user models associated with the simulation persona.
4870
+ */
4871
+ user_models: string[];
4573
4872
  };
4574
4873
  /** SimulationScenarioInstance */
4575
4874
  SimulationScenarioInstance: {
@@ -4655,6 +4954,12 @@ export interface components {
4655
4954
  */
4656
4955
  instructions: string;
4657
4956
  initial_message_config: components["schemas"]["InitialMessageConfig-Output"] | null;
4957
+ /**
4958
+ * Conversation Starts At
4959
+ * Format: date-time
4960
+ * @description The time at which the conversation starts. This must be a timestamp in UTC.
4961
+ */
4962
+ conversation_starts_at: string;
4658
4963
  };
4659
4964
  /** SimulationUnitTest */
4660
4965
  SimulationUnitTest: {
@@ -4985,11 +5290,104 @@ export interface components {
4985
5290
  latest_version: number | null;
4986
5291
  };
4987
5292
  StateOrRefName: string;
5293
+ /** StateTransitionInvocationMetadata */
5294
+ "StateTransitionInvocationMetadata-Input": {
5295
+ /**
5296
+ * @description discriminator enum property added by openapi-typescript
5297
+ * @enum {string}
5298
+ */
5299
+ type: "state-transition";
5300
+ /**
5301
+ * Current State Machine And Version
5302
+ * @description The ID and version of the state machine that is currently being executed.
5303
+ */
5304
+ current_state_machine_and_version: [
5305
+ string,
5306
+ number
5307
+ ];
5308
+ /**
5309
+ * State Name
5310
+ * @description The name of the state during which the tool was invoked.
5311
+ */
5312
+ state_name: string;
5313
+ /**
5314
+ * State Transition Index
5315
+ * @description The index of the state transition during which the tool was invoked. As an example, the first state processing that occurs during this state machine navigation process has index 1.
5316
+ */
5317
+ state_transition_index: number;
5318
+ /**
5319
+ * Tool Call Round Index
5320
+ * @description The index of the tool call round.
5321
+ */
5322
+ tool_call_round_index: number;
5323
+ };
5324
+ /** StateTransitionInvocationMetadata */
5325
+ "StateTransitionInvocationMetadata-Output": {
5326
+ /**
5327
+ * @description discriminator enum property added by openapi-typescript
5328
+ * @enum {string}
5329
+ */
5330
+ type: "state-transition";
5331
+ /**
5332
+ * Current State Machine And Version
5333
+ * @description The ID and version of the state machine that is currently being executed.
5334
+ */
5335
+ current_state_machine_and_version: [
5336
+ string,
5337
+ number
5338
+ ];
5339
+ /**
5340
+ * State Name
5341
+ * @description The name of the state during which the tool was invoked.
5342
+ */
5343
+ state_name: string;
5344
+ /**
5345
+ * State Transition Index
5346
+ * @description The index of the state transition during which the tool was invoked. As an example, the first state processing that occurs during this state machine navigation process has index 1.
5347
+ */
5348
+ state_transition_index: number;
5349
+ /**
5350
+ * Tool Call Round Index
5351
+ * @description The index of the tool call round.
5352
+ */
5353
+ tool_call_round_index: number;
5354
+ };
4988
5355
  StateTransitionLog: components["schemas"]["ActionStateTransitionLog"] | components["schemas"]["DecisionStateTransitionLog"] | components["schemas"]["RecallStateTransitionLog"] | components["schemas"]["JumpbackStateTransitionLog"] | components["schemas"]["AnnotationStateTransitionLog"] | components["schemas"]["ReflectionStateTransitionLog"] | components["schemas"]["SideEffectStateTransitionLog"];
4989
5356
  "StrippedNonemptyString_A-Z______": string;
4990
5357
  StrippedNonemptyString___w__s_____: string;
4991
5358
  "StrippedNonemptyString_a-z-______": string;
4992
5359
  "StrippedNonemptyString_a-z0-9______": string;
5360
+ /** SucceededInvocationResult */
5361
+ SucceededInvocationResult: {
5362
+ /**
5363
+ * @description discriminator enum property added by openapi-typescript
5364
+ * @enum {string}
5365
+ */
5366
+ succeeded: "True";
5367
+ /**
5368
+ * Output
5369
+ * @description The output of the tool invocation.
5370
+ */
5371
+ output: string;
5372
+ /**
5373
+ * Duration Ms
5374
+ * @description The duration of the tool invocation in milliseconds.
5375
+ */
5376
+ duration_ms: number;
5377
+ };
5378
+ /** SucceededInvocationStatus */
5379
+ SucceededInvocationStatus: {
5380
+ /**
5381
+ * @description discriminator enum property added by openapi-typescript
5382
+ * @enum {string}
5383
+ */
5384
+ succeeded: "True";
5385
+ /**
5386
+ * Output
5387
+ * @description The output produced by the tool invocation.
5388
+ */
5389
+ output: string;
5390
+ };
4993
5391
  /** SuccessCriterion */
4994
5392
  "SuccessCriterion-Output": {
4995
5393
  /** Name */
@@ -5200,6 +5598,47 @@ export interface components {
5200
5598
  */
5201
5599
  tags: components["schemas"]["Tag"][];
5202
5600
  };
5601
+ /** ToolInvocationInstance */
5602
+ ToolInvocationInstance: {
5603
+ /**
5604
+ * Id
5605
+ * @description The ID of the tool invocation.
5606
+ */
5607
+ id: string;
5608
+ /**
5609
+ * Org Id
5610
+ * @description The ID of the organization.
5611
+ */
5612
+ org_id: string;
5613
+ /**
5614
+ * Created At
5615
+ * Format: date-time
5616
+ */
5617
+ created_at?: string;
5618
+ /**
5619
+ * Updated At
5620
+ * Format: date-time
5621
+ */
5622
+ updated_at?: string;
5623
+ /** @description The status of the tool invocation. */
5624
+ invocation_status: components["schemas"]["InvocationStatus"];
5625
+ /** @description The source of the tool invocation. */
5626
+ invocation_source: components["schemas"]["InvocationSource-Output"];
5627
+ /** Logs */
5628
+ logs: string[];
5629
+ /**
5630
+ * Duration Ms
5631
+ * @description The duration of the tool invocation in milliseconds.
5632
+ */
5633
+ duration_ms: number;
5634
+ /**
5635
+ * Tool Id
5636
+ * @description The ID of the tool that was invoked.
5637
+ */
5638
+ tool_id: string;
5639
+ /** @description The version of the tool that was invoked. */
5640
+ tool_version: components["schemas"]["Version"];
5641
+ };
5203
5642
  /** ToolVersionInstance */
5204
5643
  ToolVersionInstance: {
5205
5644
  /**
@@ -5693,7 +6132,7 @@ export interface components {
5693
6132
  /**
5694
6133
  * Voice Id
5695
6134
  * @description The Elevenlabs voice ID for this agent.
5696
- * @default iP95p4xoKVk53GoZ742B
6135
+ * @default 4rgS68aOYqDjxDQQVXXK
5697
6136
  */
5698
6137
  voice_id?: string;
5699
6138
  /**
@@ -5717,7 +6156,7 @@ export interface components {
5717
6156
  /**
5718
6157
  * Voice Id
5719
6158
  * @description The Elevenlabs voice ID for this agent.
5720
- * @default iP95p4xoKVk53GoZ742B
6159
+ * @default 4rgS68aOYqDjxDQQVXXK
5721
6160
  */
5722
6161
  voice_id?: string;
5723
6162
  /**
@@ -5978,6 +6417,41 @@ export interface components {
5978
6417
  in_maintenance_mode: boolean;
5979
6418
  };
5980
6419
  /** Request */
6420
+ admin__submit_sql_query__Request: {
6421
+ /** @description The SQL query to execute. */
6422
+ sql_query: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
6423
+ /**
6424
+ * Async Query
6425
+ * @description Whether the query is asynchronous. If true, a signed URL will be returned to download the results once the query is complete. If false, the results will be returned in the response, but at most
6426
+ * 1000 rows will be returned, and the query is subject to a 30 second execution timeout.
6427
+ * @constant
6428
+ */
6429
+ async_query: false;
6430
+ };
6431
+ /** SyncQueryResponse */
6432
+ admin__submit_sql_query__Response: {
6433
+ /**
6434
+ * Execution Time Ms
6435
+ * @description The time taken to execute the query in milliseconds.
6436
+ */
6437
+ execution_time_ms: number;
6438
+ /**
6439
+ * Result
6440
+ * @description The result of the query as a list of rows, where each row is a list of column values.
6441
+ */
6442
+ result: string[][];
6443
+ /**
6444
+ * Truncated
6445
+ * @description Whether the result was truncated due to the row limit.
6446
+ */
6447
+ truncated: boolean;
6448
+ /**
6449
+ * Columns
6450
+ * @description Description of the columns in the result.
6451
+ */
6452
+ columns: components["schemas"]["Column"][];
6453
+ };
6454
+ /** Request */
5981
6455
  conversation__create_conversation__Request: {
5982
6456
  /**
5983
6457
  * Service Id
@@ -7261,6 +7735,11 @@ export interface components {
7261
7735
  * @default {}
7262
7736
  */
7263
7737
  timezone?: ("Africa/Abidjan" | "Africa/Accra" | "Africa/Addis_Ababa" | "Africa/Algiers" | "Africa/Asmara" | "Africa/Asmera" | "Africa/Bamako" | "Africa/Bangui" | "Africa/Banjul" | "Africa/Bissau" | "Africa/Blantyre" | "Africa/Brazzaville" | "Africa/Bujumbura" | "Africa/Cairo" | "Africa/Casablanca" | "Africa/Ceuta" | "Africa/Conakry" | "Africa/Dakar" | "Africa/Dar_es_Salaam" | "Africa/Djibouti" | "Africa/Douala" | "Africa/El_Aaiun" | "Africa/Freetown" | "Africa/Gaborone" | "Africa/Harare" | "Africa/Johannesburg" | "Africa/Juba" | "Africa/Kampala" | "Africa/Khartoum" | "Africa/Kigali" | "Africa/Kinshasa" | "Africa/Lagos" | "Africa/Libreville" | "Africa/Lome" | "Africa/Luanda" | "Africa/Lubumbashi" | "Africa/Lusaka" | "Africa/Malabo" | "Africa/Maputo" | "Africa/Maseru" | "Africa/Mbabane" | "Africa/Mogadishu" | "Africa/Monrovia" | "Africa/Nairobi" | "Africa/Ndjamena" | "Africa/Niamey" | "Africa/Nouakchott" | "Africa/Ouagadougou" | "Africa/Porto-Novo" | "Africa/Sao_Tome" | "Africa/Timbuktu" | "Africa/Tripoli" | "Africa/Tunis" | "Africa/Windhoek" | "America/Adak" | "America/Anchorage" | "America/Anguilla" | "America/Antigua" | "America/Araguaina" | "America/Argentina/Buenos_Aires" | "America/Argentina/Catamarca" | "America/Argentina/ComodRivadavia" | "America/Argentina/Cordoba" | "America/Argentina/Jujuy" | "America/Argentina/La_Rioja" | "America/Argentina/Mendoza" | "America/Argentina/Rio_Gallegos" | "America/Argentina/Salta" | "America/Argentina/San_Juan" | "America/Argentina/San_Luis" | "America/Argentina/Tucuman" | "America/Argentina/Ushuaia" | "America/Aruba" | "America/Asuncion" | "America/Atikokan" | "America/Atka" | "America/Bahia" | "America/Bahia_Banderas" | "America/Barbados" | "America/Belem" | "America/Belize" | "America/Blanc-Sablon" | "America/Boa_Vista" | "America/Bogota" | "America/Boise" | "America/Buenos_Aires" | "America/Cambridge_Bay" | "America/Campo_Grande" | "America/Cancun" | "America/Caracas" | "America/Catamarca" | "America/Cayenne" | "America/Cayman" | "America/Chicago" | "America/Chihuahua" | "America/Ciudad_Juarez" | "America/Coral_Harbour" | "America/Cordoba" | "America/Costa_Rica" | "America/Coyhaique" | "America/Creston" | "America/Cuiaba" | "America/Curacao" | "America/Danmarkshavn" | "America/Dawson" | "America/Dawson_Creek" | "America/Denver" | "America/Detroit" | "America/Dominica" | "America/Edmonton" | "America/Eirunepe" | "America/El_Salvador" | "America/Ensenada" | "America/Fort_Nelson" | "America/Fort_Wayne" | "America/Fortaleza" | "America/Glace_Bay" | "America/Godthab" | "America/Goose_Bay" | "America/Grand_Turk" | "America/Grenada" | "America/Guadeloupe" | "America/Guatemala" | "America/Guayaquil" | "America/Guyana" | "America/Halifax" | "America/Havana" | "America/Hermosillo" | "America/Indiana/Indianapolis" | "America/Indiana/Knox" | "America/Indiana/Marengo" | "America/Indiana/Petersburg" | "America/Indiana/Tell_City" | "America/Indiana/Vevay" | "America/Indiana/Vincennes" | "America/Indiana/Winamac" | "America/Indianapolis" | "America/Inuvik" | "America/Iqaluit" | "America/Jamaica" | "America/Jujuy" | "America/Juneau" | "America/Kentucky/Louisville" | "America/Kentucky/Monticello" | "America/Knox_IN" | "America/Kralendijk" | "America/La_Paz" | "America/Lima" | "America/Los_Angeles" | "America/Louisville" | "America/Lower_Princes" | "America/Maceio" | "America/Managua" | "America/Manaus" | "America/Marigot" | "America/Martinique" | "America/Matamoros" | "America/Mazatlan" | "America/Mendoza" | "America/Menominee" | "America/Merida" | "America/Metlakatla" | "America/Mexico_City" | "America/Miquelon" | "America/Moncton" | "America/Monterrey" | "America/Montevideo" | "America/Montreal" | "America/Montserrat" | "America/Nassau" | "America/New_York" | "America/Nipigon" | "America/Nome" | "America/Noronha" | "America/North_Dakota/Beulah" | "America/North_Dakota/Center" | "America/North_Dakota/New_Salem" | "America/Nuuk" | "America/Ojinaga" | "America/Panama" | "America/Pangnirtung" | "America/Paramaribo" | "America/Phoenix" | "America/Port-au-Prince" | "America/Port_of_Spain" | "America/Porto_Acre" | "America/Porto_Velho" | "America/Puerto_Rico" | "America/Punta_Arenas" | "America/Rainy_River" | "America/Rankin_Inlet" | "America/Recife" | "America/Regina" | "America/Resolute" | "America/Rio_Branco" | "America/Rosario" | "America/Santa_Isabel" | "America/Santarem" | "America/Santiago" | "America/Santo_Domingo" | "America/Sao_Paulo" | "America/Scoresbysund" | "America/Shiprock" | "America/Sitka" | "America/St_Barthelemy" | "America/St_Johns" | "America/St_Kitts" | "America/St_Lucia" | "America/St_Thomas" | "America/St_Vincent" | "America/Swift_Current" | "America/Tegucigalpa" | "America/Thule" | "America/Thunder_Bay" | "America/Tijuana" | "America/Toronto" | "America/Tortola" | "America/Vancouver" | "America/Virgin" | "America/Whitehorse" | "America/Winnipeg" | "America/Yakutat" | "America/Yellowknife" | "Antarctica/Casey" | "Antarctica/Davis" | "Antarctica/DumontDUrville" | "Antarctica/Macquarie" | "Antarctica/Mawson" | "Antarctica/McMurdo" | "Antarctica/Palmer" | "Antarctica/Rothera" | "Antarctica/South_Pole" | "Antarctica/Syowa" | "Antarctica/Troll" | "Antarctica/Vostok" | "Arctic/Longyearbyen" | "Asia/Aden" | "Asia/Almaty" | "Asia/Amman" | "Asia/Anadyr" | "Asia/Aqtau" | "Asia/Aqtobe" | "Asia/Ashgabat" | "Asia/Ashkhabad" | "Asia/Atyrau" | "Asia/Baghdad" | "Asia/Bahrain" | "Asia/Baku" | "Asia/Bangkok" | "Asia/Barnaul" | "Asia/Beirut" | "Asia/Bishkek" | "Asia/Brunei" | "Asia/Calcutta" | "Asia/Chita" | "Asia/Choibalsan" | "Asia/Chongqing" | "Asia/Chungking" | "Asia/Colombo" | "Asia/Dacca" | "Asia/Damascus" | "Asia/Dhaka" | "Asia/Dili" | "Asia/Dubai" | "Asia/Dushanbe" | "Asia/Famagusta" | "Asia/Gaza" | "Asia/Harbin" | "Asia/Hebron" | "Asia/Ho_Chi_Minh" | "Asia/Hong_Kong" | "Asia/Hovd" | "Asia/Irkutsk" | "Asia/Istanbul" | "Asia/Jakarta" | "Asia/Jayapura" | "Asia/Jerusalem" | "Asia/Kabul" | "Asia/Kamchatka" | "Asia/Karachi" | "Asia/Kashgar" | "Asia/Kathmandu" | "Asia/Katmandu" | "Asia/Khandyga" | "Asia/Kolkata" | "Asia/Krasnoyarsk" | "Asia/Kuala_Lumpur" | "Asia/Kuching" | "Asia/Kuwait" | "Asia/Macao" | "Asia/Macau" | "Asia/Magadan" | "Asia/Makassar" | "Asia/Manila" | "Asia/Muscat" | "Asia/Nicosia" | "Asia/Novokuznetsk" | "Asia/Novosibirsk" | "Asia/Omsk" | "Asia/Oral" | "Asia/Phnom_Penh" | "Asia/Pontianak" | "Asia/Pyongyang" | "Asia/Qatar" | "Asia/Qostanay" | "Asia/Qyzylorda" | "Asia/Rangoon" | "Asia/Riyadh" | "Asia/Saigon" | "Asia/Sakhalin" | "Asia/Samarkand" | "Asia/Seoul" | "Asia/Shanghai" | "Asia/Singapore" | "Asia/Srednekolymsk" | "Asia/Taipei" | "Asia/Tashkent" | "Asia/Tbilisi" | "Asia/Tehran" | "Asia/Tel_Aviv" | "Asia/Thimbu" | "Asia/Thimphu" | "Asia/Tokyo" | "Asia/Tomsk" | "Asia/Ujung_Pandang" | "Asia/Ulaanbaatar" | "Asia/Ulan_Bator" | "Asia/Urumqi" | "Asia/Ust-Nera" | "Asia/Vientiane" | "Asia/Vladivostok" | "Asia/Yakutsk" | "Asia/Yangon" | "Asia/Yekaterinburg" | "Asia/Yerevan" | "Atlantic/Azores" | "Atlantic/Bermuda" | "Atlantic/Canary" | "Atlantic/Cape_Verde" | "Atlantic/Faeroe" | "Atlantic/Faroe" | "Atlantic/Jan_Mayen" | "Atlantic/Madeira" | "Atlantic/Reykjavik" | "Atlantic/South_Georgia" | "Atlantic/St_Helena" | "Atlantic/Stanley" | "Australia/ACT" | "Australia/Adelaide" | "Australia/Brisbane" | "Australia/Broken_Hill" | "Australia/Canberra" | "Australia/Currie" | "Australia/Darwin" | "Australia/Eucla" | "Australia/Hobart" | "Australia/LHI" | "Australia/Lindeman" | "Australia/Lord_Howe" | "Australia/Melbourne" | "Australia/NSW" | "Australia/North" | "Australia/Perth" | "Australia/Queensland" | "Australia/South" | "Australia/Sydney" | "Australia/Tasmania" | "Australia/Victoria" | "Australia/West" | "Australia/Yancowinna" | "Brazil/Acre" | "Brazil/DeNoronha" | "Brazil/East" | "Brazil/West" | "CET" | "CST6CDT" | "Canada/Atlantic" | "Canada/Central" | "Canada/Eastern" | "Canada/Mountain" | "Canada/Newfoundland" | "Canada/Pacific" | "Canada/Saskatchewan" | "Canada/Yukon" | "Chile/Continental" | "Chile/EasterIsland" | "Cuba" | "EET" | "EST" | "EST5EDT" | "Egypt" | "Eire" | "Etc/GMT" | "Etc/GMT+0" | "Etc/GMT+1" | "Etc/GMT+10" | "Etc/GMT+11" | "Etc/GMT+12" | "Etc/GMT+2" | "Etc/GMT+3" | "Etc/GMT+4" | "Etc/GMT+5" | "Etc/GMT+6" | "Etc/GMT+7" | "Etc/GMT+8" | "Etc/GMT+9" | "Etc/GMT-0" | "Etc/GMT-1" | "Etc/GMT-10" | "Etc/GMT-11" | "Etc/GMT-12" | "Etc/GMT-13" | "Etc/GMT-14" | "Etc/GMT-2" | "Etc/GMT-3" | "Etc/GMT-4" | "Etc/GMT-5" | "Etc/GMT-6" | "Etc/GMT-7" | "Etc/GMT-8" | "Etc/GMT-9" | "Etc/GMT0" | "Etc/Greenwich" | "Etc/UCT" | "Etc/UTC" | "Etc/Universal" | "Etc/Zulu" | "Europe/Amsterdam" | "Europe/Andorra" | "Europe/Astrakhan" | "Europe/Athens" | "Europe/Belfast" | "Europe/Belgrade" | "Europe/Berlin" | "Europe/Bratislava" | "Europe/Brussels" | "Europe/Bucharest" | "Europe/Budapest" | "Europe/Busingen" | "Europe/Chisinau" | "Europe/Copenhagen" | "Europe/Dublin" | "Europe/Gibraltar" | "Europe/Guernsey" | "Europe/Helsinki" | "Europe/Isle_of_Man" | "Europe/Istanbul" | "Europe/Jersey" | "Europe/Kaliningrad" | "Europe/Kiev" | "Europe/Kirov" | "Europe/Kyiv" | "Europe/Lisbon" | "Europe/Ljubljana" | "Europe/London" | "Europe/Luxembourg" | "Europe/Madrid" | "Europe/Malta" | "Europe/Mariehamn" | "Europe/Minsk" | "Europe/Monaco" | "Europe/Moscow" | "Europe/Nicosia" | "Europe/Oslo" | "Europe/Paris" | "Europe/Podgorica" | "Europe/Prague" | "Europe/Riga" | "Europe/Rome" | "Europe/Samara" | "Europe/San_Marino" | "Europe/Sarajevo" | "Europe/Saratov" | "Europe/Simferopol" | "Europe/Skopje" | "Europe/Sofia" | "Europe/Stockholm" | "Europe/Tallinn" | "Europe/Tirane" | "Europe/Tiraspol" | "Europe/Ulyanovsk" | "Europe/Uzhgorod" | "Europe/Vaduz" | "Europe/Vatican" | "Europe/Vienna" | "Europe/Vilnius" | "Europe/Volgograd" | "Europe/Warsaw" | "Europe/Zagreb" | "Europe/Zaporozhye" | "Europe/Zurich" | "Factory" | "GB" | "GB-Eire" | "GMT" | "GMT+0" | "GMT-0" | "GMT0" | "Greenwich" | "HST" | "Hongkong" | "Iceland" | "Indian/Antananarivo" | "Indian/Chagos" | "Indian/Christmas" | "Indian/Cocos" | "Indian/Comoro" | "Indian/Kerguelen" | "Indian/Mahe" | "Indian/Maldives" | "Indian/Mauritius" | "Indian/Mayotte" | "Indian/Reunion" | "Iran" | "Israel" | "Jamaica" | "Japan" | "Kwajalein" | "Libya" | "MET" | "MST" | "MST7MDT" | "Mexico/BajaNorte" | "Mexico/BajaSur" | "Mexico/General" | "NZ" | "NZ-CHAT" | "Navajo" | "PRC" | "PST8PDT" | "Pacific/Apia" | "Pacific/Auckland" | "Pacific/Bougainville" | "Pacific/Chatham" | "Pacific/Chuuk" | "Pacific/Easter" | "Pacific/Efate" | "Pacific/Enderbury" | "Pacific/Fakaofo" | "Pacific/Fiji" | "Pacific/Funafuti" | "Pacific/Galapagos" | "Pacific/Gambier" | "Pacific/Guadalcanal" | "Pacific/Guam" | "Pacific/Honolulu" | "Pacific/Johnston" | "Pacific/Kanton" | "Pacific/Kiritimati" | "Pacific/Kosrae" | "Pacific/Kwajalein" | "Pacific/Majuro" | "Pacific/Marquesas" | "Pacific/Midway" | "Pacific/Nauru" | "Pacific/Niue" | "Pacific/Norfolk" | "Pacific/Noumea" | "Pacific/Pago_Pago" | "Pacific/Palau" | "Pacific/Pitcairn" | "Pacific/Pohnpei" | "Pacific/Ponape" | "Pacific/Port_Moresby" | "Pacific/Rarotonga" | "Pacific/Saipan" | "Pacific/Samoa" | "Pacific/Tahiti" | "Pacific/Tarawa" | "Pacific/Tongatapu" | "Pacific/Truk" | "Pacific/Wake" | "Pacific/Wallis" | "Pacific/Yap" | "Poland" | "Portugal" | "ROC" | "ROK" | "Singapore" | "Turkey" | "UCT" | "US/Alaska" | "US/Aleutian" | "US/Arizona" | "US/Central" | "US/East-Indiana" | "US/Eastern" | "US/Hawaii" | "US/Indiana-Starke" | "US/Michigan" | "US/Mountain" | "US/Pacific" | "US/Samoa" | "UTC" | "Universal" | "W-SU" | "WET" | "Zulu" | "localtime") | components["schemas"]["_NotSet"] | null;
7738
+ /**
7739
+ * User Models
7740
+ * @description A list of strings representing the user models associated with the simulation persona.
7741
+ */
7742
+ user_models: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
7264
7743
  };
7265
7744
  /** Response */
7266
7745
  simulation__create_simulation_persona__Response: {
@@ -7286,6 +7765,11 @@ export interface components {
7286
7765
  * @default {}
7287
7766
  */
7288
7767
  timezone?: ("Africa/Abidjan" | "Africa/Accra" | "Africa/Addis_Ababa" | "Africa/Algiers" | "Africa/Asmara" | "Africa/Asmera" | "Africa/Bamako" | "Africa/Bangui" | "Africa/Banjul" | "Africa/Bissau" | "Africa/Blantyre" | "Africa/Brazzaville" | "Africa/Bujumbura" | "Africa/Cairo" | "Africa/Casablanca" | "Africa/Ceuta" | "Africa/Conakry" | "Africa/Dakar" | "Africa/Dar_es_Salaam" | "Africa/Djibouti" | "Africa/Douala" | "Africa/El_Aaiun" | "Africa/Freetown" | "Africa/Gaborone" | "Africa/Harare" | "Africa/Johannesburg" | "Africa/Juba" | "Africa/Kampala" | "Africa/Khartoum" | "Africa/Kigali" | "Africa/Kinshasa" | "Africa/Lagos" | "Africa/Libreville" | "Africa/Lome" | "Africa/Luanda" | "Africa/Lubumbashi" | "Africa/Lusaka" | "Africa/Malabo" | "Africa/Maputo" | "Africa/Maseru" | "Africa/Mbabane" | "Africa/Mogadishu" | "Africa/Monrovia" | "Africa/Nairobi" | "Africa/Ndjamena" | "Africa/Niamey" | "Africa/Nouakchott" | "Africa/Ouagadougou" | "Africa/Porto-Novo" | "Africa/Sao_Tome" | "Africa/Timbuktu" | "Africa/Tripoli" | "Africa/Tunis" | "Africa/Windhoek" | "America/Adak" | "America/Anchorage" | "America/Anguilla" | "America/Antigua" | "America/Araguaina" | "America/Argentina/Buenos_Aires" | "America/Argentina/Catamarca" | "America/Argentina/ComodRivadavia" | "America/Argentina/Cordoba" | "America/Argentina/Jujuy" | "America/Argentina/La_Rioja" | "America/Argentina/Mendoza" | "America/Argentina/Rio_Gallegos" | "America/Argentina/Salta" | "America/Argentina/San_Juan" | "America/Argentina/San_Luis" | "America/Argentina/Tucuman" | "America/Argentina/Ushuaia" | "America/Aruba" | "America/Asuncion" | "America/Atikokan" | "America/Atka" | "America/Bahia" | "America/Bahia_Banderas" | "America/Barbados" | "America/Belem" | "America/Belize" | "America/Blanc-Sablon" | "America/Boa_Vista" | "America/Bogota" | "America/Boise" | "America/Buenos_Aires" | "America/Cambridge_Bay" | "America/Campo_Grande" | "America/Cancun" | "America/Caracas" | "America/Catamarca" | "America/Cayenne" | "America/Cayman" | "America/Chicago" | "America/Chihuahua" | "America/Ciudad_Juarez" | "America/Coral_Harbour" | "America/Cordoba" | "America/Costa_Rica" | "America/Coyhaique" | "America/Creston" | "America/Cuiaba" | "America/Curacao" | "America/Danmarkshavn" | "America/Dawson" | "America/Dawson_Creek" | "America/Denver" | "America/Detroit" | "America/Dominica" | "America/Edmonton" | "America/Eirunepe" | "America/El_Salvador" | "America/Ensenada" | "America/Fort_Nelson" | "America/Fort_Wayne" | "America/Fortaleza" | "America/Glace_Bay" | "America/Godthab" | "America/Goose_Bay" | "America/Grand_Turk" | "America/Grenada" | "America/Guadeloupe" | "America/Guatemala" | "America/Guayaquil" | "America/Guyana" | "America/Halifax" | "America/Havana" | "America/Hermosillo" | "America/Indiana/Indianapolis" | "America/Indiana/Knox" | "America/Indiana/Marengo" | "America/Indiana/Petersburg" | "America/Indiana/Tell_City" | "America/Indiana/Vevay" | "America/Indiana/Vincennes" | "America/Indiana/Winamac" | "America/Indianapolis" | "America/Inuvik" | "America/Iqaluit" | "America/Jamaica" | "America/Jujuy" | "America/Juneau" | "America/Kentucky/Louisville" | "America/Kentucky/Monticello" | "America/Knox_IN" | "America/Kralendijk" | "America/La_Paz" | "America/Lima" | "America/Los_Angeles" | "America/Louisville" | "America/Lower_Princes" | "America/Maceio" | "America/Managua" | "America/Manaus" | "America/Marigot" | "America/Martinique" | "America/Matamoros" | "America/Mazatlan" | "America/Mendoza" | "America/Menominee" | "America/Merida" | "America/Metlakatla" | "America/Mexico_City" | "America/Miquelon" | "America/Moncton" | "America/Monterrey" | "America/Montevideo" | "America/Montreal" | "America/Montserrat" | "America/Nassau" | "America/New_York" | "America/Nipigon" | "America/Nome" | "America/Noronha" | "America/North_Dakota/Beulah" | "America/North_Dakota/Center" | "America/North_Dakota/New_Salem" | "America/Nuuk" | "America/Ojinaga" | "America/Panama" | "America/Pangnirtung" | "America/Paramaribo" | "America/Phoenix" | "America/Port-au-Prince" | "America/Port_of_Spain" | "America/Porto_Acre" | "America/Porto_Velho" | "America/Puerto_Rico" | "America/Punta_Arenas" | "America/Rainy_River" | "America/Rankin_Inlet" | "America/Recife" | "America/Regina" | "America/Resolute" | "America/Rio_Branco" | "America/Rosario" | "America/Santa_Isabel" | "America/Santarem" | "America/Santiago" | "America/Santo_Domingo" | "America/Sao_Paulo" | "America/Scoresbysund" | "America/Shiprock" | "America/Sitka" | "America/St_Barthelemy" | "America/St_Johns" | "America/St_Kitts" | "America/St_Lucia" | "America/St_Thomas" | "America/St_Vincent" | "America/Swift_Current" | "America/Tegucigalpa" | "America/Thule" | "America/Thunder_Bay" | "America/Tijuana" | "America/Toronto" | "America/Tortola" | "America/Vancouver" | "America/Virgin" | "America/Whitehorse" | "America/Winnipeg" | "America/Yakutat" | "America/Yellowknife" | "Antarctica/Casey" | "Antarctica/Davis" | "Antarctica/DumontDUrville" | "Antarctica/Macquarie" | "Antarctica/Mawson" | "Antarctica/McMurdo" | "Antarctica/Palmer" | "Antarctica/Rothera" | "Antarctica/South_Pole" | "Antarctica/Syowa" | "Antarctica/Troll" | "Antarctica/Vostok" | "Arctic/Longyearbyen" | "Asia/Aden" | "Asia/Almaty" | "Asia/Amman" | "Asia/Anadyr" | "Asia/Aqtau" | "Asia/Aqtobe" | "Asia/Ashgabat" | "Asia/Ashkhabad" | "Asia/Atyrau" | "Asia/Baghdad" | "Asia/Bahrain" | "Asia/Baku" | "Asia/Bangkok" | "Asia/Barnaul" | "Asia/Beirut" | "Asia/Bishkek" | "Asia/Brunei" | "Asia/Calcutta" | "Asia/Chita" | "Asia/Choibalsan" | "Asia/Chongqing" | "Asia/Chungking" | "Asia/Colombo" | "Asia/Dacca" | "Asia/Damascus" | "Asia/Dhaka" | "Asia/Dili" | "Asia/Dubai" | "Asia/Dushanbe" | "Asia/Famagusta" | "Asia/Gaza" | "Asia/Harbin" | "Asia/Hebron" | "Asia/Ho_Chi_Minh" | "Asia/Hong_Kong" | "Asia/Hovd" | "Asia/Irkutsk" | "Asia/Istanbul" | "Asia/Jakarta" | "Asia/Jayapura" | "Asia/Jerusalem" | "Asia/Kabul" | "Asia/Kamchatka" | "Asia/Karachi" | "Asia/Kashgar" | "Asia/Kathmandu" | "Asia/Katmandu" | "Asia/Khandyga" | "Asia/Kolkata" | "Asia/Krasnoyarsk" | "Asia/Kuala_Lumpur" | "Asia/Kuching" | "Asia/Kuwait" | "Asia/Macao" | "Asia/Macau" | "Asia/Magadan" | "Asia/Makassar" | "Asia/Manila" | "Asia/Muscat" | "Asia/Nicosia" | "Asia/Novokuznetsk" | "Asia/Novosibirsk" | "Asia/Omsk" | "Asia/Oral" | "Asia/Phnom_Penh" | "Asia/Pontianak" | "Asia/Pyongyang" | "Asia/Qatar" | "Asia/Qostanay" | "Asia/Qyzylorda" | "Asia/Rangoon" | "Asia/Riyadh" | "Asia/Saigon" | "Asia/Sakhalin" | "Asia/Samarkand" | "Asia/Seoul" | "Asia/Shanghai" | "Asia/Singapore" | "Asia/Srednekolymsk" | "Asia/Taipei" | "Asia/Tashkent" | "Asia/Tbilisi" | "Asia/Tehran" | "Asia/Tel_Aviv" | "Asia/Thimbu" | "Asia/Thimphu" | "Asia/Tokyo" | "Asia/Tomsk" | "Asia/Ujung_Pandang" | "Asia/Ulaanbaatar" | "Asia/Ulan_Bator" | "Asia/Urumqi" | "Asia/Ust-Nera" | "Asia/Vientiane" | "Asia/Vladivostok" | "Asia/Yakutsk" | "Asia/Yangon" | "Asia/Yekaterinburg" | "Asia/Yerevan" | "Atlantic/Azores" | "Atlantic/Bermuda" | "Atlantic/Canary" | "Atlantic/Cape_Verde" | "Atlantic/Faeroe" | "Atlantic/Faroe" | "Atlantic/Jan_Mayen" | "Atlantic/Madeira" | "Atlantic/Reykjavik" | "Atlantic/South_Georgia" | "Atlantic/St_Helena" | "Atlantic/Stanley" | "Australia/ACT" | "Australia/Adelaide" | "Australia/Brisbane" | "Australia/Broken_Hill" | "Australia/Canberra" | "Australia/Currie" | "Australia/Darwin" | "Australia/Eucla" | "Australia/Hobart" | "Australia/LHI" | "Australia/Lindeman" | "Australia/Lord_Howe" | "Australia/Melbourne" | "Australia/NSW" | "Australia/North" | "Australia/Perth" | "Australia/Queensland" | "Australia/South" | "Australia/Sydney" | "Australia/Tasmania" | "Australia/Victoria" | "Australia/West" | "Australia/Yancowinna" | "Brazil/Acre" | "Brazil/DeNoronha" | "Brazil/East" | "Brazil/West" | "CET" | "CST6CDT" | "Canada/Atlantic" | "Canada/Central" | "Canada/Eastern" | "Canada/Mountain" | "Canada/Newfoundland" | "Canada/Pacific" | "Canada/Saskatchewan" | "Canada/Yukon" | "Chile/Continental" | "Chile/EasterIsland" | "Cuba" | "EET" | "EST" | "EST5EDT" | "Egypt" | "Eire" | "Etc/GMT" | "Etc/GMT+0" | "Etc/GMT+1" | "Etc/GMT+10" | "Etc/GMT+11" | "Etc/GMT+12" | "Etc/GMT+2" | "Etc/GMT+3" | "Etc/GMT+4" | "Etc/GMT+5" | "Etc/GMT+6" | "Etc/GMT+7" | "Etc/GMT+8" | "Etc/GMT+9" | "Etc/GMT-0" | "Etc/GMT-1" | "Etc/GMT-10" | "Etc/GMT-11" | "Etc/GMT-12" | "Etc/GMT-13" | "Etc/GMT-14" | "Etc/GMT-2" | "Etc/GMT-3" | "Etc/GMT-4" | "Etc/GMT-5" | "Etc/GMT-6" | "Etc/GMT-7" | "Etc/GMT-8" | "Etc/GMT-9" | "Etc/GMT0" | "Etc/Greenwich" | "Etc/UCT" | "Etc/UTC" | "Etc/Universal" | "Etc/Zulu" | "Europe/Amsterdam" | "Europe/Andorra" | "Europe/Astrakhan" | "Europe/Athens" | "Europe/Belfast" | "Europe/Belgrade" | "Europe/Berlin" | "Europe/Bratislava" | "Europe/Brussels" | "Europe/Bucharest" | "Europe/Budapest" | "Europe/Busingen" | "Europe/Chisinau" | "Europe/Copenhagen" | "Europe/Dublin" | "Europe/Gibraltar" | "Europe/Guernsey" | "Europe/Helsinki" | "Europe/Isle_of_Man" | "Europe/Istanbul" | "Europe/Jersey" | "Europe/Kaliningrad" | "Europe/Kiev" | "Europe/Kirov" | "Europe/Kyiv" | "Europe/Lisbon" | "Europe/Ljubljana" | "Europe/London" | "Europe/Luxembourg" | "Europe/Madrid" | "Europe/Malta" | "Europe/Mariehamn" | "Europe/Minsk" | "Europe/Monaco" | "Europe/Moscow" | "Europe/Nicosia" | "Europe/Oslo" | "Europe/Paris" | "Europe/Podgorica" | "Europe/Prague" | "Europe/Riga" | "Europe/Rome" | "Europe/Samara" | "Europe/San_Marino" | "Europe/Sarajevo" | "Europe/Saratov" | "Europe/Simferopol" | "Europe/Skopje" | "Europe/Sofia" | "Europe/Stockholm" | "Europe/Tallinn" | "Europe/Tirane" | "Europe/Tiraspol" | "Europe/Ulyanovsk" | "Europe/Uzhgorod" | "Europe/Vaduz" | "Europe/Vatican" | "Europe/Vienna" | "Europe/Vilnius" | "Europe/Volgograd" | "Europe/Warsaw" | "Europe/Zagreb" | "Europe/Zaporozhye" | "Europe/Zurich" | "Factory" | "GB" | "GB-Eire" | "GMT" | "GMT+0" | "GMT-0" | "GMT0" | "Greenwich" | "HST" | "Hongkong" | "Iceland" | "Indian/Antananarivo" | "Indian/Chagos" | "Indian/Christmas" | "Indian/Cocos" | "Indian/Comoro" | "Indian/Kerguelen" | "Indian/Mahe" | "Indian/Maldives" | "Indian/Mauritius" | "Indian/Mayotte" | "Indian/Reunion" | "Iran" | "Israel" | "Jamaica" | "Japan" | "Kwajalein" | "Libya" | "MET" | "MST" | "MST7MDT" | "Mexico/BajaNorte" | "Mexico/BajaSur" | "Mexico/General" | "NZ" | "NZ-CHAT" | "Navajo" | "PRC" | "PST8PDT" | "Pacific/Apia" | "Pacific/Auckland" | "Pacific/Bougainville" | "Pacific/Chatham" | "Pacific/Chuuk" | "Pacific/Easter" | "Pacific/Efate" | "Pacific/Enderbury" | "Pacific/Fakaofo" | "Pacific/Fiji" | "Pacific/Funafuti" | "Pacific/Galapagos" | "Pacific/Gambier" | "Pacific/Guadalcanal" | "Pacific/Guam" | "Pacific/Honolulu" | "Pacific/Johnston" | "Pacific/Kanton" | "Pacific/Kiritimati" | "Pacific/Kosrae" | "Pacific/Kwajalein" | "Pacific/Majuro" | "Pacific/Marquesas" | "Pacific/Midway" | "Pacific/Nauru" | "Pacific/Niue" | "Pacific/Norfolk" | "Pacific/Noumea" | "Pacific/Pago_Pago" | "Pacific/Palau" | "Pacific/Pitcairn" | "Pacific/Pohnpei" | "Pacific/Ponape" | "Pacific/Port_Moresby" | "Pacific/Rarotonga" | "Pacific/Saipan" | "Pacific/Samoa" | "Pacific/Tahiti" | "Pacific/Tarawa" | "Pacific/Tongatapu" | "Pacific/Truk" | "Pacific/Wake" | "Pacific/Wallis" | "Pacific/Yap" | "Poland" | "Portugal" | "ROC" | "ROK" | "Singapore" | "Turkey" | "UCT" | "US/Alaska" | "US/Aleutian" | "US/Arizona" | "US/Central" | "US/East-Indiana" | "US/Eastern" | "US/Hawaii" | "US/Indiana-Starke" | "US/Michigan" | "US/Mountain" | "US/Pacific" | "US/Samoa" | "UTC" | "Universal" | "W-SU" | "WET" | "Zulu" | "localtime") | components["schemas"]["_NotSet"] | null;
7768
+ /**
7769
+ * User Models
7770
+ * @description A list of strings representing the user models associated with the simulation persona.
7771
+ */
7772
+ user_models: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
7289
7773
  };
7290
7774
  /** Response */
7291
7775
  simulation__create_simulation_persona_version__Response: {
@@ -7317,6 +7801,12 @@ export interface components {
7317
7801
  instructions: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
7318
7802
  /** @description The initial message configuration for the simulation scenario version. If not specified, an agent message opens the simulated conversation. */
7319
7803
  initial_message_config: components["schemas"]["InitialMessageConfig-Input"] | null;
7804
+ /**
7805
+ * Conversation Starts At
7806
+ * Format: date-time
7807
+ * @description The time at which the conversation starts. This must be a timestamp in UTC.
7808
+ */
7809
+ conversation_starts_at: string;
7320
7810
  };
7321
7811
  /** Response */
7322
7812
  simulation__create_simulation_scenario__Response: {
@@ -7334,6 +7824,12 @@ export interface components {
7334
7824
  instructions: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
7335
7825
  /** @description The initial message configuration for the simulation scenario version. If not specified, an agent message opens the simulated conversation. */
7336
7826
  initial_message_config: components["schemas"]["InitialMessageConfig-Input"] | null;
7827
+ /**
7828
+ * Conversation Starts At
7829
+ * Format: date-time
7830
+ * @description The time at which the conversation starts. This must be a timestamp in UTC.
7831
+ */
7832
+ conversation_starts_at: string;
7337
7833
  };
7338
7834
  /** Response */
7339
7835
  simulation__create_simulation_scenario_version__Response: {
@@ -7862,6 +8358,24 @@ export interface components {
7862
8358
  id: string;
7863
8359
  };
7864
8360
  /** Response */
8361
+ tool__get_tool_invocations__Response: {
8362
+ /**
8363
+ * Tool Invocations
8364
+ * @description The list of tool invocations.
8365
+ */
8366
+ tool_invocations: components["schemas"]["ToolInvocationInstance"][];
8367
+ /**
8368
+ * Has More
8369
+ * @description Whether there are more tool invocations to retrieve.
8370
+ */
8371
+ has_more: boolean;
8372
+ /**
8373
+ * Continuation Token
8374
+ * @description The continuation token to retrieve the next page of tool invocations, or null if there are no more tool invocations.
8375
+ */
8376
+ continuation_token: unknown | null;
8377
+ };
8378
+ /** Response */
7865
8379
  tool__get_tool_versions__Response: {
7866
8380
  /**
7867
8381
  * Tool Versions
@@ -7924,6 +8438,19 @@ export interface components {
7924
8438
  tags: string[];
7925
8439
  };
7926
8440
  /** Request */
8441
+ tool__invoke_tool_version__Request: {
8442
+ /**
8443
+ * Inputs
8444
+ * @description The list of inputs for the tool invocation.
8445
+ */
8446
+ inputs: components["schemas"]["Input"][];
8447
+ };
8448
+ /** Response */
8449
+ tool__invoke_tool_version__Response: {
8450
+ /** Invocation Results */
8451
+ invocation_results: components["schemas"]["InvocationResult"][];
8452
+ };
8453
+ /** Request */
7927
8454
  tool__modify_tool__Request: {
7928
8455
  /** @description A description of this tool. Only updates if not-null. */
7929
8456
  description?: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"] | null;
@@ -8619,7 +9146,7 @@ export interface operations {
8619
9146
  };
8620
9147
  content?: never;
8621
9148
  };
8622
- /** @description The user has exceeded the rate limit of 50 requests per minute for this endpoint. */
9149
+ /** @description The user has exceeded the rate limit of 20 requests per minute for this endpoint. */
8623
9150
  429: {
8624
9151
  headers: {
8625
9152
  [name: string]: unknown;
@@ -8950,7 +9477,7 @@ export interface operations {
8950
9477
  };
8951
9478
  content?: never;
8952
9479
  };
8953
- /** @description The user has exceeded the rate limit of 50 requests per minute for this endpoint. */
9480
+ /** @description The user has exceeded the rate limit of 20 requests per minute for this endpoint. */
8954
9481
  429: {
8955
9482
  headers: {
8956
9483
  [name: string]: unknown;
@@ -9274,7 +9801,7 @@ export interface operations {
9274
9801
  };
9275
9802
  content?: never;
9276
9803
  };
9277
- /** @description The user has exceeded the rate limit of 50 requests per minute for this endpoint. */
9804
+ /** @description The user has exceeded the rate limit of 10 requests per minute for this endpoint. */
9278
9805
  429: {
9279
9806
  headers: {
9280
9807
  [name: string]: unknown;
@@ -9653,7 +10180,7 @@ export interface operations {
9653
10180
  };
9654
10181
  content?: never;
9655
10182
  };
9656
- /** @description The user has exceeded the rate limit of 20 requests per minute for this endpoint. */
10183
+ /** @description The user has exceeded the rate limit of 5 requests per minute for this endpoint. */
9657
10184
  429: {
9658
10185
  headers: {
9659
10186
  [name: string]: unknown;
@@ -9721,7 +10248,7 @@ export interface operations {
9721
10248
  };
9722
10249
  content?: never;
9723
10250
  };
9724
- /** @description The user has exceeded the rate limit of 50 requests per minute for this endpoint. */
10251
+ /** @description The user has exceeded the rate limit of 20 requests per minute for this endpoint. */
9725
10252
  429: {
9726
10253
  headers: {
9727
10254
  [name: string]: unknown;
@@ -10396,7 +10923,7 @@ export interface operations {
10396
10923
  };
10397
10924
  content?: never;
10398
10925
  };
10399
- /** @description The user has exceeded the rate limit of 60 requests per minute for this endpoint. */
10926
+ /** @description The user has exceeded the rate limit of 20 requests per minute for this endpoint. */
10400
10927
  429: {
10401
10928
  headers: {
10402
10929
  [name: string]: unknown;
@@ -10629,7 +11156,7 @@ export interface operations {
10629
11156
  };
10630
11157
  content?: never;
10631
11158
  };
10632
- /** @description The user has exceeded the rate limit of 500 requests per minute for this endpoint. */
11159
+ /** @description The user has exceeded the rate limit of 20 requests per minute for this endpoint. */
10633
11160
  429: {
10634
11161
  headers: {
10635
11162
  [name: string]: unknown;
@@ -10659,7 +11186,9 @@ export interface operations {
10659
11186
  /** @description The format of the audio response, if `response_format` is set to `voice`. */
10660
11187
  audio_format?: ("mp3" | "pcm") | null;
10661
11188
  };
10662
- header?: {
11189
+ header: {
11190
+ /** @description The content type of the request body, which must be `multipart/form-data` followed by a boundary. */
11191
+ "content-type": string;
10663
11192
  /** @description The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database. */
10664
11193
  "x-mongo-cluster-name"?: string | null;
10665
11194
  "Sec-WebSocket-Protocol"?: string[];
@@ -10813,7 +11342,7 @@ export interface operations {
10813
11342
  };
10814
11343
  content?: never;
10815
11344
  };
10816
- /** @description The user has exceeded the rate limit of 10 request per minute for this endpoint. */
11345
+ /** @description The user has exceeded the rate limit of 30 request per minute for this endpoint. */
10817
11346
  429: {
10818
11347
  headers: {
10819
11348
  [name: string]: unknown;
@@ -10885,7 +11414,7 @@ export interface operations {
10885
11414
  };
10886
11415
  content?: never;
10887
11416
  };
10888
- /** @description The user has exceeded the rate limit of 40 requests per minute for this endpoint. */
11417
+ /** @description The user has exceeded the rate limit of 10 requests per minute for this endpoint. */
10889
11418
  429: {
10890
11419
  headers: {
10891
11420
  [name: string]: unknown;
@@ -10910,9 +11439,9 @@ export interface operations {
10910
11439
  "Sec-WebSocket-Protocol"?: string[];
10911
11440
  };
10912
11441
  path: {
10913
- organization: string;
10914
11442
  /** @description The identifier of the user to update information for. */
10915
11443
  requested_user_id: string;
11444
+ organization: string;
10916
11445
  };
10917
11446
  cookie?: never;
10918
11447
  };
@@ -10964,7 +11493,7 @@ export interface operations {
10964
11493
  };
10965
11494
  content?: never;
10966
11495
  };
10967
- /** @description The user has exceeded the rate limit of 100 requests per minute for this endpoint. */
11496
+ /** @description The user has exceeded the rate limit of 50 requests per minute for this endpoint. */
10968
11497
  429: {
10969
11498
  headers: {
10970
11499
  [name: string]: unknown;
@@ -11306,7 +11835,7 @@ export interface operations {
11306
11835
  };
11307
11836
  content?: never;
11308
11837
  };
11309
- /** @description The user has exceeded the rate limit of 1000 requests per minute for this endpoint. */
11838
+ /** @description The user has exceeded the rate limit of 50 requests per minute for this endpoint. */
11310
11839
  429: {
11311
11840
  headers: {
11312
11841
  [name: string]: unknown;
@@ -11331,9 +11860,9 @@ export interface operations {
11331
11860
  "Sec-WebSocket-Protocol"?: string[];
11332
11861
  };
11333
11862
  path: {
11334
- organization: string;
11335
11863
  /** @description The identifier of the user to delete. */
11336
11864
  requested_user_id: string;
11865
+ organization: string;
11337
11866
  };
11338
11867
  cookie?: never;
11339
11868
  };
@@ -11381,7 +11910,7 @@ export interface operations {
11381
11910
  };
11382
11911
  content?: never;
11383
11912
  };
11384
- /** @description The user has exceeded the rate limit of 1000 requests per minute for this endpoint. */
11913
+ /** @description The user has exceeded the rate limit of 500 requests per minute for this endpoint. */
11385
11914
  429: {
11386
11915
  headers: {
11387
11916
  [name: string]: unknown;
@@ -11953,7 +12482,93 @@ export interface operations {
11953
12482
  };
11954
12483
  content?: never;
11955
12484
  };
11956
- /** @description The user has exceeded the rate limit of 5 requests per minute for this endpoint. */
12485
+ /** @description The user has exceeded the rate limit of 20 requests per minute for this endpoint. */
12486
+ 429: {
12487
+ headers: {
12488
+ [name: string]: unknown;
12489
+ };
12490
+ content?: never;
12491
+ };
12492
+ /** @description The service is going through temporary maintenance. */
12493
+ 503: {
12494
+ headers: {
12495
+ [name: string]: unknown;
12496
+ };
12497
+ content?: never;
12498
+ };
12499
+ };
12500
+ };
12501
+ "submit-sql-query": {
12502
+ parameters: {
12503
+ query?: never;
12504
+ header?: {
12505
+ /** @description The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database. */
12506
+ "x-mongo-cluster-name"?: string | null;
12507
+ "Sec-WebSocket-Protocol"?: string[];
12508
+ };
12509
+ path: {
12510
+ organization: string;
12511
+ };
12512
+ cookie?: never;
12513
+ };
12514
+ requestBody: {
12515
+ content: {
12516
+ "application/json": components["schemas"]["admin__submit_sql_query__Request"];
12517
+ };
12518
+ };
12519
+ responses: {
12520
+ /** @description Succeeded. */
12521
+ 200: {
12522
+ headers: {
12523
+ [name: string]: unknown;
12524
+ };
12525
+ content: {
12526
+ "application/json": components["schemas"]["admin__submit_sql_query__Response"];
12527
+ };
12528
+ };
12529
+ /** @description This endpoint is not supported in the current environment, or the SQL query is invalid. */
12530
+ 400: {
12531
+ headers: {
12532
+ [name: string]: unknown;
12533
+ };
12534
+ content?: never;
12535
+ };
12536
+ /** @description Invalid authorization credentials. */
12537
+ 401: {
12538
+ headers: {
12539
+ [name: string]: unknown;
12540
+ };
12541
+ content?: never;
12542
+ };
12543
+ /** @description Missing required permissions. */
12544
+ 403: {
12545
+ headers: {
12546
+ [name: string]: unknown;
12547
+ };
12548
+ content?: never;
12549
+ };
12550
+ /** @description The specified organization does not exist. */
12551
+ 404: {
12552
+ headers: {
12553
+ [name: string]: unknown;
12554
+ };
12555
+ content?: never;
12556
+ };
12557
+ /** @description The supplied query cannot be executed within the time limit. */
12558
+ 408: {
12559
+ headers: {
12560
+ [name: string]: unknown;
12561
+ };
12562
+ content?: never;
12563
+ };
12564
+ /** @description Invalid request path parameter or request body failed validation. */
12565
+ 422: {
12566
+ headers: {
12567
+ [name: string]: unknown;
12568
+ };
12569
+ content?: never;
12570
+ };
12571
+ /** @description The user has exceeded the rate limit of 6 requests per minute for this endpoint. */
11957
12572
  429: {
11958
12573
  headers: {
11959
12574
  [name: string]: unknown;
@@ -12490,7 +13105,7 @@ export interface operations {
12490
13105
  };
12491
13106
  content?: never;
12492
13107
  };
12493
- /** @description The user has exceeded the rate limit of 50 requests per minute for this endpoint. */
13108
+ /** @description The user has exceeded the rate limit of 500 requests per minute for this endpoint. */
12494
13109
  429: {
12495
13110
  headers: {
12496
13111
  [name: string]: unknown;
@@ -12569,7 +13184,7 @@ export interface operations {
12569
13184
  };
12570
13185
  content?: never;
12571
13186
  };
12572
- /** @description The user has exceeded the rate limit of 500 requests per minute for this endpoint. */
13187
+ /** @description The user has exceeded the rate limit of 200 requests per minute for this endpoint. */
12573
13188
  429: {
12574
13189
  headers: {
12575
13190
  [name: string]: unknown;
@@ -12797,7 +13412,7 @@ export interface operations {
12797
13412
  };
12798
13413
  content?: never;
12799
13414
  };
12800
- /** @description The user has exceeded the rate limit of 500 requests per minute for this endpoint. */
13415
+ /** @description The user has exceeded the rate limit of 1000 requests per minute for this endpoint. */
12801
13416
  429: {
12802
13417
  headers: {
12803
13418
  [name: string]: unknown;
@@ -12881,7 +13496,7 @@ export interface operations {
12881
13496
  };
12882
13497
  content?: never;
12883
13498
  };
12884
- /** @description The user has exceeded the rate limit of 500 requests per minute for this endpoint. */
13499
+ /** @description The user has exceeded the rate limit of 200 requests per minute for this endpoint. */
12885
13500
  429: {
12886
13501
  headers: {
12887
13502
  [name: string]: unknown;
@@ -13124,7 +13739,7 @@ export interface operations {
13124
13739
  };
13125
13740
  content?: never;
13126
13741
  };
13127
- /** @description The user has exceeded the rate limit of 10 requests per minute for this endpoint. */
13742
+ /** @description The user has exceeded the rate limit of 20 requests per minute for this endpoint. */
13128
13743
  429: {
13129
13744
  headers: {
13130
13745
  [name: string]: unknown;
@@ -13277,7 +13892,7 @@ export interface operations {
13277
13892
  };
13278
13893
  content?: never;
13279
13894
  };
13280
- /** @description The user has exceeded the rate limit of 100 requests per minute for this endpoint. */
13895
+ /** @description The user has exceeded the rate limit of 20 requests per minute for this endpoint. */
13281
13896
  429: {
13282
13897
  headers: {
13283
13898
  [name: string]: unknown;
@@ -13433,7 +14048,7 @@ export interface operations {
13433
14048
  };
13434
14049
  content?: never;
13435
14050
  };
13436
- /** @description The user has exceeded the rate limit of 10 requests per minute for this endpoint. */
14051
+ /** @description The user has exceeded the rate limit of 20 requests per minute for this endpoint. */
13437
14052
  429: {
13438
14053
  headers: {
13439
14054
  [name: string]: unknown;
@@ -14152,7 +14767,7 @@ export interface operations {
14152
14767
  };
14153
14768
  content?: never;
14154
14769
  };
14155
- /** @description The user has exceeded the rate limit of 50 requests per minute for this endpoint. */
14770
+ /** @description The user has exceeded the rate limit of 500 requests per minute for this endpoint. */
14156
14771
  429: {
14157
14772
  headers: {
14158
14773
  [name: string]: unknown;
@@ -15821,7 +16436,7 @@ export interface operations {
15821
16436
  };
15822
16437
  content?: never;
15823
16438
  };
15824
- /** @description The user has exceeded the rate limit of 100 requests per minute for this endpoint. */
16439
+ /** @description The user has exceeded the rate limit of 10 requests per minute for this endpoint. */
15825
16440
  429: {
15826
16441
  headers: {
15827
16442
  [name: string]: unknown;
@@ -16471,4 +17086,181 @@ export interface operations {
16471
17086
  };
16472
17087
  };
16473
17088
  };
17089
+ "get-tool-invocations": {
17090
+ parameters: {
17091
+ query?: {
17092
+ /** @description The ID of the tool to get invocations for. */
17093
+ tool_id?: string[];
17094
+ /** @description A list of semver constraint that specifies the version to retrieve in the [Python packaging specification](https://packaging.python.org/en/latest/specifications/version-specifiers/#id5). This must be the exact same length as `tool_id`, and each entry corresponds to the tool ID at the same index. If an entry is null, all versions of the corresponding tool are retrieved. */
17095
+ version?: (string | null)[];
17096
+ /** @description The source of the invocation */
17097
+ invocation_source_type?: components["schemas"]["InvocationSource-Input"][];
17098
+ /** @description The conversation ID associated with the invocation if it's of invocation source `regular-conversation` */
17099
+ conversation_id?: string[];
17100
+ /** @description The simulation unit test set run ID associated with the invocation if it's of invocation source `simulation-conversation` */
17101
+ simulation_unit_test_set_run_id?: string[];
17102
+ /** @description Whether the invocation succeeded */
17103
+ succeeded?: boolean | null;
17104
+ /** @description The maximum number of tool invocations to return. */
17105
+ limit?: number;
17106
+ /** @description The continuation token from the previous request used to retrieve the next page of tool invocations. */
17107
+ continuation_token?: number;
17108
+ /** @description The fields to sort the versions by. Supported fields are `created_at`, `version.major`, `version.minor`, `version.patch`, `tool_id`, `invocation_source.type`, and `invocation_status.succeeded`. Specify a `+` before the field name to indicate ascending sorting and `-` for descending sorting. Multiple fields can be specified to break ties. */
17109
+ sort_by?: string[];
17110
+ };
17111
+ header?: {
17112
+ /** @description The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database. */
17113
+ "x-mongo-cluster-name"?: string | null;
17114
+ "Sec-WebSocket-Protocol"?: string[];
17115
+ };
17116
+ path: {
17117
+ organization: string;
17118
+ };
17119
+ cookie?: never;
17120
+ };
17121
+ requestBody?: never;
17122
+ responses: {
17123
+ /** @description Succeeded. */
17124
+ 200: {
17125
+ headers: {
17126
+ [name: string]: unknown;
17127
+ };
17128
+ content: {
17129
+ "application/json": components["schemas"]["tool__get_tool_invocations__Response"];
17130
+ };
17131
+ };
17132
+ /** @description The `tool_id` and `version` query parameters are not the same length. */
17133
+ 400: {
17134
+ headers: {
17135
+ [name: string]: unknown;
17136
+ };
17137
+ content?: never;
17138
+ };
17139
+ /** @description Invalid authorization credentials. */
17140
+ 401: {
17141
+ headers: {
17142
+ [name: string]: unknown;
17143
+ };
17144
+ content?: never;
17145
+ };
17146
+ /** @description Missing required permissions. */
17147
+ 403: {
17148
+ headers: {
17149
+ [name: string]: unknown;
17150
+ };
17151
+ content?: never;
17152
+ };
17153
+ /** @description Specified organization does not exist. */
17154
+ 404: {
17155
+ headers: {
17156
+ [name: string]: unknown;
17157
+ };
17158
+ content?: never;
17159
+ };
17160
+ /** @description Invalid request path parameter or request query parameter failed validation. */
17161
+ 422: {
17162
+ headers: {
17163
+ [name: string]: unknown;
17164
+ };
17165
+ content?: never;
17166
+ };
17167
+ /** @description The user has exceeded the rate limit of 50 requests per minute for this endpoint. */
17168
+ 429: {
17169
+ headers: {
17170
+ [name: string]: unknown;
17171
+ };
17172
+ content?: never;
17173
+ };
17174
+ /** @description The service is going through temporary maintenance. */
17175
+ 503: {
17176
+ headers: {
17177
+ [name: string]: unknown;
17178
+ };
17179
+ content?: never;
17180
+ };
17181
+ };
17182
+ };
17183
+ "invoke-tool-version": {
17184
+ parameters: {
17185
+ query?: never;
17186
+ header?: {
17187
+ /** @description The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database. */
17188
+ "x-mongo-cluster-name"?: string | null;
17189
+ "Sec-WebSocket-Protocol"?: string[];
17190
+ };
17191
+ path: {
17192
+ organization: string;
17193
+ /** @description The ID of the tool to invoke */
17194
+ tool_id: string;
17195
+ /** @description The version of the tool to invoke */
17196
+ version: string;
17197
+ };
17198
+ cookie?: never;
17199
+ };
17200
+ requestBody: {
17201
+ content: {
17202
+ "application/json": components["schemas"]["tool__invoke_tool_version__Request"];
17203
+ };
17204
+ };
17205
+ responses: {
17206
+ /** @description Succeeded */
17207
+ 200: {
17208
+ headers: {
17209
+ [name: string]: unknown;
17210
+ };
17211
+ content: {
17212
+ "application/json": components["schemas"]["tool__invoke_tool_version__Response"];
17213
+ };
17214
+ };
17215
+ /** @description The input parameters do not conform to the tool's input schema. */
17216
+ 400: {
17217
+ headers: {
17218
+ [name: string]: unknown;
17219
+ };
17220
+ content?: never;
17221
+ };
17222
+ /** @description Invalid authorization credentials. */
17223
+ 401: {
17224
+ headers: {
17225
+ [name: string]: unknown;
17226
+ };
17227
+ content?: never;
17228
+ };
17229
+ /** @description Missing required permissions. */
17230
+ 403: {
17231
+ headers: {
17232
+ [name: string]: unknown;
17233
+ };
17234
+ content?: never;
17235
+ };
17236
+ /** @description The specified organization, tool, or tool version does not exist. */
17237
+ 404: {
17238
+ headers: {
17239
+ [name: string]: unknown;
17240
+ };
17241
+ content?: never;
17242
+ };
17243
+ /** @description Invalid request path parameter or request body failed validation. */
17244
+ 422: {
17245
+ headers: {
17246
+ [name: string]: unknown;
17247
+ };
17248
+ content?: never;
17249
+ };
17250
+ /** @description The user has exceeded the rate limit of 10 requests per minute for this endpoint. */
17251
+ 429: {
17252
+ headers: {
17253
+ [name: string]: unknown;
17254
+ };
17255
+ content?: never;
17256
+ };
17257
+ /** @description The service is going through temporary maintenance. */
17258
+ 503: {
17259
+ headers: {
17260
+ [name: string]: unknown;
17261
+ };
17262
+ content?: never;
17263
+ };
17264
+ };
17265
+ };
16474
17266
  }