{"openapi":"3.0.2","info":{"title":"Dante AI API","version":"1.0.0"},"paths":{"/":{"get":{"tags":["Healthcheck"],"summary":"Status","description":"Show application status and docker image details","operationId":"index__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Index  Get","type":"object","additionalProperties":{"type":"string"}},"example":{"status":"OK"}}}}}}},"/openapi.json":{"get":{"tags":["Documentation"],"summary":"Get Open Api Endpoint","operationId":"get_open_api_endpoint_openapi_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Open Api Endpoint Openapi Json Get","type":"object"}}}}},"security":[{"HTTPBasic":[]}]}},"/docs":{"get":{"tags":["Documentation"],"summary":"Custom Swagger Ui Html","operationId":"custom_swagger_ui_html_docs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBasic":[]}]}},"/redoc":{"get":{"tags":["Documentation"],"summary":"Custom Redoc Html","operationId":"custom_redoc_html_redoc_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBasic":[]}]}},"/admin/verify-user":{"post":{"tags":["admin"],"summary":"Create Conversation","operationId":"create_conversation_admin_verify_user_post","parameters":[{"required":true,"schema":{"title":"User Email","type":"string"},"name":"user_email","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Create Conversation Admin Verify User Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/tabs/slots/quick-links/{slot_id}":{"get":{"tags":["Tabs"],"summary":"Get Quick Link","description":"Endpoint to retrieve a single Quick Link by slot_id.","operationId":"get_quick_link_tabs_slots_quick_links__slot_id__get","parameters":[{"required":true,"schema":{"title":"Slot Id","type":"string","format":"uuid"},"name":"slot_id","in":"path"},{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuickLinkResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"patch":{"tags":["Tabs"],"summary":"Update Quick Link","description":"Endpoint to update an existing Quick Link.","operationId":"update_quick_link_tabs_slots_quick_links__slot_id__patch","parameters":[{"required":true,"schema":{"title":"Slot Id","type":"string","format":"uuid"},"name":"slot_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuickLinkPatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuickLinkResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tabs/slots/quick-links":{"post":{"tags":["Tabs"],"summary":"Create Quick Link","description":"Endpoint to create a Quick Link.","operationId":"create_quick_link_tabs_slots_quick_links_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuickLinkPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuickLinkResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tabs/slots/quick-links/{link_slot_id}":{"delete":{"tags":["Tabs"],"summary":"Delete Quick Link","description":"Endpoint to delete a Quick Link.","operationId":"delete_quick_link_tabs_slots_quick_links__link_slot_id__delete","parameters":[{"required":true,"schema":{"title":"Link Slot Id","type":"string","format":"uuid"},"name":"link_slot_id","in":"path"},{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Delete Quick Link Tabs Slots Quick Links  Link Slot Id  Delete","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tabs/slots/meta-links/{slot_id}":{"get":{"tags":["Tabs"],"summary":"Get Meta Link","description":"Endpoint to retrieve a single Meta Link by slot_id.","operationId":"get_meta_link_tabs_slots_meta_links__slot_id__get","parameters":[{"required":true,"schema":{"title":"Slot Id","type":"string","format":"uuid"},"name":"slot_id","in":"path"},{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetaLinkResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"patch":{"tags":["Tabs"],"summary":"Update Meta Link","description":"Endpoint to update an existing Meta Link.","operationId":"update_meta_link_tabs_slots_meta_links__slot_id__patch","parameters":[{"required":true,"schema":{"title":"Slot Id","type":"string","format":"uuid"},"name":"slot_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetaLinkPatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetaLinkResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tabs/slots/meta-links":{"post":{"tags":["Tabs"],"summary":"Create Meta Link","description":"Endpoint to create a Meta Link with additional metadata.","operationId":"create_meta_link_tabs_slots_meta_links_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetaLinkPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetaLinkResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tabs/slots/meta-links/{link_slot_id}":{"delete":{"tags":["Tabs"],"summary":"Delete Meta Link","description":"Endpoint to delete a Meta Link.","operationId":"delete_meta_link_tabs_slots_meta_links__link_slot_id__delete","parameters":[{"required":true,"schema":{"title":"Link Slot Id","type":"string","format":"uuid"},"name":"link_slot_id","in":"path"},{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Delete Meta Link Tabs Slots Meta Links  Link Slot Id  Delete","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tabs/slots/link-groups/{slot_id}":{"get":{"tags":["Tabs"],"summary":"Get Link Group","description":"Endpoint to retrieve a single Link Group by slot_id.","operationId":"get_link_group_tabs_slots_link_groups__slot_id__get","parameters":[{"required":true,"schema":{"title":"Slot Id","type":"string","format":"uuid"},"name":"slot_id","in":"path"},{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkGroupSlotResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"patch":{"tags":["Tabs"],"summary":"Update Link Group Slot","description":"Endpoint to update an existing Link Group Slot with multiple items.","operationId":"update_link_group_slot_tabs_slots_link_groups__slot_id__patch","parameters":[{"required":true,"schema":{"title":"Slot Id","type":"string","format":"uuid"},"name":"slot_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkGroupSlotPatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkGroupSlotResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tabs/slots/link-groups":{"post":{"tags":["Tabs"],"summary":"Create Link Group Slot","description":"Endpoint to create a Link Group Slot with multiple items.","operationId":"create_link_group_slot_tabs_slots_link_groups_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkGroupSlotPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkGroupSlotResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tabs/slots/link-groups/{link_group_slot_id}":{"delete":{"tags":["Tabs"],"summary":"Delete Link Group Slot","description":"Endpoint to delete a Link Group Slot with all associated items.","operationId":"delete_link_group_slot_tabs_slots_link_groups__link_group_slot_id__delete","parameters":[{"required":true,"schema":{"title":"Link Group Slot Id","type":"string","format":"uuid"},"name":"link_group_slot_id","in":"path"},{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Delete Link Group Slot Tabs Slots Link Groups  Link Group Slot Id  Delete","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tabs/slots/videos/{slot_id}":{"get":{"tags":["Tabs"],"summary":"Get Video","description":"Endpoint to retrieve a single Video Slot by slot_id.","operationId":"get_video_tabs_slots_videos__slot_id__get","parameters":[{"required":true,"schema":{"title":"Slot Id","type":"string","format":"uuid"},"name":"slot_id","in":"path"},{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoSlotResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"patch":{"tags":["Tabs"],"summary":"Update Video Slot","description":"Endpoint to update an existing Video Slot.","operationId":"update_video_slot_tabs_slots_videos__slot_id__patch","parameters":[{"required":true,"schema":{"title":"Slot Id","type":"string","format":"uuid"},"name":"slot_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoSlotPatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoSlotResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tabs/slots/videos":{"post":{"tags":["Tabs"],"summary":"Create Video Slot","description":"Endpoint to create a Video Slot.","operationId":"create_video_slot_tabs_slots_videos_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoSlotPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoSlotResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tabs/slots/videos/{video_slot_id}":{"delete":{"tags":["Tabs"],"summary":"Delete Video Slot","description":"Endpoint to delete a Video Slot.","operationId":"delete_video_slot_tabs_slots_videos__video_slot_id__delete","parameters":[{"required":true,"schema":{"title":"Video Slot Id","type":"string","format":"uuid"},"name":"video_slot_id","in":"path"},{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Delete Video Slot Tabs Slots Videos  Video Slot Id  Delete","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tabs/slots/sliders/{slot_id}":{"get":{"tags":["Tabs"],"summary":"Get Slider","description":"Endpoint to retrieve a single Slider by slot_id.","operationId":"get_slider_tabs_slots_sliders__slot_id__get","parameters":[{"required":true,"schema":{"title":"Slot Id","type":"string","format":"uuid"},"name":"slot_id","in":"path"},{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SliderSlotResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"delete":{"tags":["Tabs"],"summary":"Delete Slider Slot","description":"Endpoint to delete a Slider Slot with all associated items.","operationId":"delete_slider_slot_tabs_slots_sliders__slot_id__delete","parameters":[{"required":true,"schema":{"title":"Slot Id","type":"string","format":"uuid"},"name":"slot_id","in":"path"},{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Delete Slider Slot Tabs Slots Sliders  Slot Id  Delete","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"patch":{"tags":["Tabs"],"summary":"Update Slider Slot","description":"Endpoint to update an existing Slider Slot with multiple items.","operationId":"update_slider_slot_tabs_slots_sliders__slot_id__patch","parameters":[{"required":true,"schema":{"title":"Slot Id","type":"string","format":"uuid"},"name":"slot_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SliderSlotPatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SliderSlotResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tabs/slots/sliders":{"post":{"tags":["Tabs"],"summary":"Create Slider Slot","description":"Endpoint to create a Slider Slot with multiple items.","operationId":"create_slider_slot_tabs_slots_sliders_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SliderSlotPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SliderSlotResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tabs/slots/all-slots":{"get":{"tags":["Tabs"],"summary":"Get All Slots","description":"Endpoint to retrieve all slots (quick links, meta links, link groups, and videos).","operationId":"get_all_slots_tabs_slots_all_slots_get","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SlotsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tabs/page":{"get":{"tags":["Tabs"],"summary":"Get Tabs Slots","description":"Retrieve tabs configuration with slots including disclaimers and types.","operationId":"get_tabs_slots_tabs_page_get","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TabsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["Tabs"],"summary":"Post Tabs Slots","description":"Create or update multiple slots in a single request.","operationId":"post_tabs_slots_tabs_page_post","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TabsPagePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TabsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/personalities/init":{"post":{"tags":["Personalities"],"summary":"Get Personalities","operationId":"get_personalities_personalities_init_post","responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/personalities":{"get":{"tags":["Personalities"],"summary":"Get User Personalities","operationId":"get_user_personalities_personalities_get","parameters":[{"required":false,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get User Personalities Personalities Get","type":"array","items":{"$ref":"#/components/schemas/UserKBPersonalityResponse"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/personalities/{personality_id}/customize":{"post":{"tags":["Personalities"],"summary":"Customize Personality","operationId":"customize_personality_personalities__personality_id__customize_post","parameters":[{"required":true,"schema":{"title":"Personality Id","type":"string","format":"uuid"},"name":"personality_id","in":"path"},{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"},{"required":true,"schema":{"title":"Description","type":"string"},"name":"description","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Customize Personality Personalities  Personality Id  Customize Post","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/personalities/{personality_id}/reset":{"delete":{"tags":["Personalities"],"summary":"Reset Personality","operationId":"reset_personality_personalities__personality_id__reset_delete","parameters":[{"required":true,"schema":{"title":"Personality Id","type":"string","format":"uuid"},"name":"personality_id","in":"path"},{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Reset Personality Personalities  Personality Id  Reset Delete","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/model/create_index":{"post":{"tags":["Models and Predictions"],"summary":"Create Index","description":"Create indexes for files connected with a knowledge base.","operationId":"create_index_model_create_index_post","parameters":[{"description":"The ID of the knowledge base for which to create the index.","required":true,"schema":{"title":"Knowledge Base ID","type":"string","description":"The ID of the knowledge base for which to create the index.","format":"uuid"},"name":"kb_id","in":"query"},{"description":"The size of each fragment in the index.","required":false,"schema":{"title":"Fragment Size","type":"integer","description":"The size of each fragment in the index.","default":400},"name":"frag_size","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Create Index Model Create Index Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/model/v2/create_index":{"post":{"tags":["Models and Predictions"],"summary":"Create Index V2","description":"Create indexes for files connected with a knowledge base. V2 uses tasks in celery and will return only the task id instead of result.","operationId":"create_index_v2_model_v2_create_index_post","parameters":[{"description":"The ID of the knowledge base for which to create the index.","required":true,"schema":{"title":"Knowledge Base ID","type":"string","description":"The ID of the knowledge base for which to create the index.","format":"uuid"},"name":"kb_id","in":"query"},{"description":"The size of each fragment in the index.","required":false,"schema":{"title":"Fragment Size","type":"integer","description":"The size of each fragment in the index.","default":400},"name":"frag_size","in":"query"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateIndexTaskResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/model/show-data-collection":{"post":{"tags":["Models and Predictions"],"summary":"Show Data Collection Api","description":"Determine whether the data-collection form should be shown or not.","operationId":"show_data_collection_api_model_show_data_collection_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShowCollectionPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Show Data Collection Api Model Show Data Collection Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/model/query":{"post":{"tags":["Models and Predictions"],"summary":"Make Query","description":"Query Dante directly. Returns the full response at once, not as a stream.","operationId":"make_query_model_query_post","parameters":[{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"},{"description":"The type of the model to use for the query.","required":false,"schema":{"title":"Model Type","allOf":[{"$ref":"#/components/schemas/ModelType"}],"description":"The type of the model to use for the query.","default":"gpt-4"},"name":"model_type","in":"query"},{"required":false,"schema":{"title":"From Whatsapp","type":"boolean","default":false},"name":"from_whatsapp","in":"query"},{"required":false,"schema":{"title":"From Zapier","type":"boolean","default":false},"name":"from_zapier","in":"query"},{"required":true,"schema":{"title":"Question","type":"string"},"name":"question","in":"query"},{"required":true,"schema":{"title":"Conversation Id","type":"string","format":"uuid"},"name":"conversation_id","in":"query"},{"required":false,"schema":{"title":"User Generated Id","type":"string"},"name":"user_generated_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Make Query Model Query Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/model/query-stream":{"post":{"tags":["Models and Predictions"],"summary":"Make Query Stream","description":"Query Dante using stream responses. Keep in mind that different credits apply for API usage: 1 for GPT-3.5-turbo, GPT-4: 26","operationId":"make_query_stream_model_query_stream_post","parameters":[{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"},{"description":"The type of the model to use for the query.","required":false,"schema":{"title":"Model Type","allOf":[{"$ref":"#/components/schemas/ModelType"}],"description":"The type of the model to use for the query.","default":"gpt-4"},"name":"model_type","in":"query"},{"description":"The mode of the integration to use for the query.","required":false,"schema":{"title":"Integration mode (text or avatar)","allOf":[{"$ref":"#/components/schemas/IntegrationMode"}],"description":"The mode of the integration to use for the query.","default":"TEXT"},"name":"integration_mode","in":"query"},{"description":"Avatar id to be used on avatar mode.","required":false,"schema":{"title":"Avatar ID to be used","type":"string","description":"Avatar id to be used on avatar mode.","format":"uuid"},"name":"avatar_id","in":"query"},{"required":true,"schema":{"title":"Question","type":"string"},"name":"question","in":"query"},{"required":true,"schema":{"title":"Conversation Id","type":"string","format":"uuid"},"name":"conversation_id","in":"query"},{"required":false,"schema":{"title":"User Generated Id","type":"string"},"name":"user_generated_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/model/query-shared-stream":{"post":{"tags":["Models and Predictions"],"summary":"Make Shared Query Stream","description":"Query Dante using a shared knowledgebase. Keep in mind that different credits apply for API usage (20% more than within the app).","operationId":"make_shared_query_stream_model_query_shared_stream_post","parameters":[{"required":true,"schema":{"title":"Question","type":"string"},"name":"question","in":"query"},{"required":true,"schema":{"title":"Token","type":"string"},"name":"token","in":"query"},{"required":true,"schema":{"title":"Conversation Id","type":"string","format":"uuid"},"name":"conversation_id","in":"query"},{"required":false,"schema":{"title":"User Generated Id","type":"string"},"name":"user_generated_id","in":"query"},{"required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/IntegrationMode"}],"default":"TEXT"},"name":"integration_mode","in":"query"},{"required":false,"schema":{"title":"Avatar Id","type":"string","format":"uuid"},"name":"avatar_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/model/timezones":{"get":{"tags":["Models and Predictions"],"summary":"List Of Timezones","description":"Get a list of available timezones","operationId":"list_of_timezones_model_timezones_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response List Of Timezones Model Timezones Get","type":"object"}}}}}}},"/model/llms":{"get":{"tags":["Models and Predictions"],"summary":"Get Llms","operationId":"get_llms_model_llms_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/model/old-api-user":{"post":{"tags":["Models and Predictions"],"summary":"Post Old Api User","operationId":"post_old_api_user_model_old_api_user_post","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"},{"required":true,"schema":{"title":"Token","type":"string"},"name":"token","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OldApiUserPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/knowledge-bases/files":{"post":{"tags":["Knowledge Bases"],"summary":"Create Knowledge Base From File","description":"Create a knowledge base from a file and save it in the database.","operationId":"create_knowledge_base_from_file_knowledge_bases_files_post","parameters":[{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"},{"required":false,"schema":{"title":"Personalities Template","type":"string"},"name":"personalities_template","in":"query"},{"required":false,"schema":{"title":"Base System Prompt","type":"string"},"name":"base_system_prompt","in":"query"},{"required":false,"schema":{"title":"Creativity","type":"number"},"name":"creativity","in":"query"},{"required":false,"schema":{"title":"Open To Internet Knowledge","type":"boolean"},"name":"open_to_internet_knowledge","in":"query"},{"required":true,"schema":{"title":"Knowledge Base Name","type":"string"},"name":"knowledge_base_name","in":"query"}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_knowledge_base_from_file_knowledge_bases_files_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeBaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/all":{"post":{"tags":["Knowledge Bases"],"summary":"Create Kb From Files And Urls","description":"Create a knowledge base from files and URLs, and save it in the database.","operationId":"create_kb_from_files_and_urls_knowledge_bases_all_post","parameters":[{"required":true,"schema":{"title":"Urls","type":"array","items":{"type":"string"}},"name":"urls","in":"query"},{"required":false,"schema":{"title":"Creativity","type":"number"},"name":"creativity","in":"query"},{"required":false,"schema":{"title":"Open To Internet Knowledge","type":"boolean"},"name":"open_to_internet_knowledge","in":"query"},{"required":false,"schema":{"title":"Max Urls","type":"integer","default":1},"name":"max_urls","in":"query"},{"required":false,"schema":{"title":"Exclude Urls","type":"array","items":{"type":"string"}},"name":"exclude_urls","in":"query"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"},{"required":true,"schema":{"title":"Knowledge Base Name","type":"string"},"name":"knowledge_base_name","in":"query"}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_kb_from_files_and_urls_knowledge_bases_all_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeBaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/url":{"post":{"tags":["Knowledge Bases"],"summary":"Create Knowledge Base From Url","description":"Create a knowledge base from URLs and save it in the database.","operationId":"create_knowledge_base_from_url_knowledge_bases_url_post","parameters":[{"required":true,"schema":{"title":"Urls","type":"array","items":{"type":"string"}},"name":"urls","in":"query"},{"required":false,"schema":{"title":"Exclude Urls","type":"array","items":{"type":"string"}},"name":"exclude_urls","in":"query"},{"required":false,"schema":{"title":"Max Urls","type":"integer","default":1},"name":"max_urls","in":"query"},{"required":false,"schema":{"title":"Creativity","type":"number"},"name":"creativity","in":"query"},{"required":false,"schema":{"title":"Open To Internet Knowledge","type":"boolean"},"name":"open_to_internet_knowledge","in":"query"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"},{"required":true,"schema":{"title":"Knowledge Base Name","type":"string"},"name":"knowledge_base_name","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeBaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/dashboard":{"get":{"tags":["Knowledge Bases"],"summary":"Get Kb Dashboard","description":"Endpoint to get Knowledge Bases Dashboard.","operationId":"get_kb_dashboard_knowledge_bases_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KbDashboardResponse"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/{kb_id}":{"get":{"tags":["Knowledge Bases"],"summary":"Get Knowledge Base Detail","description":"Retrieve the details of a specific knowledge base.","operationId":"get_knowledge_base_detail_knowledge_bases__kb_id__get","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeBaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"delete":{"tags":["Knowledge Bases"],"summary":"Delete Knowledge Base","description":"Delete a specific knowledge base.","operationId":"delete_knowledge_base_knowledge_bases__kb_id__delete","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeBase"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"patch":{"tags":["Knowledge Bases"],"summary":"Patch Knowledge Base Detail","description":"Update the details of a specific knowledge base.","operationId":"patch_knowledge_base_detail_knowledge_bases__kb_id__patch","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeBasePatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Patch Knowledge Base Detail Knowledge Bases  Kb Id  Patch","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/{kb_id}/export_files":{"get":{"tags":["Knowledge Bases"],"summary":"Get Knowledge Base Files Details","description":"Export the details of knowledge base files.","operationId":"get_knowledge_base_files_details_knowledge_bases__kb_id__export_files_get","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/{kb_id}/search":{"get":{"tags":["Knowledge Bases"],"summary":"Get Knowledge Base Detail Sorted","description":"Retrieve the details of a specific knowledge base but in a sorted way.","operationId":"get_knowledge_base_detail_sorted_knowledge_bases__kb_id__search_get","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"},{"required":false,"schema":{"title":"File Name","type":"string"},"name":"file_name","in":"query"},{"required":false,"schema":{"title":"Name","type":"boolean"},"name":"name","in":"query"},{"required":false,"schema":{"title":"Size Ascending","type":"boolean"},"name":"size_ascending","in":"query"},{"required":false,"schema":{"title":"Size Descending","type":"boolean"},"name":"size_descending","in":"query"},{"required":false,"schema":{"title":"Character Count","type":"boolean"},"name":"character_count","in":"query"},{"required":false,"schema":{"title":"Limit","type":"integer","default":50},"name":"limit","in":"query"},{"required":false,"schema":{"title":"Offset","type":"integer","default":0},"name":"offset","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeBaseSortedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases":{"get":{"tags":["Knowledge Bases"],"summary":"Get Knowledge Bases","description":"Retrieve a list of knowledge bases belonging to the authenticated user.","operationId":"get_knowledge_bases_knowledge_bases_get","parameters":[{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Knowledge Bases Knowledge Bases Get","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/kbs/multiple":{"delete":{"tags":["Knowledge Bases"],"summary":"Delete Multiple Knowledgebases","operationId":"delete_multiple_knowledgebases_knowledge_bases_kbs_multiple_delete","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteMultipleKBPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/{kb_id}/share":{"get":{"tags":["Knowledge Bases"],"summary":"Share Knowledge Base","description":"Share a specific knowledge base with a sharing token.","operationId":"share_knowledge_base_knowledge_bases__kb_id__share_get","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":true,"schema":{"$ref":"#/components/schemas/ModelType"},"name":"model_type","in":"query"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SharingToken"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/{kb_id}/files":{"post":{"tags":["Knowledge Bases"],"summary":"Add File To Kb","description":"Add a file to a specific knowledge base.","operationId":"add_file_to_kb_knowledge_bases__kb_id__files_post","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_add_file_to_kb_knowledge_bases__kb_id__files_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeBaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"delete":{"tags":["Knowledge Bases"],"summary":"Delete Knowledge Base Files","description":"Delete all files associated with a specific knowledge base.","operationId":"delete_knowledge_base_files_knowledge_bases__kb_id__files_delete","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/{kb_id}/urls":{"post":{"tags":["Knowledge Bases"],"summary":"Add Urls To Kb","description":"Add URLs to a specific knowledge base.","operationId":"add_urls_to_kb_knowledge_bases__kb_id__urls_post","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"},{"required":true,"schema":{"title":"Urls","type":"array","items":{"type":"string"}},"name":"urls","in":"query"},{"required":false,"schema":{"title":"Exclude Urls","type":"array","items":{"type":"string"},"default":[]},"name":"exclude_urls","in":"query"},{"required":false,"schema":{"title":"Max Urls","type":"integer","default":1},"name":"max_urls","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeBaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/{kb_id}/all":{"post":{"tags":["Knowledge Bases"],"summary":"Add Files And Urls To Kb","description":"Add files and URLs to a specific knowledge base.","operationId":"add_files_and_urls_to_kb_knowledge_bases__kb_id__all_post","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"},{"required":true,"schema":{"title":"Urls","type":"array","items":{"type":"string"}},"name":"urls","in":"query"},{"required":false,"schema":{"title":"Exclude Urls","type":"array","items":{"type":"string"},"default":[]},"name":"exclude_urls","in":"query"},{"required":false,"schema":{"title":"Max Urls","type":"integer","default":1},"name":"max_urls","in":"query"}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_add_files_and_urls_to_kb_knowledge_bases__kb_id__all_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeBaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/files/{file_id}":{"delete":{"tags":["Knowledge Bases"],"summary":"Delete File","description":"Delete a specific file from the database.","operationId":"delete_file_knowledge_bases_files__file_id__delete","parameters":[{"required":true,"schema":{"title":"File Id","type":"string","format":"uuid"},"name":"file_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/v2/all_files":{"post":{"tags":["Knowledge Bases V2"],"summary":"Create Kb From Files And Urls","description":"Create a knowledge base from files and URLs v2.","operationId":"create_kb_from_files_and_urls_knowledge_bases_v2_all_files_post","parameters":[{"required":true,"schema":{"title":"Urls","type":"array","items":{"type":"string"}},"name":"urls","in":"query"},{"required":true,"schema":{"title":"Max Links","type":"array","items":{"type":"integer"}},"name":"max_links","in":"query"},{"required":false,"schema":{"title":"Creativity","type":"number"},"name":"creativity","in":"query"},{"required":false,"schema":{"title":"Open To Internet Knowledge","type":"boolean"},"name":"open_to_internet_knowledge","in":"query"},{"required":false,"schema":{"title":"Exclude Urls","type":"array","items":{"type":"string"}},"name":"exclude_urls","in":"query"},{"required":false,"schema":{"title":"Personalities Template","type":"string"},"name":"personalities_template","in":"query"},{"required":false,"schema":{"title":"Base System Prompt","type":"string"},"name":"base_system_prompt","in":"query"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"},{"required":true,"schema":{"title":"Knowledge Base Name","type":"string"},"name":"knowledge_base_name","in":"query"}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_kb_from_files_and_urls_knowledge_bases_v2_all_files_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeBaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/v2/url":{"post":{"tags":["Knowledge Bases V2"],"summary":"Create Knowledge Base From Url","description":"Create a knowledge base from a URL v2.","operationId":"create_knowledge_base_from_url_knowledge_bases_v2_url_post","parameters":[{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"},{"required":false,"schema":{"title":"Personalities Template","type":"string"},"name":"personalities_template","in":"query"},{"required":false,"schema":{"title":"Base System Prompt","type":"string"},"name":"base_system_prompt","in":"query"},{"required":false,"schema":{"title":"Exclude Urls","type":"array","items":{"type":"string"}},"name":"exclude_urls","in":"query"},{"required":false,"schema":{"title":"Creativity","type":"number"},"name":"creativity","in":"query"},{"required":false,"schema":{"title":"Open To Internet Knowledge","type":"boolean"},"name":"open_to_internet_knowledge","in":"query"},{"required":false,"schema":{"title":"Generate Thumbnail","type":"boolean","default":true},"name":"generate_thumbnail","in":"query"},{"required":true,"schema":{"title":"Knowledge Base Name","type":"string"},"name":"knowledge_base_name","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"title":"Url Datas","type":"array","items":{"$ref":"#/components/schemas/UrlData"},"default":[]}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeBaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/v2/demo-url":{"post":{"tags":["Knowledge Bases V2"],"summary":"Create Knowledge Base From Demo Url","description":"Create a knowledge base from a URL.","operationId":"create_knowledge_base_from_demo_url_knowledge_bases_v2_demo_url_post","parameters":[{"required":true,"schema":{"title":"Url","type":"string"},"name":"url","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Create Knowledge Base From Demo Url Knowledge Bases V2 Demo Url Post","type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/knowledge-bases/v2/{kb_id}/urls":{"post":{"tags":["Knowledge Bases V2"],"summary":"Add Urls To Kb","description":"Add URLs to an existing knowledge base v2.","operationId":"add_urls_to_kb_knowledge_bases_v2__kb_id__urls_post","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"},{"required":false,"schema":{"title":"Exclude Urls","type":"array","items":{"type":"string"},"default":[]},"name":"exclude_urls","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"title":"Url Datas","type":"array","items":{"$ref":"#/components/schemas/UrlData"},"default":[]}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeBaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/v2/{kb_id}/all":{"post":{"tags":["Knowledge Bases V2"],"summary":"Add Files And Urls To Existing Kb","description":"Add files and URLs to an existing knowledge base v2.","operationId":"add_files_and_urls_to_existing_kb_knowledge_bases_v2__kb_id__all_post","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"},{"required":true,"schema":{"title":"Urls","type":"array","items":{"type":"string"}},"name":"urls","in":"query"},{"required":true,"schema":{"title":"Max Links","type":"array","items":{"type":"integer"}},"name":"max_links","in":"query"},{"required":false,"schema":{"title":"Exclude Urls","type":"array","items":{"type":"string"},"default":[]},"name":"exclude_urls","in":"query"}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_add_files_and_urls_to_existing_kb_knowledge_bases_v2__kb_id__all_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeBaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/v2/duplicate_kb/{kb_id}":{"post":{"tags":["Knowledge Bases V2"],"summary":"Duplicate Knowledge Base","description":"Duplicate an existing knowledge base.","operationId":"duplicate_knowledge_base_knowledge_bases_v2_duplicate_kb__kb_id__post","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeBaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/v2/{kb_id}/schedule-training":{"get":{"tags":["Knowledge Bases V2"],"summary":"Get Schedule Training","description":"Get scheduled autotraining time for a knowledge base.","operationId":"get_schedule_training_knowledge_bases_v2__kb_id__schedule_training_get","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeBaseTrainingSchedule"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["Knowledge Bases V2"],"summary":"Schedule Training","description":"Schedule autotraining time for a knowledge base.","operationId":"schedule_training_knowledge_bases_v2__kb_id__schedule_training_post","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainingSchedulePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeBaseTrainingSchedule"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/conversations":{"get":{"tags":["Conversations"],"summary":"List Conversations","description":"Retrieve the list of conversations based on the provided filters and pagination.","operationId":"list_conversations_conversations_get","parameters":[{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"},{"required":false,"schema":{"title":"Date Created From","type":"string","format":"date-time"},"name":"date_created_from","in":"query"},{"required":false,"schema":{"title":"Date Created To","type":"string","format":"date-time"},"name":"date_created_to","in":"query"},{"required":false,"schema":{"title":"Date Updated From","type":"string","format":"date-time"},"name":"date_updated_from","in":"query"},{"required":false,"schema":{"title":"Date Updated To","type":"string","format":"date-time"},"name":"date_updated_to","in":"query"},{"required":false,"schema":{"title":"Name","type":"string"},"name":"name","in":"query"},{"required":false,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"},{"required":false,"schema":{"title":"Limit","type":"integer","default":50},"name":"limit","in":"query"},{"required":false,"schema":{"title":"Offset","type":"integer","default":0},"name":"offset","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConversationListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["Conversations"],"summary":"Create Conversation","description":"Create a new conversation for a given knowledge base.","operationId":"create_conversation_conversations_post","parameters":[{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"},{"required":false,"schema":{"title":"Kb Id","type":"string","format":"uuid","default":"86927718-7690-4c0c-a99d-8bc8afda0a4c"},"name":"kb_id","in":"query"},{"required":false,"schema":{"title":"Name","type":"string"},"name":"name","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"title":"Form Data","type":"array","items":{"$ref":"#/components/schemas/ConversationInputField"}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Conversation"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/conversations/shared":{"post":{"tags":["Conversations"],"summary":"Create Shared Conversation","description":"Create a new conversation from a shared knowledgebase. Needs a valid token","operationId":"create_shared_conversation_conversations_shared_post","parameters":[{"required":false,"schema":{"title":"Kb Id","type":"string","format":"uuid","default":"86927718-7690-4c0c-a99d-8bc8afda0a4c"},"name":"kb_id","in":"query"},{"required":false,"schema":{"title":"Name","type":"string"},"name":"name","in":"query"},{"required":true,"schema":{"title":"Token","type":"string"},"name":"token","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"title":"Form Data","type":"array","items":{"$ref":"#/components/schemas/ConversationInputField"}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Conversation"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/conversations/search":{"get":{"tags":["Conversations"],"summary":"Search Conversation","description":"Search conversations by name, question, or answer.","operationId":"search_conversation_conversations_search_get","parameters":[{"description":"The search query string.","required":true,"schema":{"title":"Query","type":"string","description":"The search query string."},"name":"query","in":"query"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Search Conversation Conversations Search Get","type":"array","items":{"$ref":"#/components/schemas/Conversation"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/conversations/{conversation_id}":{"get":{"tags":["Conversations"],"summary":"Get Conversation","description":"Get a conversation by ID.","operationId":"get_conversation_conversations__conversation_id__get","parameters":[{"required":true,"schema":{"title":"Conversation Id","type":"string","format":"uuid"},"name":"conversation_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Conversation"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"delete":{"tags":["Conversations"],"summary":"Delete Conversation","description":"Delete a conversation by its ID.","operationId":"delete_conversation_conversations__conversation_id__delete","parameters":[{"required":true,"schema":{"title":"Conversation Id","type":"string","format":"uuid"},"name":"conversation_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"patch":{"tags":["Conversations"],"summary":"Patch Conversation","description":"Update a conversation by its ID.","operationId":"patch_conversation_conversations__conversation_id__patch","parameters":[{"required":true,"schema":{"title":"Conversation Id","type":"string","format":"uuid"},"name":"conversation_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConversationPatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Conversation"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/conversations/{conversation_id}/collected_data":{"get":{"tags":["Conversations"],"summary":"Get Collected Data","operationId":"get_collected_data_conversations__conversation_id__collected_data_get","parameters":[{"required":true,"schema":{"title":"Conversation Id","type":"string","format":"uuid"},"name":"conversation_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Collected Data Conversations  Conversation Id  Collected Data Get","type":"array","items":{"$ref":"#/components/schemas/ConversationInputField"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/conversations/shared/{kb_id}":{"get":{"tags":["Conversations"],"summary":"List Conversations For Kb","description":"Retrieve the list of conversations for a kb based on the provided filters and pagination.","operationId":"list_conversations_for_kb_conversations_shared__kb_id__get","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"},{"required":false,"schema":{"title":"User Tz","type":"string"},"name":"user_tz","in":"query"},{"required":false,"schema":{"title":"Date Created From","type":"string","format":"date-time"},"name":"date_created_from","in":"query"},{"required":false,"schema":{"title":"Date Created To","type":"string","format":"date-time"},"name":"date_created_to","in":"query"},{"required":false,"schema":{"title":"Date Updated From","type":"string","format":"date-time"},"name":"date_updated_from","in":"query"},{"required":false,"schema":{"title":"Date Updated To","type":"string","format":"date-time"},"name":"date_updated_to","in":"query"},{"required":false,"schema":{"title":"Name","type":"string"},"name":"name","in":"query"},{"required":false,"schema":{"title":"Limit","type":"integer","default":50},"name":"limit","in":"query"},{"required":false,"schema":{"title":"Offset","type":"integer","default":0},"name":"offset","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConversationListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/conversations/all":{"delete":{"tags":["Conversations"],"summary":"Delete All Conversations","description":"Delete all conversations and associated messages for the authenticated user.","operationId":"delete_all_conversations_conversations_all_delete","parameters":[{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/conversations/share/{conversation_id}":{"post":{"tags":["Conversations"],"summary":"Share Conversation","description":"Create shared conversation url.","operationId":"share_conversation_conversations_share__conversation_id__post","parameters":[{"required":true,"schema":{"title":"Conversation Id","type":"string","format":"uuid"},"name":"conversation_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateConversationSharedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/conversations/shared/{kb_id}/export":{"get":{"tags":["Conversations"],"summary":"Export Conversation","description":"Export conversations to a text file.","operationId":"export_conversation_conversations_shared__kb_id__export_get","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"},{"required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/FileTypes"}],"default":"text/plain"},"name":"type","in":"query"},{"required":false,"schema":{"title":"User Tz","type":"string"},"name":"user_tz","in":"query"},{"required":false,"schema":{"title":"Date Created From","type":"string","format":"date-time"},"name":"date_created_from","in":"query"},{"required":false,"schema":{"title":"Date Created To","type":"string","format":"date-time"},"name":"date_created_to","in":"query"},{"required":false,"schema":{"title":"Date Updated From","type":"string","format":"date-time"},"name":"date_updated_from","in":"query"},{"required":false,"schema":{"title":"Date Updated To","type":"string","format":"date-time"},"name":"date_updated_to","in":"query"},{"required":false,"schema":{"title":"Name","type":"string"},"name":"name","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/conversations/shared/export/zapier":{"get":{"tags":["Conversations"],"summary":"Export Conversation Zapier","description":"Export conversations endpoint designed for Zapier","operationId":"export_conversation_zapier_conversations_shared_export_zapier_get","parameters":[{"required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/FileTypes"}],"default":"text/plain"},"name":"type","in":"query"},{"required":false,"schema":{"title":"User Tz","type":"string"},"name":"user_tz","in":"query"},{"required":false,"schema":{"title":"Last N Hours","type":"integer"},"name":"last_n_hours","in":"query"},{"required":false,"schema":{"title":"Kb Name","type":"string"},"name":"kb_name","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/conversations/shared/{kb_id}/export-data":{"get":{"tags":["Conversations"],"summary":"Export Conversation Form Data","description":"Export conversation collected data.","operationId":"export_conversation_form_data_conversations_shared__kb_id__export_data_get","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"},{"required":false,"schema":{"title":"Date Created From","type":"string","format":"date-time"},"name":"date_created_from","in":"query"},{"required":false,"schema":{"title":"Date Created To","type":"string","format":"date-time"},"name":"date_created_to","in":"query"},{"required":false,"schema":{"title":"Date Updated From","type":"string","format":"date-time"},"name":"date_updated_from","in":"query"},{"required":false,"schema":{"title":"Date Updated To","type":"string","format":"date-time"},"name":"date_updated_to","in":"query"},{"required":false,"schema":{"title":"Name","type":"string"},"name":"name","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/conversations/shared/{conversation_id}/check_form":{"get":{"tags":["Conversations"],"summary":"Check Form In Conversation","operationId":"check_form_in_conversation_conversations_shared__conversation_id__check_form_get","parameters":[{"required":true,"schema":{"title":"Conversation Id","type":"string","format":"uuid"},"name":"conversation_id","in":"path"},{"description":"The token of the shared knowledgebase.","required":true,"schema":{"title":"Token","type":"string","description":"The token of the shared knowledgebase."},"name":"shared_kb_token","in":"query"}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Check Form In Conversation Conversations Shared  Conversation Id  Check Form Get","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/conversations/shared/{conversation_id}/form_data":{"post":{"tags":["Conversations"],"summary":"Add Form In Conversation","operationId":"add_form_in_conversation_conversations_shared__conversation_id__form_data_post","parameters":[{"required":true,"schema":{"title":"Conversation Id","type":"string","format":"uuid"},"name":"conversation_id","in":"path"},{"description":"The token of the shared knowledgebase.","required":true,"schema":{"title":"Token","type":"string","description":"The token of the shared knowledgebase."},"name":"shared_kb_token","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"title":"Form Data","type":"array","items":{"$ref":"#/components/schemas/ConversationInputField"}}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Add Form In Conversation Conversations Shared  Conversation Id  Form Data Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/conversations/shared/{conversation_id}/transcript":{"post":{"tags":["Conversations"],"summary":"Send Transcript Email","operationId":"send_transcript_email_conversations_shared__conversation_id__transcript_post","parameters":[{"required":true,"schema":{"title":"Conversation Id","type":"string","format":"uuid"},"name":"conversation_id","in":"path"},{"description":"The token used for sharing the knowledge base.","required":true,"schema":{"title":"Token","type":"string","description":"The token used for sharing the knowledge base.","format":"uuid"},"name":"token","in":"query"},{"description":"The email of the receiver","required":true,"schema":{"title":"Email of the user that will receive the transcript","type":"string","description":"The email of the receiver"},"name":"email","in":"query"}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Send Transcript Email Conversations Shared  Conversation Id  Transcript Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/conversations/shared/{kb_id}/export-not-answered":{"get":{"tags":["Conversations"],"summary":"Export Not Answered Conversation","description":"Export not answered conversations of a knowledge base to a text file.","operationId":"export_not_answered_conversation_conversations_shared__kb_id__export_not_answered_get","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"},{"required":false,"schema":{"title":"Date Created From","type":"string","format":"date-time"},"name":"date_created_from","in":"query"},{"required":false,"schema":{"title":"Date Created To","type":"string","format":"date-time"},"name":"date_created_to","in":"query"},{"required":false,"schema":{"title":"Date Updated From","type":"string","format":"date-time"},"name":"date_updated_from","in":"query"},{"required":false,"schema":{"title":"Date Updated To","type":"string","format":"date-time"},"name":"date_updated_to","in":"query"},{"required":false,"schema":{"title":"Name","type":"string"},"name":"name","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/conversations/{conversation_id}/form-data":{"patch":{"tags":["Conversations"],"summary":"Patch Conversation Form Data","description":"Update conversation form data.","operationId":"patch_conversation_form_data_conversations__conversation_id__form_data_patch","parameters":[{"required":true,"schema":{"title":"Conversation Id","type":"string","format":"uuid"},"name":"conversation_id","in":"path"},{"required":false,"schema":{"title":"Kb Id","type":"string","format":"uuid","default":"86927718-7690-4c0c-a99d-8bc8afda0a4c"},"name":"kb_id","in":"query"},{"required":false,"schema":{"title":"Name","type":"string"},"name":"name","in":"query"},{"required":true,"schema":{"title":"Token","type":"string"},"name":"token","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"title":"Form Data","type":"array","items":{"$ref":"#/components/schemas/ConversationInputField"}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Conversation"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/messages/shared":{"get":{"tags":["Messages"],"summary":"List Messages For Shared Conversation","description":"Endpoint to list messages that are in a shared conversation.","operationId":"list_messages_for_shared_conversation_messages_shared_get","parameters":[{"required":true,"schema":{"title":"Token","type":"string","format":"uuid"},"name":"token","in":"query"},{"required":true,"schema":{"title":"Conversation Id","type":"string","format":"uuid"},"name":"conversation_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageListUnfilteredResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/messages/{message_id}":{"get":{"tags":["Messages"],"summary":"Get Message","description":"Endpoint to list messages with optional filters, pagination, and sorting.","operationId":"get_message_messages__message_id__get","parameters":[{"required":true,"schema":{"title":"Message Id","type":"string","format":"uuid"},"name":"message_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"delete":{"tags":["Messages"],"summary":"Delete Message","description":"Delete a message by its ID.","operationId":"delete_message_messages__message_id__delete","parameters":[{"required":true,"schema":{"title":"Message Id","type":"string","format":"uuid"},"name":"message_id","in":"path"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/messages":{"get":{"tags":["Messages"],"summary":"List Messages","description":"Endpoint to list messages with optional filters, pagination, and sorting.","operationId":"list_messages_messages_get","parameters":[{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"},{"required":false,"schema":{"title":"Date Created From","type":"string","format":"date-time"},"name":"date_created_from","in":"query"},{"required":false,"schema":{"title":"Date Created To","type":"string","format":"date-time"},"name":"date_created_to","in":"query"},{"required":false,"schema":{"title":"Date Updated From","type":"string","format":"date-time"},"name":"date_updated_from","in":"query"},{"required":false,"schema":{"title":"Date Updated To","type":"string","format":"date-time"},"name":"date_updated_to","in":"query"},{"required":false,"schema":{"title":"Question","type":"string"},"name":"question","in":"query"},{"required":false,"schema":{"title":"Answer","type":"string"},"name":"answer","in":"query"},{"required":false,"schema":{"title":"Conversation Id","type":"string","format":"uuid"},"name":"conversation_id","in":"query"},{"required":false,"schema":{"title":"Limit","type":"integer","default":50},"name":"limit","in":"query"},{"required":false,"schema":{"title":"Offset","type":"integer","default":0},"name":"offset","in":"query"},{"required":false,"schema":{"title":"Order By","enum":["date_created","date_updated"],"type":"string","default":"date_created"},"name":"order_by","in":"query"},{"required":false,"schema":{"title":"Ascending","maximum":1.0,"minimum":0.0,"type":"integer","default":0},"name":"ascending","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/messages/conversation_shared/{conversation_shared_id}":{"get":{"tags":["Messages"],"summary":"List Messages For Conversation Shared","description":"Endpoint to list messages that are in a conversation shared.","operationId":"list_messages_for_conversation_shared_messages_conversation_shared__conversation_shared_id__get","parameters":[{"required":true,"schema":{"title":"Conversation Shared Id","type":"string","format":"uuid"},"name":"conversation_shared_id","in":"path"},{"required":false,"schema":{"title":"Limit","type":"integer","default":50},"name":"limit","in":"query"},{"required":false,"schema":{"title":"Offset","type":"integer","default":0},"name":"offset","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageListUnfilteredResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/messages/message/update_reaction":{"post":{"tags":["Messages"],"summary":"Update Message Reaction","description":"Update message reaction.","operationId":"update_message_reaction_messages_message_update_reaction_post","parameters":[{"description":"ID of the message to update","required":true,"schema":{"title":"Message Id","type":"string","description":"ID of the message to update","format":"uuid"},"name":"message_id","in":"query"},{"description":"New reaction to set","required":true,"schema":{"allOf":[{"$ref":"#/components/schemas/ReactionEnum"}],"description":"New reaction to set"},"name":"new_reaction","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/suggestion/":{"post":{"tags":["Prompt suggestion"],"summary":"Get Suggestion","description":"Get chat message suggestions based on the provided messages.","operationId":"get_suggestion_suggestion__post","parameters":[{"description":"The ID of the knowledge base to use.","required":false,"schema":{"title":"Knowledge Base ID","type":"string","description":"The ID of the knowledge base to use.","format":"uuid","default":"86927718-7690-4c0c-a99d-8bc8afda0a4c"},"name":"kb_id","in":"query"},{"description":"The mode of the chat. Possible values are `normal_mode` and `embed_mode`.","required":false,"schema":{"title":"Chat Mode","allOf":[{"$ref":"#/components/schemas/ChatMode"}],"description":"The mode of the chat. Possible values are `normal_mode` and `embed_mode`.","default":"normal_mode"},"name":"mode","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"title":"Messages","type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Suggestion Suggestion  Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/suggestion/v2":{"post":{"tags":["Prompt suggestion"],"summary":"Get Suggestion V2","description":"Get chat message suggestions based on the provided messages. V2 uses tasks in celery and will return only the task id instead of result.","operationId":"get_suggestion_v2_suggestion_v2_post","parameters":[{"description":"The ID of the knowledge base to use.","required":false,"schema":{"title":"Knowledge Base ID","type":"string","description":"The ID of the knowledge base to use.","format":"uuid","default":"86927718-7690-4c0c-a99d-8bc8afda0a4c"},"name":"kb_id","in":"query"},{"description":"The mode of the integration. Possible values are `text` and `avatar`.","required":false,"schema":{"title":"Integration Mode","allOf":[{"$ref":"#/components/schemas/IntegrationMode"}],"description":"The mode of the integration. Possible values are `text` and `avatar`.","default":"TEXT"},"name":"integration_mode","in":"query"},{"description":"The ID of the knowledge base to use.","required":false,"schema":{"title":"Knowledge Base ID","type":"string","description":"The ID of the knowledge base to use.","format":"uuid"},"name":"avatar_id","in":"query"},{"description":"Whether the chat is with a live agent.","required":false,"schema":{"title":"Is Live Agent","type":"boolean","description":"Whether the chat is with a live agent.","default":false},"name":"is_live_agent","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"title":"Messages","type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Suggestion V2 Suggestion V2 Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tts/play":{"post":{"tags":["Text to Speech"],"summary":"Inform Play Message","description":"Inform play message. This endpoint is used to inform that a play message is being performed, and it adds a credit for using the Text-to-Speech (TTS) feature.","operationId":"inform_play_message_tts_play_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/tts/play-shared":{"post":{"tags":["Text to Speech"],"summary":"Inform Play Shared Message","description":"Inform play message. This endpoint is used to inform that a play message is being performed, and it adds a credit for using the Text-to-Speech (TTS) feature.","operationId":"inform_play_shared_message_tts_play_shared_post","parameters":[{"description":"The shared authorization token for authentication.","required":true,"schema":{"title":"Shared Authorization Token","type":"string","description":"The shared authorization token for authentication."},"name":"token","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tts/token":{"get":{"tags":["Text to Speech"],"summary":"Get Authorization Token","description":"Get authorization token. This endpoint is used to retrieve an authorization token for the Text-to-Speech (TTS) feature. It also adds a credit for using the TTS feature.","operationId":"get_authorization_token_tts_token_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__assemblyai_authentication__TokenResponse"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/tts/token-shared":{"get":{"tags":["Text to Speech"],"summary":"Get Shared Authorization Token","description":"Get shared authorization token. This endpoint is used to retrieve a shared authorization token for the Text-to-Speech (TTS) feature. It requires a shared authorization token as input and validates it. It also adds a credit for using the TTS feature.","operationId":"get_shared_authorization_token_tts_token_shared_get","parameters":[{"description":"The shared authorization token for authentication.","required":true,"schema":{"title":"Shared Authorization Token","type":"string","description":"The shared authorization token for authentication."},"name":"token","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__assemblyai_authentication__TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/stripe/checkout_session":{"post":{"tags":["Stripe"],"summary":"Create Checkout Session","description":"Create a stripe checkout session for the specified tier.","operationId":"create_checkout_session_stripe_checkout_session_post","parameters":[{"description":"The ID of the tier for the checkout session.","required":true,"schema":{"title":"Tier ID","type":"string","description":"The ID of the tier for the checkout session.","format":"uuid"},"name":"tier_id","in":"query"},{"description":"The name of the campaign","required":false,"schema":{"title":"Campaign name","type":"string","description":"The name of the campaign"},"name":"campaign","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Create Checkout Session Stripe Checkout Session Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/stripe/checkout_session/black-friday":{"post":{"tags":["Stripe"],"summary":"Create Checkout Session Black Friday","description":"Create a Stripe checkout session for the specified tier, applying 25% off if applicable.","operationId":"create_checkout_session_black_friday_stripe_checkout_session_black_friday_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Create Checkout Session Black Friday Stripe Checkout Session Black Friday Post","type":"object"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/stripe/add_on_checkout_session":{"post":{"tags":["Stripe"],"summary":"Create Add On Checkout Session","description":"Create a stripe checkout session for the specified add on.","operationId":"create_add_on_checkout_session_stripe_add_on_checkout_session_post","parameters":[{"description":"The ID of the add on for the checkout session.","required":true,"schema":{"title":"AddOn ID","type":"string","description":"The ID of the add on for the checkout session.","format":"uuid"},"name":"add_on_id","in":"query"},{"required":false,"schema":{"title":"Quantity","type":"integer","default":1},"name":"quantity","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Create Add On Checkout Session Stripe Add On Checkout Session Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/stripe/checkout_session_topup":{"post":{"tags":["Stripe"],"summary":"Create Checkout Session Topup","description":"Create a top-up stripe checkout session.","operationId":"create_checkout_session_topup_stripe_checkout_session_topup_post","parameters":[{"description":"The ID of the price(from stripe) for the top-up checkout session.","required":true,"schema":{"title":"Price ID","type":"string","description":"The ID of the price(from stripe) for the top-up checkout session."},"name":"price_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Create Checkout Session Topup Stripe Checkout Session Topup Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/stripe/checkout_session/success_handler_webhook":{"post":{"tags":["Stripe"],"summary":"Handle Session Success Webhook","description":"Handle the success of a stripe checkout session through a webhook.","operationId":"handle_session_success_webhook_stripe_checkout_session_success_handler_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Handle Session Success Webhook Stripe Checkout Session Success Handler Webhook Post","type":"object"}}}}}}},"/stripe/cancel_trial":{"post":{"tags":["Stripe"],"summary":"Cancel Subscription","description":"Cancel a trial subscription","operationId":"cancel_subscription_stripe_cancel_trial_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Cancel Subscription Stripe Cancel Trial Post","type":"object"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/stripe/payment-info":{"post":{"tags":["Stripe"],"summary":"Tracware Payment Info","description":"Endpoint to accept payment information from Tracware","operationId":"tracware_payment_info_stripe_payment_info_post","parameters":[{"required":true,"schema":{"title":"User Email","type":"string"},"name":"user_email","in":"query"},{"required":true,"schema":{"title":"Event Type","type":"string"},"name":"event_type","in":"query"},{"required":false,"schema":{"title":"Period","type":"string"},"name":"period","in":"query"},{"required":false,"schema":{"title":"Tier Type","type":"string"},"name":"tier_type","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Tracware Payment Info Stripe Payment Info Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tiers/v2":{"get":{"tags":["Tiers"],"summary":"Get Tiers List V2","description":"Get a list of tiers based on specified filters.","operationId":"get_tiers_list_v2_tiers_v2_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Tiers List V2 Tiers V2 Get","type":"object"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/tiers/v3":{"get":{"tags":["Tiers"],"summary":"Get Tiers List V3","description":"Get a list of tiers based on specified filters.","operationId":"get_tiers_list_v3_tiers_v3_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Tiers List V3 Tiers V3 Get","type":"object"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/tiers/v4":{"get":{"tags":["Tiers"],"summary":"Get Tiers List V4","description":"Get a list of tiers based on specified filters.","operationId":"get_tiers_list_v4_tiers_v4_get","parameters":[{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Tiers List V4 Tiers V4 Get","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/tiers/custom_tier":{"post":{"tags":["Tiers"],"summary":"Create Custom Tier","operationId":"create_custom_tier_tiers_custom_tier_post","parameters":[{"required":false,"schema":{"title":"Use Previous Tier Id","type":"string","format":"uuid"},"name":"use_previous_tier_id","in":"query"},{"required":true,"schema":{"title":"User Id","type":"string","format":"uuid"},"name":"user_id","in":"query"},{"required":true,"schema":{"$ref":"#/components/schemas/app__models__core__TierCustomPayload__TierType"},"name":"based_on_type","in":"query"},{"required":true,"schema":{"title":"Price","type":"number"},"name":"price","in":"query"},{"required":true,"schema":{"$ref":"#/components/schemas/StripePeriod"},"name":"period","in":"query"},{"required":false,"schema":{"title":"Name","type":"string"},"name":"name","in":"query"},{"required":false,"schema":{"$ref":"#/components/schemas/ModelType"},"name":"allowed_model","in":"query"},{"required":false,"schema":{"title":"Credits Per Month","minimum":30.0,"type":"integer","default":30},"name":"credits_per_month","in":"query"},{"required":false,"schema":{"title":"Number Of Knowledgebases","minimum":1.0,"type":"integer","default":1},"name":"number_of_knowledgebases","in":"query"},{"required":false,"schema":{"title":"Characters Per Knowledgebase","minimum":400000.0,"type":"integer"},"name":"characters_per_knowledgebase","in":"query"},{"required":false,"schema":{"title":"Embed Unlimited Websites","type":"boolean"},"name":"embed_unlimited_websites","in":"query"},{"required":false,"schema":{"title":"Upload Multiple Files","type":"boolean"},"name":"upload_multiple_files","in":"query"},{"required":false,"schema":{"title":"Upload Videos","type":"boolean"},"name":"upload_videos","in":"query"},{"required":false,"schema":{"title":"Upload Images","type":"boolean"},"name":"upload_images","in":"query"},{"required":false,"schema":{"title":"Save Conversations","type":"boolean"},"name":"save_conversations","in":"query"},{"required":false,"schema":{"title":"Voice To Text","type":"boolean"},"name":"voice_to_text","in":"query"},{"required":false,"schema":{"title":"Api Access","type":"boolean"},"name":"api_access","in":"query"},{"required":false,"schema":{"title":"Edit Knowledgebases","type":"boolean"},"name":"edit_knowledgebases","in":"query"},{"required":false,"schema":{"title":"Remove Watermark","type":"boolean"},"name":"remove_watermark","in":"query"},{"required":false,"schema":{"title":"White Labelled Solution","type":"boolean"},"name":"white_labelled_solution","in":"query"},{"required":false,"schema":{"title":"Chatbot Customization","type":"boolean"},"name":"chatbot_customization","in":"query"},{"required":false,"schema":{"title":"External App Integration","type":"boolean"},"name":"external_app_integration","in":"query"},{"required":false,"schema":{"title":"Dedicated Support Agent","type":"boolean","default":false},"name":"dedicated_support_agent","in":"query"},{"required":false,"schema":{"title":"Upload Websites Feature","type":"boolean"},"name":"upload_websites_feature","in":"query"},{"required":false,"schema":{"title":"Custom Url","type":"integer","default":0},"name":"custom_url","in":"query"},{"required":false,"schema":{"title":"Sources","type":"boolean","default":false},"name":"sources","in":"query"},{"required":false,"schema":{"title":"Analytics Dashboard","type":"boolean","default":false},"name":"analytics_dashboard","in":"query"},{"required":false,"schema":{"title":"Whatsapp Integration","type":"boolean","default":false},"name":"whatsapp_integration","in":"query"},{"required":false,"schema":{"title":"Share Conversations","type":"boolean"},"name":"share_conversations","in":"query"},{"required":false,"schema":{"title":"Api Setup Support","type":"boolean"},"name":"api_setup_support","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Create Custom Tier Tiers Custom Tier Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/tiers/clear_cache":{"post":{"tags":["Tiers"],"summary":"Clear Tiers Cache","operationId":"clear_tiers_cache_tiers_clear_cache_post","parameters":[{"required":false,"schema":{"title":"Date Created From","type":"string","format":"date-time"},"name":"date_created_from","in":"query"},{"required":false,"schema":{"title":"Date Created To","type":"string","format":"date-time"},"name":"date_created_to","in":"query"},{"required":false,"schema":{"title":"Date Updated From","type":"string","format":"date-time"},"name":"date_updated_from","in":"query"},{"required":false,"schema":{"title":"Date Updated To","type":"string","format":"date-time"},"name":"date_updated_to","in":"query"},{"required":false,"schema":{"$ref":"#/components/schemas/app__models__core__TierBase__TierType"},"name":"type","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Clear Tiers Cache Tiers Clear Cache Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/tiers/downgrade/feedback":{"post":{"tags":["Tiers"],"summary":"Downgrade Feedback","operationId":"downgrade_feedback_tiers_downgrade_feedback_post","parameters":[{"required":true,"schema":{"$ref":"#/components/schemas/app__models__core__TierBase__TierType"},"name":"current_tier","in":"query"},{"required":true,"schema":{"$ref":"#/components/schemas/app__models__core__TierBase__TierType"},"name":"new_tier","in":"query"},{"required":true,"schema":{"title":"User Id","type":"string","format":"uuid"},"name":"user_id","in":"query"},{"required":true,"schema":{"title":"Feedback","type":"string"},"name":"feedback","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Downgrade Feedback Tiers Downgrade Feedback Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tiers/downgrade/features-lost":{"get":{"tags":["Tiers"],"summary":"Get Lost Features On Downgrade","operationId":"get_lost_features_on_downgrade_tiers_downgrade_features_lost_get","parameters":[{"required":true,"schema":{"$ref":"#/components/schemas/app__models__core__TierBase__TierType"},"name":"current_tier","in":"query"},{"required":true,"schema":{"$ref":"#/components/schemas/app__models__core__TierBase__TierType"},"name":"new_tier","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TierLostFeaturesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/tiers/downgrade/team-management":{"post":{"tags":["Tiers"],"summary":"Downgrade Team Management","operationId":"downgrade_team_management_tiers_downgrade_team_management_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TierDowngradeTeamManagementPayload"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/tiers/discount":{"post":{"tags":["Tiers"],"summary":"Discount Tier","operationId":"discount_tier_tiers_discount_post","parameters":[{"required":true,"schema":{"title":"User Id","type":"string","format":"uuid"},"name":"user_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Discount Tier Tiers Discount Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/teams/default-images":{"get":{"tags":["teams"],"summary":"Get Default Images","operationId":"get_default_images_teams_default_images_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultImagesResponse"}}}}}}},"/teams":{"get":{"tags":["teams"],"summary":"Get Teams","operationId":"get_teams_teams_get","parameters":[{"required":false,"schema":{"title":"Date Created From","type":"string","format":"date-time"},"name":"date_created_from","in":"query"},{"required":false,"schema":{"title":"Date Created To","type":"string","format":"date-time"},"name":"date_created_to","in":"query"},{"required":false,"schema":{"title":"Date Updated From","type":"string","format":"date-time"},"name":"date_updated_from","in":"query"},{"required":false,"schema":{"title":"Date Updated To","type":"string","format":"date-time"},"name":"date_updated_to","in":"query"},{"required":false,"schema":{"title":"Name  Like","type":"string"},"name":"name__like","in":"query"},{"required":false,"schema":{"title":"Limit","type":"integer","default":50},"name":"limit","in":"query"},{"required":false,"schema":{"title":"Offset","type":"integer","default":0},"name":"offset","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["teams"],"summary":"Create Team","operationId":"create_team_teams_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Team"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/teams/{team_id}":{"get":{"tags":["teams"],"summary":"Get Team","operationId":"get_team_teams__team_id__get","parameters":[{"required":true,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Team"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"delete":{"tags":["teams"],"summary":"Delete Team","operationId":"delete_team_teams__team_id__delete","parameters":[{"required":true,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"patch":{"tags":["teams"],"summary":"Update Team","operationId":"update_team_teams__team_id__patch","parameters":[{"required":true,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamPatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Team"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/teams/{team_id}/leave-team":{"delete":{"tags":["teams"],"summary":"Leave Team","operationId":"leave_team_teams__team_id__leave_team_delete","parameters":[{"required":true,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/teams/{team_id}/members":{"get":{"tags":["teams"],"summary":"Get Team Members","operationId":"get_team_members_teams__team_id__members_get","parameters":[{"required":true,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamMemberListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["teams"],"summary":"Add Team Member","operationId":"add_team_member_teams__team_id__members_post","parameters":[{"required":true,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamMemberPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamMemberAddResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/teams/{team_id}/members/resend":{"post":{"tags":["teams"],"summary":"Resend Team Invitation","operationId":"resend_team_invitation_teams__team_id__members_resend_post","parameters":[{"required":true,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"path"},{"required":true,"schema":{"title":"Team User Id","type":"string","format":"uuid"},"name":"team_user_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Resend Team Invitation Teams  Team Id  Members Resend Post","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/teams/{team_id}/members/accept":{"post":{"tags":["teams"],"summary":"Accept Team Invite","operationId":"accept_team_invite_teams__team_id__members_accept_post","parameters":[{"required":true,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"path"},{"required":true,"schema":{"title":"Token","type":"string","format":"uuid"},"name":"token","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamUser"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/teams/{team_id}/members/{member_id}/cancel":{"post":{"tags":["teams"],"summary":"Cancel Team Invite","operationId":"cancel_team_invite_teams__team_id__members__member_id__cancel_post","parameters":[{"required":true,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"path"},{"required":true,"schema":{"title":"Member Id","type":"string","format":"uuid"},"name":"member_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamUser"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/teams/{team_id}/members/{member_id}":{"delete":{"tags":["teams"],"summary":"Delete Team Member","operationId":"delete_team_member_teams__team_id__members__member_id__delete","parameters":[{"required":true,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"path"},{"required":true,"schema":{"title":"Member Id","type":"string","format":"uuid"},"name":"member_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"patch":{"tags":["teams"],"summary":"Update Team Member","operationId":"update_team_member_teams__team_id__members__member_id__patch","parameters":[{"required":true,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"path"},{"required":true,"schema":{"title":"Member Id","type":"string","format":"uuid"},"name":"member_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamMemberPatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamMemberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/teams/{team_id}/members/{member_id}/reset-credits":{"patch":{"tags":["teams"],"summary":"Reset Team Member Credits","operationId":"reset_team_member_credits_teams__team_id__members__member_id__reset_credits_patch","parameters":[{"required":true,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"path"},{"required":true,"schema":{"title":"Member Id","type":"string","format":"uuid"},"name":"member_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamUser"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/teams/{team_id}/kbs":{"get":{"tags":["teams"],"summary":"Get Team Kbs","operationId":"get_team_kbs_teams__team_id__kbs_get","parameters":[{"required":true,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeBaseListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/teams/{team_id}/kbs/{kb_id}":{"post":{"tags":["teams"],"summary":"Add Kb To Team","operationId":"add_kb_to_team_teams__team_id__kbs__kb_id__post","parameters":[{"required":true,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"path"},{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"delete":{"tags":["teams"],"summary":"Remove Kb From Team","operationId":"remove_kb_from_team_teams__team_id__kbs__kb_id__delete","parameters":[{"required":true,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"path"},{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/teams/{team_id}/members/{member_id}/kbs/{kb_id}":{"post":{"tags":["teams"],"summary":"Add Kb Permission","operationId":"add_kb_permission_teams__team_id__members__member_id__kbs__kb_id__post","parameters":[{"required":true,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"path"},{"required":true,"schema":{"title":"Member Id","type":"string","format":"uuid"},"name":"member_id","in":"path"},{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"delete":{"tags":["teams"],"summary":"Remove Kb Permission","operationId":"remove_kb_permission_teams__team_id__members__member_id__kbs__kb_id__delete","parameters":[{"required":true,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"path"},{"required":true,"schema":{"title":"Member Id","type":"string","format":"uuid"},"name":"member_id","in":"path"},{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/team-roles/init":{"post":{"tags":["team_roles"],"summary":"Init Team Roles","operationId":"init_team_roles_team_roles_init_post","parameters":[{"description":"Replace existing roles","required":false,"schema":{"title":"Replace","type":"boolean","description":"Replace existing roles","default":false},"name":"replace","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/team-roles/all-permissions":{"get":{"tags":["team_roles"],"summary":"Get All Permissions","description":"Get all the permissions","operationId":"get_all_permissions_team_roles_all_permissions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AllPermissionsResponse"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/team-roles":{"get":{"tags":["team_roles"],"summary":"Get Team Roles","description":"Get all the team roles","operationId":"get_team_roles_team_roles_get","parameters":[{"required":false,"schema":{"title":"Date Created From","type":"string","format":"date-time"},"name":"date_created_from","in":"query"},{"required":false,"schema":{"title":"Date Created To","type":"string","format":"date-time"},"name":"date_created_to","in":"query"},{"required":false,"schema":{"title":"Date Updated From","type":"string","format":"date-time"},"name":"date_updated_from","in":"query"},{"required":false,"schema":{"title":"Date Updated To","type":"string","format":"date-time"},"name":"date_updated_to","in":"query"},{"required":false,"schema":{"title":"Name  Like","type":"string"},"name":"name__like","in":"query"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"},{"required":false,"schema":{"title":"Limit","type":"integer","default":50},"name":"limit","in":"query"},{"required":false,"schema":{"title":"Offset","type":"integer","default":0},"name":"offset","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamRoleListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["team_roles"],"summary":"Create Team Role","description":"Create a new team role","operationId":"create_team_role_team_roles_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamRolePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamRoleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/team-roles/{team_role_id}":{"get":{"tags":["team_roles"],"summary":"Get Team Role","description":"Get a team role by id","operationId":"get_team_role_team_roles__team_role_id__get","parameters":[{"required":true,"schema":{"title":"Team Role Id","type":"string","format":"uuid"},"name":"team_role_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamRoleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"delete":{"tags":["team_roles"],"summary":"Delete Team Role","description":"Delete a team role","operationId":"delete_team_role_team_roles__team_role_id__delete","parameters":[{"required":true,"schema":{"title":"Team Role Id","type":"string","format":"uuid"},"name":"team_role_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"patch":{"tags":["team_roles"],"summary":"Update Team Role","description":"Update a team role","operationId":"update_team_role_team_roles__team_role_id__patch","parameters":[{"required":true,"schema":{"title":"Team Role Id","type":"string","format":"uuid"},"name":"team_role_id","in":"path"},{"required":true,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamRolePatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamRoleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/profile":{"get":{"tags":["Profile"],"summary":"Get Profile","description":"Get user profile information.","operationId":"get_profile_profile_get","parameters":[{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProfileResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/profile/credits":{"get":{"tags":["Profile"],"summary":"Get Credits","description":"Get credits usage and availability for the user.","operationId":"get_credits_profile_credits_get","parameters":[{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/profile/first_time":{"get":{"tags":["Profile"],"summary":"Get First Time Notification Shown","description":"Get whether the first-time user notification has been shown and the user's tier type.","operationId":"get_first_time_notification_shown_profile_first_time_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirstTimeUserResponse"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["Profile"],"summary":"Post First Time Notification Shown","description":"Update the first-time user notification status.","operationId":"post_first_time_notification_shown_profile_first_time_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/profile/enabled-realtime-voice":{"post":{"tags":["Profile"],"summary":"Post Enabled Realtime Voice","description":"Update the enabled realtime voice status.","operationId":"post_enabled_realtime_voice_profile_enabled_realtime_voice_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/profile/default-images":{"get":{"tags":["Profile"],"summary":"Get Default Images","operationId":"get_default_images_profile_default_images_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultImagesResponse"}}}}}}},"/sso/google/login":{"get":{"tags":["Google SSO"],"summary":"Google Login","description":"Endpoint to perform Google authentication and login.","operationId":"google_login_sso_google_login_get","parameters":[{"description":"The access token obtained from Google authentication.","required":true,"schema":{"title":"Access Token","type":"string","description":"The access token obtained from Google authentication."},"name":"access_token","in":"query"},{"description":"The contact consent value.","required":false,"schema":{"title":"Contact Consent","type":"boolean","description":"The contact consent value.","default":false},"name":"contact_consent","in":"query"},{"description":"Optional referral code for Rewardful program.","required":false,"schema":{"title":"Rewardful Referral","type":"string","description":"Optional referral code for Rewardful program."},"name":"rewardful_referral","in":"query"},{"description":"Whether to remember the user for 2 weeks","required":false,"schema":{"title":"Remember Me","type":"boolean","description":"Whether to remember the user for 2 weeks","default":false},"name":"remember_me","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__google__TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sso/google/signup":{"get":{"tags":["Google SSO"],"summary":"Google Signup","description":"Endpoint to perform Google authentication and signup.","operationId":"google_signup_sso_google_signup_get","parameters":[{"description":"The access token obtained from Google authentication.","required":true,"schema":{"title":"Access Token","type":"string","description":"The access token obtained from Google authentication."},"name":"access_token","in":"query"},{"description":"The contact consent value.","required":false,"schema":{"title":"Contact Consent","type":"boolean","description":"The contact consent value.","default":false},"name":"contact_consent","in":"query"},{"description":"Optional referral code for Rewardful program.","required":false,"schema":{"title":"Rewardful Referral","type":"string","description":"Optional referral code for Rewardful program."},"name":"rewardful_referral","in":"query"},{"description":"The knowledge base ID.","required":false,"schema":{"title":"Knowledge Base ID","type":"string","description":"The knowledge base ID.","format":"uuid"},"name":"kb_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/login":{"post":{"tags":["Login"],"summary":"Login User","description":"Endpoint to login a user.","operationId":"login_user_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginData"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__login__TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/login/refresh":{"post":{"tags":["Login"],"summary":"Refresh Jwt","description":"Token refresh endpoint. Generates a fresh token for the logged user","operationId":"refresh_jwt_login_refresh_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__login__TokenResponse"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/statistics/{kb_id}":{"get":{"tags":["Statistics"],"summary":"Get Analytics Dashboard Statistics","description":"Endpoint to get analytics dashboard Data.","operationId":"get_analytics_dashboard_statistics_statistics__kb_id__get","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"},{"required":true,"schema":{"title":"Date From","type":"string","format":"date-time"},"name":"date_from","in":"query"},{"required":true,"schema":{"title":"Date To","type":"string","format":"date-time"},"name":"date_to","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsDashboardResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["Statistics"],"summary":"Add Statistics Manually","description":"Endpoint to set analytics dashboard Data.","operationId":"add_statistics_manually_statistics__kb_id__post","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"title":"Stats Data","type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"integer"}},"default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsDashboardResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/topup":{"get":{"tags":["Credits Top-Up"],"summary":"Get Topup","description":"Get a list of top-up options based on the current user's available credits.","operationId":"get_topup_topup_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Topup Topup Get","type":"array","items":{"$ref":"#/components/schemas/TopUpOption"}}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/customization/":{"get":{"tags":["Knowledge Base Customizations"],"summary":"Get Knowledge Base Customization","description":"Endpoint to get knowledge base customization.","operationId":"get_knowledge_base_customization_knowledge_bases_customization__get","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Knowledge Base Customization Knowledge Bases Customization  Get","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["Knowledge Base Customizations"],"summary":"Create Knowledge Base Customization","description":"Endpoint to create knowledge base customization.","operationId":"create_knowledge_base_customization_knowledge_bases_customization__post","parameters":[{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeBaseCustomizationPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeBaseCustomization"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/customization/shared":{"get":{"tags":["Knowledge Base Customizations"],"summary":"Get Knowledge Base Customization With Token","description":"Endpoint to get knowledge base customization using a shared token.","operationId":"get_knowledge_base_customization_with_token_knowledge_bases_customization_shared_get","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"},{"required":true,"schema":{"title":"Token","type":"string","format":"uuid"},"name":"token","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Knowledge Base Customization With Token Knowledge Bases Customization Shared Get","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/knowledge-bases/customization/custom_url":{"get":{"tags":["Knowledge Base Customizations"],"summary":"Get Knowledge Base From Custom Url","description":"Endpoint to get a knowledge base customization based on the custom url","operationId":"get_knowledge_base_from_custom_url_knowledge_bases_customization_custom_url_get","parameters":[{"required":true,"schema":{"title":"Custom Url","type":"string"},"name":"custom_url","in":"query"},{"required":false,"schema":{"title":"Kb Id","type":"string"},"name":"kb_id","in":"query"},{"required":false,"schema":{"title":"Token","type":"string"},"name":"token","in":"query"},{"required":false,"schema":{"title":"Modeltype","type":"string"},"name":"modeltype","in":"query"},{"required":false,"schema":{"title":"Logo","type":"string"},"name":"logo","in":"query"},{"required":false,"schema":{"title":"Mode","type":"string"},"name":"mode","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomizationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/knowledge-bases/customization/{kb_id}":{"patch":{"tags":["Knowledge Base Customizations"],"summary":"Patch Knowledge Base Customization","operationId":"patch_knowledge_base_customization_knowledge_bases_customization__kb_id__patch","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeBaseCustomizationPatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Patch Knowledge Base Customization Knowledge Bases Customization  Kb Id  Patch","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/customization/upload/":{"post":{"tags":["Knowledge Base Customizations"],"summary":"Create Upload File","description":"Endpoint to upload a file for a knowledge base.","operationId":"create_upload_file_knowledge_bases_customization_upload__post","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_upload_file_knowledge_bases_customization_upload__post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadPicResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/knowledge-bases/customization/authenticate":{"post":{"tags":["Knowledge Base Customizations"],"summary":"Authenticate","description":"Endpoint to authenticate in a kb chatbot.","operationId":"authenticate_knowledge_bases_customization_authenticate_post","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"},{"required":true,"schema":{"title":"Password","type":"string"},"name":"password","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/knowledge-bases/customization/whitelisted_domains/{kb_id}":{"get":{"tags":["Knowledge Base Customizations"],"summary":"Get Whitelisted Domains","description":"Get whitelisted domains.","operationId":"get_whitelisted_domains_knowledge_bases_customization_whitelisted_domains__kb_id__get","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Whitelisted Domains Knowledge Bases Customization Whitelisted Domains  Kb Id  Get","type":"array","items":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/knowledge-bases/customization/{kb_id}/toggle-autorefresh":{"patch":{"tags":["Knowledge Base Customizations"],"summary":"Toggle Auto Refresh","description":"Endpoint to toggle auto refresh for a knowledge base.","operationId":"toggle_auto_refresh_knowledge_bases_customization__kb_id__toggle_autorefresh_patch","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutoRefreshTogglePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Toggle Auto Refresh Knowledge Bases Customization  Kb Id  Toggle Autorefresh Patch","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/customization/{kb_id}/intercom":{"get":{"tags":["Knowledge Base Customizations"],"summary":"Get Intercome Settings","description":"Endpoint to get Intercom settings.","operationId":"get_intercome_settings_knowledge_bases_customization__kb_id__intercom_get","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntercomSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"patch":{"tags":["Knowledge Base Customizations"],"summary":"Update Intercom Settings","description":"Endpoint to update Intercom settings.","operationId":"update_intercom_settings_knowledge_bases_customization__kb_id__intercom_patch","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntercomSettingsPatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntercomSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/customization/{kb_id}/toggle-chatbot-activation":{"patch":{"tags":["Knowledge Base Customizations"],"summary":"Toggle Chatbot Activation","description":"Endpoint to toggle chatbot activation for a knowledge base.","operationId":"toggle_chatbot_activation_knowledge_bases_customization__kb_id__toggle_chatbot_activation_patch","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatbotActivationTogglePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Toggle Chatbot Activation Knowledge Bases Customization  Kb Id  Toggle Chatbot Activation Patch","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/customization/{kb_id}/safety":{"get":{"tags":["Knowledge Base Customizations"],"summary":"Get Safety Settings","description":"Endpoint to get Safety settings.","operationId":"get_safety_settings_knowledge_bases_customization__kb_id__safety_get","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SafetySettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"patch":{"tags":["Knowledge Base Customizations"],"summary":"Update Safety Settings","description":"Endpoint to update Safety settings.","operationId":"update_safety_settings_knowledge_bases_customization__kb_id__safety_patch","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SafetySettingsPatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SafetySettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/customization/{kb_id}/overview":{"get":{"tags":["Knowledge Base Customizations"],"summary":"Get Kb Customization Overview","description":"Endpoint to get Customization Overview.","operationId":"get_kb_customization_overview_knowledge_bases_customization__kb_id__overview_get","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KbCustomizationOverviewResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/user/api_key":{"get":{"tags":["User"],"summary":"Get Api Key","description":"Get your API-Key.","operationId":"get_api_key_user_api_key_get","parameters":[{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserApiKeyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]},"post":{"tags":["User"],"summary":"Create New Api Key","description":"Create a new API-Key.","operationId":"create_new_api_key_user_api_key_post","parameters":[{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserApiKeyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]},"delete":{"tags":["User"],"summary":"Delete Api Key","description":"Delete your API-Key.","operationId":"delete_api_key_user_api_key_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/user/clear_user_tiers_cache":{"delete":{"tags":["User"],"summary":"Clear User Tiers Cache","description":"Delete cache in redis regarding user tiers.","operationId":"clear_user_tiers_cache_user_clear_user_tiers_cache_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/user":{"delete":{"tags":["User"],"summary":"Delete User","description":"Delete a user and all associated data.","operationId":"delete_user_user_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/user/set_custom_urls_limit":{"post":{"tags":["User"],"summary":"Set Custom Urls Limit","description":"Set custom urls limit for specific user.","operationId":"set_custom_urls_limit_user_set_custom_urls_limit_post","parameters":[{"required":true,"schema":{"title":"User Id","type":"string","format":"uuid"},"name":"user_id","in":"query"},{"required":true,"schema":{"title":"Custom Urls Limit","type":"integer"},"name":"custom_urls_limit","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/user/export-users":{"get":{"tags":["User"],"summary":"Export Users","description":"Export users.","operationId":"export_users_user_export_users_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/user/credits-1000":{"get":{"tags":["User"],"summary":"Add Thousand Credits","description":"Get user credits data.","operationId":"add_thousand_credits_user_credits_1000_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/user/user_credits":{"get":{"tags":["User"],"summary":"User Credits","description":"Get user credits data.","operationId":"user_credits_user_user_credits_get","parameters":[{"required":true,"schema":{"title":"Email","type":"string"},"name":"email","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/user/change_user_credits":{"post":{"tags":["User"],"summary":"Change User Credits","description":"Change user available credits based on email.","operationId":"change_user_credits_user_change_user_credits_post","parameters":[{"required":true,"schema":{"title":"Email","type":"string"},"name":"email","in":"query"},{"required":true,"schema":{"title":"New Credits Value","type":"integer"},"name":"new_credits_value","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/user/add_openai_key":{"post":{"tags":["User"],"summary":"Add Openai Api Key","description":"Add user open AI api key","operationId":"add_openai_api_key_user_add_openai_key_post","requestBody":{"content":{"application/json":{"schema":{"title":"Openai Api Key","type":"string"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/user/referrals":{"get":{"tags":["User"],"summary":"Get User Referrals","description":"Get user referrals","operationId":"get_user_referrals_user_referrals_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserReferralsResponse"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/user/reset-password":{"post":{"tags":["User"],"summary":"Reset Password","description":"Change password","operationId":"reset_password_user_reset_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetPasswordRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__routers__login__TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/user/generate-2fa-qrcode":{"post":{"tags":["User"],"summary":"Generate 2Fa Qrcode","description":"Generate 2FA QR Code","operationId":"generate_2fa_qrcode_user_generate_2fa_qrcode_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/user/generate-2fa-url":{"post":{"tags":["User"],"summary":"Generate 2Fa Url","description":"Generate 2FA URL","operationId":"generate_2fa_url_user_generate_2fa_url_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/user/generate-2fa-setup-key":{"post":{"tags":["User"],"summary":"Generate 2Fa Setup Key","description":"Generate 2FA Setup Key","operationId":"generate_2fa_setup_key_user_generate_2fa_setup_key_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/user/check-2fa-otp":{"post":{"tags":["User"],"summary":"Check 2Fa Otp","description":"Check 2FA OTP","operationId":"check_2fa_otp_user_check_2fa_otp_post","parameters":[{"required":true,"schema":{"title":"Otp","type":"string"},"name":"otp","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/user/disable-2fa":{"post":{"tags":["User"],"summary":"Disable 2Fa","description":"Disable 2FA","operationId":"disable_2fa_user_disable_2fa_post","parameters":[{"required":true,"schema":{"title":"Otp","type":"string"},"name":"otp","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/user/avatar_apply":{"post":{"tags":["User"],"summary":"Apply For Avatar","description":"Apply for avatar access.","operationId":"apply_for_avatar_user_avatar_apply_post","parameters":[{"required":true,"schema":{"title":"Reason","type":"string"},"name":"reason","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/zapier/trigger_prompt":{"post":{"tags":["Zapier"],"summary":"Trigger Prompt","operationId":"trigger_prompt_zapier_trigger_prompt_post","parameters":[{"required":false,"schema":{"title":"Conversation Id","type":"string"},"name":"conversation_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_trigger_prompt_zapier_trigger_prompt_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Trigger Prompt Zapier Trigger Prompt Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/zapier/subscribe":{"post":{"tags":["Zapier"],"summary":"Subscribe To Event","description":"Subscribe to an event.","operationId":"subscribe_to_event_zapier_subscribe_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ZapierHookPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Subscribe To Event Zapier Subscribe Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/zapier/unsubscribe":{"post":{"tags":["Zapier"],"summary":"Unsubscribe From Event","description":"Unsubscribe from an event.","operationId":"unsubscribe_from_event_zapier_unsubscribe_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ZapierHookPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Unsubscribe From Event Zapier Unsubscribe Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/zapier/list":{"get":{"tags":["Zapier"],"summary":"Perform List","description":"Get list of conversations form data structured for Zapier.","operationId":"perform_list_zapier_list_get","parameters":[{"required":true,"schema":{"title":"Knowledge Base Name","type":"string"},"name":"knowledge_base_name","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Perform List Zapier List Get","type":"array","items":{"type":"object"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/pabbly/subscribe":{"post":{"tags":["Pabbly"],"summary":"Subscribe To Event","description":"Subscribe to an event.","operationId":"subscribe_to_event_pabbly_subscribe_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ZapierHookPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Subscribe To Event Pabbly Subscribe Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/pabbly/unsubscribe":{"post":{"tags":["Pabbly"],"summary":"Unsubscribe From Event","description":"Unsubscribe from an event.","operationId":"unsubscribe_from_event_pabbly_unsubscribe_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ZapierHookPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Unsubscribe From Event Pabbly Unsubscribe Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/pabbly/trigger_prompt":{"post":{"tags":["Pabbly"],"summary":"Trigger Prompt","operationId":"trigger_prompt_pabbly_trigger_prompt_post","parameters":[{"required":false,"schema":{"title":"Conversation Id","type":"string"},"name":"conversation_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_trigger_prompt_pabbly_trigger_prompt_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Trigger Prompt Pabbly Trigger Prompt Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/whatsapp/webhooks":{"get":{"tags":["Whatsapp"],"summary":"Webhook Verification","operationId":"webhook_verification_whatsapp_webhooks_get","parameters":[{"description":"hub.mode","required":true,"schema":{"title":"Hub.Mode","type":"string","description":"hub.mode"},"name":"hub.mode","in":"query"},{"description":"hub.challenge","required":true,"schema":{"title":"Hub.Challenge","type":"integer","description":"hub.challenge"},"name":"hub.challenge","in":"query"},{"description":"hub.verify_token","required":true,"schema":{"title":"Hub.Verify Token","type":"string","description":"hub.verify_token"},"name":"hub.verify_token","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Webhook Verification Whatsapp Webhooks Get","type":"integer"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Whatsapp"],"summary":"Webhook Events","operationId":"webhook_events_whatsapp_webhooks_post","requestBody":{"content":{"application/json":{"schema":{"title":"Payload","type":"object"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/whatsapp/whatsapp-integration":{"post":{"tags":["Whatsapp"],"summary":"Create Whatsapp Integration","description":"Create a Whatsapp integration and save it in the database.","operationId":"create_whatsapp_integration_whatsapp_whatsapp_integration_post","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"},{"required":false,"schema":{"title":"Graph Version","type":"string"},"name":"graph_version","in":"query"},{"required":false,"schema":{"title":"Webhook Verification Token","type":"string"},"name":"webhook_verification_token","in":"query"},{"required":false,"schema":{"title":"Phone Number","type":"string"},"name":"phone_number","in":"query"},{"required":false,"schema":{"title":"Business Phone Id","type":"string"},"name":"business_phone_id","in":"query"},{"required":false,"schema":{"title":"Business Account Id","type":"string"},"name":"business_account_id","in":"query"},{"required":false,"schema":{"title":"Test Meta Token","type":"string"},"name":"test_meta_token","in":"query"},{"required":false,"schema":{"title":"Meta Token","type":"string"},"name":"meta_token","in":"query"},{"required":false,"schema":{"title":"Template Name","type":"string"},"name":"template_name","in":"query"},{"required":false,"schema":{"title":"Active","type":"boolean","default":false},"name":"active","in":"query"},{"required":false,"schema":{"title":"Enabled","type":"boolean","default":false},"name":"enabled","in":"query"},{"required":true,"schema":{"$ref":"#/components/schemas/ModelType"},"name":"model_type","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WhatsappIntegrationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/whatsapp/whatsapp-integrations":{"get":{"tags":["Whatsapp"],"summary":"Get All Whatsapp Integrations For User","description":"Retrieve Whatsapp integrations for user.","operationId":"get_all_whatsapp_integrations_for_user_whatsapp_whatsapp_integrations_get","parameters":[{"required":false,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get All Whatsapp Integrations For User Whatsapp Whatsapp Integrations Get","type":"array","items":{"$ref":"#/components/schemas/WhatsappIntegration"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"put":{"tags":["Whatsapp"],"summary":"Update Whatsapp Integration For User","description":"Update Whatsapp integration for the logged-in user.","operationId":"update_whatsapp_integration_for_user_whatsapp_whatsapp_integrations_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WhatsappIntegrationUpdatePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WhatsappIntegrationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/whatsapp/whatsapp-integration/{integration_id}":{"get":{"tags":["Whatsapp"],"summary":"Get Whatsapp Integration","description":"Retrieve a Whatsapp integration by its ID.","operationId":"get_whatsapp_integration_whatsapp_whatsapp_integration__integration_id__get","parameters":[{"required":true,"schema":{"title":"Integration Id","type":"string","format":"uuid"},"name":"integration_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WhatsappIntegration"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tasks/{task_id}":{"get":{"tags":["Celery Tasks"],"summary":"Get Task","operationId":"get_task_tasks__task_id__get","parameters":[{"required":true,"schema":{"title":"Task Id","type":"string"},"name":"task_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Task Tasks  Task Id  Get","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/tasks/stop_index/{kb_id}":{"post":{"tags":["Celery Tasks"],"summary":"Stop Indexing","operationId":"stop_indexing_tasks_stop_index__kb_id__post","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Stop Indexing Tasks Stop Index  Kb Id  Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/agent/send-invitation":{"post":{"tags":["Agent User"],"summary":"Send Agent Invitation","operationId":"send_agent_invitation_agent_send_invitation_post","parameters":[{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentInvitationCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentInvitation"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/agent/add-agent-to-organization":{"post":{"tags":["Agent User"],"summary":"Add Agent To Organization","description":"Accept an invitation using the provided token.","operationId":"add_agent_to_organization_agent_add_agent_to_organization_post","parameters":[{"required":true,"schema":{"title":"Agent Email","type":"string"},"name":"agent_email","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentInvitation"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/agent/accept-invitation/{invitation_token}":{"post":{"tags":["Agent User"],"summary":"Accept Invitation","description":"Accept an invitation using the provided token.","operationId":"accept_invitation_agent_accept_invitation__invitation_token__post","parameters":[{"required":true,"schema":{"title":"Invitation Token","type":"string","format":"uuid"},"name":"invitation_token","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentInvitation"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/agent/create-takeover-request/{conversation_id}":{"post":{"tags":["Agent User"],"summary":"Create Takeover Request","operationId":"create_takeover_request_agent_create_takeover_request__conversation_id__post","parameters":[{"required":true,"schema":{"title":"Conversation Id","type":"string","format":"uuid"},"name":"conversation_id","in":"path"}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentTakeoverRequest"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/agent/allowed-states":{"get":{"tags":["Agent User"],"summary":"Get Allowed States","description":"Endpoint to retrieve the list of allowed states.","operationId":"get_allowed_states_agent_allowed_states_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Allowed States Agent Allowed States Get","type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/agent/agent-takeover/{agent_takeover_request_id}":{"post":{"tags":["Agent User"],"summary":"Agent Takeover","operationId":"agent_takeover_agent_agent_takeover__agent_takeover_request_id__post","parameters":[{"required":true,"schema":{"title":"Agent Takeover Request Id","type":"string","format":"uuid"},"name":"agent_takeover_request_id","in":"path"}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentConversation"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/agent/agents-permissions":{"get":{"tags":["Agent User"],"summary":"Agent Permissions","operationId":"agent_permissions_agent_agents_permissions_get","parameters":[{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Agent Permissions Agent Agents Permissions Get","type":"array","items":{"$ref":"#/components/schemas/AgentsPermissionsResponse"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/agent/remove-agent/{agent_email}":{"delete":{"tags":["Agent User"],"summary":"Remove Agent","description":"Remove agent from organization.","operationId":"remove_agent_agent_remove_agent__agent_email__delete","parameters":[{"required":true,"schema":{"title":"Agent Email","type":"string"},"name":"agent_email","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/agent/flag/{agent_takeover_request_id}":{"post":{"tags":["Agent User"],"summary":"Flag Agent Takeover Request","operationId":"flag_agent_takeover_request_agent_flag__agent_takeover_request_id__post","parameters":[{"required":true,"schema":{"title":"Agent Takeover Request Id","type":"string","format":"uuid"},"name":"agent_takeover_request_id","in":"path"}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentTakeoverRequest"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]},"delete":{"tags":["Agent User"],"summary":"Remove Agent Takeover Flag","operationId":"remove_agent_takeover_flag_agent_flag__agent_takeover_request_id__delete","parameters":[{"required":true,"schema":{"title":"Agent Takeover Request Id","type":"string","format":"uuid"},"name":"agent_takeover_request_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentTakeoverRequest"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/agent/agent-takeover-request/{agent_takeover_request_id}/state":{"patch":{"tags":["Agent User"],"summary":"Update Agent Takeover Request State","description":"Update agent takeover state. Allowed states are 'Taken', 'Waiting', 'Resolved', 'AI'","operationId":"update_agent_takeover_request_state_agent_agent_takeover_request__agent_takeover_request_id__state_patch","parameters":[{"required":true,"schema":{"title":"Agent Takeover Request Id","type":"string","format":"uuid"},"name":"agent_takeover_request_id","in":"path"},{"required":true,"schema":{"title":"New State","type":"string"},"name":"new_state","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentTakeoverRequest"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/agent/agent-takeover-request/{agent_takeover_request_id}/poll":{"get":{"tags":["Agent User"],"summary":"Poll Agent Takeover Request","description":"Check if request has been taken","operationId":"poll_agent_takeover_request_agent_agent_takeover_request__agent_takeover_request_id__poll_get","parameters":[{"required":true,"schema":{"title":"Agent Takeover Request Id","type":"string","format":"uuid"},"name":"agent_takeover_request_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Poll Agent Takeover Request Agent Agent Takeover Request  Agent Takeover Request Id  Poll Get","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/agent/agent-dashboard-details/{conversation_id}":{"get":{"tags":["Agent User"],"summary":"Get Agent Dashboard Details Response","operationId":"get_agent_dashboard_details_response_agent_agent_dashboard_details__conversation_id__get","parameters":[{"required":true,"schema":{"title":"Conversation Id","type":"string","format":"uuid"},"name":"conversation_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentDashboardResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/agent/agent-takeover-request/{agent_takeover_request_id}/{category_id}":{"patch":{"tags":["Agent User"],"summary":"Update Agent Takeover Request Category","description":"Update agent takeover request category.","operationId":"update_agent_takeover_request_category_agent_agent_takeover_request__agent_takeover_request_id___category_id__patch","parameters":[{"required":true,"schema":{"title":"Agent Takeover Request Id","type":"string","format":"uuid"},"name":"agent_takeover_request_id","in":"path"},{"required":true,"schema":{"title":"Category Id","type":"string","format":"uuid"},"name":"category_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentTakeoverRequest"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/agent/agent-takeover-request/assign/{agent_takeover_request_id}/{agent_user_id}":{"patch":{"tags":["Agent User"],"summary":"Assign Takeover Request To Agent","description":"Assign takeover request to an agent","operationId":"assign_takeover_request_to_agent_agent_agent_takeover_request_assign__agent_takeover_request_id___agent_user_id__patch","parameters":[{"required":true,"schema":{"title":"Agent Takeover Request Id","type":"string","format":"uuid"},"name":"agent_takeover_request_id","in":"path"},{"required":true,"schema":{"title":"Agent User Id","type":"string","format":"uuid"},"name":"agent_user_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentTakeoverRequest"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/agent/notifications":{"get":{"tags":["Agent User"],"summary":"List Notifications For User","operationId":"list_notifications_for_user_agent_notifications_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response List Notifications For User Agent Notifications Get","type":"array","items":{"$ref":"#/components/schemas/AgentNotification"}}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/agent/notifications/mark-read":{"patch":{"tags":["Agent User"],"summary":"Mark Notifications As Read","operationId":"mark_notifications_as_read_agent_notifications_mark_read_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkReadNotificationsPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Mark Notifications As Read Agent Notifications Mark Read Patch","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/agent/notifications/all":{"get":{"tags":["Agent User"],"summary":"List All Notifications","operationId":"list_all_notifications_agent_notifications_all_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response List All Notifications Agent Notifications All Get","type":"array","items":{"$ref":"#/components/schemas/AgentNotification"}}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/agent/edit-agent/{agent_user_id}":{"put":{"tags":["Agent User"],"summary":"Edit Agent","description":"Edit permissions and knowledge bases of an agent.","operationId":"edit_agent_agent_edit_agent__agent_user_id__put","parameters":[{"required":true,"schema":{"title":"Agent User Id","type":"string","format":"uuid"},"name":"agent_user_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditAgentPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOrganization"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/organization/create-organization":{"post":{"tags":["Agent Dashboard - Organization"],"summary":"Create Organization","operationId":"create_organization_organization_create_organization_post","parameters":[{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organization"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/organization/update-organization":{"put":{"tags":["Agent Dashboard - Organization"],"summary":"Update Organization","operationId":"update_organization_organization_update_organization_put","parameters":[{"description":"The ID of the organization to update.","required":true,"schema":{"title":"Organization ID","type":"string","description":"The ID of the organization to update.","format":"uuid"},"name":"organization_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organization"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/organization/delete-organization":{"delete":{"tags":["Agent Dashboard - Organization"],"summary":"Delete Organization","operationId":"delete_organization_organization_delete_organization_delete","parameters":[{"description":"The ID of the organization to delete.","required":true,"schema":{"title":"Organization ID","type":"string","description":"The ID of the organization to delete.","format":"uuid"},"name":"organization_id","in":"query"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/organization/get-organization":{"get":{"tags":["Agent Dashboard - Organization"],"summary":"Get Organization By User","operationId":"get_organization_by_user_organization_get_organization_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organization"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/agent-notification-settings":{"get":{"tags":["Agent Dashboard - Notification Settings"],"summary":"Read Agent Notification Settings By User","operationId":"read_agent_notification_settings_by_user_agent_notification_settings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentNotificationSettings"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"put":{"tags":["Agent Dashboard - Notification Settings"],"summary":"Update Agent Notification Settings By User","operationId":"update_agent_notification_settings_by_user_agent_notification_settings_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentNotificationSettingsUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentNotificationSettings"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["Agent Dashboard - Notification Settings"],"summary":"Create Agent Notification Settings","operationId":"create_agent_notification_settings_agent_notification_settings_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentNotificationSettingsCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentNotificationSettings"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/agent-working-hours":{"get":{"tags":["Agent Dashboard - Working Hours"],"summary":"Read Agent Working Hours By User","operationId":"read_agent_working_hours_by_user_agent_working_hours_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Read Agent Working Hours By User Agent Working Hours Get","type":"array","items":{"$ref":"#/components/schemas/AgentWorkingHours"}}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["Agent Dashboard - Working Hours"],"summary":"Create Agent Working Hours","operationId":"create_agent_working_hours_agent_working_hours_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentWorkingHoursCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentWorkingHours"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/agent-working-hours/{working_day_id}":{"put":{"tags":["Agent Dashboard - Working Hours"],"summary":"Update Agent Working Hours By Id","operationId":"update_agent_working_hours_by_id_agent_working_hours__working_day_id__put","parameters":[{"required":true,"schema":{"title":"Working Day Id","type":"string","format":"uuid"},"name":"working_day_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentWorkingHoursUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentWorkingHours"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"delete":{"tags":["Agent Dashboard - Working Hours"],"summary":"Delete Agent Working Hours By Id","operationId":"delete_agent_working_hours_by_id_agent_working_hours__working_day_id__delete","parameters":[{"required":true,"schema":{"title":"Working Day Id","type":"string","format":"uuid"},"name":"working_day_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentWorkingHours"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/agent/categories":{"get":{"tags":["Agent Category"],"summary":"Get Categories","operationId":"get_categories_agent_categories_get","parameters":[{"description":"The UUID of the organization for which to get the categories.","required":true,"schema":{"title":"Organization UUID","type":"string","description":"The UUID of the organization for which to get the categories.","format":"uuid"},"name":"organization_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Categories Agent Categories Get","type":"array","items":{"$ref":"#/components/schemas/CategoryResponse"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["Agent Category"],"summary":"Create Category","operationId":"create_category_agent_categories_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryCreateUpdateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/agent/categories/{category_id}":{"get":{"tags":["Agent Category"],"summary":"Get Category By Id","operationId":"get_category_by_id_agent_categories__category_id__get","parameters":[{"required":true,"schema":{"title":"Category Id","type":"string","format":"uuid"},"name":"category_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"put":{"tags":["Agent Category"],"summary":"Update Category","operationId":"update_category_agent_categories__category_id__put","parameters":[{"required":true,"schema":{"title":"Category Id","type":"string","format":"uuid"},"name":"category_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryCreateUpdateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"delete":{"tags":["Agent Category"],"summary":"Delete Category","operationId":"delete_category_agent_categories__category_id__delete","parameters":[{"required":true,"schema":{"title":"Category Id","type":"string","format":"uuid"},"name":"category_id","in":"path"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/agent-statistics/base-statistics":{"get":{"tags":["Agent Dashboard Statistics"],"summary":"Get Statistics","operationId":"get_statistics_agent_statistics_base_statistics_get","parameters":[{"required":false,"schema":{"title":"Start Date","type":"string","format":"date"},"name":"start_date","in":"query"},{"required":false,"schema":{"title":"End Date","type":"string","format":"date"},"name":"end_date","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentBaseStatisticsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/agent-statistics/extra-statistics":{"get":{"tags":["Agent Dashboard Statistics"],"summary":"Get Extra Statistics","operationId":"get_extra_statistics_agent_statistics_extra_statistics_get","parameters":[{"required":false,"schema":{"title":"Start Date","type":"string","format":"date"},"name":"start_date","in":"query"},{"required":false,"schema":{"title":"End Date","type":"string","format":"date"},"name":"end_date","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentExtraStatisticsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/agent/beams-auth":{"get":{"tags":["Pusher Beams"],"summary":"Beams Auth","operationId":"beams_auth_agent_beams_auth_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Beams Auth Agent Beams Auth Get"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/avatar/voices/clone":{"post":{"tags":["Avatars management"],"summary":"Clone Voice","operationId":"clone_voice_avatar_voices_clone_post","parameters":[{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloneRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoiceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/avatar/voice/{voice_id}":{"delete":{"tags":["Avatars management"],"summary":"Delete Voice","description":"Endpoint to delete a voice by id.","operationId":"delete_voice_avatar_voice__voice_id__delete","parameters":[{"required":true,"schema":{"title":"Voice Id","type":"string","format":"uuid"},"name":"voice_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvatarResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/avatar/voices/upload/":{"post":{"tags":["Avatars management"],"summary":"Create Voice Upload File","description":"Endpoint to a voice for cloning","operationId":"create_voice_upload_file_avatar_voices_upload__post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_voice_upload_file_avatar_voices_upload__post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Create Voice Upload File Avatar Voices Upload  Post","type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/avatar/":{"get":{"tags":["Avatars management"],"summary":"Get Avatars","description":"Endpoint to list all avatars available to the user.","operationId":"get_avatars_avatar__get","parameters":[{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Avatars Avatar  Get","type":"array","items":{"$ref":"#/components/schemas/AvatarResponse"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["Avatars management"],"summary":"Create Avatar","description":"Endpoint to create an avatar.","operationId":"create_avatar_avatar__post","parameters":[{"required":true,"schema":{"title":"Name","type":"string"},"name":"name","in":"query"},{"required":true,"schema":{"title":"Gender","type":"string"},"name":"gender","in":"query"},{"required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/AvatarAge"}],"default":"Adult"},"name":"age","in":"query"},{"required":false,"schema":{"title":"Hair Id","type":"string","format":"uuid"},"name":"hair_id","in":"query"},{"required":false,"schema":{"title":"Outfit Id","type":"string","format":"uuid"},"name":"outfit_id","in":"query"},{"required":false,"schema":{"title":"Hair Color","type":"string"},"name":"hair_color","in":"query"},{"required":false,"schema":{"title":"Eye Color","type":"string"},"name":"eye_color","in":"query"},{"required":false,"schema":{"title":"Skin Tone","type":"number"},"name":"skin_tone","in":"query"},{"required":false,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"},{"required":false,"schema":{"title":"Voice Id","type":"string","format":"uuid"},"name":"voice_id","in":"query"},{"required":false,"schema":{"$ref":"#/components/schemas/ModelType"},"name":"llm_model_type","in":"query"},{"required":false,"schema":{"title":"Base System Prompt","type":"string"},"name":"base_system_prompt","in":"query"},{"required":false,"schema":{"title":"Show Prompt Messages","type":"boolean"},"name":"show_prompt_messages","in":"query"},{"required":false,"schema":{"title":"Open To Internet Knowledge","type":"boolean"},"name":"open_to_internet_knowledge","in":"query"},{"required":false,"schema":{"title":"Personalities Template","type":"string"},"name":"personalities_template","in":"query"},{"required":false,"schema":{"title":"Remove Dante Logo","type":"boolean","default":false},"name":"remove_dante_logo","in":"query"},{"required":false,"schema":{"title":"Preview Image Url","type":"string"},"name":"preview_image_url","in":"query"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_avatar_avatar__post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvatarResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/avatar/clothing":{"get":{"tags":["Avatars management"],"summary":"Get Clothes","description":"Endpoint to get the clothing styles only.","operationId":"get_clothes_avatar_clothing_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Clothes Avatar Clothing Get","type":"array","items":{"$ref":"#/components/schemas/AvatarClothingStyleResponse"}}}}}}}},"/avatar/age":{"get":{"tags":["Avatars management"],"summary":"Get Age","description":"Endpoint to get list of ages","operationId":"get_age_avatar_age_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Age Avatar Age Get","type":"array","items":{"type":"string"}}}}}}}},"/avatar/speaking-styles":{"get":{"tags":["Avatars management"],"summary":"Get Speaking Styles","description":"Endpoint to list all speaking styles available for the avatar.","operationId":"get_speaking_styles_avatar_speaking_styles_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Speaking Styles Avatar Speaking Styles Get","type":"array","items":{"type":"object"}}}}}}}},"/avatar/hair":{"get":{"tags":["Avatars management"],"summary":"Get Hair","description":"Endpoint to get the hair styles only.","operationId":"get_hair_avatar_hair_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Hair Avatar Hair Get","type":"array","items":{"$ref":"#/components/schemas/AvatarClothingStyleResponse"}}}}}}}},"/avatar/{avatar_id}":{"get":{"tags":["Avatars management"],"summary":"Get Avatar","description":"Endpoint to get an avatar by id.","operationId":"get_avatar_avatar__avatar_id__get","parameters":[{"required":true,"schema":{"title":"Avatar Id","type":"string","format":"uuid"},"name":"avatar_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvatarResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Avatars management"],"summary":"Delete Avatar","description":"Endpoint to delete an avatar by id.","operationId":"delete_avatar_avatar__avatar_id__delete","parameters":[{"required":true,"schema":{"title":"Avatar Id","type":"string","format":"uuid"},"name":"avatar_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"patch":{"tags":["Avatars management"],"summary":"Update Avatar From Dante","description":"Endpoint to update an Avatar model (from Dante app)","operationId":"update_avatar_from_dante_avatar__avatar_id__patch","parameters":[{"required":true,"schema":{"title":"Avatar Id","type":"string"},"name":"avatar_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvatarPatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvatarResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/avatar/create-image":{"post":{"tags":["Avatars management"],"summary":"Create Image","operationId":"create_image_avatar_create_image_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/avatar/{avatar_id}/clone":{"post":{"tags":["Avatars management"],"summary":"Clone Avatar","description":"Endpoint to clone an avatar by id.","operationId":"clone_avatar_avatar__avatar_id__clone_post","parameters":[{"required":true,"schema":{"title":"Avatar Id","type":"string","format":"uuid"},"name":"avatar_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvatarResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/avatar/status/{avaturn_user_id}":{"post":{"tags":["Avatars management"],"summary":"Update Creation Status","description":"Endpoint to update the avatar creation status.","operationId":"update_creation_status_avatar_status__avaturn_user_id__post","parameters":[{"required":true,"schema":{"title":"Avaturn User Id","type":"string","format":"uuid"},"name":"avaturn_user_id","in":"path"},{"description":"The new status of the avatar being created.","required":true,"schema":{"title":"Creation status","allOf":[{"$ref":"#/components/schemas/CreationStatus"}],"description":"The new status of the avatar being created."},"name":"creation_status","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvatarResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/avatar/update/{avaturn_user_id}":{"patch":{"tags":["Avatars management"],"summary":"Update Avatar","description":"Endpoint to update an Avatar model (used by Avatar service API)","operationId":"update_avatar_avatar_update__avaturn_user_id__patch","parameters":[{"required":true,"schema":{"title":"Avaturn User Id","type":"string"},"name":"avaturn_user_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvatarPatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvatarResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/avatar/{avatar_id}/talk":{"patch":{"tags":["Avatars management"],"summary":"Talk Avatar","description":"Endpoint to make an avatar talk","operationId":"talk_avatar_avatar__avatar_id__talk_patch","parameters":[{"required":true,"schema":{"title":"Avatar Id","type":"string"},"name":"avatar_id","in":"path"},{"required":true,"schema":{"title":"Text","type":"string"},"name":"text","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Talk Avatar Avatar  Avatar Id  Talk Patch","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/avatar/update_avatar_clothing":{"post":{"tags":["Avatars management"],"summary":"Update Avatar Clothing","operationId":"update_avatar_clothing_avatar_update_avatar_clothing_post","parameters":[{"description":"The ID of the avatar to update.","required":true,"schema":{"title":"Avatar ID","type":"string","description":"The ID of the avatar to update.","format":"uuid"},"name":"avatar_id","in":"query"},{"required":false,"schema":{"title":"Hair Id","type":"string","format":"uuid"},"name":"hair_id","in":"query"},{"required":false,"schema":{"title":"Clothing Id","type":"string","format":"uuid"},"name":"clothing_id","in":"query"},{"required":false,"schema":{"title":"Hair Color","type":"string"},"name":"hair_color","in":"query"},{"required":false,"schema":{"title":"Eye Color","type":"string"},"name":"eye_color","in":"query"},{"required":false,"schema":{"title":"Avatar Name","type":"string"},"name":"avatar_name","in":"query"},{"required":false,"schema":{"$ref":"#/components/schemas/AvatarAge"},"name":"age","in":"query"},{"required":false,"schema":{"title":"Skin Tone","type":"number"},"name":"skin_tone","in":"query"},{"required":false,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"},{"required":false,"schema":{"title":"Voice Id","type":"string","format":"uuid"},"name":"voice_id","in":"query"},{"required":false,"schema":{"$ref":"#/components/schemas/ModelType"},"name":"llm_model_type","in":"query"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvatarResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/avatar/upload/":{"post":{"tags":["Avatars management"],"summary":"Create Upload File","description":"Endpoint to upload an image for the avatar","operationId":"create_upload_file_avatar_upload__post","parameters":[{"required":true,"schema":{"title":"Avatar Id","type":"string","format":"uuid"},"name":"avatar_id","in":"query"}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_upload_file_avatar_upload__post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Create Upload File Avatar Upload  Post","type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/avatar/{avatar_id}/light":{"get":{"tags":["Avatars management"],"summary":"Get Avatar Light Customization","description":"Endpoint to get the light customization of avatar.","operationId":"get_avatar_light_customization_avatar__avatar_id__light_get","parameters":[{"required":true,"schema":{"title":"Avatar Id","type":"string","format":"uuid"},"name":"avatar_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvatarLightCustomization"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["Avatars management"],"summary":"Create Avatar Light Customization","description":"Endpoint to create the light customization of avatar.","operationId":"create_avatar_light_customization_avatar__avatar_id__light_post","parameters":[{"required":true,"schema":{"title":"Avatar Id","type":"string","format":"uuid"},"name":"avatar_id","in":"path"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvatarLightPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvatarLightCustomization"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/avatar/get-dante-user-id/{avaturn_user_id}":{"get":{"tags":["Avatars management"],"summary":"User Id From Avatar User Id","description":"Yield Dante user ID for our Avatar API","operationId":"user_id_from_avatar_user_id_avatar_get_dante_user_id__avaturn_user_id__get","parameters":[{"required":true,"schema":{"title":"Avaturn User Id","type":"string"},"name":"avaturn_user_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response User Id From Avatar User Id Avatar Get Dante User Id  Avaturn User Id  Get","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/avatar/voices":{"post":{"tags":["Avatars management"],"summary":"Get Voices","operationId":"get_voices_avatar_voices_post","parameters":[{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Voices Avatar Voices Post","type":"array","items":{"$ref":"#/components/schemas/VoiceResponse"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/agent/quick-response/all":{"get":{"tags":["Agent Quick Response"],"summary":"Get Quick Responses For User","operationId":"get_quick_responses_for_user_agent_quick_response_all_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Quick Responses For User Agent Quick Response All Get","type":"array","items":{"$ref":"#/components/schemas/AgentQuickResponseResponse"}}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/agent/quick-response/{quick_response_id}":{"get":{"tags":["Agent Quick Response"],"summary":"Get Agent Quick Response","operationId":"get_agent_quick_response_agent_quick_response__quick_response_id__get","parameters":[{"required":true,"schema":{"title":"Quick Response Id","type":"string","format":"uuid"},"name":"quick_response_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentQuickResponseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"put":{"tags":["Agent Quick Response"],"summary":"Update Agent Quick Response","operationId":"update_agent_quick_response_agent_quick_response__quick_response_id__put","parameters":[{"required":true,"schema":{"title":"Quick Response Id","type":"string","format":"uuid"},"name":"quick_response_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentQuickResponseCreateUpdateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentQuickResponseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"delete":{"tags":["Agent Quick Response"],"summary":"Delete Agent Quick Response","operationId":"delete_agent_quick_response_agent_quick_response__quick_response_id__delete","parameters":[{"required":true,"schema":{"title":"Quick Response Id","type":"string","format":"uuid"},"name":"quick_response_id","in":"path"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/agent/quick-response":{"post":{"tags":["Agent Quick Response"],"summary":"Create Agent Quick Response","operationId":"create_agent_quick_response_agent_quick_response_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentQuickResponseCreateUpdateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentQuickResponseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/intercom/request-live-agent/{dante_conversation_id}":{"post":{"tags":["Intercom"],"summary":"Request Live Agent","operationId":"request_live_agent_intercom_request_live_agent__dante_conversation_id__post","parameters":[{"required":true,"schema":{"title":"Dante Conversation Id","type":"string","format":"uuid"},"name":"dante_conversation_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentConversation"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/intercom/webhook/intercom":{"post":{"tags":["Intercom"],"summary":"Intercom Webhook","operationId":"intercom_webhook_intercom_webhook_intercom_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntercomEvent"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Intercom Webhook Intercom Webhook Intercom Post","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/intercom/{kb_id}/intercom-enabled":{"patch":{"tags":["Intercom"],"summary":"Toggle Intercom Integration","operationId":"toggle_intercom_integration_intercom__kb_id__intercom_enabled_patch","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeBaseCustomizationIntercomEnabledPatch"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Toggle Intercom Integration Intercom  Kb Id  Intercom Enabled Patch","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/links/{link_id}":{"get":{"tags":["Links management"],"summary":"Get Link","description":"Endpoint to get link parameters by id.","operationId":"get_link_links__link_id__get","parameters":[{"required":true,"schema":{"title":"Link Id","type":"string"},"name":"link_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Link Links  Link Id  Get","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/links/":{"post":{"tags":["Links management"],"summary":"Create Link Endpoint","description":"Endpoint to create a new link.","operationId":"create_link_endpoint_links__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLink"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Create Link Endpoint Links  Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/twilio/status-callback":{"post":{"tags":["Twilio Realtime"],"summary":"Handle Status Callback","description":"Handle Twilio status callback.","operationId":"handle_status_callback_twilio_status_callback_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Handle Status Callback Twilio Status Callback Post","type":"object","additionalProperties":{"type":"string"}}}}}}}},"/twilio/numbers":{"get":{"tags":["Twilio Realtime"],"summary":"Get User Numbers","description":"Get a list of Twilio numbers assigned to the user.","operationId":"get_user_numbers_twilio_numbers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TwilioNumberListResponse"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["Twilio Realtime"],"summary":"Add User Number","description":"Add a Twilio number to the user.","operationId":"add_user_number_twilio_numbers_post","parameters":[{"required":true,"schema":{"title":"Number","type":"string"},"name":"number","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TwilioNumberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/twilio/numbers/{number_id}/verify":{"post":{"tags":["Twilio Realtime"],"summary":"Verify User Number","description":"Verify a Twilio number assigned to the user.","operationId":"verify_user_number_twilio_numbers__number_id__verify_post","parameters":[{"required":true,"schema":{"title":"Number Id","type":"string","format":"uuid"},"name":"number_id","in":"path"},{"required":true,"schema":{"title":"Verification Code","type":"string"},"name":"verification_code","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TwilioNumberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/twilio/numbers/{number_id}/resend-verification":{"post":{"tags":["Twilio Realtime"],"summary":"Resend Verification Code","description":"Resend verification code to the user.","operationId":"resend_verification_code_twilio_numbers__number_id__resend_verification_post","parameters":[{"required":true,"schema":{"title":"Number Id","type":"string","format":"uuid"},"name":"number_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TwilioNumberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/twilio/numbers/{number_id}/delete":{"post":{"tags":["Twilio Realtime"],"summary":"Delete User Number","description":"Delete a Twilio number assigned to the user.","operationId":"delete_user_number_twilio_numbers__number_id__delete_post","parameters":[{"required":true,"schema":{"title":"Number Id","type":"string","format":"uuid"},"name":"number_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Delete User Number Twilio Numbers  Number Id  Delete Post","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/twilio/numbers/{number_id}/settings":{"post":{"tags":["Twilio Realtime"],"summary":"Assign User Number To Kb","description":"Assign a Twilio number to the user.","operationId":"assign_user_number_to_kb_twilio_numbers__number_id__settings_post","parameters":[{"required":true,"schema":{"title":"Number Id","type":"string","format":"uuid"},"name":"number_id","in":"path"},{"required":true,"schema":{"title":"Knowledge Base Id","type":"string","format":"uuid"},"name":"knowledge_base_id","in":"query"},{"required":true,"schema":{"title":"Welcome Message","type":"string"},"name":"welcome_message","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TwilioKnowledgeBaseSettings"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/integrations":{"get":{"tags":["Integrations"],"summary":"Get Integrations","operationId":"get_integrations_integrations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/integrations/whatsapp/graph-api-versions":{"get":{"tags":["Integrations"],"summary":"Get Whatsapp Graph Api Versions","operationId":"get_whatsapp_graph_api_versions_integrations_whatsapp_graph_api_versions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/auth/jwt/login":{"post":{"tags":["Auth"],"summary":"Auth:Jwt.Login","operationId":"auth_jwt_login_auth_jwt_login_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_auth_jwt_login_auth_jwt_login_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BearerResponse"},"example":{"access_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiOTIyMWZmYzktNjQwZi00MzcyLTg2ZDMtY2U2NDJjYmE1NjAzIiwiYXVkIjoiZmFzdGFwaS11c2VyczphdXRoIiwiZXhwIjoxNTcxNTA0MTkzfQ.M10bjOe45I5Ncu_uXvOmVV8QxnL-nZfcH96U90JaocI","token_type":"bearer"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"},"examples":{"LOGIN_BAD_CREDENTIALS":{"summary":"Bad credentials or the user is inactive.","value":{"detail":"LOGIN_BAD_CREDENTIALS"}},"LOGIN_USER_NOT_VERIFIED":{"summary":"The user is not verified.","value":{"detail":"LOGIN_USER_NOT_VERIFIED"}}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/jwt/logout":{"post":{"tags":["Auth"],"summary":"Auth:Jwt.Logout","operationId":"auth_jwt_logout_auth_jwt_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"401":{"description":"Missing token or inactive user."}},"security":[{"OAuth2PasswordBearer":[]}]}},"/auth/register":{"post":{"tags":["Auth"],"summary":"Register:Register","operationId":"register_register_auth_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRead"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"},"examples":{"REGISTER_USER_ALREADY_EXISTS":{"summary":"A user with this email already exists.","value":{"detail":"REGISTER_USER_ALREADY_EXISTS"}},"REGISTER_INVALID_PASSWORD":{"summary":"Password validation failed.","value":{"detail":{"code":"REGISTER_INVALID_PASSWORD","reason":"Password should beat least 3 characters"}}}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/forgot-password":{"post":{"tags":["Auth"],"summary":"Reset:Forgot Password","operationId":"reset_forgot_password_auth_forgot_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_reset_forgot_password_auth_forgot_password_post"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/reset-password":{"post":{"tags":["Auth"],"summary":"Reset:Reset Password","operationId":"reset_reset_password_auth_reset_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_reset_reset_password_auth_reset_password_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"},"examples":{"RESET_PASSWORD_BAD_TOKEN":{"summary":"Bad or expired token.","value":{"detail":"RESET_PASSWORD_BAD_TOKEN"}},"RESET_PASSWORD_INVALID_PASSWORD":{"summary":"Password validation failed.","value":{"detail":{"code":"RESET_PASSWORD_INVALID_PASSWORD","reason":"Password should be at least 3 characters"}}}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/request-verify-token":{"post":{"tags":["Auth"],"summary":"Verify:Request-Token","operationId":"verify_request_token_auth_request_verify_token_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_verify_request_token_auth_request_verify_token_post"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/verify":{"post":{"tags":["Auth"],"summary":"Verify:Verify","operationId":"verify_verify_auth_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_verify_verify_auth_verify_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRead"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"},"examples":{"VERIFY_USER_BAD_TOKEN":{"summary":"Bad token, not existing user ornot the e-mail currently set for the user.","value":{"detail":"VERIFY_USER_BAD_TOKEN"}},"VERIFY_USER_ALREADY_VERIFIED":{"summary":"The user is already verified.","value":{"detail":"VERIFY_USER_ALREADY_VERIFIED"}}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me":{"get":{"tags":["Users"],"summary":"Users:Current User","operationId":"users_current_user_users_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRead"}}}},"401":{"description":"Missing token or inactive user."}},"security":[{"OAuth2PasswordBearer":[]}]},"patch":{"tags":["Users"],"summary":"Users:Patch Current User","operationId":"users_patch_current_user_users_me_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRead"}}}},"401":{"description":"Missing token or inactive user."},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"},"examples":{"UPDATE_USER_EMAIL_ALREADY_EXISTS":{"summary":"A user with this email already exists.","value":{"detail":"UPDATE_USER_EMAIL_ALREADY_EXISTS"}},"UPDATE_USER_INVALID_PASSWORD":{"summary":"Password validation failed.","value":{"detail":{"code":"UPDATE_USER_INVALID_PASSWORD","reason":"Password should beat least 3 characters"}}}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/users/{id}":{"get":{"tags":["Users"],"summary":"Users:User","operationId":"users_user_users__id__get","parameters":[{"required":true,"schema":{"title":"Id"},"name":"id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRead"}}}},"401":{"description":"Missing token or inactive user."},"403":{"description":"Not a superuser."},"404":{"description":"The user does not exist."},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]},"delete":{"tags":["Users"],"summary":"Users:Delete User","operationId":"users_delete_user_users__id__delete","parameters":[{"required":true,"schema":{"title":"Id"},"name":"id","in":"path"}],"responses":{"204":{"description":"Successful Response"},"401":{"description":"Missing token or inactive user."},"403":{"description":"Not a superuser."},"404":{"description":"The user does not exist."},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]},"patch":{"tags":["Users"],"summary":"Users:Patch User","operationId":"users_patch_user_users__id__patch","parameters":[{"required":true,"schema":{"title":"Id"},"name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRead"}}}},"401":{"description":"Missing token or inactive user."},"403":{"description":"Not a superuser."},"404":{"description":"The user does not exist."},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorModel"},"examples":{"UPDATE_USER_EMAIL_ALREADY_EXISTS":{"summary":"A user with this email already exists.","value":{"detail":"UPDATE_USER_EMAIL_ALREADY_EXISTS"}},"UPDATE_USER_INVALID_PASSWORD":{"summary":"Password validation failed.","value":{"detail":{"code":"UPDATE_USER_INVALID_PASSWORD","reason":"Password should beat least 3 characters"}}}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/authenticated-route":{"get":{"tags":["Documentation"],"summary":"Authenticated Route","operationId":"authenticated_route_authenticated_route_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Authenticated Route Authenticated Route Get","type":"object","additionalProperties":{"type":"string"}}}}}},"security":[{"OAuth2PasswordBearer":[]}]}}},"components":{"schemas":{"AgentBaseStatisticsResponse":{"title":"AgentBaseStatisticsResponse","required":["number_of_conversations","waiting_requests","response_rate","average_waiting_time","live_conversations"],"type":"object","properties":{"number_of_conversations":{"title":"Number Of Conversations","type":"integer"},"waiting_requests":{"title":"Waiting Requests","type":"integer"},"response_rate":{"title":"Response Rate","type":"number"},"average_waiting_time":{"title":"Average Waiting Time","type":"number"},"live_conversations":{"title":"Live Conversations","type":"integer"}}},"AgentConversation":{"title":"AgentConversation","required":["name","conversation_id","agent_takeover_request_id","kb_id","request_time"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"date_created":{"title":"Date Created","type":"string","format":"date-time"},"date_updated":{"title":"Date Updated","type":"string","format":"date-time"},"name":{"title":"Name","type":"string","description":"Name of the conversation."},"conversation_id":{"title":"Conversation ID","type":"string","description":"The ID of the conversation related to this.","format":"uuid"},"agent_user_id":{"title":"Agent User ID","type":"string","description":"The ID of the agent user.","format":"uuid"},"agent_takeover_request_id":{"title":"Agent Takeover Request ID","type":"string","description":"The ID of the agent takeover request.","format":"uuid"},"kb_id":{"title":"Knowledge Base ID","type":"string","description":"The ID of the Lnowledge Base.","format":"uuid"},"request_time":{"title":"Request Time","type":"string","description":"Time of the request.","format":"date-time"}}},"AgentDashboardResponse":{"title":"AgentDashboardResponse","required":["request_number","request_time","assigned_to","knowledge_base_name","state","is_flagged"],"type":"object","properties":{"request_number":{"title":"Request Number","type":"integer"},"agent_takeover_request_id":{"title":"Agent Takeover Request Id","type":"string","format":"uuid"},"agent_conversation_id":{"title":"Agent Conversation Id","type":"string","format":"uuid"},"conversation_id":{"title":"Conversation Id","type":"string","format":"uuid"},"request_time":{"title":"Request Time","type":"string","format":"date-time"},"assigned_to":{"title":"Assigned To","type":"string"},"knowledge_base_name":{"title":"Knowledge Base Name","type":"string"},"category":{"$ref":"#/components/schemas/CategoryResponse"},"state":{"title":"State","type":"string"},"is_flagged":{"title":"Is Flagged","type":"boolean"},"email":{"title":"Email","type":"string"},"taken_from_user_id":{"title":"Taken From User Id","type":"string","format":"uuid"}}},"AgentExtraStatisticsResponse":{"title":"AgentExtraStatisticsResponse","required":["number_of_requests_responded_by_agent","number_of_tickets_by_category","average_tickets_created_by_day_of_week","average_conversation_duration"],"type":"object","properties":{"number_of_requests_responded_by_agent":{"title":"Number Of Requests Responded By Agent","type":"array","items":{"type":"object"}},"number_of_tickets_by_category":{"title":"Number Of Tickets By Category","type":"object","additionalProperties":{"type":"integer"}},"average_tickets_created_by_day_of_week":{"title":"Average Tickets Created By Day Of Week","type":"object","additionalProperties":{"type":"number"}},"average_conversation_duration":{"title":"Average Conversation Duration","type":"object"}}},"AgentInvitation":{"title":"AgentInvitation","type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"date_created":{"title":"Date Created","type":"string","format":"date-time"},"date_updated":{"title":"Date Updated","type":"string","format":"date-time"},"invited_by_user_id":{"title":"Invited By User ID","type":"string","description":"The ID of the user who invited the agent.","format":"uuid"},"name":{"title":"Name","type":"string","description":"The name of the invited agent."},"email":{"title":"Email","type":"string","description":"The email address of the invited agent."},"permission":{"title":"Permission","type":"string","description":"The permissions granted to the invited agent."},"knowledge_base":{"title":"Knowledge Base","type":"string","description":"The UUID references of the knowledge bases associated with the agent, separated by semicolon."},"invitation_token":{"title":"Invitation Token","type":"string","description":"The token associated with the invitation.","format":"uuid"},"accepted":{"title":"Accepted","type":"boolean","description":"Indicates if the invitation has been accepted.","default":false}}},"AgentInvitationCreate":{"title":"AgentInvitationCreate","required":["email"],"type":"object","properties":{"name":{"title":"Name","type":"string"},"email":{"title":"Email","type":"string","format":"email"},"permission":{"title":"Permission","type":"string"},"knowledge_base":{"title":"Knowledge Base","type":"string"}}},"AgentNotification":{"title":"AgentNotification","required":["agent_user_id","message","notification_type"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"date_created":{"title":"Date Created","type":"string","format":"date-time"},"date_updated":{"title":"Date Updated","type":"string","format":"date-time"},"agent_user_id":{"title":"User ID","type":"string","description":"The ID of the user who received the notification.","format":"uuid"},"message":{"title":"Message","type":"string","description":"The content of the notification."},"is_read":{"title":"Is Read","type":"boolean","description":"Boolean to indicate if the notification has been read.","default":false},"notification_type":{"title":"Type","type":"string","description":"The type of the notification, e.g., 'conversation', 'alert'."},"conversation_id":{"title":"Conversation ID","type":"string","description":"The ID of the conversation related to the notification.","format":"uuid"}}},"AgentNotificationSettings":{"title":"AgentNotificationSettings","required":["agent_user_id"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"date_created":{"title":"Date Created","type":"string","format":"date-time"},"date_updated":{"title":"Date Updated","type":"string","format":"date-time"},"agent_user_id":{"title":"User ID","type":"string","description":"Foreign key to reference the user table.","format":"uuid"},"new_chat_request_email":{"title":"New Chat Request Email","type":"boolean","description":"Boolean to indicate if an email notification is desired for new chat requests.","default":false},"new_chat_request_push":{"title":"New Chat Request Push","type":"boolean","description":"Boolean to indicate if a push notification is desired for new chat requests.","default":false},"new_chat_assigned_to_me_email":{"title":"New Chat Assigned To Me Email","type":"boolean","description":"Boolean to indicate if an email notification is desired when a chat is assigned.","default":false},"new_chat_assigned_to_me_push":{"title":"New Chat Assigned To Me Push","type":"boolean","description":"Boolean to indicate if a push notification is desired when a chat is assigned.","default":false},"new_message_email":{"title":"New Message Email","type":"boolean","description":"Boolean to indicate if an email notification is desired for new messages.","default":false},"new_message_push":{"title":"New Message Push","type":"boolean","description":"Boolean to indicate if a push notification is desired for new messages.","default":false},"chat_marked_as_solved_by_visitor_email":{"title":"Chat Marked as Solved by Visitor Email","type":"boolean","description":"Boolean to indicate if an email notification is desired when a chat is marked as solved by a visitor.","default":false},"chat_marked_as_solved_by_visitor_push":{"title":"Chat Marked as Solved by Visitor Push","type":"boolean","description":"Boolean to indicate if a push notification is desired when a chat is marked as solved by a visitor.","default":false}}},"AgentNotificationSettingsCreate":{"title":"AgentNotificationSettingsCreate","required":["new_chat_request_email","new_chat_request_push","new_chat_assigned_to_me_email","new_chat_assigned_to_me_push","new_message_email","new_message_push","chat_marked_as_solved_by_visitor_email","chat_marked_as_solved_by_visitor_push"],"type":"object","properties":{"new_chat_request_email":{"title":"New Chat Request Email","type":"boolean"},"new_chat_request_push":{"title":"New Chat Request Push","type":"boolean"},"new_chat_assigned_to_me_email":{"title":"New Chat Assigned To Me Email","type":"boolean"},"new_chat_assigned_to_me_push":{"title":"New Chat Assigned To Me Push","type":"boolean"},"new_message_email":{"title":"New Message Email","type":"boolean"},"new_message_push":{"title":"New Message Push","type":"boolean"},"chat_marked_as_solved_by_visitor_email":{"title":"Chat Marked As Solved By Visitor Email","type":"boolean"},"chat_marked_as_solved_by_visitor_push":{"title":"Chat Marked As Solved By Visitor Push","type":"boolean"}}},"AgentNotificationSettingsUpdate":{"title":"AgentNotificationSettingsUpdate","type":"object","properties":{"new_chat_request_email":{"title":"New Chat Request Email","type":"boolean"},"new_chat_request_push":{"title":"New Chat Request Push","type":"boolean"},"new_chat_assigned_to_me_email":{"title":"New Chat Assigned To Me Email","type":"boolean"},"new_chat_assigned_to_me_push":{"title":"New Chat Assigned To Me Push","type":"boolean"},"new_message_email":{"title":"New Message Email","type":"boolean"},"new_message_push":{"title":"New Message Push","type":"boolean"},"chat_marked_as_solved_by_visitor_email":{"title":"Chat Marked As Solved By Visitor Email","type":"boolean"},"chat_marked_as_solved_by_visitor_push":{"title":"Chat Marked As Solved By Visitor Push","type":"boolean"}}},"AgentOrganization":{"title":"AgentOrganization","required":["agent_user_id"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"date_created":{"title":"Date Created","type":"string","format":"date-time"},"date_updated":{"title":"Date Updated","type":"string","format":"date-time"},"agent_user_id":{"title":"Agent ID","type":"string","description":"The ID of the agent user.","format":"uuid"},"organization_id":{"title":"Organization ID","type":"string","description":"The ID of the organization.","format":"uuid"},"role":{"title":"Role","type":"string"},"permissions":{"title":"Permissions","type":"string"}}},"AgentQuickResponseCreateUpdateRequest":{"title":"AgentQuickResponseCreateUpdateRequest","type":"object","properties":{"title":{"title":"Title","type":"string"},"response":{"title":"Response","type":"string"},"key":{"title":"Key","type":"string"}}},"AgentQuickResponseResponse":{"title":"AgentQuickResponseResponse","required":["id"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"title":{"title":"Title","type":"string"},"response":{"title":"Response","type":"string"},"key":{"title":"Key","type":"string"}}},"AgentTakeoverRequest":{"title":"AgentTakeoverRequest","required":["conversation_id","kb_id","request_id","category","state"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"date_created":{"title":"Date Created","type":"string","format":"date-time"},"date_updated":{"title":"Date Updated","type":"string","format":"date-time"},"agent_user_id":{"title":"Agent ID","type":"string","description":"The ID of the agent user.","format":"uuid"},"conversation_id":{"title":"Conversation ID","type":"string","description":"The ID of the conversation where made request for.","format":"uuid"},"kb_id":{"title":"Knowledge Base ID","type":"string","description":"The ID of the knowledge base.","format":"uuid"},"request_id":{"title":"Request ID","type":"integer","description":"A unique identifier for the request relative to the knowledge base ID."},"is_flagged":{"title":"Is Request ","type":"boolean","description":"Boolean to indicate if takeover request has been flagged.","default":false},"category":{"title":"Category","type":"string","description":"The category of this takeover request."},"category_id":{"title":"Category ID","type":"string","description":"The ID of the category for this takeover request.","format":"uuid"},"state":{"title":"State","type":"string","description":"State of this takeover request, could be Taken, Waiting or Resolved."},"assigned_to_agent_name":{"title":"Assigned To Agent Name","type":"string","description":"Name of the agent which this Agent Takeover request has been assigned to."},"flagged_date":{"title":"Fagged Time","type":"string","description":"Time where takeover request was flagged.","format":"date-time"},"resolved_date":{"title":"Resolved Time","type":"string","description":"Time where takeover request was resolved.","format":"date-time"},"last_seen_by_user":{"title":"Last seen by user","type":"string","description":"Time of last seen by user","format":"date-time"},"last_seen_by_agent":{"title":"Last seen by agent","type":"string","description":"Time of last seen by agent","format":"date-time"}}},"AgentWorkingHours":{"title":"AgentWorkingHours","required":["agent_user_id","day","start_time","end_time"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"date_created":{"title":"Date Created","type":"string","format":"date-time"},"date_updated":{"title":"Date Updated","type":"string","format":"date-time"},"agent_user_id":{"title":"Agent User ID","type":"string","description":"Foreign key to reference the user table.","format":"uuid"},"day":{"title":"Day of the Week","maxLength":15,"pattern":"^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday)$","type":"string","description":"Day of the week (e.g., Monday, Tuesday, ...)."},"start_time":{"title":"Start Time","type":"string","description":"Time the agent starts working.","format":"time"},"end_time":{"title":"End Time","type":"string","description":"Time the agent stops working.","format":"time"}}},"AgentWorkingHoursCreate":{"title":"AgentWorkingHoursCreate","required":["day","start_time","end_time"],"type":"object","properties":{"day":{"title":"Day of the Week","pattern":"^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday)$","type":"string","description":"Day of the week (e.g., Monday, Tuesday, ...)."},"start_time":{"title":"Start Time","type":"string","description":"Time the agent starts working.","format":"time"},"end_time":{"title":"End Time","type":"string","description":"Time the agent stops working.","format":"time"}}},"AgentWorkingHoursUpdate":{"title":"AgentWorkingHoursUpdate","type":"object","properties":{"day":{"title":"Day","pattern":"^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday)$","type":"string"},"start_time":{"title":"Start Time","type":"string","format":"time"},"end_time":{"title":"End Time","type":"string","format":"time"}}},"AgentsPermissionsResponse":{"title":"AgentsPermissionsResponse","required":["name","email","role","knowledge_base","knowledge_base_names","permission","accepted"],"type":"object","properties":{"name":{"title":"Name","type":"string"},"email":{"title":"Email","type":"string"},"image":{"title":"Image","type":"string"},"role":{"title":"Role","type":"string"},"knowledge_base":{"title":"Knowledge Base","anyOf":[{"type":"array","items":{"type":"string"}},{"type":"string"}]},"knowledge_base_names":{"title":"Knowledge Base Names","anyOf":[{"type":"array","items":{"type":"string"}},{"type":"string"}]},"permission":{"title":"Permission","type":"string"},"user_id":{"title":"User Id","type":"string","format":"uuid"},"accepted":{"title":"Accepted","type":"boolean"}}},"AllPermissionsResponse":{"title":"AllPermissionsResponse","required":["permissions","dependencies"],"type":"object","properties":{"permissions":{"title":"Permissions","type":"array","items":{"$ref":"#/components/schemas/PermissionResponse"}},"dependencies":{"title":"Dependencies","type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}}},"AnalyticsDashboardResponse":{"title":"AnalyticsDashboardResponse","required":["credits","users","conversations","messages"],"type":"object","properties":{"credits":{"title":"Credits","type":"object","additionalProperties":{"type":"number"}},"users":{"title":"Users","type":"object","additionalProperties":{"type":"integer"}},"conversations":{"title":"Conversations","type":"object","additionalProperties":{"type":"integer"}},"messages":{"title":"Messages","type":"object","additionalProperties":{"type":"integer"}}}},"AutoRefreshTogglePayload":{"title":"AutoRefreshTogglePayload","required":["enabled"],"type":"object","properties":{"enabled":{"title":"Enabled","type":"boolean"}}},"AvatarAge":{"title":"AvatarAge","enum":["3-6","7-12","13-16","Adult"],"description":"An enumeration."},"AvatarClothingStyleResponse":{"title":"AvatarClothingStyleResponse","required":["id"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"label":{"title":"Label","type":"string"},"value":{"title":"Value","type":"string"},"preview_image_url":{"title":"Preview Image Url","type":"string"},"gender":{"title":"Gender","type":"string"}}},"AvatarLightCustomization":{"title":"AvatarLightCustomization","type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"date_created":{"title":"Date Created","type":"string","format":"date-time"},"date_updated":{"title":"Date Updated","type":"string","format":"date-time"},"avatar_id":{"title":"Avatar ID","type":"string"},"preset_light":{"title":"The light of the avatar","type":"string"},"light_direction":{"title":"The direction of the light","type":"string"},"ambient_light_color":{"title":"The color of the ambient light","type":"string"},"ambient_light_intensity":{"title":"The intensity of the ambient light","type":"number"},"background_color":{"title":"The color of the background","type":"string"},"background_image":{"title":"The image of the background","type":"string"},"point_light_color":{"title":"The color of the point light","type":"string"},"point_light_decay":{"title":"The decay of the point light","type":"number"},"point_light_intensity":{"title":"The intensity of the point light","type":"number"},"spot_light_color":{"title":"The color of the spot light","type":"string"},"spot_light_decay":{"title":"The decay of the spot light","type":"number"},"spot_light_intensity":{"title":"The intensity of the spot light","type":"number"},"spot_light_penumbra":{"title":"The penumbra of the spot light","type":"number"},"spot_light_position_x":{"title":"The x position of the spot light","type":"number"},"spot_light_position_y":{"title":"The y position of the spot light","type":"number"},"spot_light_position_z":{"title":"The z position of the spot light","type":"number"}}},"AvatarLightPayload":{"title":"AvatarLightPayload","type":"object","properties":{"avatar_id":{"title":"Avatar ID","type":"string"},"preset_light":{"title":"The light of the avatar","type":"string"},"light_direction":{"title":"The direction of the light","type":"string"},"ambient_light_color":{"title":"The color of the ambient light","type":"string"},"ambient_light_intensity":{"title":"The intensity of the ambient light","type":"number"},"background_color":{"title":"The color of the background","type":"string"},"background_image":{"title":"The image of the background","type":"string"},"point_light_color":{"title":"The color of the point light","type":"string"},"point_light_decay":{"title":"The decay of the point light","type":"number"},"point_light_intensity":{"title":"The intensity of the point light","type":"number"},"spot_light_color":{"title":"The color of the spot light","type":"string"},"spot_light_decay":{"title":"The decay of the spot light","type":"number"},"spot_light_intensity":{"title":"The intensity of the spot light","type":"number"},"spot_light_penumbra":{"title":"The penumbra of the spot light","type":"number"},"spot_light_position_x":{"title":"The x position of the spot light","type":"number"},"spot_light_position_y":{"title":"The y position of the spot light","type":"number"},"spot_light_position_z":{"title":"The z position of the spot light","type":"number"}}},"AvatarPatchPayload":{"title":"AvatarPatchPayload","type":"object","properties":{"dante_user_id":{"title":"User ID","type":"string","description":"The ID of the user associated with the avatar.","format":"uuid"},"avatar_id":{"title":"Avatar ID","type":"string"},"gender":{"title":"The gender of the avatar","type":"string"},"name":{"title":"Name of the avatar","type":"string"},"remove_dante_logo":{"title":"Whether the avatar should move the powered by dante","type":"boolean","default":false},"preview_image_url":{"title":"The preview image url","type":"string"},"avatar_meta_image":{"title":"The avatar meta image url","type":"string"},"glb_model_url":{"title":"The S3 URL where the GLB model is stored","type":"string"},"idle_animation_url":{"title":"The S3 URL where the animation model is stored","type":"string"},"frontal_user_image_url":{"title":"The S3 URL where the frontal image is stored","type":"string"},"left_side_user_image_url":{"title":"The S3 URL where the left side image is stored","type":"string"},"right_side_image_url":{"title":"The S3 URL where the right side image is stored","type":"string"},"status":{"title":"Current status of avatar creation","type":"string","default":"in_creation"},"kb_id":{"title":"Knowledge Base ID","type":"string","description":"The ID of the knowledge base associated with the avatar.","format":"uuid"},"voice_id":{"title":"Voice ID","type":"string","description":"The ID of the voice associated with the avatar.","format":"uuid"},"llm_model_type":{"title":"LLM to be used with this avatar","allOf":[{"$ref":"#/components/schemas/ModelType"}],"description":"LLM to be used with this avatar"},"base_system_prompt":{"title":"Base System Prompt","type":"string","description":"The base system prompt used for the chatbot.","default":"You should always refuse to answer questions that are not related to this specific knowledge base. You will be penalized if you refer to anything outside the documents you were trained on. Do not answer even if the data is part of exchanged messages but not within the provided context. Communicate in any language the user chooses; you are knowledgeable in all languages and should provide information in them."},"initial_messages":{"title":"Initial Messages","type":"array","items":{"type":"string"},"description":"The list of initial messages for the chatbot.","default":["👋 Hi, how can I help you?"]},"prompt_suggestions":{"title":"Prompt Suggestions","type":"array","items":{"type":"string"},"description":"The list of prompt suggestions for the knowledge base.","default":["Explain the contents of this chatbot","Write a poem about this chatbot","Give me three key points from this chatbot"]},"show_prompt_messages":{"title":"Show Prompt Message","type":"boolean","description":"Flag indicating whether to show the prompt message.","default":true},"open_to_internet_knowledge":{"title":"Open to Internet Knowledge","type":"boolean","description":"Flag indicating whether to show the prompt message.","default":true},"personalities_template":{"title":"Personalities Template","type":"string","description":"The templates of personality."}}},"AvatarResponse":{"title":"AvatarResponse","required":["id","name","status"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"name":{"title":"Name","type":"string"},"frontal_user_image_url":{"title":"Frontal User Image Url","type":"string"},"right_side_image_url":{"title":"Right Side Image Url","type":"string"},"left_side_user_image_url":{"title":"Left Side User Image Url","type":"string"},"preview_image_url":{"title":"Preview Image Url","type":"string"},"avatar_meta_image":{"title":"Avatar Meta Image","type":"string"},"glb_model_url":{"title":"Glb Model Url","type":"string"},"idle_animation_url":{"title":"Idle Animation Url","type":"string"},"dante_user_id":{"title":"Dante User Id","type":"string","format":"uuid"},"external_user_id":{"title":"External User Id","type":"string"},"external_id":{"title":"External Id","type":"string"},"external_session_url":{"title":"External Session Url","type":"string"},"status":{"$ref":"#/components/schemas/CreationStatus"},"hair":{"title":"Hair","type":"string","format":"uuid"},"hair_value":{"title":"Hair Value","type":"string"},"clothes":{"title":"Clothes","type":"string","format":"uuid"},"clothes_value":{"title":"Clothes Value","type":"string"},"gender":{"title":"Gender","type":"string"},"hair_color":{"title":"Hair Color","type":"string"},"eye_color":{"title":"Eye Color","type":"string"},"remove_dante_logo":{"title":"Remove Dante Logo","type":"boolean"},"age":{"title":"Age","type":"string"},"skin_tone":{"title":"Skin Tone","type":"number"},"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"voice_id":{"title":"Voice Id","type":"string","format":"uuid"},"llm_model_type":{"$ref":"#/components/schemas/ModelType"},"base_system_prompt":{"title":"Base System Prompt","type":"string"},"initial_messages":{"title":"Initial Messages","type":"array","items":{"type":"string"}},"prompt_suggestions":{"title":"Prompt Suggestions","type":"array","items":{"type":"string"}},"show_prompt_messages":{"title":"Show Prompt Messages","type":"boolean"},"open_to_internet_knowledge":{"title":"Open To Internet Knowledge","type":"boolean"},"personalities_template":{"title":"Personalities Template","type":"string"},"light_customization":{"$ref":"#/components/schemas/AvatarLightCustomization"}}},"BearerResponse":{"title":"BearerResponse","required":["access_token","token_type"],"type":"object","properties":{"access_token":{"title":"Access Token","type":"string"},"token_type":{"title":"Token Type","type":"string"}}},"Body_add_file_to_kb_knowledge_bases__kb_id__files_post":{"title":"Body_add_file_to_kb_knowledge_bases__kb_id__files_post","required":["files"],"type":"object","properties":{"files":{"title":"Files","type":"array","items":{"type":"string","format":"binary"}}}},"Body_add_files_and_urls_to_existing_kb_knowledge_bases_v2__kb_id__all_post":{"title":"Body_add_files_and_urls_to_existing_kb_knowledge_bases_v2__kb_id__all_post","required":["files"],"type":"object","properties":{"files":{"title":"Files","type":"array","items":{"type":"string","format":"binary"}}}},"Body_add_files_and_urls_to_kb_knowledge_bases__kb_id__all_post":{"title":"Body_add_files_and_urls_to_kb_knowledge_bases__kb_id__all_post","required":["files"],"type":"object","properties":{"files":{"title":"Files","type":"array","items":{"type":"string","format":"binary"}}}},"Body_auth_jwt_login_auth_jwt_login_post":{"title":"Body_auth_jwt_login_auth_jwt_login_post","required":["username","password"],"type":"object","properties":{"grant_type":{"title":"Grant Type","pattern":"password","type":"string"},"username":{"title":"Username","type":"string"},"password":{"title":"Password","type":"string"},"scope":{"title":"Scope","type":"string","default":""},"client_id":{"title":"Client Id","type":"string"},"client_secret":{"title":"Client Secret","type":"string"}}},"Body_create_avatar_avatar__post":{"title":"Body_create_avatar_avatar__post","required":["left_face_pic","mid_face_pic","right_face_pic"],"type":"object","properties":{"initial_messages":{"title":"Initial Messages","type":"array","items":{"type":"string"}},"prompt_suggestions":{"title":"Prompt Suggestions","type":"array","items":{"type":"string"}},"left_face_pic":{"title":"Left Face Pic","type":"string","format":"binary"},"mid_face_pic":{"title":"Mid Face Pic","type":"string","format":"binary"},"right_face_pic":{"title":"Right Face Pic","type":"string","format":"binary"}}},"Body_create_kb_from_files_and_urls_knowledge_bases_all_post":{"title":"Body_create_kb_from_files_and_urls_knowledge_bases_all_post","required":["files"],"type":"object","properties":{"files":{"title":"Files","type":"array","items":{"type":"string","format":"binary"}}}},"Body_create_kb_from_files_and_urls_knowledge_bases_v2_all_files_post":{"title":"Body_create_kb_from_files_and_urls_knowledge_bases_v2_all_files_post","required":["files"],"type":"object","properties":{"files":{"title":"Files","type":"array","items":{"type":"string","format":"binary"}}}},"Body_create_knowledge_base_from_file_knowledge_bases_files_post":{"title":"Body_create_knowledge_base_from_file_knowledge_bases_files_post","required":["files"],"type":"object","properties":{"files":{"title":"Files","type":"array","items":{"type":"string","format":"binary"}}}},"Body_create_upload_file_avatar_upload__post":{"title":"Body_create_upload_file_avatar_upload__post","required":["file"],"type":"object","properties":{"file":{"title":"File","type":"string","format":"binary"}}},"Body_create_upload_file_knowledge_bases_customization_upload__post":{"title":"Body_create_upload_file_knowledge_bases_customization_upload__post","required":["file"],"type":"object","properties":{"file":{"title":"File","type":"string","format":"binary"}}},"Body_create_voice_upload_file_avatar_voices_upload__post":{"title":"Body_create_voice_upload_file_avatar_voices_upload__post","required":["file"],"type":"object","properties":{"file":{"title":"File","type":"string","format":"binary"}}},"Body_reset_forgot_password_auth_forgot_password_post":{"title":"Body_reset_forgot_password_auth_forgot_password_post","required":["email"],"type":"object","properties":{"email":{"title":"Email","type":"string","format":"email"}}},"Body_reset_reset_password_auth_reset_password_post":{"title":"Body_reset_reset_password_auth_reset_password_post","required":["token","password"],"type":"object","properties":{"token":{"title":"Token","type":"string"},"password":{"title":"Password","type":"string"}}},"Body_trigger_prompt_pabbly_trigger_prompt_post":{"title":"Body_trigger_prompt_pabbly_trigger_prompt_post","required":["knowledge_base_name","prompt","model_type"],"type":"object","properties":{"knowledge_base_name":{"title":"Knowledge Base Name","type":"string"},"prompt":{"title":"Prompt","type":"string"},"model_type":{"$ref":"#/components/schemas/ModelType"}}},"Body_trigger_prompt_zapier_trigger_prompt_post":{"title":"Body_trigger_prompt_zapier_trigger_prompt_post","required":["knowledge_base_name","prompt","model_type"],"type":"object","properties":{"knowledge_base_name":{"title":"Knowledge Base Name","type":"string"},"prompt":{"title":"Prompt","type":"string"},"model_type":{"$ref":"#/components/schemas/ModelType"}}},"Body_verify_request_token_auth_request_verify_token_post":{"title":"Body_verify_request_token_auth_request_verify_token_post","required":["email"],"type":"object","properties":{"email":{"title":"Email","type":"string","format":"email"}}},"Body_verify_verify_auth_verify_post":{"title":"Body_verify_verify_auth_verify_post","required":["token"],"type":"object","properties":{"token":{"title":"Token","type":"string"}}},"CategoryCreateUpdateRequest":{"title":"CategoryCreateUpdateRequest","type":"object","properties":{"name":{"title":"Name","type":"string"},"color":{"title":"Color","type":"string"},"description":{"title":"Description","type":"string"}}},"CategoryResponse":{"title":"CategoryResponse","type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"name":{"title":"Name","type":"string"},"description":{"title":"Description","type":"string"},"color":{"title":"Color","type":"string"}}},"ChatMessage":{"title":"ChatMessage","required":["role","content"],"type":"object","properties":{"role":{"title":"Role","enum":["user","assistant"],"type":"string"},"content":{"title":"Content","type":"string"}}},"ChatMode":{"title":"ChatMode","enum":["normal_mode","embed_mode"],"description":"An enumeration."},"ChatbotActivationTogglePayload":{"title":"ChatbotActivationTogglePayload","required":["enabled"],"type":"object","properties":{"enabled":{"title":"Enabled","type":"boolean"}}},"CloneRequest":{"title":"CloneRequest","required":["voice_name","voice_description","voice_filename"],"type":"object","properties":{"voice_name":{"title":"Voice Name","type":"string"},"voice_description":{"title":"Voice Description","type":"string"},"voice_filename":{"title":"Voice Filename","type":"string"}}},"ConnectionStatsResponse":{"title":"ConnectionStatsResponse","required":["total_avatars","total_voices","total_integrations"],"type":"object","properties":{"total_avatars":{"title":"Total Avatars","type":"integer"},"total_voices":{"title":"Total Voices","type":"integer"},"total_integrations":{"title":"Total Integrations","type":"integer"}}},"Conversation":{"title":"Conversation","required":["user_id"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"date_created":{"title":"Date Created","type":"string","format":"date-time"},"date_updated":{"title":"Date Updated","type":"string","format":"date-time"},"kb_id":{"title":"Knowledge Base ID","type":"string","description":"The ID of the knowledge base associated with the conversation.","format":"uuid","default":"86927718-7690-4c0c-a99d-8bc8afda0a4c"},"name":{"title":"Conversation Name","type":"string","description":"The name of the conversation."},"form_data":{"title":"Form Data","type":"array","items":{"$ref":"#/components/schemas/ConversationInputField"},"description":"The form data of the conversation."},"user_id":{"title":"User ID","type":"string","description":"The ID of the user associated with the conversation.","format":"uuid"},"has_not_answered_questions":{"title":"Has Not Answered Questions","type":"boolean","description":"Flag indicating whether this conversation has messages that are not answered.","default":false},"agent_responding":{"title":"Is Agent Responding","type":"boolean","description":"Flag indicating whether an agent is currently responding to this conversation.","default":false},"last_model_used":{"title":"Last Model Used","allOf":[{"$ref":"#/components/schemas/ModelType"}],"description":"Last model used to train this conversation"},"intercom_id":{"title":"Conversation Intercom ID","type":"string","description":"The id of the conversation in intercom."},"team_id":{"title":"Team ID","type":"string","description":"The ID of the team associated with the conversation.","format":"uuid"}}},"ConversationFilter":{"title":"ConversationFilter","type":"object","properties":{"date_created_from":{"title":"Date Created From","type":"string","format":"date-time"},"date_created_to":{"title":"Date Created To","type":"string","format":"date-time"},"date_updated_from":{"title":"Date Updated From","type":"string","format":"date-time"},"date_updated_to":{"title":"Date Updated To","type":"string","format":"date-time"},"name":{"title":"Name","type":"string"},"kb_id":{"title":"Kb Id","type":"string","format":"uuid"}}},"ConversationInputField":{"title":"ConversationInputField","required":["input_name","input_type","input_label","input_placeholder","is_mandatory"],"type":"object","properties":{"input_name":{"title":"Input Name","type":"string","description":"The name of the input field."},"input_type":{"title":"Input Type","type":"string","description":"The type of the input field."},"input_label":{"title":"Input Label","type":"string","description":"The label of the input field."},"input_placeholder":{"title":"Input Placeholder","type":"string","description":"The placeholder of the input field."},"is_mandatory":{"title":"Is Mandatory","type":"boolean","description":"Flag indicating whether the input field is mandatory."},"input_value":{"title":"Input Value","type":"string","description":"The value of the input field."}}},"ConversationListResponse":{"title":"ConversationListResponse","required":["results","pagination","filters"],"type":"object","properties":{"results":{"title":"Results","type":"array","items":{"$ref":"#/components/schemas/ConversationResponse"}},"pagination":{"$ref":"#/components/schemas/Pagination"},"filters":{"$ref":"#/components/schemas/ConversationFilter"},"total_count":{"title":"Total Count","type":"integer"}}},"ConversationPatchPayload":{"title":"ConversationPatchPayload","type":"object","properties":{"name":{"title":"Updated Name","type":"string","description":"The updated name of the conversation."}}},"ConversationResponse":{"title":"ConversationResponse","required":["id","kb_id","date_created","date_updated","user_id","has_not_answered_questions"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"name":{"title":"Name","type":"string"},"date_created":{"title":"Date Created","type":"string","format":"date-time"},"date_updated":{"title":"Date Updated","type":"string","format":"date-time"},"form_data":{"title":"Form Data","type":"array","items":{"$ref":"#/components/schemas/ConversationInputField"}},"user_id":{"title":"User Id","type":"string","format":"uuid"},"has_not_answered_questions":{"title":"Has Not Answered Questions","type":"boolean"},"agent_responding":{"title":"Agent Responding","type":"boolean","default":false},"medium":{"title":"Medium","enum":["whatsapp","danteembededd"],"type":"string"},"last_model_used":{"$ref":"#/components/schemas/ModelType"}}},"CreateConversationSharedResponse":{"title":"CreateConversationSharedResponse","required":["id"],"type":"object","properties":{"id":{"title":"Conversation Shared ID","type":"string","description":"Id of the conversation shared for which url was created.","format":"uuid"}}},"CreateIndexTaskResponse":{"title":"CreateIndexTaskResponse","required":["task_id"],"type":"object","properties":{"task_id":{"title":"Task Id","type":"string"}}},"CreateLink":{"title":"CreateLink","required":["parameters"],"type":"object","properties":{"parameters":{"title":"Parameters","type":"object"}}},"CreationStatus":{"title":"CreationStatus","enum":["new","created","in_creation","failed"],"description":"An enumeration."},"CreditsResponse":{"title":"CreditsResponse","required":["credits_used","credits_available","percentage"],"type":"object","properties":{"credits_used":{"title":"Credits Used","type":"number"},"credits_available":{"title":"Credits Available","type":"integer"},"percentage":{"title":"Percentage","type":"number"}}},"CustomizationResponse":{"title":"CustomizationResponse","required":["sharing_link"],"type":"object","properties":{"title":{"title":"Title","type":"string"},"favicon":{"title":"Favicon","type":"string"},"meta":{"title":"Meta","type":"string"},"meta_description":{"title":"Meta Description","type":"string"},"meta_image":{"title":"Meta Image","type":"string"},"sharing_link":{"title":"Sharing Link","type":"string"}}},"DanteReferrals":{"title":"DanteReferrals","required":["referred_by","referred_user","amount","campaign_name"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"date_created":{"title":"Date Created","type":"string","format":"date-time"},"date_updated":{"title":"Date Updated","type":"string","format":"date-time"},"referred_by":{"title":"User ID","type":"string","description":"The ID of the user that has the referral link.","format":"uuid"},"referred_user":{"title":"User ID","type":"string","description":"The ID of the user that got referred.","format":"uuid"},"amount":{"title":"Amount","type":"number","description":"Amount of referral."},"campaign_name":{"title":"Campaign name","type":"string","description":"Campaign name of the referral"}}},"DefaultImage":{"title":"DefaultImage","required":["big_image_url","small_image_url"],"type":"object","properties":{"big_image_url":{"title":"Big Image Url","maxLength":2083,"minLength":1,"type":"string","format":"uri"},"small_image_url":{"title":"Small Image Url","maxLength":2083,"minLength":1,"type":"string","format":"uri"}}},"DefaultImagesResponse":{"title":"DefaultImagesResponse","required":["results"],"type":"object","properties":{"results":{"title":"Results","type":"array","items":{"$ref":"#/components/schemas/DefaultImage"}}}},"DeleteMultipleKBPayload":{"title":"DeleteMultipleKBPayload","required":["kb_ids"],"type":"object","properties":{"kb_ids":{"title":"Kb Ids","type":"array","items":{"type":"string","format":"uuid"}}}},"EditAgentPayload":{"title":"EditAgentPayload","type":"object","properties":{"permissions":{"title":"Permissions","type":"string","description":"New permissions for the agent"},"knowledge_bases":{"title":"Knowledge Bases","type":"string","description":"List of chatbot IDs as a comma-separated string or 'All'","example":"de02d286-333f-4b82-bfab-5c322ef9e482,7fe9abdc-3123-49b7-aa79-6b0761a5f21c or all"}}},"ErrorModel":{"title":"ErrorModel","required":["detail"],"type":"object","properties":{"detail":{"title":"Detail","anyOf":[{"type":"string"},{"type":"object","additionalProperties":{"type":"string"}}]}}},"File":{"title":"File","required":["name","path","kb_id"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"date_created":{"title":"Date Created","type":"string","format":"date-time"},"date_updated":{"title":"Date Updated","type":"string","format":"date-time"},"name":{"title":"File Name","type":"string","description":"The name of the file."},"path":{"title":"File Path","type":"string","description":"The path to the file."},"kb_id":{"title":"Knowledge Base ID","type":"string","description":"The ID of the knowledge base associated with the file.","format":"uuid"},"type":{"title":"File Type","type":"string","description":"The type of the file.","default":"application/pdf"},"size":{"title":"File Size","type":"integer","description":"The size of the file in bytes.","default":0},"num_chars":{"title":"Number of characters","type":"integer","description":"Number of characters in the file.","default":0},"thumbnail":{"title":"Thumbnail URL","type":"string","description":"The thumbnail url of file if it exists."},"file_metadata_id":{"title":"File Metadata ID","type":"string","description":"The ID of the file metadata associated with the file.","format":"uuid"}}},"FileTypes":{"title":"FileTypes","enum":["application/pdf","application/json","text/xml","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/msword","text/plain","text/csv","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/zip","URL","IMAGE","application/vnd.google-apps.document","text/markdown","application/epub+zip","application/mbox","application/rtf","text/html","application/vnd.google-apps.spreadsheet"],"description":"An enumeration."},"FirstTimeUserResponse":{"title":"FirstTimeUserResponse","required":["first_time_notification_shown","tier_type"],"type":"object","properties":{"first_time_notification_shown":{"title":"First Time Notification Shown","type":"boolean"},"tier_type":{"title":"Tier Type","type":"string"}}},"HTTPValidationError":{"title":"HTTPValidationError","type":"object","properties":{"detail":{"title":"Detail","type":"array","items":{"$ref":"#/components/schemas/ValidationError"}}}},"ImageRequest":{"title":"ImageRequest","required":["description"],"type":"object","properties":{"description":{"title":"Description","type":"string"}}},"ImageResponse":{"title":"ImageResponse","required":["b64_json"],"type":"object","properties":{"b64_json":{"title":"B64 Json","type":"string"}}},"InsightsResponse":{"title":"InsightsResponse","required":["rate_success","flagged_messages","stats"],"type":"object","properties":{"rate_success":{"title":"Rate Success","type":"integer"},"flagged_messages":{"title":"Flagged Messages","type":"integer"},"stats":{"title":"Stats","type":"object","additionalProperties":{"type":"integer"}}}},"IntegrationMode":{"title":"IntegrationMode","enum":["TEXT","AVATAR"],"description":"An enumeration."},"IntercomEvent":{"title":"IntercomEvent","required":["type","app_id","topic","data"],"type":"object","properties":{"type":{"title":"Type","type":"string"},"app_id":{"title":"App Id","type":"string"},"topic":{"title":"Topic","type":"string"},"data":{"title":"Data","type":"object"}}},"IntercomSettingsPatchPayload":{"title":"IntercomSettingsPatchPayload","type":"object","properties":{"intercom_api_key":{"title":"Intercom Api Key","type":"string"},"intercom_company_id":{"title":"Intercom Company Id","type":"string"},"intercom_company_name":{"title":"Intercom Company Name","type":"string"},"intercom_company_tag":{"title":"Intercom Company Tag","type":"string"},"intercom_enabled":{"title":"Intercom Enabled","type":"boolean"},"intercom_connection_state":{"title":"Intercom Connection State","type":"boolean"}}},"IntercomSettingsResponse":{"title":"IntercomSettingsResponse","type":"object","properties":{"intercom_api_key":{"title":"Intercom Api Key","type":"string"},"intercom_company_id":{"title":"Intercom Company Id","type":"string"},"intercom_company_name":{"title":"Intercom Company Name","type":"string"},"intercom_company_tag":{"title":"Intercom Company Tag","type":"string"},"intercom_enabled":{"title":"Intercom Enabled","type":"boolean"},"intercom_connection_state":{"title":"Intercom Connection State","type":"boolean"}}},"KBInputField":{"title":"KBInputField","required":["input_name","input_type","input_label","input_placeholder","is_mandatory"],"type":"object","properties":{"input_name":{"title":"Input Name","type":"string","description":"The name of the input field."},"input_type":{"title":"Input Type","type":"string","description":"The type of the input field."},"input_label":{"title":"Input Label","type":"string","description":"The label of the input field."},"input_placeholder":{"title":"Input Placeholder","type":"string","description":"The placeholder of the input field."},"is_mandatory":{"title":"Is Mandatory","type":"boolean","description":"Flag indicating whether the input field is mandatory."}}},"KbCustomizationOverviewResponse":{"title":"KbCustomizationOverviewResponse","required":["kb_id","name","icon","connection_stats","insights","safety"],"type":"object","properties":{"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"name":{"title":"Name","type":"string"},"icon":{"title":"Icon","type":"string"},"connection_stats":{"$ref":"#/components/schemas/ConnectionStatsResponse"},"insights":{"$ref":"#/components/schemas/InsightsResponse"},"safety":{"$ref":"#/components/schemas/SafetyResponse"}}},"KbDashboardResponse":{"title":"KbDashboardResponse","required":["results","message"],"type":"object","properties":{"results":{"title":"Results","type":"array","items":{"$ref":"#/components/schemas/KbCustomizationOverviewResponse"}},"message":{"title":"Message","type":"string"}}},"KnowledgeBase":{"title":"KnowledgeBase","required":["knowledge_base_name","user_id"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"date_created":{"title":"Date Created","type":"string","format":"date-time"},"date_updated":{"title":"Date Updated","type":"string","format":"date-time"},"knowledge_base_name":{"title":"Knowledge Base Name","type":"string","description":"The name of the knowledge base."},"indexed":{"title":"Indexed Fields","type":"object","description":"Additional fields used for indexing the knowledge base."},"user_id":{"title":"User ID","type":"string","description":"The ID of the user associated with the knowledge base.","format":"uuid"},"created_by":{"title":"Created By","type":"string","description":"The ID of the user who created the knowledge base when within a team.","format":"uuid"},"team_id":{"title":"Team ID","type":"string","description":"The ID of the team associated with the knowledge base.","format":"uuid"},"type":{"title":"Knowledge Base Type","type":"string","description":"The type of the knowledge base.","default":"file"},"num_chars":{"title":"Number of characters","type":"integer","description":"Number of characters of all files in this knowledge base.","default":0},"vectordb_indexed":{"title":"VectorDB indexed","type":"boolean","description":"Indicator whether the data is stored in vector db or not.","default":false},"is_currently_training":{"title":"Is Knowledge Base currently being trained","type":"boolean","description":"Indicator whether the knowledge base is being trained at the moment.","default":false},"last_model_used":{"title":"Last Model Used","allOf":[{"$ref":"#/components/schemas/ModelType"}],"description":"Last model used to train this knowledge base"},"new_design_activated":{"title":"Activate New Design","type":"boolean","description":"Flag indicating whether the new design is activated.","default":false}}},"KnowledgeBaseCustomization":{"title":"KnowledgeBaseCustomization","required":["kb_id","kb_name","display_name","brand_website","chatbot_icon","calendly_btn_text"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"date_created":{"title":"Date Created","type":"string","format":"date-time"},"date_updated":{"title":"Date Updated","type":"string","format":"date-time"},"user_id":{"title":"User ID","type":"string","description":"The ID of the user associated with the knowledge base customization.","format":"uuid"},"kb_id":{"title":"Knowledge Base ID","type":"string","description":"The ID of the knowledge base associated with the customization.","format":"uuid"},"kb_name":{"title":"Knowledge Base Name","type":"string","description":"The name of the knowledge base."},"integration_mode":{"title":"Integration mode for the customization (text or avatar)","allOf":[{"$ref":"#/components/schemas/IntegrationMode"}],"default":"TEXT"},"base_system_prompt":{"title":"Base System Prompt","type":"string","description":"The base system prompt used for the knowledge base.","default":"You should always refuse to answer questions that are not related to this specific knowledge base. You will be penalized if you refer to anything outside the documents you were trained on. Do not answer even if the data is part of exchanged messages but not within the provided context. Communicate in any language the user chooses; you are knowledgeable in all languages and should provide information in them."},"initial_messages":{"title":"Initial Messages","type":"array","items":{"type":"string"},"description":"The list of initial messages for the knowledge base.","default":["👋 Hi, how can I help you?"]},"prompt_suggestions":{"title":"Prompt Suggestions","type":"array","items":{"type":"string"},"description":"The list of prompt suggestions for the knowledge base.","default":["Explain the contents of this chatbot","Write a poem about this chatbot","Give me three key points from this chatbot"]},"display_name":{"title":"Display Name","type":"string","description":"The display name for the knowledge base."},"visitor_chat_color":{"title":"Visitor Chat Color","type":"string","description":"The color for visitor chat in the knowledge base."},"dante_chat_color":{"title":"Dante Chat Color","type":"string","description":"The color for Dante chat in the knowledge base."},"chatbot_profile_pic":{"title":"Chatbot Profile Picture","type":"string","description":"The profile picture URL for the chatbot in the knowledge base."},"embed_logo_url":{"title":"Embed Logo URL","type":"string","description":"The URL of the logo used for embedding the knowledge base."},"embed_page_url":{"title":"Embed Page URL","type":"string","description":"The URL of the page where the knowledge base is embedded."},"prompts_color":{"title":"Prompts Color","type":"string","description":"The color for prompts in the knowledge base."},"custom_url":{"title":"Custom URL","type":"string","description":"The custom URL for the knowledge base."},"dns_values":{"title":"DNS Values","type":"array","items":{"type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"}]}},"description":"The list of DNS records for the custom url of the knowledge base."},"custom_url_favicon":{"title":"Favicon to be used on custom url sharing","type":"string"},"custom_url_title":{"title":"Page Title","type":"string","description":"Page title to be used when sharing with custom url."},"custom_url_meta":{"title":"Page Title","type":"string","description":"Page meta to be used when sharing with custom url."},"custom_url_meta_image":{"title":"Meta Image","type":"string","description":"Page meta image to be used when sharing with custom url."},"custom_url_meta_description":{"title":"Meta Description","type":"string","description":"Page meta description to be used when sharing with custom url."},"show_tooltips":{"title":"Show Tooltips","type":"boolean","description":"Flag indicating whether tooltips should be shown in the knowledge base.","default":true},"remove_dante_logo":{"title":"Remove the Dante Logo","type":"boolean","description":"Flag indicating whether we remove the dante logo or not.","default":false},"font_name":{"title":"Font Name","type":"string","description":"Name of the font to be used."},"font_size":{"title":"Font Size","type":"integer","description":"Size of the Font to be used."},"dante_font_color":{"title":"Dante Font Color","type":"string","description":"Font Color of Dante logo."},"visitor_font_color":{"title":"Visitor Font Color","type":"string","description":"Color of the font displayed for visitors."},"chat_background_color":{"title":"Chat Background Color","type":"string","description":"Background color of the chat."},"custom_css":{"title":"Custom CSS","type":"string"},"hide_microphone_icon":{"title":"Hide Microphone Icon","type":"boolean","description":"Flag indicating whether we hide microphone icon or not.","default":false},"hide_play_icon":{"title":"Hide Play Icon","type":"boolean","description":"Flag indicating whether we hide play icon or not.","default":false},"password":{"title":"Password","type":"string","description":"Password set for the chatbot in case it is private."},"public":{"title":"Public","type":"boolean","description":"Flag indicating whether the chatbot for kb is public.","default":true},"enabled":{"title":"Enabled","type":"boolean","description":"Flag indicating whether the chatbot for this kb is enabled.","default":true},"max_number_of_credits":{"title":"Max Number of Credits","type":"integer","description":"Max number of credits that can be used for this knowledge.","default":0},"prompts_font_color":{"title":"Prompt Font Color","type":"string","description":"Color of the prompts font in the knowledge base."},"input_background":{"title":"Input Background","type":"string","description":"Background of the input."},"scrollbar_color":{"title":"Scrollbar Color","type":"string","description":"Color of the scrollbar for the knowledge base."},"input_placeholder_text":{"title":"Input Placeholder Text","type":"string","description":"Default text specified for the input."},"show_prompt_messages":{"title":"Show Prompt Message","type":"boolean","description":"Flag indicating whether to show the prompt message.","default":true},"is_bubble_opened":{"title":"Is Bubble Opened","type":"boolean","description":"Flag indicating whether Is the bubble opened by default or not.","default":true},"disclaimer_text":{"title":"Disclaimer text","type":"string","description":"The disclaimer text that should be shown under the query input."},"timestamp_color":{"title":"Timestamp color","type":"string","description":"Color of the message timestamp."},"close_icon_color":{"title":"Close icon color","type":"string","description":"Color of the close icon on chat bubble."},"data_collection_title":{"title":"Title of the data collection form","type":"string","description":"The title which is shown with data collection form."},"data_collection_fields":{"title":"Fields which are part of the form","type":"array","items":{"$ref":"#/components/schemas/KBInputField"},"description":"The list of fields for the data collection.","default":[]},"data_collection":{"title":"Data Collection","type":"boolean","description":"Flag indicating whether data collection is enabled or not.","default":false},"data_collection_as_nlp":{"title":"Flag indicating if the data collection shows as nlp form or data collection form","type":"boolean","description":"Flag indicating if the data collection shows as nlp form or data collection form","default":false},"data_collection_consent_text":{"title":"Data collection consent text used on forms","type":"string","description":"The text shown on user consent."},"is_data_collection_optional":{"title":"Data collection form","type":"boolean","description":"Flag indicating whether data collection form is optional or not","default":false},"show_data_collection_on_conversation_begin":{"title":"Show data collection form in the beggining of conversation","type":"boolean","description":"Flag indicating whether to show data collection form in the beginning of conversation","default":true},"data_collection_rule":{"title":"Rule of showing data collection form","type":"string","description":"Rule that sets the condition when to show the data collection form"},"number_of_messages_per_minutes":{"title":"Number of messages per minutes.","type":"integer","description":"Number of messages set by user that can be sent per minutes specified by user.","default":0},"number_of_minutes":{"title":"Number of minutes for messages.","type":"integer","description":"Number of minutes set by user that other users can send messages specified in number_of_messages_per_minutes.","default":0},"max_messages_in_conversations":{"title":"Number of messages per conversation.","type":"integer","description":"Maximum number of messages in a shared conversation of this knowledge base.","default":0},"temperature":{"title":"Chatbot temperature.","type":"number","description":"Temperature used by the chatbot","default":0},"intercom_api_key":{"title":"Intercom API Key","type":"string","description":"The intercom api key for the knowledge base."},"intercom_company_id":{"title":"Intercom Company ID","type":"string","description":"The intercom company id for the knowledge base."},"intercom_company_name":{"title":"Intercom Company Name","type":"string","description":"The intercom company name related to this knowledge base."},"intercom_company_tag":{"title":"Intercom Company Tag","type":"string","description":"The intercom company tag for the knowledge base."},"intercom_enabled":{"title":"Intercom Integration Enabled","type":"boolean","description":"The intercom integration enable switch."},"disclaimer_text_color":{"title":"Disclaimer Text Color","type":"string","description":"The color of the disclaimer text."},"visitor_border_color":{"title":"Visitor Border Color","type":"string","description":"The color of the disclaimer text."},"dante_border_color":{"title":"Dante Border Color","type":"string","description":"The color of the disclaimer text."},"intercom_connection_state":{"title":"Intercom Integration","type":"boolean","description":"Flag indication whether Intercom Integration Connection has been achieved."},"talk_to_live_agent":{"title":"Show Live to talk agent button","type":"boolean","description":"Flag indicating whether we show the Live to Talk Agent button or not.","default":false},"live_agent_email_prompt":{"title":"Live Agent Email Prompt","type":"string","description":"The live agent email prompt."},"live_agent_name_prompt":{"title":"Live Agent Name Prompt","type":"string","description":"The live agent name prompt."},"live_agent_always_active":{"title":"Live agent always active flag","type":"boolean","description":"Flag indication whether live agent is always on."},"live_agent_user_timezone":{"title":"Live Agent user timezone","type":"string","description":"The time zone of the live agent user."},"live_agent_list_of_schedules":{"title":"Live agent list of schedules","type":"array","items":{"type":"object"},"description":"Live agent list of schedules."},"show_live_agent_on_conversation_begin":{"title":"Show live agent option in the beginning of conversation","type":"boolean","description":"Flag indicating whether to live agent option in the beginning of conversation","default":true},"show_live_agent_rule":{"title":"Rule of showing live agent button","type":"string","description":"Rule that sets the condition when to show the live agent button"},"hide_email_button":{"title":"Hide the email button for bubble or iframe","type":"boolean","description":"Flag indicating whether the email button is hidden or not","default":true},"calendly_integration_enabled":{"title":"Boolean indicating if calendly was integrated or not","type":"boolean","description":"Boolean indicating if calendly was integrated or not","default":false},"calendly_url":{"title":"Calendly URL provided by the user","type":"string","description":"Calendly URL provided by the user"},"show_calendly_at_the_start":{"title":"Boolean indicating if calendly should be shown on conversation start","type":"boolean","description":"Boolean indicating if calendly should be shown on conversation start","default":true},"show_calendly_rule":{"title":"Rule for deciding whether the calendly should be shown or not","type":"string","description":"Rule for deciding whether the calendly should be shown or not"},"personalities_template":{"title":"Personalities Template","type":"string","description":"The templates of personality."},"finished_steps":{"title":"Steps finished","type":"array","items":{"type":"string"},"description":"Finished steps","default":[]},"suggested_prompts_appearance":{"title":"Suggested Prompts Appearance","type":"string","description":"Show suggested prompts"},"whitelisted_domains":{"title":"Whitelisted Domains","type":"array","items":{"type":"string"},"description":"Comma-separated list of domains that are allowed to access the knowledge base."},"open_to_internet_knowledge":{"title":"Flag to indicate whether we want to open to internet knowledge","type":"boolean","description":"Flag indicating whether we want to open to internet.","default":true},"realtime_voice_access":{"title":"Realtime Voice Access","type":"boolean","description":"Flag indicating whether realtime voice access is enabled.","default":false},"custom_url_enabled":{"title":"Custom URL Enabled","type":"boolean","description":"Flag indicating whether custom URL is enabled.","default":false},"remove_watermark":{"title":"Remove Watermark","type":"boolean","description":"Flag indicating whether to remove the watermark.","default":false},"show_welcome_message_as_tooltip":{"title":"Show welcome message as tooltip","type":"boolean","description":"Flag indicating whether to show welcome message as tooltip.","default":false},"show_email_details":{"title":"Show email details","type":"boolean","description":"Flag indicating whether to show email details.","default":false},"show_microphone":{"title":"Show microphone","type":"boolean","description":"Flag indicating whether to show microphone.","default":false},"show_play_button":{"title":"Show play button","type":"boolean","description":"Flag indicating whether to show play button.","default":false},"open_chat_by_default":{"title":"Open chat by default","type":"boolean","description":"Flag indicating whether to open chat by default.","default":false},"brand_color":{"title":"Brand Color","type":"string","description":"The color of the brand.","default":"#8275F7"},"element_color":{"title":"Element Color","type":"string","description":"The color of the element.","default":"#000000"},"surface_color":{"title":"Surface Color","type":"string","description":"The color of the surface.","default":"#FFFFFF"},"alert_color":{"title":"Alert Color","type":"string","description":"The color of the alert.","default":"#FF9C28"},"positive_color":{"title":"Positive Color","type":"string","description":"The color of the positive.","default":"#0ED909"},"negative_color":{"title":"Negative Color","type":"string","description":"The color of the negative.","default":"#FF3528"},"disclaimer_enabled":{"title":"Disclaimer Enabled","type":"boolean","description":"Flag indicating whether disclaimer is enabled.","default":false},"brand_website":{"title":"Brand Website","type":"string","description":"The website of the brand."},"chatbot_icon":{"title":"Chatbot Icon","type":"string","description":"The icon of the chatbot."},"calendly_btn_text":{"title":"Calendly Button Text","type":"string","description":"The text of the calendly button."},"suggested_prompts_enabled":{"title":"Suggested Prompts Enabled","type":"boolean","description":"Flag indicating whether suggested prompts are enabled.","default":false},"autorefresh_enabled":{"title":"Autorefresh Enabled","type":"boolean","description":"Flag indicating whether autorefresh is enabled.","default":false},"home_tab_enabled":{"title":"Home Tab Enabled","type":"boolean","description":"Flag indicating whether home tab is enabled.","default":true},"avatar_enabled":{"title":"Avatar Enabled","type":"boolean","description":"Flag indicating whether avatar is enabled.","default":false}}},"KnowledgeBaseCustomizationIntercomEnabledPatch":{"title":"KnowledgeBaseCustomizationIntercomEnabledPatch","required":["intercom_enabled"],"type":"object","properties":{"intercom_enabled":{"title":"Intercom Enabled","type":"boolean"}}},"KnowledgeBaseCustomizationPatchPayload":{"title":"KnowledgeBaseCustomizationPatchPayload","type":"object","properties":{"kb_name":{"title":"Kb Name","type":"string"},"base_system_prompt":{"title":"Base System Prompt","type":"string"},"initial_messages":{"title":"Initial Messages","type":"array","items":{"type":"string"}},"prompt_suggestions":{"title":"Prompt Suggestions","type":"array","items":{"type":"string"}},"display_name":{"title":"Display Name","type":"string"},"integration_mode":{"$ref":"#/components/schemas/IntegrationMode"},"avatar_id":{"title":"Avatar Id","type":"string","format":"uuid"},"voice_id":{"title":"Voice Id","type":"string","format":"uuid"},"speaking_style":{"$ref":"#/components/schemas/VoiceStyleNames"},"visitor_chat_color":{"title":"Visitor Chat Color","type":"string"},"dante_chat_color":{"title":"Dante Chat Color","type":"string"},"embed_logo_url":{"title":"Embed Logo Url","type":"string"},"embed_page_url":{"title":"Embed Page Url","type":"string"},"chatbot_profile_pic":{"title":"Chatbot Profile Pic","type":"string"},"prompts_color":{"title":"Prompts Color","type":"string"},"custom_url":{"title":"Custom Url","type":"string"},"show_tooltips":{"title":"Show Tooltips","type":"boolean"},"remove_dante_logo":{"title":"Remove Dante Logo","type":"boolean"},"custom_url_favicon":{"title":"Custom Url Favicon","type":"string"},"custom_url_title":{"title":"Custom Url Title","type":"string"},"custom_url_meta":{"title":"Custom Url Meta","type":"string"},"custom_url_meta_image":{"title":"Custom Url Meta Image","type":"string"},"custom_url_meta_description":{"title":"Custom Url Meta Description","type":"string"},"font_name":{"title":"Font Name","type":"string"},"font_size":{"title":"Font Size","type":"integer"},"dante_font_color":{"title":"Dante Font Color","type":"string"},"visitor_font_color":{"title":"Visitor Font Color","type":"string"},"chat_background_color":{"title":"Chat Background Color","type":"string"},"custom_css":{"title":"Custom Css","type":"string"},"hide_microphone_icon":{"title":"Hide Microphone Icon","type":"boolean"},"hide_play_icon":{"title":"Hide Play Icon","type":"boolean"},"password":{"title":"Password","type":"string"},"public":{"title":"Public","type":"boolean"},"enabled":{"title":"Enabled","type":"boolean"},"max_number_of_credits":{"title":"Max Number Of Credits","type":"integer"},"number_of_messages_per_minutes":{"title":"Number Of Messages Per Minutes","type":"integer"},"number_of_minutes":{"title":"Number Of Minutes","type":"integer"},"max_messages_in_conversations":{"title":"Max Messages In Conversations","type":"integer"},"temperature":{"title":"Temperature","type":"number"},"prompts_font_color":{"title":"Prompts Font Color","type":"string"},"input_background":{"title":"Input Background","type":"string"},"scrollbar_color":{"title":"Scrollbar Color","type":"string"},"input_placeholder_text":{"title":"Input Placeholder Text","type":"string"},"show_prompt_messages":{"title":"Show Prompt Messages","type":"boolean"},"is_bubble_opened":{"title":"Is Bubble Opened","type":"boolean"},"disclaimer_text":{"title":"Disclaimer Text","type":"string"},"dante_border_color":{"title":"Dante Border Color","type":"string"},"visitor_border_color":{"title":"Visitor Border Color","type":"string"},"timestamp_color":{"title":"Timestamp Color","type":"string"},"close_icon_color":{"title":"Close Icon Color","type":"string"},"data_collection_title":{"title":"Data Collection Title","type":"string"},"data_collection_fields":{"title":"Data Collection Fields","type":"array","items":{"$ref":"#/components/schemas/KBInputField"}},"data_collection":{"title":"Data Collection","type":"boolean"},"data_collection_as_nlp":{"title":"Data Collection As Nlp","type":"boolean"},"data_collection_consent_text":{"title":"Data Collection Consent Text","type":"string"},"is_data_collection_optional":{"title":"Is Data Collection Optional","type":"boolean"},"show_data_collection_on_conversation_begin":{"title":"Show Data Collection On Conversation Begin","type":"boolean","default":true},"data_collection_rule":{"title":"Data Collection Rule","type":"string"},"intercom_api_key":{"title":"Intercom Api Key","type":"string"},"intercom_company_id":{"title":"Intercom Company Id","type":"string"},"intercom_company_name":{"title":"Intercom Company Name","type":"string"},"intercom_company_tag":{"title":"Intercom Company Tag","type":"string"},"disclaimer_text_color":{"title":"Disclaimer Text Color","type":"string"},"intercom_enabled":{"title":"Intercom Enabled","type":"boolean"},"intercom_connection_state":{"title":"Intercom Connection State","type":"boolean"},"talk_to_live_agent":{"title":"Talk To Live Agent","type":"boolean"},"live_agent_email_prompt":{"title":"Live Agent Email Prompt","type":"string"},"live_agent_name_prompt":{"title":"Live Agent Name Prompt","type":"string"},"live_agent_always_active":{"title":"Live Agent Always Active","type":"boolean"},"live_agent_list_of_schedules":{"title":"Live Agent List Of Schedules","type":"array","items":{"type":"object"}},"live_agent_user_timezone":{"title":"Live Agent User Timezone","type":"string"},"show_live_agent_on_conversation_begin":{"title":"Show Live Agent On Conversation Begin","type":"boolean"},"show_live_agent_rule":{"title":"Show Live Agent Rule","type":"string"},"hide_email_button":{"title":"Hide Email Button","type":"boolean"},"calendly_integration_enabled":{"title":"Calendly Integration Enabled","type":"boolean"},"calendly_url":{"title":"Calendly Url","type":"string"},"show_calendly_at_the_start":{"title":"Show Calendly At The Start","type":"boolean"},"show_calendly_rule":{"title":"Show Calendly Rule","type":"string"},"personalities_template":{"title":"Personalities Template","type":"string"},"suggested_prompts_appearance":{"title":"Suggested Prompts Appearance","type":"string"},"whitelisted_domains":{"title":"Whitelisted Domains","type":"array","items":{"type":"string"}},"finished_steps":{"title":"Finished Steps","type":"array","items":{"type":"string"}},"open_to_internet_knowledge":{"title":"Open To Internet Knowledge","type":"boolean"},"realtime_voice_access":{"title":"Realtime Voice Access","type":"boolean"},"custom_url_enabled":{"title":"Custom Url Enabled","type":"boolean"},"remove_watermark":{"title":"Remove Watermark","type":"boolean"},"show_welcome_message_as_tooltip":{"title":"Show Welcome Message As Tooltip","type":"boolean"},"show_email_details":{"title":"Show Email Details","type":"boolean"},"show_microphone":{"title":"Show Microphone","type":"boolean"},"show_play_button":{"title":"Show Play Button","type":"boolean"},"open_chat_by_default":{"title":"Open Chat By Default","type":"boolean"},"brand_color":{"title":"Brand Color","type":"string"},"element_color":{"title":"Element Color","type":"string"},"surface_color":{"title":"Surface Color","type":"string"},"alert_color":{"title":"Alert Color","type":"string"},"positive_color":{"title":"Positive Color","type":"string"},"negative_color":{"title":"Negative Color","type":"string"},"disclaimer_enabled":{"title":"Disclaimer Enabled","type":"boolean"},"brand_website":{"title":"Brand Website","type":"string"},"chatbot_icon":{"title":"Chatbot Icon","type":"string"},"calendly_btn_text":{"title":"Calendly Btn Text","type":"string"},"suggested_prompts_enabled":{"title":"Suggested Prompts Enabled","type":"boolean"}}},"KnowledgeBaseCustomizationPayload":{"title":"KnowledgeBaseCustomizationPayload","required":["kb_id","kb_name","display_name"],"type":"object","properties":{"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"kb_name":{"title":"Kb Name","type":"string"},"base_system_prompt":{"title":"Base System Prompt","type":"string","default":"You should always refuse to answer questions that are not related to this specific knowledge base. You will be penalized if you refer to anything outside the documents you were trained on. Do not answer even if the data is part of exchanged messages but not within the provided context. Communicate in any language the user chooses; you are knowledgeable in all languages and should provide information in them."},"initial_messages":{"title":"Initial Messages","type":"array","items":{"type":"string"},"default":["👋 Hi, how can I help you?"]},"prompt_suggestions":{"title":"Prompt Suggestions","type":"array","items":{"type":"string"},"default":["Explain the contents of this chatbot","Write a poem about this chatbot","Give me three key points from this chatbot"]},"display_name":{"title":"Display Name","type":"string"},"integration_mode":{"allOf":[{"$ref":"#/components/schemas/IntegrationMode"}],"default":"TEXT"},"avatar_id":{"title":"Avatar Id","type":"string","format":"uuid"},"voice_id":{"title":"Voice Id","type":"string","format":"uuid"},"speaking_style":{"$ref":"#/components/schemas/VoiceStyleNames"},"visitor_chat_color":{"title":"Visitor Chat Color","type":"string"},"dante_chat_color":{"title":"Dante Chat Color","type":"string"},"embed_logo_url":{"title":"Embed Logo Url","type":"string"},"embed_page_url":{"title":"Embed Page Url","type":"string"},"chatbot_profile_pic":{"title":"Chatbot Profile Pic","type":"string"},"prompts_color":{"title":"Prompts Color","type":"string"},"custom_url":{"title":"Custom Url","type":"string"},"show_tooltips":{"title":"Show Tooltips","type":"boolean","default":true},"remove_dante_logo":{"title":"Remove Dante Logo","type":"boolean","default":false},"custom_url_favicon":{"title":"Custom Url Favicon","type":"string"},"custom_url_title":{"title":"Custom Url Title","type":"string"},"custom_url_meta":{"title":"Custom Url Meta","type":"string"},"custom_url_meta_image":{"title":"Custom Url Meta Image","type":"string"},"custom_url_meta_description":{"title":"Custom Url Meta Description","type":"string"},"font_name":{"title":"Font Name","type":"string"},"font_size":{"title":"Font Size","type":"integer"},"dante_font_color":{"title":"Dante Font Color","type":"string"},"visitor_font_color":{"title":"Visitor Font Color","type":"string"},"chat_background_color":{"title":"Chat Background Color","type":"string"},"custom_css":{"title":"Custom Css","type":"string"},"hide_microphone_icon":{"title":"Hide Microphone Icon","type":"boolean","default":false},"hide_play_icon":{"title":"Hide Play Icon","type":"boolean","default":false},"password":{"title":"Password","type":"string"},"public":{"title":"Public","type":"boolean","default":true},"enabled":{"title":"Enabled","type":"boolean","default":true},"max_number_of_credits":{"title":"Max Number Of Credits","type":"integer","default":0},"number_of_messages_per_minutes":{"title":"Number Of Messages Per Minutes","type":"integer","default":0},"number_of_minutes":{"title":"Number Of Minutes","type":"integer","default":0},"max_messages_in_conversations":{"title":"Max Messages In Conversations","type":"integer","default":0},"temperature":{"title":"Temperature","type":"number","default":0},"prompts_font_color":{"title":"Prompts Font Color","type":"string"},"input_background":{"title":"Input Background","type":"string"},"scrollbar_color":{"title":"Scrollbar Color","type":"string"},"input_placeholder_text":{"title":"Input Placeholder Text","type":"string"},"show_prompt_messages":{"title":"Show Prompt Messages","type":"boolean","default":true},"is_bubble_opened":{"title":"Is Bubble Opened","type":"boolean","default":false},"disclaimer_text":{"title":"Disclaimer Text","type":"string"},"dante_border_color":{"title":"Dante Border Color","type":"string"},"visitor_border_color":{"title":"Visitor Border Color","type":"string"},"timestamp_color":{"title":"Timestamp Color","type":"string"},"close_icon_color":{"title":"Close Icon Color","type":"string"},"data_collection_title":{"title":"Data Collection Title","type":"string"},"data_collection_fields":{"title":"Data Collection Fields","type":"array","items":{"$ref":"#/components/schemas/KBInputField"}},"data_collection":{"title":"Data Collection","type":"boolean","default":false},"data_collection_as_nlp":{"title":"Data Collection As Nlp","type":"boolean","default":false},"data_collection_consent_text":{"title":"Data Collection Consent Text","type":"string"},"is_data_collection_optional":{"title":"Is Data Collection Optional","type":"boolean","default":false},"show_data_collection_on_conversation_begin":{"title":"Show Data Collection On Conversation Begin","type":"boolean","default":true},"data_collection_rule":{"title":"Data Collection Rule","type":"string"},"intercom_api_key":{"title":"Intercom Api Key","type":"string"},"intercom_company_id":{"title":"Intercom Company Id","type":"string"},"intercom_company_name":{"title":"Intercom Company Name","type":"string"},"intercom_company_tag":{"title":"Intercom Company Tag","type":"string"},"disclaimer_text_color":{"title":"Disclaimer Text Color","type":"string"},"intercom_enabled":{"title":"Intercom Enabled","type":"boolean","default":false},"intercom_connection_state":{"title":"Intercom Connection State","type":"boolean","default":false},"talk_to_live_agent":{"title":"Talk To Live Agent","type":"boolean","default":false},"live_agent_email_prompt":{"title":"Live Agent Email Prompt","type":"string"},"live_agent_name_prompt":{"title":"Live Agent Name Prompt","type":"string"},"live_agent_always_active":{"title":"Live Agent Always Active","type":"boolean","default":false},"live_agent_list_of_schedules":{"title":"Live Agent List Of Schedules","type":"array","items":{"type":"object"},"default":[]},"live_agent_user_timezone":{"title":"Live Agent User Timezone","type":"string"},"show_live_agent_on_conversation_begin":{"title":"Show Live Agent On Conversation Begin","type":"boolean","default":true},"show_live_agent_rule":{"title":"Show Live Agent Rule","type":"string"},"hide_email_button":{"title":"Hide Email Button","type":"boolean","default":true},"calendly_integration_enabled":{"title":"Calendly Integration Enabled","type":"boolean","default":false},"calendly_url":{"title":"Calendly Url","type":"string"},"show_calendly_at_the_start":{"title":"Show Calendly At The Start","type":"boolean","default":true},"show_calendly_rule":{"title":"Show Calendly Rule","type":"string"},"personalities_template":{"title":"Personalities Template","type":"string"},"suggested_prompts_appearance":{"title":"Suggested Prompts Appearance","type":"string"},"whitelisted_domains":{"title":"Whitelisted Domains","type":"array","items":{"type":"string"},"default":[]},"finished_steps":{"title":"Finished Steps","type":"array","items":{"type":"string"},"default":[]},"open_to_internet_knowledge":{"title":"Open To Internet Knowledge","type":"boolean","default":false},"realtime_voice_access":{"title":"Realtime Voice Access","type":"boolean","default":false},"custom_url_enabled":{"title":"Custom Url Enabled","type":"boolean","default":false},"remove_watermark":{"title":"Remove Watermark","type":"boolean"},"show_welcome_message_as_tooltip":{"title":"Show Welcome Message As Tooltip","type":"boolean"},"show_email_details":{"title":"Show Email Details","type":"boolean"},"show_microphone":{"title":"Show Microphone","type":"boolean"},"show_play_button":{"title":"Show Play Button","type":"boolean"},"open_chat_by_default":{"title":"Open Chat By Default","type":"boolean"},"brand_color":{"title":"Brand Color","type":"string"},"element_color":{"title":"Element Color","type":"string"},"surface_color":{"title":"Surface Color","type":"string"},"alert_color":{"title":"Alert Color","type":"string"},"positive_color":{"title":"Positive Color","type":"string"},"negative_color":{"title":"Negative Color","type":"string"},"disclaimer_enabled":{"title":"Disclaimer Enabled","type":"boolean"},"brand_website":{"title":"Brand Website","type":"string"},"chatbot_icon":{"title":"Chatbot Icon","type":"string"},"calendly_btn_text":{"title":"Calendly Btn Text","type":"string"},"suggested_prompts_enabled":{"title":"Suggested Prompts Enabled","type":"boolean"}}},"KnowledgeBaseListResponse":{"title":"KnowledgeBaseListResponse","required":["results"],"type":"object","properties":{"results":{"title":"Results","type":"array","items":{"$ref":"#/components/schemas/KnowledgeBase"}}}},"KnowledgeBasePatchPayload":{"title":"KnowledgeBasePatchPayload","type":"object","properties":{"name":{"title":"Updated Name","type":"string","description":"The updated name of the knowledge base."},"last_model_used":{"title":"Model Type","allOf":[{"$ref":"#/components/schemas/ModelType"}],"description":"The updated model type of the knowledge base."}}},"KnowledgeBaseResponse":{"title":"KnowledgeBaseResponse","required":["results"],"type":"object","properties":{"results":{"$ref":"#/components/schemas/KnowledgeBaseResults"}}},"KnowledgeBaseResults":{"title":"KnowledgeBaseResults","required":["knowledge_base","files"],"type":"object","properties":{"knowledge_base":{"$ref":"#/components/schemas/KnowledgeBase"},"files":{"title":"Files","type":"array","items":{"$ref":"#/components/schemas/File"}},"total_count":{"title":"Total Count","type":"integer"}}},"KnowledgeBaseSortedResponse":{"title":"KnowledgeBaseSortedResponse","required":["files","pagination","total_count"],"type":"object","properties":{"files":{"title":"Files","type":"array","items":{"$ref":"#/components/schemas/File"}},"pagination":{"$ref":"#/components/schemas/Pagination"},"total_count":{"title":"Total Count","type":"integer"}}},"KnowledgeBaseTrainingSchedule":{"title":"KnowledgeBaseTrainingSchedule","required":["kb_id","user_id","option","hour"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"date_created":{"title":"Date Created","type":"string","format":"date-time"},"date_updated":{"title":"Date Updated","type":"string","format":"date-time"},"kb_id":{"title":"Knowledge Base ID","type":"string","description":"The ID of the knowledge base.","format":"uuid"},"user_id":{"title":"User ID","type":"string","description":"The ID of the user associated with the knowledge base training schedule.","format":"uuid"},"option":{"title":"Auto training schedule option","allOf":[{"$ref":"#/components/schemas/ScheduleOption"}],"description":"Option that sets the repeat interval of retraining."},"day_of_week":{"title":"Auto training scheduled day","type":"string","description":"The scheduled day or days when model will begin retraining.","default":""},"hour":{"title":"Auto training scheduled hour","type":"string","description":"The scheduled time (hour) when model will begin retraining."},"minute":{"title":"Auto training scheduled minutes","type":"string","description":"The scheduled time (minutes) when model will begin retraining.","default":"0"}}},"LinkGroupPagePatchPayload":{"title":"LinkGroupPagePatchPayload","required":["kb_id"],"type":"object","properties":{"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"title":{"title":"Title","type":"string"},"open_all_in_new_tab":{"title":"Open All In New Tab","type":"boolean"},"items":{"title":"Items","type":"array","items":{"$ref":"#/components/schemas/LinkGroupSlotItemPatchPayload"}},"order":{"title":"Order","type":"integer"},"id":{"title":"Id","type":"string","format":"uuid"}}},"LinkGroupSlotItemPatchPayload":{"title":"LinkGroupSlotItemPatchPayload","type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"name":{"title":"Name","type":"string"},"url":{"title":"Url","type":"string"},"order":{"title":"Order","type":"integer"}}},"LinkGroupSlotItemPayload":{"title":"LinkGroupSlotItemPayload","required":["name","url","order"],"type":"object","properties":{"name":{"title":"Name","type":"string"},"url":{"title":"Url","type":"string"},"order":{"title":"Order","type":"integer"}}},"LinkGroupSlotItemResponse":{"title":"LinkGroupSlotItemResponse","required":["id","name","url","order"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"name":{"title":"Name","type":"string"},"url":{"title":"Url","type":"string"},"order":{"title":"Order","type":"integer"}}},"LinkGroupSlotPatchPayload":{"title":"LinkGroupSlotPatchPayload","required":["kb_id"],"type":"object","properties":{"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"title":{"title":"Title","type":"string"},"open_all_in_new_tab":{"title":"Open All In New Tab","type":"boolean"},"items":{"title":"Items","type":"array","items":{"$ref":"#/components/schemas/LinkGroupSlotItemPatchPayload"}},"order":{"title":"Order","type":"integer"}}},"LinkGroupSlotPayload":{"title":"LinkGroupSlotPayload","required":["kb_id","title","open_all_in_new_tab","items","order"],"type":"object","properties":{"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"title":{"title":"Title","type":"string"},"open_all_in_new_tab":{"title":"Open All In New Tab","type":"boolean"},"items":{"title":"Items","minItems":1,"type":"array","items":{"$ref":"#/components/schemas/LinkGroupSlotItemPayload"}},"order":{"title":"Order","type":"integer"}}},"LinkGroupSlotResponse":{"title":"LinkGroupSlotResponse","required":["id","user_id","kb_id","title","open_all_in_new_tab","items","order","disclaimer","type"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"user_id":{"title":"User Id","type":"string","format":"uuid"},"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"title":{"title":"Title","type":"string"},"open_all_in_new_tab":{"title":"Open All In New Tab","type":"boolean"},"items":{"title":"Items","type":"array","items":{"$ref":"#/components/schemas/LinkGroupSlotItemResponse"}},"order":{"title":"Order","type":"integer"},"disclaimer":{"title":"Disclaimer","type":"string"},"type":{"title":"Type","type":"string"}}},"LoginData":{"title":"LoginData","required":["username","password"],"type":"object","properties":{"username":{"title":"Username","type":"string"},"password":{"title":"Password","type":"string"},"token":{"title":"Token","type":"string"},"rewardful_referral":{"title":"Rewardful Referral","type":"string"},"otp_code":{"title":"Otp Code","type":"string"},"remember_me":{"title":"Remember Me","type":"boolean","default":false}}},"MarkReadNotificationsPayload":{"title":"MarkReadNotificationsPayload","required":["notifications"],"type":"object","properties":{"notifications":{"title":"Notifications","type":"array","items":{"type":"string","format":"uuid"}}}},"Message":{"title":"Message","required":["question","answer","conversation_id","user_id"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"date_created":{"title":"Date Created","type":"string","format":"date-time"},"date_updated":{"title":"Date Updated","type":"string","format":"date-time"},"question":{"title":"Question","type":"string","description":"The question asked in the message."},"answer":{"title":"Answer","type":"string","description":"The answer provided in response to the question."},"sources":{"title":"Sources for the given response","type":"array","items":{"type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"}]}},"description":"The list of sources contributing to this answer."},"conversation_id":{"title":"Conversation ID","type":"string","description":"The ID of the conversation to which the message belongs.","format":"uuid"},"was_answered":{"title":"Was Answered","type":"boolean","description":"Flag indicating whether the question was answered or not.","default":true},"reaction":{"title":"Reaction","allOf":[{"$ref":"#/components/schemas/ReactionEnum"}],"description":"User's reaction to something.","default":"no_reaction"},"show_data_collection":{"title":"Show data collection","type":"boolean","description":"Flag indicating whether to show data collection form.","default":false},"user_id":{"title":"User ID","type":"string","description":"The ID of the user associated with the message.","format":"uuid"},"agent_conversation_id":{"title":"Agent Conversation ID","type":"string","description":"The ID of the agent associated with the message.","format":"uuid"}}},"MessageFilter":{"title":"MessageFilter","type":"object","properties":{"date_created_from":{"title":"Date Created From","type":"string","format":"date-time"},"date_created_to":{"title":"Date Created To","type":"string","format":"date-time"},"date_updated_from":{"title":"Date Updated From","type":"string","format":"date-time"},"date_updated_to":{"title":"Date Updated To","type":"string","format":"date-time"},"question":{"title":"Question","type":"string"},"answer":{"title":"Answer","type":"string"},"conversation_id":{"title":"Conversation Id","type":"string","format":"uuid"}}},"MessageListResponse":{"title":"MessageListResponse","required":["results","pagination","filters"],"type":"object","properties":{"results":{"title":"Results","type":"array","items":{"$ref":"#/components/schemas/Message"}},"pagination":{"$ref":"#/components/schemas/Pagination"},"filters":{"$ref":"#/components/schemas/MessageFilter"},"last_model_used":{"$ref":"#/components/schemas/ModelType"},"total_count":{"title":"Total Count","type":"integer"}}},"MessageListUnfilteredResponse":{"title":"MessageListUnfilteredResponse","required":["results","pagination"],"type":"object","properties":{"results":{"title":"Results","type":"array","items":{"$ref":"#/components/schemas/Message"}},"pagination":{"$ref":"#/components/schemas/Pagination"},"filters":{"$ref":"#/components/schemas/StandardFilter"},"last_model_used":{"$ref":"#/components/schemas/ModelType"}}},"MetaLinkPagePatchPayload":{"title":"MetaLinkPagePatchPayload","required":["kb_id"],"type":"object","properties":{"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"title":{"title":"Title","type":"string"},"url":{"title":"Url","type":"string"},"open_in_new_tab":{"title":"Open In New Tab","type":"boolean"},"pull_meta_data":{"title":"Pull Meta Data","type":"boolean"},"order":{"title":"Order","type":"integer"},"description":{"title":"Description","type":"string"},"image_url":{"title":"Image Url","type":"string"},"id":{"title":"Id","type":"string","format":"uuid"}}},"MetaLinkPatchPayload":{"title":"MetaLinkPatchPayload","required":["kb_id"],"type":"object","properties":{"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"title":{"title":"Title","type":"string"},"url":{"title":"Url","type":"string"},"open_in_new_tab":{"title":"Open In New Tab","type":"boolean"},"pull_meta_data":{"title":"Pull Meta Data","type":"boolean"},"order":{"title":"Order","type":"integer"},"description":{"title":"Description","type":"string"},"image_url":{"title":"Image Url","type":"string"}}},"MetaLinkPayload":{"title":"MetaLinkPayload","required":["kb_id","title","url","open_in_new_tab","pull_meta_data","order","description","image_url"],"type":"object","properties":{"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"title":{"title":"Title","type":"string"},"url":{"title":"Url","type":"string"},"open_in_new_tab":{"title":"Open In New Tab","type":"boolean"},"pull_meta_data":{"title":"Pull Meta Data","type":"boolean"},"order":{"title":"Order","type":"integer"},"description":{"title":"Description","type":"string"},"image_url":{"title":"Image Url","type":"string"}}},"MetaLinkResponse":{"title":"MetaLinkResponse","required":["id","user_id","kb_id","title","url","open_in_new_tab","pull_meta_data","order","disclaimer","type","description","image_url"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"user_id":{"title":"User Id","type":"string","format":"uuid"},"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"title":{"title":"Title","type":"string"},"url":{"title":"Url","type":"string"},"open_in_new_tab":{"title":"Open In New Tab","type":"boolean"},"pull_meta_data":{"title":"Pull Meta Data","type":"boolean"},"order":{"title":"Order","type":"integer"},"disclaimer":{"title":"Disclaimer","type":"string"},"type":{"title":"Type","type":"string"},"description":{"title":"Description","type":"string"},"image_url":{"title":"Image Url","type":"string"}}},"ModelType":{"title":"ModelType","enum":["gpt-4.1","gpt-4.1-mini","gpt-4.1-nano","gpt-4-omnimodel-mini","gpt-4-omnimodel","gpt-4-omnimodel-128k","gpt-4-turbo","gpt-4-turbo-128k","gpt-4","gpt-4-32k","gpt-3.5-turbo","gpt-3.5-turbo-1106","gpt-3.5-turbo-16k","falcon","mistral","wizardlm","gemma","llama2","llama3","llama3_8b","cohere","claude_3_opus_9k","claude_3_opus_32k","claude_3_opus_128k","claude_3_opus_200k","claude_3_sonnet","claude_3_dot_5_sonnet","claude_3_haiku","claude_3_dot_7_sonnet","claude_4_opus","claude_4_sonnet","gemini-2.0-flash","gemini-2.5-flash","gemini-2.0-flash-lite","gpt-5","gpt-5-mini","gpt-5-nano","claude_4_dot_5_sonnet","claude_4_dot_1_opus","claude_4_dot_5_haiku","gemini-2.5-pro","gemini-2.5-flash-lite","gpt-5.1","gemini-3-pro","gpt-5.2","gpt-5.4","gemini-3-flash","claude_4_dot_6_opus","claude_4_6_sonnet","gpt-5.4-mini","gpt-5.4-nano","gpt-5.5","gpt-5.6-sol","gpt-5.6-terra","gpt-5.6-luna","claude_4_7_opus","claude_4_8_opus","claude_5_opus","claude_5_sonnet"],"description":"An enumeration."},"OldApiUserPayload":{"title":"OldApiUserPayload","type":"object","properties":{"website":{"title":"Website","type":"string"}}},"Organization":{"title":"Organization","required":["user_id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"date_created":{"title":"Date Created","type":"string","format":"date-time"},"date_updated":{"title":"Date Updated","type":"string","format":"date-time"},"user_id":{"title":"User ID","type":"string","description":"The ID of the user associated with the organization.","format":"uuid"},"name":{"title":"Name","type":"string","description":"The name of the organization."}}},"OrganizationCreate":{"title":"OrganizationCreate","type":"object","properties":{"name":{"title":"Name","type":"string"}}},"Pagination":{"title":"Pagination","type":"object","properties":{"limit":{"title":"Limit","type":"integer","default":50},"offset":{"title":"Offset","type":"integer","default":0}}},"PermissionResponse":{"title":"PermissionResponse","required":["name"],"type":"object","properties":{"name":{"title":"Name","type":"string"},"label":{"title":"Label","type":"string"},"value":{"title":"Value","type":"boolean"},"category":{"title":"Category","type":"string"},"help_text":{"title":"Help Text","type":"string"}}},"QuickLinkPagePatchPayload":{"title":"QuickLinkPagePatchPayload","required":["kb_id"],"type":"object","properties":{"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"title":{"title":"Title","type":"string"},"url":{"title":"Url","type":"string"},"open_in_new_tab":{"title":"Open In New Tab","type":"boolean"},"pull_meta_data":{"title":"Pull Meta Data","type":"boolean"},"order":{"title":"Order","type":"integer"},"id":{"title":"Id","type":"string","format":"uuid"}}},"QuickLinkPatchPayload":{"title":"QuickLinkPatchPayload","required":["kb_id"],"type":"object","properties":{"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"title":{"title":"Title","type":"string"},"url":{"title":"Url","type":"string"},"open_in_new_tab":{"title":"Open In New Tab","type":"boolean"},"pull_meta_data":{"title":"Pull Meta Data","type":"boolean"},"order":{"title":"Order","type":"integer"}}},"QuickLinkPayload":{"title":"QuickLinkPayload","required":["kb_id","title","url","open_in_new_tab","pull_meta_data","order"],"type":"object","properties":{"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"title":{"title":"Title","type":"string"},"url":{"title":"Url","type":"string"},"open_in_new_tab":{"title":"Open In New Tab","type":"boolean"},"pull_meta_data":{"title":"Pull Meta Data","type":"boolean"},"order":{"title":"Order","type":"integer"}}},"QuickLinkResponse":{"title":"QuickLinkResponse","required":["id","user_id","kb_id","title","url","open_in_new_tab","pull_meta_data","order","disclaimer","type"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"user_id":{"title":"User Id","type":"string","format":"uuid"},"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"title":{"title":"Title","type":"string"},"url":{"title":"Url","type":"string"},"open_in_new_tab":{"title":"Open In New Tab","type":"boolean"},"pull_meta_data":{"title":"Pull Meta Data","type":"boolean"},"order":{"title":"Order","type":"integer"},"disclaimer":{"title":"Disclaimer","type":"string"},"type":{"title":"Type","type":"string"}}},"ReactionEnum":{"title":"ReactionEnum","enum":["thumbs_up","thumbs_down","no_reaction"],"description":"An enumeration."},"ResetPasswordRequest":{"title":"ResetPasswordRequest","required":["old_password","new_password"],"type":"object","properties":{"old_password":{"title":"Old Password","type":"string"},"new_password":{"title":"New Password","type":"string"},"contact_consent":{"title":"Contact Consent","type":"boolean"}}},"SafetyResponse":{"title":"SafetyResponse","required":["enabled","credit_limit","message_limit"],"type":"object","properties":{"enabled":{"title":"Enabled","type":"boolean"},"credit_limit":{"title":"Credit Limit","type":"integer"},"message_limit":{"title":"Message Limit","type":"integer"}}},"SafetySettingsPatchPayload":{"title":"SafetySettingsPatchPayload","type":"object","properties":{"activate_chatbot":{"title":"Activate Chatbot","type":"boolean"},"max_number_of_credits":{"title":"Max Number Of Credits","type":"integer"},"max_messages_in_conversations":{"title":"Max Messages In Conversations","type":"integer"},"number_of_messages_per_minutes":{"title":"Number Of Messages Per Minutes","type":"integer"},"number_of_minutes":{"title":"Number Of Minutes","type":"integer"},"public":{"title":"Public","type":"boolean"},"password":{"title":"Password","type":"string"}}},"SafetySettingsResponse":{"title":"SafetySettingsResponse","required":["activate_chatbot","max_messages_in_conversations","number_of_messages_per_minutes","number_of_minutes"],"type":"object","properties":{"activate_chatbot":{"title":"Activate Chatbot","type":"boolean"},"max_number_of_credits":{"title":"Max Number Of Credits","type":"integer"},"max_messages_in_conversations":{"title":"Max Messages In Conversations","type":"integer"},"number_of_messages_per_minutes":{"title":"Number Of Messages Per Minutes","type":"integer"},"number_of_minutes":{"title":"Number Of Minutes","type":"integer"},"public":{"title":"Public","type":"boolean"}}},"ScheduleOption":{"title":"ScheduleOption","enum":["daily","weekly","custom_interval"],"type":"string","description":"An enumeration."},"SharingToken":{"title":"SharingToken","required":["token"],"type":"object","properties":{"token":{"title":"Token","type":"string"}}},"ShowCollectionPayload":{"title":"ShowCollectionPayload","required":["question","conversation_id","token"],"type":"object","properties":{"question":{"title":"Question","type":"string"},"conversation_id":{"title":"Conversation Id","type":"string"},"token":{"title":"Token","type":"string"}}},"SliderPagePatchPayload":{"title":"SliderPagePatchPayload","required":["kb_id"],"type":"object","properties":{"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"title":{"title":"Title","type":"string"},"order":{"title":"Order","type":"integer"},"items":{"title":"Items","type":"array","items":{"$ref":"#/components/schemas/SliderSlotItemPatchPayload"}},"id":{"title":"Id","type":"string","format":"uuid"}}},"SliderSlotItemPatchPayload":{"title":"SliderSlotItemPatchPayload","type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"name":{"title":"Name","type":"string"},"url":{"title":"Url","type":"string"},"thumbnail_url":{"title":"Thumbnail Url","type":"string"},"description":{"title":"Description","type":"string"},"order":{"title":"Order","type":"integer"}}},"SliderSlotItemPayload":{"title":"SliderSlotItemPayload","required":["name","url","thumbnail_url","description","order"],"type":"object","properties":{"name":{"title":"Name","type":"string"},"url":{"title":"Url","type":"string"},"thumbnail_url":{"title":"Thumbnail Url","type":"string"},"description":{"title":"Description","type":"string"},"order":{"title":"Order","type":"integer"}}},"SliderSlotItemResponse":{"title":"SliderSlotItemResponse","required":["id","name","url","thumbnail_url","description","order"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"name":{"title":"Name","type":"string"},"url":{"title":"Url","type":"string"},"thumbnail_url":{"title":"Thumbnail Url","type":"string"},"description":{"title":"Description","type":"string"},"order":{"title":"Order","type":"integer"}}},"SliderSlotPatchPayload":{"title":"SliderSlotPatchPayload","required":["kb_id"],"type":"object","properties":{"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"title":{"title":"Title","type":"string"},"order":{"title":"Order","type":"integer"},"items":{"title":"Items","type":"array","items":{"$ref":"#/components/schemas/SliderSlotItemPatchPayload"}}}},"SliderSlotPayload":{"title":"SliderSlotPayload","required":["kb_id","title","order","items"],"type":"object","properties":{"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"title":{"title":"Title","type":"string"},"order":{"title":"Order","type":"integer"},"items":{"title":"Items","minItems":1,"type":"array","items":{"$ref":"#/components/schemas/SliderSlotItemPayload"}}}},"SliderSlotResponse":{"title":"SliderSlotResponse","required":["id","user_id","kb_id","title","items","order","disclaimer","type"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"user_id":{"title":"User Id","type":"string","format":"uuid"},"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"title":{"title":"Title","type":"string"},"items":{"title":"Items","type":"array","items":{"$ref":"#/components/schemas/SliderSlotItemResponse"}},"order":{"title":"Order","type":"integer"},"disclaimer":{"title":"Disclaimer","type":"string"},"type":{"title":"Type","type":"string"}}},"SlotsPayload":{"title":"SlotsPayload","type":"object","properties":{"quick_links":{"title":"Quick Links","type":"array","items":{"$ref":"#/components/schemas/QuickLinkPagePatchPayload"},"default":[]},"meta_links":{"title":"Meta Links","type":"array","items":{"$ref":"#/components/schemas/MetaLinkPagePatchPayload"},"default":[]},"link_groups":{"title":"Link Groups","type":"array","items":{"$ref":"#/components/schemas/LinkGroupPagePatchPayload"},"default":[]},"videos":{"title":"Videos","type":"array","items":{"$ref":"#/components/schemas/VideoPagePatchPayload"},"default":[]},"sliders":{"title":"Sliders","type":"array","items":{"$ref":"#/components/schemas/SliderPagePatchPayload"},"default":[]}}},"SlotsResponse":{"title":"SlotsResponse","type":"object","properties":{"quick_links":{"title":"Quick Links","type":"array","items":{"$ref":"#/components/schemas/QuickLinkResponse"},"default":[]},"meta_links":{"title":"Meta Links","type":"array","items":{"$ref":"#/components/schemas/MetaLinkResponse"},"default":[]},"link_groups":{"title":"Link Groups","type":"array","items":{"$ref":"#/components/schemas/LinkGroupSlotResponse"},"default":[]},"videos":{"title":"Videos","type":"array","items":{"$ref":"#/components/schemas/VideoSlotResponse"},"default":[]},"sliders":{"title":"Sliders","type":"array","items":{"$ref":"#/components/schemas/SliderSlotResponse"},"default":[]}}},"StandardFilter":{"title":"StandardFilter","type":"object","properties":{"date_created_from":{"title":"Date Created From","type":"string","format":"date-time"},"date_created_to":{"title":"Date Created To","type":"string","format":"date-time"},"date_updated_from":{"title":"Date Updated From","type":"string","format":"date-time"},"date_updated_to":{"title":"Date Updated To","type":"string","format":"date-time"}}},"StripePeriod":{"title":"StripePeriod","enum":["month","year","day"],"type":"string","description":"An enumeration."},"TabsPagePayload":{"title":"TabsPagePayload","required":["home_tab_enabled","avatar_enabled","slots"],"type":"object","properties":{"home_tab_enabled":{"title":"Home Tab Enabled","type":"boolean"},"avatar_enabled":{"title":"Avatar Enabled","type":"boolean"},"slots":{"$ref":"#/components/schemas/SlotsPayload"}}},"TabsResponse":{"title":"TabsResponse","required":["home_tab_enabled","avatar_enabled","slots"],"type":"object","properties":{"home_tab_enabled":{"title":"Home Tab Enabled","type":"boolean"},"avatar_enabled":{"title":"Avatar Enabled","type":"boolean"},"slots":{"$ref":"#/components/schemas/SlotsResponse"}}},"Team":{"title":"Team","required":["owner_id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"date_created":{"title":"Date Created","type":"string","format":"date-time"},"date_updated":{"title":"Date Updated","type":"string","format":"date-time"},"owner_id":{"title":"Owner ID","type":"string","description":"The ID of the owner of the team.","format":"uuid"},"name":{"title":"Team Name","type":"string","description":"The name of the team."},"team_icon":{"title":"Team Icon","type":"string","description":"Team Icon."}}},"TeamListResponse":{"title":"TeamListResponse","required":["results","pagination"],"type":"object","properties":{"results":{"title":"Results","type":"array","items":{"$ref":"#/components/schemas/TeamResponse"}},"pagination":{"$ref":"#/components/schemas/Pagination"},"filters":{"$ref":"#/components/schemas/StandardFilter"}}},"TeamMemberAddResponse":{"title":"TeamMemberAddResponse","required":["created_member","user_exists"],"type":"object","properties":{"created_member":{"$ref":"#/components/schemas/TeamMemberResponse"},"user_exists":{"title":"User Exists","type":"boolean"},"user_exists_message":{"title":"User Exists Message","type":"string"}}},"TeamMemberListResponse":{"title":"TeamMemberListResponse","required":["results"],"type":"object","properties":{"results":{"title":"Results","type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/TeamMemberResponse"},{"$ref":"#/components/schemas/TeamMemberSimpleResponse"}]}},"nr_seats_from_tier":{"title":"Nr Seats From Tier","type":"integer"},"nr_seats_from_addons":{"title":"Nr Seats From Addons","type":"integer"}}},"TeamMemberPatchPayload":{"title":"TeamMemberPatchPayload","type":"object","properties":{"team_role_id":{"title":"Team Role Id","type":"string","format":"uuid"},"all_knowledge_bases":{"title":"All Knowledge Bases","type":"boolean"},"allowed_kbs":{"title":"Allowed Kbs","type":"array","items":{"type":"string","format":"uuid"}},"credits_available":{"title":"Credits Available","type":"integer"}}},"TeamMemberPayload":{"title":"TeamMemberPayload","required":["email","team_role_id"],"type":"object","properties":{"email":{"title":"Email","type":"string","format":"email"},"team_role_id":{"title":"Team Role Id","type":"string","format":"uuid"},"all_knowledge_bases":{"title":"All Knowledge Bases","type":"boolean","default":false},"allowed_kbs":{"title":"Allowed Kbs","type":"array","items":{"type":"string","format":"uuid"},"default":[]},"credits_available":{"title":"Credits Available","type":"integer"}}},"TeamMemberResponse":{"title":"TeamMemberResponse","required":["id","team_id","user_id","user_data","team_role_id","team_role","all_knowledge_bases","allowed_kbs","credits","credits_available","total_credits_used","accepted"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"team_id":{"title":"Team Id","type":"string","format":"uuid"},"user_id":{"title":"User Id","type":"string","format":"uuid"},"user_data":{"$ref":"#/components/schemas/UserResponse"},"team_role_id":{"title":"Team Role Id","type":"string","format":"uuid"},"team_role":{"$ref":"#/components/schemas/TeamRole"},"all_knowledge_bases":{"title":"All Knowledge Bases","type":"boolean"},"allowed_kbs":{"title":"Allowed Kbs","type":"array","items":{"$ref":"#/components/schemas/KnowledgeBase"}},"credits":{"title":"Credits","type":"number"},"credits_available":{"title":"Credits Available","type":"integer"},"total_credits_used":{"title":"Total Credits Used","type":"number"},"accepted":{"title":"Accepted","type":"boolean"}}},"TeamMemberSimpleResponse":{"title":"TeamMemberSimpleResponse","required":["id","team_id","user_id","user_data","team_role_id","team_role"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"team_id":{"title":"Team Id","type":"string","format":"uuid"},"user_id":{"title":"User Id","type":"string","format":"uuid"},"user_data":{"$ref":"#/components/schemas/UserResponse"},"team_role_id":{"title":"Team Role Id","type":"string","format":"uuid"},"team_role":{"$ref":"#/components/schemas/TeamRoleSimpleResponse"}}},"TeamPatchPayload":{"title":"TeamPatchPayload","type":"object","properties":{"name":{"title":"Name","type":"string"}}},"TeamPayload":{"title":"TeamPayload","required":["name"],"type":"object","properties":{"name":{"title":"Name","type":"string"}}},"TeamResponse":{"title":"TeamResponse","required":["id","date_created","date_updated","name","owner_id"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"date_created":{"title":"Date Created","type":"string","format":"date-time"},"date_updated":{"title":"Date Updated","type":"string","format":"date-time"},"name":{"title":"Name","type":"string"},"owner_id":{"title":"Owner Id","type":"string","format":"uuid"}}},"TeamRole":{"title":"TeamRole","required":["name"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"date_created":{"title":"Date Created","type":"string","format":"date-time"},"date_updated":{"title":"Date Updated","type":"string","format":"date-time"},"team_id":{"title":"Team ID","type":"string","description":"The ID of the team associated with the role.","format":"uuid"},"name":{"title":"Role Name","type":"string","description":"The name of the role."},"view_chatbots":{"title":"View Chatbot","type":"boolean","description":"Flag indicating whether the user can view the chatbots.","default":false},"edit_chatbots":{"title":"Edit Chatbot","type":"boolean","description":"Flag indicating whether the user can edit the chatbots.","default":false},"create_chatbot":{"title":"Create Chatbot","type":"boolean","description":"Flag indicating whether the user can create a new chatbot.","default":false},"edit_customization":{"title":"Edit Customization","type":"boolean","description":"Flag indicating whether the user can edit the customization of a chatbot.","default":false},"share_chatbots":{"title":"Share Chatbot","type":"boolean","description":"Flag indicating whether the user can share the chatbot.","default":false},"edit_safety":{"title":"Edit Safety","type":"boolean","description":"Flag indicating whether the user can edit the safety settings of a chatbot.","default":false},"view_chat_logs":{"title":"View Chat Logs","type":"boolean","description":"Flag indicating whether the user can view the chat logs.","default":false},"edit_api_key":{"title":"Edit API Key","type":"boolean","description":"Flag indicating whether the user can edit the API key.","default":false},"edit_whatsapp_integration":{"title":"Edit WhatsApp Integration","type":"boolean","description":"Flag indicating whether the user can edit the WhatsApp integration.","default":false},"edit_intercom_integration":{"title":"Edit Intercom Integration","type":"boolean","description":"Flag indicating whether the user can edit the Intercom integration.","default":false},"analytics":{"title":"Analytics","type":"boolean","description":"Flag indicating whether the user can view the analytics.","default":false},"live_agents":{"title":"Live Agents","type":"boolean","description":"Flag indicating whether the user can view the  live agents screen.","default":false},"assign_avatar":{"title":"Assign Avatar","type":"boolean","description":"Flag indicating whether the user can assign an avatar to a chatbot.","default":false},"create_avatar":{"title":"Create Avatar","type":"boolean","description":"Flag indicating whether the user can create an avatar.","default":false},"edit_avatar":{"title":"Edit Avatar","type":"boolean","description":"Flag indicating whether the user can edit an avatar.","default":false}}},"TeamRoleFilter":{"title":"TeamRoleFilter","type":"object","properties":{"date_created_from":{"title":"Date Created From","type":"string","format":"date-time"},"date_created_to":{"title":"Date Created To","type":"string","format":"date-time"},"date_updated_from":{"title":"Date Updated From","type":"string","format":"date-time"},"date_updated_to":{"title":"Date Updated To","type":"string","format":"date-time"},"name__like":{"title":"Name  Like","type":"string"},"team_id":{"title":"Team Id","type":"string","format":"uuid"}}},"TeamRoleListResponse":{"title":"TeamRoleListResponse","type":"object","properties":{"results":{"title":"Results","type":"array","items":{"$ref":"#/components/schemas/TeamRoleResponse"},"default":[]},"pagination":{"$ref":"#/components/schemas/Pagination"},"filters":{"$ref":"#/components/schemas/TeamRoleFilter"}}},"TeamRolePatchPayload":{"title":"TeamRolePatchPayload","type":"object","properties":{"name":{"title":"Name","type":"string"},"view_chatbots":{"title":"View Chatbots","type":"boolean"},"edit_chatbots":{"title":"Edit Chatbots","type":"boolean"},"create_chatbot":{"title":"Create Chatbot","type":"boolean"},"edit_customization":{"title":"Edit Customization","type":"boolean"},"share_chatbots":{"title":"Share Chatbots","type":"boolean"},"edit_safety":{"title":"Edit Safety","type":"boolean"},"view_chat_logs":{"title":"View Chat Logs","type":"boolean"},"edit_api_key":{"title":"Edit Api Key","type":"boolean"},"edit_whatsapp_integration":{"title":"Edit Whatsapp Integration","type":"boolean"},"edit_intercom_integration":{"title":"Edit Intercom Integration","type":"boolean"},"analytics":{"title":"Analytics","type":"boolean"},"live_agents":{"title":"Live Agents","type":"boolean"},"assign_avatar":{"title":"Assign Avatar","type":"boolean"},"create_avatar":{"title":"Create Avatar","type":"boolean"},"edit_avatar":{"title":"Edit Avatar","type":"boolean"}}},"TeamRolePayload":{"title":"TeamRolePayload","required":["team_id","name","view_chatbots","edit_chatbots","create_chatbot","edit_customization","share_chatbots","edit_safety","view_chat_logs","edit_api_key","edit_whatsapp_integration","edit_intercom_integration","analytics","live_agents","assign_avatar","create_avatar","edit_avatar"],"type":"object","properties":{"team_id":{"title":"Team Id","type":"string","format":"uuid"},"name":{"title":"Name","type":"string"},"view_chatbots":{"title":"View Chatbots","type":"boolean"},"edit_chatbots":{"title":"Edit Chatbots","type":"boolean"},"create_chatbot":{"title":"Create Chatbot","type":"boolean"},"edit_customization":{"title":"Edit Customization","type":"boolean"},"share_chatbots":{"title":"Share Chatbots","type":"boolean"},"edit_safety":{"title":"Edit Safety","type":"boolean"},"view_chat_logs":{"title":"View Chat Logs","type":"boolean"},"edit_api_key":{"title":"Edit Api Key","type":"boolean"},"edit_whatsapp_integration":{"title":"Edit Whatsapp Integration","type":"boolean"},"edit_intercom_integration":{"title":"Edit Intercom Integration","type":"boolean"},"analytics":{"title":"Analytics","type":"boolean"},"live_agents":{"title":"Live Agents","type":"boolean"},"assign_avatar":{"title":"Assign Avatar","type":"boolean"},"create_avatar":{"title":"Create Avatar","type":"boolean"},"edit_avatar":{"title":"Edit Avatar","type":"boolean"}}},"TeamRoleResponse":{"title":"TeamRoleResponse","required":["id","date_created","date_updated","name","permissions"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"date_created":{"title":"Date Created","type":"string","format":"date-time"},"date_updated":{"title":"Date Updated","type":"string","format":"date-time"},"name":{"title":"Name","type":"string"},"team_id":{"title":"Team Id","type":"string","format":"uuid"},"permissions":{"title":"Permissions","type":"array","items":{"$ref":"#/components/schemas/PermissionResponse"}}}},"TeamRoleSimpleResponse":{"title":"TeamRoleSimpleResponse","required":["id","name"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"name":{"title":"Name","type":"string"}}},"TeamUser":{"title":"TeamUser","required":["team_id","user_id","team_role_id"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"date_created":{"title":"Date Created","type":"string","format":"date-time"},"date_updated":{"title":"Date Updated","type":"string","format":"date-time"},"team_id":{"title":"Team ID","type":"string","description":"The ID of the team associated with the user.","format":"uuid"},"user_id":{"title":"User ID","type":"string","description":"The ID of the user associated with the team.","format":"uuid"},"team_role_id":{"title":"Team Role ID","type":"string","description":"The ID of the role associated with the user and team.","format":"uuid"},"all_knowledge_bases":{"title":"All Knowledge Bases","type":"boolean","description":"Flag indicating whether the user can access all knowledge bases.","default":false},"credits":{"title":"Credits","type":"number","description":"The number of credits available for the user.","default":0},"credits_available":{"title":"Credits Available","type":"integer","description":"The number of credits available for the user.","default":0},"total_credits_used":{"title":"Total Credits Used","type":"number","description":"The total number of credits used by the user.","default":0},"accepted":{"title":"Accepted","type":"boolean","description":"Flag indicating whether the user has accepted the invitation.","default":false},"invitation_token":{"title":"Invitation Token","type":"string","description":"The token used for the invitation.","format":"uuid"}}},"TierAddOnProfilePayload":{"title":"TierAddOnProfilePayload","required":["name","type","period","extra_information"],"type":"object","properties":{"name":{"title":"Name","type":"string"},"type":{"title":"Type","type":"string"},"period":{"title":"Period","type":"string"},"quantity":{"title":"Quantity","type":"integer"},"extra_information":{"title":"Extra Information","type":"object"}}},"TierDowngradeTeamManagementPayload":{"title":"TierDowngradeTeamManagementPayload","required":["current_tier","new_tier","remove_user_ids","check"],"type":"object","properties":{"current_tier":{"title":"Current tier","allOf":[{"$ref":"#/components/schemas/app__models__core__TierBase__TierType"}],"description":"The tier that is currently active."},"new_tier":{"title":"New tier","allOf":[{"$ref":"#/components/schemas/app__models__core__TierBase__TierType"}],"description":"The (lower) tier that it is about to be downgraded to."},"remove_user_ids":{"title":"User IDs","type":"array","items":{"type":"string","format":"uuid"},"description":"The list of user IDs that will be removed from the team."},"check":{"title":"Check","type":"boolean","description":"Flag indicating whether the downgrade should be checked or commited."}}},"TierLostFeaturesResponse":{"title":"TierLostFeaturesResponse","required":["features","nr_of_team_members_affected","total_members"],"type":"object","properties":{"features":{"title":"Features","type":"array","items":{"type":"string"}},"nr_of_team_members_affected":{"title":"Nr Of Team Members Affected","type":"integer"},"total_members":{"title":"Total Members","type":"integer"}}},"TopUpOption":{"title":"TopUpOption","required":["credits","price_id","name","credits_available","amount_after_credits"],"type":"object","properties":{"price":{"title":"Price","type":"number"},"credits":{"title":"Credits","type":"integer"},"price_id":{"title":"Price Id","type":"string"},"name":{"title":"Name","type":"string"},"credits_available":{"title":"Credits Available","type":"integer"},"amount_after_credits":{"title":"Amount After Credits","type":"integer"}}},"TrainingSchedulePayload":{"title":"TrainingSchedulePayload","required":["option","hour"],"type":"object","properties":{"option":{"$ref":"#/components/schemas/ScheduleOption"},"day_of_week":{"title":"Day Of Week","type":"string"},"hour":{"title":"Hour","type":"string"},"minute":{"title":"Minute","type":"string"}}},"TwilioKnowledgeBaseSettings":{"title":"TwilioKnowledgeBaseSettings","required":["twilio_number_id","kb_id","welcome_message"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"date_created":{"title":"Date Created","type":"string","format":"date-time"},"date_updated":{"title":"Date Updated","type":"string","format":"date-time"},"twilio_number_id":{"title":"Twilio Number ID","type":"string","description":"The ID of the Twilio number associated with the knowledge base.","format":"uuid"},"kb_id":{"title":"Knowledge Base ID","type":"string","description":"The ID of the knowledge base associated with the Twilio number.","format":"uuid"},"welcome_message":{"title":"Welcome Message","type":"string","description":"The welcome message for the Twilio number."}}},"TwilioNumberListResponse":{"title":"TwilioNumberListResponse","required":["results"],"type":"object","properties":{"results":{"title":"Results","type":"array","items":{"$ref":"#/components/schemas/TwilioNumberResponse"}}}},"TwilioNumberResponse":{"title":"TwilioNumberResponse","required":["id","date_created","date_updated","user_id","number","status"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"date_created":{"title":"Date Created","type":"string","format":"date-time"},"date_updated":{"title":"Date Updated","type":"string","format":"date-time"},"user_id":{"title":"User Id","type":"string","format":"uuid"},"number":{"title":"Number","type":"string"},"status":{"$ref":"#/components/schemas/TwilioNumberStatus"}}},"TwilioNumberStatus":{"title":"TwilioNumberStatus","enum":["verified","unverified"],"description":"An enumeration."},"UploadPicResponse":{"title":"UploadPicResponse","required":["url"],"type":"object","properties":{"url":{"title":"Url","type":"string"}}},"UrlData":{"title":"UrlData","required":["url"],"type":"object","properties":{"url":{"title":"URL","type":"string","description":"The URL data."},"max_urls":{"title":"Max URLs","type":"integer","description":"The maximum number of URLs to scrape.","default":1}}},"UserApiKeyResponse":{"title":"UserApiKeyResponse","type":"object","properties":{"secret_key":{"title":"Secret Key","type":"string"},"public_key":{"title":"Public Key","type":"string"}}},"UserCreate":{"title":"UserCreate","required":["first_name","last_name","password","email"],"type":"object","properties":{"first_name":{"title":"First Name","type":"string"},"last_name":{"title":"Last Name","type":"string"},"password":{"title":"Password","type":"string"},"email":{"title":"Email","type":"string","format":"email"},"is_active":{"title":"Is Active","type":"boolean","default":false},"contact_consent":{"title":"Contact Consent","type":"boolean","default":false},"image":{"title":"Image","type":"string"},"client_name":{"title":"Client Name","type":"string","default":"dante"},"reffered_by":{"title":"Reffered By","type":"string","format":"uuid"},"is_agent":{"title":"Is Agent","type":"boolean","default":false},"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"job_role":{"title":"Job Role","type":"string"},"company_name":{"title":"Company Name","type":"string"},"profile_image":{"title":"Profile Image","type":"string"},"trial_plan_type":{"title":"Trial Plan Type","type":"string"}}},"UserKBPersonalityResponse":{"title":"UserKBPersonalityResponse","required":["personality_id"],"type":"object","properties":{"kb_id":{"title":"Knowledge Base ID","type":"string","description":"The ID of the knowledge base.","format":"uuid"},"personality_id":{"title":"The id of the personality","type":"string","description":"The ID of the personality.","format":"uuid"},"name":{"title":"The name of the personality","type":"string"},"description":{"title":"The description of the personality","type":"string"},"icon":{"title":"The icon of the personality","type":"string"},"customized":{"title":"This field marks the customized personalities","type":"boolean","default":false}}},"UserProfileResponse":{"title":"UserProfileResponse","required":["id","full_name","email","tier_id","tier_name","monthly_messages_used","monthly_message_limit"],"type":"object","properties":{"id":{"title":"User ID","type":"string","description":"The ID of the user.","format":"uuid"},"profile_picture":{"title":"Profile Picture","type":"string","description":"URL of the user's profile picture."},"full_name":{"title":"Full Name","type":"string","description":"The full name of the user."},"email":{"title":"Email","type":"string","description":"The email address of the user."},"tier_id":{"title":"Tier ID","type":"string","description":"The ID of the user's tier.","format":"uuid"},"tier_name":{"title":"Tier Name","type":"string","description":"The name of the user's tier."},"monthly_messages_used":{"title":"Monthly Messages Used","type":"integer","description":"The number of monthly messages used by the user."},"monthly_message_limit":{"title":"Monthly Message Limit","type":"integer","description":"The monthly message limit for the user."},"tier_note":{"title":"Tier Note","type":"string","description":"Additional note or description about the user's tier."},"date_created":{"title":"User creation data","type":"string","description":"User creation time.","format":"date-time"},"tier_price_as_float":{"title":"Tier Price","type":"number","description":"Price per tier (monthly or yearly)."},"tier_type":{"title":"Tier Type","type":"string","description":"Tier type."},"tier_on_trial":{"title":"Boolean flag indicating whether this tier is currently on trial or not","type":"boolean","description":"Tier on trial flag"},"trial_used":{"title":"Boolean flag indicating whether this user has utilized the trial or not","type":"boolean","description":"Tier trial has been used","default":false},"user_openai_api_key":{"title":"User OpenAI api key","type":"string","description":"The OpenAI key of the user"},"add_ons":{"title":"Tier Add Ons","type":"array","items":{"$ref":"#/components/schemas/TierAddOnProfilePayload"},"description":"Tier add ons the user has active.","default":[]},"has_created_chatbot":{"title":"Boolean flag indicating whether this user has already created a chatbot","type":"boolean","default":false},"show_fifty_percent_discount":{"title":"Boolean flag indicating whether the user is eligible for a 50% discount","type":"boolean","default":true},"selected_team_id":{"title":"Selected Team Id","type":"string","format":"uuid"},"permissions":{"title":"Permissions","type":"array","items":{"$ref":"#/components/schemas/PermissionResponse"}},"requires_2FA":{"title":"Boolean flag indicating whether the user has 2FA enabled","type":"boolean","default":false},"stripe_customer_id":{"title":"Stripe Customer ID","type":"string","description":"Stripe customer ID."},"enabled_realtime_voice":{"title":"Boolean flag indicating whether the user has enabled realtime voice","type":"boolean","default":false},"applied_one_dollar_bf_starter":{"title":"Boolean flag indicating whether the user has applied the one dollar starter","type":"boolean","default":false},"applied_25_percent_bf_discount":{"title":"Boolean flag indicating whether the user has applied the 25% discount","type":"boolean","default":false},"can_access_new_design":{"title":"Boolean flag indicating whether the user can access the new design","type":"boolean","default":false}}},"UserRead":{"title":"UserRead","required":["id","first_name","last_name","email"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"first_name":{"title":"First Name","type":"string"},"last_name":{"title":"Last Name","type":"string"},"email":{"title":"Email","type":"string","format":"email"},"date_created":{"title":"Date Created","type":"string","format":"date-time"},"is_active":{"title":"Is Active","type":"boolean","default":true},"is_superuser":{"title":"Is Superuser","type":"boolean","default":false},"is_verified":{"title":"Is Verified","type":"boolean","default":false},"stripe_customer_id":{"title":"Stripe Customer Id","type":"string"},"contact_consent":{"title":"Contact Consent","type":"boolean","default":false},"image":{"title":"Image","type":"string"},"first_time_notification_shown":{"title":"First Time Notification Shown","type":"boolean","default":false},"sent_credits_warning":{"title":"Sent Credits Warning","type":"boolean","default":false},"reffered_by":{"title":"Reffered By","type":"string","format":"uuid"},"is_agent":{"title":"Is Agent","type":"boolean","default":false},"has_created_chatbot":{"title":"Has Created Chatbot","type":"boolean","default":false},"login_count":{"title":"Login Count","type":"integer"},"last_login":{"title":"Last Login","type":"string","format":"date-time"},"requires_2FA":{"title":"Requires 2Fa","type":"boolean","default":false},"job_role":{"title":"Job Role","type":"string"},"company_name":{"title":"Company Name","type":"string"},"profile_image":{"title":"Profile Image","type":"string"}}},"UserReferralsResponse":{"title":"UserReferralsResponse","type":"object","properties":{"referrals":{"title":"Referrals","type":"array","items":{"$ref":"#/components/schemas/DanteReferrals"}},"total_amount":{"title":"Total Amount","type":"integer"}}},"UserResponse":{"title":"UserResponse","required":["id","email"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"email":{"title":"Email","type":"string"},"first_name":{"title":"First Name","type":"string"},"last_name":{"title":"Last Name","type":"string"},"image":{"title":"Image","type":"string"},"last_login":{"title":"Last Login","type":"string","format":"date-time"}}},"UserUpdate":{"title":"UserUpdate","type":"object","properties":{"first_name":{"title":"First Name","type":"string"},"last_name":{"title":"Last Name","type":"string"},"password":{"title":"Password","type":"string"},"email":{"title":"Email","type":"string","format":"email"},"is_active":{"title":"Is Active","type":"boolean"},"is_superuser":{"title":"Is Superuser","type":"boolean"},"is_verified":{"title":"Is Verified","type":"boolean"},"stripe_customer_id":{"title":"Stripe Customer Id","type":"string"},"contact_consent":{"title":"Contact Consent","type":"boolean"},"image":{"title":"Image","type":"string"}}},"ValidationError":{"title":"ValidationError","required":["loc","msg","type"],"type":"object","properties":{"loc":{"title":"Location","type":"array","items":{"anyOf":[{"type":"string"},{"type":"integer"}]}},"msg":{"title":"Message","type":"string"},"type":{"title":"Error Type","type":"string"}}},"VideoPagePatchPayload":{"title":"VideoPagePatchPayload","required":["kb_id"],"type":"object","properties":{"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"title":{"title":"Title","type":"string"},"url":{"title":"Url","type":"string"},"description":{"title":"Description","type":"string"},"show_thumbnail":{"title":"Show Thumbnail","type":"boolean"},"thumbnail_url":{"title":"Thumbnail Url","type":"string"},"order":{"title":"Order","type":"integer"},"id":{"title":"Id","type":"string","format":"uuid"}}},"VideoSlotPatchPayload":{"title":"VideoSlotPatchPayload","required":["kb_id"],"type":"object","properties":{"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"title":{"title":"Title","type":"string"},"url":{"title":"Url","type":"string"},"description":{"title":"Description","type":"string"},"show_thumbnail":{"title":"Show Thumbnail","type":"boolean"},"thumbnail_url":{"title":"Thumbnail Url","type":"string"},"order":{"title":"Order","type":"integer"}}},"VideoSlotPayload":{"title":"VideoSlotPayload","required":["kb_id","title","url","description","show_thumbnail","order"],"type":"object","properties":{"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"title":{"title":"Title","type":"string"},"url":{"title":"Url","type":"string"},"description":{"title":"Description","type":"string"},"show_thumbnail":{"title":"Show Thumbnail","type":"boolean"},"thumbnail_url":{"title":"Thumbnail Url","type":"string"},"order":{"title":"Order","type":"integer"}}},"VideoSlotResponse":{"title":"VideoSlotResponse","required":["id","user_id","kb_id","title","url","description","show_thumbnail","order","disclaimer","type"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"user_id":{"title":"User Id","type":"string","format":"uuid"},"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"title":{"title":"Title","type":"string"},"url":{"title":"Url","type":"string"},"description":{"title":"Description","type":"string"},"show_thumbnail":{"title":"Show Thumbnail","type":"boolean"},"thumbnail_url":{"title":"Thumbnail Url","type":"string"},"order":{"title":"Order","type":"integer"},"disclaimer":{"title":"Disclaimer","type":"string"},"type":{"title":"Type","type":"string"}}},"VoiceResponse":{"title":"VoiceResponse","required":["id","name","language","azure_voice_id"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"dante_user_id":{"title":"Dante User Id","type":"string","format":"uuid"},"name":{"title":"Name","type":"string"},"status":{"$ref":"#/components/schemas/CreationStatus"},"language":{"title":"Language","type":"string"},"voice_type":{"$ref":"#/components/schemas/VoiceType"},"gender":{"title":"Gender","type":"string"},"azure_voice_id":{"title":"Azure Voice Id","type":"string"},"wav_filename":{"title":"Wav Filename","type":"string"}}},"VoiceStyleNames":{"title":"VoiceStyleNames","enum":["advertisement_upbeat","affectionate","angry","assistant","calm","chat","cheerful","customerservice","depressed","disgruntled","documentary-narration","embarassed","empathetic","envious","excited","fearful","friendly","gentle","hopeful","lyrical","narration-professional","narration-relaxed","newscast","newscast-casual","newscast-formal","poetry-reading","sad","serious","shouting","sports_commentary","sports_commentary_excited","whispering","terrified","unfriendly"],"description":"An enumeration."},"VoiceType":{"title":"VoiceType","enum":["custom","pre_built"],"description":"An enumeration."},"WhatsappIntegration":{"title":"WhatsappIntegration","required":["user_id","kb_id"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"date_created":{"title":"Date Created","type":"string","format":"date-time"},"date_updated":{"title":"Date Updated","type":"string","format":"date-time"},"user_id":{"title":"User ID","type":"string","description":"The ID of the user associated with the integration.","format":"uuid"},"kb_id":{"title":"Knowledge Base ID","type":"string","description":"The ID of the knowledge base associated with the Whatsapp Integration.","format":"uuid"},"graph_version":{"title":"Graph Version","type":"string","description":"The graph version associated with the Whatsapp Integration."},"webhook_verification_token":{"title":"Webhook Verification Token","type":"string","description":"The token used for verifying webhooks."},"phone_number":{"title":"Phone Number","type":"string","description":"The phone number associated with the Whatsapp Integration."},"business_phone_id":{"title":"Business Phone ID","type":"string","description":"The ID of the business phone related to the Whatsapp Integration."},"business_account_id":{"title":"Business Account ID","type":"string","description":"The ID of the business account related to the Whatsapp Integration."},"test_meta_token":{"title":"Test Meta Token","type":"string","description":"The test meta token associated with the Whatsapp Integration."},"meta_token":{"title":"Meta Token","type":"string","description":"The meta token related to the Whatsapp Integration."},"template_name":{"title":"Template Name","type":"string","description":"The name of the template used in the Whatsapp Integration."},"active":{"title":"Is Active","type":"boolean","description":"Is the Whatsapp Integration active.","default":false},"enabled":{"title":"Is Active","type":"boolean","description":"Is the Whatsapp Integration enabled.","default":false},"model_type":{"title":"Model Type","allOf":[{"$ref":"#/components/schemas/ModelType"}],"description":"The model type used for this Whatsapp Integration.","default":"gpt-4"}}},"WhatsappIntegrationResponse":{"title":"WhatsappIntegrationResponse","required":["integration"],"type":"object","properties":{"integration":{"$ref":"#/components/schemas/WhatsappIntegration"},"err_message":{"title":"Err Message","type":"string"}}},"WhatsappIntegrationUpdatePayload":{"title":"WhatsappIntegrationUpdatePayload","required":["integration_id","model_type"],"type":"object","properties":{"integration_id":{"title":"Integration Id","type":"string","format":"uuid"},"graph_version":{"title":"Graph Version","type":"string"},"webhook_verification_token":{"title":"Webhook Verification Token","type":"string"},"phone_number":{"title":"Phone Number","type":"string"},"business_phone_id":{"title":"Business Phone Id","type":"string"},"business_account_id":{"title":"Business Account Id","type":"string"},"test_meta_token":{"title":"Test Meta Token","type":"string"},"meta_token":{"title":"Meta Token","type":"string"},"template_name":{"title":"Template Name","type":"string"},"active":{"title":"Active","type":"boolean","default":false},"enabled":{"title":"Enabled","type":"boolean","default":false},"model_type":{"$ref":"#/components/schemas/ModelType"}}},"ZapierHookPayload":{"title":"ZapierHookPayload","required":["target_url","event","knowledge_base_name"],"type":"object","properties":{"target_url":{"title":"Target Url","type":"string"},"event":{"title":"Event","type":"string"},"knowledge_base_name":{"title":"Knowledge Base Name","type":"string"}}},"app__models__core__TierBase__TierType":{"title":"TierType","enum":["free","entry","entry+","enhanced","premium","professional","business","ultra","enterprise","starter","enterprise+","advanced","pro"],"type":"string","description":"An enumeration."},"app__models__core__TierCustomPayload__TierType":{"title":"TierType","enum":["free","entry","premium","ultra"],"type":"string","description":"An enumeration."},"app__routers__assemblyai_authentication__TokenResponse":{"title":"TokenResponse","required":["token"],"type":"object","properties":{"token":{"title":"Token","type":"string"}}},"app__routers__google__TokenResponse":{"title":"TokenResponse","required":["token_type","access_token","email"],"type":"object","properties":{"token_type":{"title":"Token Type","type":"string"},"access_token":{"title":"Access Token","type":"string"},"email":{"title":"Email","type":"string"}}},"app__routers__login__TokenResponse":{"title":"TokenResponse","required":["token_type","access_token"],"type":"object","properties":{"token_type":{"title":"Token Type","type":"string"},"access_token":{"title":"Access Token","type":"string"}}}},"securitySchemes":{"HTTPBasic":{"type":"http","scheme":"basic"},"OAuth2PasswordBearer":{"type":"oauth2","flows":{"password":{"scopes":{},"tokenUrl":"auth/jwt/login"}}},"APIKeyHeader":{"type":"apiKey","in":"header","name":"x-api-key"}}}}