@amigo-ai/sdk 0.69.0 → 0.71.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.
@@ -709,6 +709,30 @@ export interface paths {
709
709
  patch?: never;
710
710
  trace?: never;
711
711
  };
712
+ "/v1/{organization}/conversation/{conversation_id}/tags/": {
713
+ parameters: {
714
+ query?: never;
715
+ header?: never;
716
+ path?: never;
717
+ cookie?: never;
718
+ };
719
+ get?: never;
720
+ put?: never;
721
+ /**
722
+ * Modify tags of a conversation
723
+ * @description Modify the tags of a conversation.
724
+ *
725
+ * #### Permissions
726
+ * This endpoint requires the following permissions:
727
+ * * `Conversation:ModifyConversation` for the conversation to modify tags for.
728
+ */
729
+ post: operations["modify-tags-of-conversation"];
730
+ delete?: never;
731
+ options?: never;
732
+ head?: never;
733
+ patch?: never;
734
+ trace?: never;
735
+ };
712
736
  "/v1/{organization}/user/": {
713
737
  parameters: {
714
738
  query?: never;
@@ -2267,7 +2291,7 @@ export interface components {
2267
2291
  /** Boundary Constraints */
2268
2292
  boundary_constraints: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
2269
2293
  /** Exit Conditions */
2270
- exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition"][];
2294
+ exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__DecisionState__ExitCondition"][];
2271
2295
  /** Action Tool Call Specs */
2272
2296
  action_tool_call_specs: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__ToolCallSpec"][];
2273
2297
  /** Exit Condition Tool Call Specs */
@@ -2688,7 +2712,7 @@ export interface components {
2688
2712
  type: "decision";
2689
2713
  name: components["schemas"]["StateOrRefName"];
2690
2714
  /** Exit Conditions */
2691
- exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition"][];
2715
+ exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__DecisionState__ExitCondition"][];
2692
2716
  /** Decision Guidelines */
2693
2717
  decision_guidelines: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
2694
2718
  objective: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
@@ -3432,7 +3456,7 @@ export interface components {
3432
3456
  * Tags
3433
3457
  * @description The tags of the metric.
3434
3458
  */
3435
- tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
3459
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
3436
3460
  /** @description The user who created the metric. */
3437
3461
  creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
3438
3462
  /** @description The user who last updated the metric. */
@@ -3537,7 +3561,7 @@ export interface components {
3537
3561
  * Tags
3538
3562
  * @description The tags of the metric.
3539
3563
  */
3540
- tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
3564
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
3541
3565
  /** @description The user who created the metric. */
3542
3566
  creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
3543
3567
  /** @description The user who last updated the metric. */
@@ -4384,7 +4408,7 @@ export interface components {
4384
4408
  * Tags
4385
4409
  * @description The tags of the service.
4386
4410
  */
4387
- tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
4411
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
4388
4412
  };
4389
4413
  /** SimulationConversationInvocationSource */
4390
4414
  SimulationConversationInvocationSource: {
@@ -4594,7 +4618,7 @@ export interface components {
4594
4618
  * Tags
4595
4619
  * @description The tags of the simulation persona.
4596
4620
  */
4597
- tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
4621
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
4598
4622
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4599
4623
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4600
4624
  };
@@ -4666,7 +4690,7 @@ export interface components {
4666
4690
  * Tags
4667
4691
  * @description The tags of the simulation persona.
4668
4692
  */
4669
- tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
4693
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
4670
4694
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4671
4695
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4672
4696
  };
@@ -4721,7 +4745,7 @@ export interface components {
4721
4745
  * Tags
4722
4746
  * @description The tags of the simulation unit test set.
4723
4747
  */
4724
- tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
4748
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
4725
4749
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4726
4750
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4727
4751
  };
@@ -4773,7 +4797,7 @@ export interface components {
4773
4797
  * Tags
4774
4798
  * @description The tags of the simulation unit test set.
4775
4799
  */
4776
- tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
4800
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
4777
4801
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4778
4802
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4779
4803
  };
@@ -5235,7 +5259,7 @@ export interface components {
5235
5259
  * Tags
5236
5260
  * @description The tags of the simulation persona.
5237
5261
  */
5238
- tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
5262
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
5239
5263
  };
5240
5264
  /** ToolVersionInstance */
5241
5265
  ToolVersionInstance: {
@@ -5737,6 +5761,13 @@ export interface components {
5737
5761
  */
5738
5762
  tool_name: string;
5739
5763
  };
5764
+ /** Tag */
5765
+ amigo_lib__mongo__collections__metric__Metric__Tag: {
5766
+ /** Key */
5767
+ key: string;
5768
+ /** Value */
5769
+ value: string | null;
5770
+ };
5740
5771
  /** UserInfo */
5741
5772
  amigo_lib__mongo__collections__metric__Metric__UserInfo: {
5742
5773
  /** Org Id */
@@ -5902,13 +5933,6 @@ export interface components {
5902
5933
  /** User Id */
5903
5934
  user_id: string;
5904
5935
  };
5905
- /** Tag */
5906
- amigo_lib__mongo__collections__tool__Tool__Tag: {
5907
- /** Key */
5908
- key: string;
5909
- /** Value */
5910
- value: string | null;
5911
- };
5912
5936
  /** Version */
5913
5937
  amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version: {
5914
5938
  /** Major */
@@ -6045,6 +6069,13 @@ export interface components {
6045
6069
  * @description The type of the `initial_message`. Can only be specified if `initial_message` is provided.
6046
6070
  */
6047
6071
  initial_message_type?: ("user-message" | "external-event") | null;
6072
+ /**
6073
+ * Tags
6074
+ * @description A list of tags for the conversation. Both the key and the value can only contain alphanumeric characters, underscores, or spaces.
6075
+ */
6076
+ tags: {
6077
+ [key: string]: components["schemas"]["StrippedNonemptyString___w__s_____"] | null;
6078
+ };
6048
6079
  };
6049
6080
  conversation__create_conversation__Response: components["schemas"]["ConversationCreatedEvent"] | components["schemas"]["NewMessageEvent"] | components["schemas"]["InteractionCompleteEvent"] | components["schemas"]["CurrentAgentActionEvent"] | components["schemas"]["ErrorEvent"];
6050
6081
  /** Request */
@@ -6175,6 +6206,23 @@ export interface components {
6175
6206
  };
6176
6207
  conversation__interact_with_conversation__Response: components["schemas"]["ConversationEvent"] | components["schemas"]["UserMessageAvailableEvent"] | components["schemas"]["ErrorEvent"];
6177
6208
  /** Request */
6209
+ conversation__modify_tags_of_conversation__Request: {
6210
+ /**
6211
+ * Updates
6212
+ * @description A mapping of tags to add or update on the conversation. Existing tags not included here remain unchanged.
6213
+ * @default {}
6214
+ */
6215
+ updates?: {
6216
+ [key: string]: components["schemas"]["StrippedNonemptyString___w__s_____"] | null;
6217
+ };
6218
+ /**
6219
+ * Deletes
6220
+ * @description A list of tags to remove from the conversation.
6221
+ * @default []
6222
+ */
6223
+ deletes?: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
6224
+ };
6225
+ /** Request */
6178
6226
  conversation__recommend_responses_for_interaction__Request: {
6179
6227
  /**
6180
6228
  * @description The context under which the recommended responses should be generated.
@@ -6813,7 +6861,7 @@ export interface components {
6813
6861
  * User Dimensions
6814
6862
  * @description User dimensions for the organization.
6815
6863
  */
6816
- user_dimensions: components["schemas"]["organization__modify_organization__Request__UserDimension"][];
6864
+ user_dimensions: components["schemas"]["organization__create_organization__Request__UserDimension"][];
6817
6865
  /**
6818
6866
  * Logo
6819
6867
  * Format: base64
@@ -6890,6 +6938,12 @@ export interface components {
6890
6938
  */
6891
6939
  audio_keyterms?: string[];
6892
6940
  };
6941
+ /** UserDimension */
6942
+ organization__create_organization__Request__UserDimension: {
6943
+ description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
6944
+ /** Tags */
6945
+ tags: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
6946
+ };
6893
6947
  /** Response */
6894
6948
  organization__create_organization__Response: {
6895
6949
  /**
@@ -6953,7 +7007,7 @@ export interface components {
6953
7007
  global_boundary_constraints: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
6954
7008
  };
6955
7009
  /** ExitCondition */
6956
- organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition: {
7010
+ organization__create_service_hierarchical_state_machine_version__Request__DecisionState__ExitCondition: {
6957
7011
  description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
6958
7012
  /** Next State */
6959
7013
  next_state: components["schemas"]["StateOrRefName"] | [
@@ -7256,7 +7310,7 @@ export interface components {
7256
7310
  * User Dimensions
7257
7311
  * @description User dimensions for the organization. If not set or `null`, this field is not updated.
7258
7312
  */
7259
- user_dimensions?: components["schemas"]["organization__modify_organization__Request__UserDimension"][] | null;
7313
+ user_dimensions?: components["schemas"]["organization__create_organization__Request__UserDimension"][] | null;
7260
7314
  /** @description The default user preferences for the organization. If `null`, this field is not updated. */
7261
7315
  default_user_preferences?: components["schemas"]["organization__modify_organization__Request__Preferences"] | null;
7262
7316
  /**
@@ -7296,12 +7350,6 @@ export interface components {
7296
7350
  */
7297
7351
  audio_keyterms?: string[];
7298
7352
  };
7299
- /** UserDimension */
7300
- organization__modify_organization__Request__UserDimension: {
7301
- description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
7302
- /** Tags */
7303
- tags: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
7304
- };
7305
7353
  /** Request */
7306
7354
  role__assign_role__Request: {
7307
7355
  /**
@@ -7410,7 +7458,7 @@ export interface components {
7410
7458
  is_active: boolean;
7411
7459
  /** @description The `release` version set to use for this service. If not specified, the `release` version set will be the same as the `edge` version set, which uses the
7412
7460
  * latest agent and state machine versions with no model preference. */
7413
- release_version_set?: components["schemas"]["service__upsert_service_version_set__Request__VersionSet"] | null;
7461
+ release_version_set?: components["schemas"]["service__create_service__Request__VersionSet"] | null;
7414
7462
  /**
7415
7463
  * Keyterms
7416
7464
  * @description A list of keyterms that are easy to get wrong during audio transcriptions that tend to occur commonly in audio sessions using this service.
@@ -7425,6 +7473,23 @@ export interface components {
7425
7473
  [key: string]: components["schemas"]["StrippedNonemptyString___w__s_____"] | null;
7426
7474
  };
7427
7475
  };
7476
+ /** VersionSet */
7477
+ service__create_service__Request__VersionSet: {
7478
+ /**
7479
+ * Agent Version Number
7480
+ * @description The version number of the agent to be used. If None, the latest agent version will be used.
7481
+ */
7482
+ agent_version_number: number | null;
7483
+ /**
7484
+ * Service Hierarchical State Machine Version Number
7485
+ * @description The version number of the state machine to be used. If None, the latest state machine version will be used.
7486
+ */
7487
+ service_hierarchical_state_machine_version_number: number | null;
7488
+ /** Llm Model Preferences */
7489
+ llm_model_preferences: {
7490
+ [key: string]: components["schemas"]["service__create_service__Request__VersionSet__LLMConfig"];
7491
+ };
7492
+ };
7428
7493
  /** LLMConfig */
7429
7494
  service__create_service__Request__VersionSet__LLMConfig: {
7430
7495
  llm_name: components["schemas"]["LLMType"];
@@ -7517,24 +7582,7 @@ export interface components {
7517
7582
  /** Request */
7518
7583
  service__upsert_service_version_set__Request: {
7519
7584
  /** @description The version set to upsert. */
7520
- version_set: components["schemas"]["service__upsert_service_version_set__Request__VersionSet"];
7521
- };
7522
- /** VersionSet */
7523
- service__upsert_service_version_set__Request__VersionSet: {
7524
- /**
7525
- * Agent Version Number
7526
- * @description The version number of the agent to be used. If None, the latest agent version will be used.
7527
- */
7528
- agent_version_number: number | null;
7529
- /**
7530
- * Service Hierarchical State Machine Version Number
7531
- * @description The version number of the state machine to be used. If None, the latest state machine version will be used.
7532
- */
7533
- service_hierarchical_state_machine_version_number: number | null;
7534
- /** Llm Model Preferences */
7535
- llm_model_preferences: {
7536
- [key: string]: components["schemas"]["service__create_service__Request__VersionSet__LLMConfig"];
7537
- };
7585
+ version_set: components["schemas"]["service__create_service__Request__VersionSet"];
7538
7586
  };
7539
7587
  /** Request */
7540
7588
  simulation__create_simulation_persona__Request: {
@@ -7739,7 +7787,7 @@ export interface components {
7739
7787
  * Unit Test Runs
7740
7788
  * @description The unit test runs that are part of this set.
7741
7789
  */
7742
- unit_test_runs: components["schemas"]["simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor"][];
7790
+ unit_test_runs: components["schemas"]["simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor"][];
7743
7791
  /**
7744
7792
  * Tags
7745
7793
  * @description The tags of the simulation unit test set.
@@ -7748,6 +7796,16 @@ export interface components {
7748
7796
  [key: string]: string | null;
7749
7797
  };
7750
7798
  };
7799
+ /** UnitTestRunDescriptor */
7800
+ simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor: {
7801
+ /** Unit Test Id */
7802
+ unit_test_id: string;
7803
+ /**
7804
+ * Run Count
7805
+ * @description The number of times to run the unit test.
7806
+ */
7807
+ run_count: number;
7808
+ };
7751
7809
  /** Response */
7752
7810
  simulation__create_simulation_unit_test_set__Response: {
7753
7811
  /**
@@ -7855,7 +7913,7 @@ export interface components {
7855
7913
  * Simulation Scenarios
7856
7914
  * @description The list of simulation scenarios.
7857
7915
  */
7858
- simulation_scenarios: components["schemas"]["simulation__search_simulation_scenarios__Response__SimulationScenarioInstance"][];
7916
+ simulation_scenarios: components["schemas"]["simulation__get_simulation_scenarios__Response__SimulationScenarioInstance"][];
7859
7917
  /**
7860
7918
  * Has More
7861
7919
  * @description Whether there are more simulation scenarios to fetch.
@@ -7885,6 +7943,47 @@ export interface components {
7885
7943
  */
7886
7944
  tags: string[];
7887
7945
  };
7946
+ /** SimulationScenarioInstance */
7947
+ simulation__get_simulation_scenarios__Response__SimulationScenarioInstance: {
7948
+ /**
7949
+ * Id
7950
+ * @description The ID of the simulation scenario.
7951
+ */
7952
+ id: string;
7953
+ /**
7954
+ * Name
7955
+ * @description The name of the simulation scenario.
7956
+ */
7957
+ name: string;
7958
+ /**
7959
+ * Tags
7960
+ * @description The tags of the simulation scenario.
7961
+ */
7962
+ tags: {
7963
+ [key: string]: string | null;
7964
+ };
7965
+ /**
7966
+ * Is Deleted
7967
+ * @description Whether the simulation scenario is deleted.
7968
+ */
7969
+ is_deleted: boolean;
7970
+ /**
7971
+ * Created At
7972
+ * Format: date-time
7973
+ * @description The timestamp when the simulation scenario was created.
7974
+ */
7975
+ created_at: string;
7976
+ /** @description The user who created the simulation scenario. */
7977
+ creator: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
7978
+ /**
7979
+ * Updated At
7980
+ * Format: date-time
7981
+ * @description The timestamp when the simulation scenario was last updated.
7982
+ */
7983
+ updated_at: string;
7984
+ /** @description The user who last updated the simulation scenario. */
7985
+ updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
7986
+ };
7888
7987
  /** Response */
7889
7988
  simulation__get_simulation_unit_test_set_run_artifacts__Response: {
7890
7989
  /**
@@ -8097,48 +8196,7 @@ export interface components {
8097
8196
  * Simulation Scenarios
8098
8197
  * @description The list of simulation scenarios.
8099
8198
  */
8100
- simulation_scenarios: components["schemas"]["simulation__search_simulation_scenarios__Response__SimulationScenarioInstance"][];
8101
- };
8102
- /** SimulationScenarioInstance */
8103
- simulation__search_simulation_scenarios__Response__SimulationScenarioInstance: {
8104
- /**
8105
- * Id
8106
- * @description The ID of the simulation scenario.
8107
- */
8108
- id: string;
8109
- /**
8110
- * Name
8111
- * @description The name of the simulation scenario.
8112
- */
8113
- name: string;
8114
- /**
8115
- * Tags
8116
- * @description The tags of the simulation scenario.
8117
- */
8118
- tags: {
8119
- [key: string]: string | null;
8120
- };
8121
- /**
8122
- * Is Deleted
8123
- * @description Whether the simulation scenario is deleted.
8124
- */
8125
- is_deleted: boolean;
8126
- /**
8127
- * Created At
8128
- * Format: date-time
8129
- * @description The timestamp when the simulation scenario was created.
8130
- */
8131
- created_at: string;
8132
- /** @description The user who created the simulation scenario. */
8133
- creator: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8134
- /**
8135
- * Updated At
8136
- * Format: date-time
8137
- * @description The timestamp when the simulation scenario was last updated.
8138
- */
8139
- updated_at: string;
8140
- /** @description The user who last updated the simulation scenario. */
8141
- updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8199
+ simulation_scenarios: components["schemas"]["simulation__get_simulation_scenarios__Response__SimulationScenarioInstance"][];
8142
8200
  };
8143
8201
  /** Response */
8144
8202
  simulation__search_simulation_unit_test_set__Response: {
@@ -8244,7 +8302,7 @@ export interface components {
8244
8302
  * Unit Test Runs
8245
8303
  * @description The unit test runs that are part of this set.
8246
8304
  */
8247
- unit_test_runs?: components["schemas"]["simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor"][] | null;
8305
+ unit_test_runs?: components["schemas"]["simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor"][] | null;
8248
8306
  /**
8249
8307
  * Tags
8250
8308
  * @description The tags of the simulation unit test set.
@@ -8253,16 +8311,6 @@ export interface components {
8253
8311
  [key: string]: string | null;
8254
8312
  } | null;
8255
8313
  };
8256
- /** UnitTestRunDescriptor */
8257
- simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor: {
8258
- /** Unit Test Id */
8259
- unit_test_id: string;
8260
- /**
8261
- * Run Count
8262
- * @description The number of times to run the unit test.
8263
- */
8264
- run_count: number;
8265
- };
8266
8314
  /** Request */
8267
8315
  tool__create_tool__Request: {
8268
8316
  /** @description The name of the tool. It must be unique among all non-deprecated tools in the organization. */
@@ -8291,7 +8339,7 @@ export interface components {
8291
8339
  * Tool Invocations
8292
8340
  * @description The list of tool invocations.
8293
8341
  */
8294
- tool_invocations: components["schemas"]["tool__search_tool_invocations__Response__ToolInvocationInstance"][];
8342
+ tool_invocations: components["schemas"]["tool__get_tool_invocations__Response__ToolInvocationInstance"][];
8295
8343
  /**
8296
8344
  * Has More
8297
8345
  * @description Whether there are more tool invocations to retrieve.
@@ -8303,6 +8351,47 @@ export interface components {
8303
8351
  */
8304
8352
  continuation_token: unknown | null;
8305
8353
  };
8354
+ /** ToolInvocationInstance */
8355
+ tool__get_tool_invocations__Response__ToolInvocationInstance: {
8356
+ /**
8357
+ * Id
8358
+ * @description The ID of the tool invocation.
8359
+ */
8360
+ id: string;
8361
+ /**
8362
+ * Org Id
8363
+ * @description The ID of the organization.
8364
+ */
8365
+ org_id: string;
8366
+ /**
8367
+ * Created At
8368
+ * Format: date-time
8369
+ */
8370
+ created_at?: string;
8371
+ /**
8372
+ * Updated At
8373
+ * Format: date-time
8374
+ */
8375
+ updated_at?: string;
8376
+ /** @description The status of the tool invocation. */
8377
+ invocation_status: components["schemas"]["InvocationStatus"];
8378
+ /** @description The source of the tool invocation. */
8379
+ invocation_source: components["schemas"]["InvocationSource"];
8380
+ /** Logs */
8381
+ logs: string[];
8382
+ /**
8383
+ * Duration Ms
8384
+ * @description The duration of the tool invocation in milliseconds.
8385
+ */
8386
+ duration_ms: number;
8387
+ /**
8388
+ * Tool Id
8389
+ * @description The ID of the tool that was invoked.
8390
+ */
8391
+ tool_id: string;
8392
+ /** @description The version of the tool that was invoked. */
8393
+ tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version"];
8394
+ };
8306
8395
  /** Response */
8307
8396
  tool__get_tool_versions__Response: {
8308
8397
  /**
@@ -8443,48 +8532,7 @@ export interface components {
8443
8532
  * Tool Invocations
8444
8533
  * @description The list of tool invocations.
8445
8534
  */
8446
- tool_invocations: components["schemas"]["tool__search_tool_invocations__Response__ToolInvocationInstance"][];
8447
- };
8448
- /** ToolInvocationInstance */
8449
- tool__search_tool_invocations__Response__ToolInvocationInstance: {
8450
- /**
8451
- * Id
8452
- * @description The ID of the tool invocation.
8453
- */
8454
- id: string;
8455
- /**
8456
- * Org Id
8457
- * @description The ID of the organization.
8458
- */
8459
- org_id: string;
8460
- /**
8461
- * Created At
8462
- * Format: date-time
8463
- */
8464
- created_at?: string;
8465
- /**
8466
- * Updated At
8467
- * Format: date-time
8468
- */
8469
- updated_at?: string;
8470
- /** @description The status of the tool invocation. */
8471
- invocation_status: components["schemas"]["InvocationStatus"];
8472
- /** @description The source of the tool invocation. */
8473
- invocation_source: components["schemas"]["InvocationSource"];
8474
- /** Logs */
8475
- logs: string[];
8476
- /**
8477
- * Duration Ms
8478
- * @description The duration of the tool invocation in milliseconds.
8479
- */
8480
- duration_ms: number;
8481
- /**
8482
- * Tool Id
8483
- * @description The ID of the tool that was invoked.
8484
- */
8485
- tool_id: string;
8486
- /** @description The version of the tool that was invoked. */
8487
- tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version"];
8535
+ tool_invocations: components["schemas"]["tool__get_tool_invocations__Response__ToolInvocationInstance"][];
8488
8536
  };
8489
8537
  /** Request */
8490
8538
  tool__test_tool__Request: {
@@ -10725,6 +10773,8 @@ export interface operations {
10725
10773
  continuation_token?: number;
10726
10774
  /** @description The field to sort the conversations by. Supported fields are `created_at`. Specify a `+` before the field name to indicate ascending sorting and `-` for descending sorting. Multiple fields can be specified to break ties. */
10727
10775
  sort_by?: string[];
10776
+ /** @description The tags of the dynamic behavior sets. Must be specified using the syntax `key:value`, which means to match all sets with the given `key` and `value` pair among its tags. If `value` is `*`, it means the `value` does not matter. If `value` is empty, it matches against when the value is `None`. */
10777
+ tag?: string[];
10728
10778
  };
10729
10779
  header?: {
10730
10780
  /** @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. */
@@ -11522,6 +11572,84 @@ export interface operations {
11522
11572
  };
11523
11573
  };
11524
11574
  };
11575
+ "modify-tags-of-conversation": {
11576
+ parameters: {
11577
+ query?: never;
11578
+ header?: {
11579
+ /** @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. */
11580
+ "x-mongo-cluster-name"?: string | null;
11581
+ "Sec-WebSocket-Protocol"?: string[];
11582
+ };
11583
+ path: {
11584
+ organization: string;
11585
+ conversation_id: string;
11586
+ };
11587
+ cookie?: never;
11588
+ };
11589
+ requestBody: {
11590
+ content: {
11591
+ "application/json": components["schemas"]["conversation__modify_tags_of_conversation__Request"];
11592
+ };
11593
+ };
11594
+ responses: {
11595
+ /** @description Succeeded. */
11596
+ 204: {
11597
+ headers: {
11598
+ [name: string]: unknown;
11599
+ };
11600
+ content?: never;
11601
+ };
11602
+ /** @description The conversation cannot contain more than 20 tags. */
11603
+ 400: {
11604
+ headers: {
11605
+ [name: string]: unknown;
11606
+ };
11607
+ content?: never;
11608
+ };
11609
+ /** @description Invalid authorization credentials. */
11610
+ 401: {
11611
+ headers: {
11612
+ [name: string]: unknown;
11613
+ };
11614
+ content?: never;
11615
+ };
11616
+ /** @description Missing required permissions. */
11617
+ 403: {
11618
+ headers: {
11619
+ [name: string]: unknown;
11620
+ };
11621
+ content?: never;
11622
+ };
11623
+ /** @description Specified organization or conversation is not found. */
11624
+ 404: {
11625
+ headers: {
11626
+ [name: string]: unknown;
11627
+ };
11628
+ content?: never;
11629
+ };
11630
+ /** @description Invalid request path parameter or request body failed validation. */
11631
+ 422: {
11632
+ headers: {
11633
+ [name: string]: unknown;
11634
+ };
11635
+ content?: never;
11636
+ };
11637
+ /** @description The user has exceeded the rate limit of 50 requests per minute for this endpoint. */
11638
+ 429: {
11639
+ headers: {
11640
+ [name: string]: unknown;
11641
+ };
11642
+ content?: never;
11643
+ };
11644
+ /** @description The service is going through temporary maintenance. */
11645
+ 503: {
11646
+ headers: {
11647
+ [name: string]: unknown;
11648
+ };
11649
+ content?: never;
11650
+ };
11651
+ };
11652
+ };
11525
11653
  "get-users": {
11526
11654
  parameters: {
11527
11655
  query?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amigo-ai/sdk",
3
- "version": "0.69.0",
3
+ "version": "0.71.0",
4
4
  "description": "Amigo TypeScript SDK",
5
5
  "publishConfig": {
6
6
  "access": "public"