{"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"}}}}}}},"/test-timeout":{"get":{"summary":"Test Timeout","description":"Test endpoint to simulate a timeout","operationId":"test_timeout_test_timeout_get","parameters":[{"required":true,"schema":{"title":"Timeout","type":"integer"},"name":"timeout","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Test Timeout Test Timeout Get","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/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":[]}]}},"/admin/new-design-users":{"get":{"tags":["admin"],"summary":"Get New Design Users","operationId":"get_new_design_users_admin_new_design_users_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get New Design Users Admin New Design Users Get","type":"object"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/admin/update-info":{"patch":{"tags":["admin"],"summary":"Update Info","operationId":"update_info_admin_update_info_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateInfoPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Update Info Admin Update Info Patch","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/admin/autorefresh-access/add":{"post":{"tags":["Admin - Autorefresh Access"],"summary":"Add Autorefresh Access","description":"Add autorefresh access for a user.","operationId":"add_autorefresh_access_admin_autorefresh_access_add_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddAutorefreshAccessPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Add Autorefresh Access Admin Autorefresh Access Add Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/admin/autorefresh-access/remove/{user_email}":{"delete":{"tags":["Admin - Autorefresh Access"],"summary":"Remove Autorefresh Access","description":"Remove autorefresh access for a user.","operationId":"remove_autorefresh_access_admin_autorefresh_access_remove__user_email__delete","parameters":[{"required":true,"schema":{"title":"User Email","type":"string"},"name":"user_email","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Remove Autorefresh Access Admin Autorefresh Access Remove  User Email  Delete","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/admin/autorefresh-access/list":{"get":{"tags":["Admin - Autorefresh Access"],"summary":"List Autorefresh Access","description":"List all users with autorefresh access.","operationId":"list_autorefresh_access_admin_autorefresh_access_list_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response List Autorefresh Access Admin Autorefresh Access List Get","type":"array","items":{"$ref":"#/components/schemas/AutorefreshAccessResponse"}}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/admin/autorefresh-access/check/{user_email}":{"get":{"tags":["Admin - Autorefresh Access"],"summary":"Check Autorefresh Access","description":"Check if a user has autorefresh access.","operationId":"check_autorefresh_access_admin_autorefresh_access_check__user_email__get","parameters":[{"required":true,"schema":{"title":"User Email","type":"string"},"name":"user_email","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Check Autorefresh Access Admin Autorefresh Access Check  User Email  Get","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"},{"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/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"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"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","parameters":[{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"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"},{"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 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"},{"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/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"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"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","parameters":[{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"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"},{"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 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"},{"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/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"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"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","parameters":[{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"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"},{"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 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"},{"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/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"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"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","parameters":[{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"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"},{"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 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"},{"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/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"},{"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 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"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"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","parameters":[{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"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"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"},{"description":"Token for shared knowledge bases","required":false,"schema":{"title":"Token","type":"string","description":"Token for shared knowledge bases"},"name":"token","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":[{"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"},{"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/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"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_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":[]}]}},"/tabs/metadata":{"post":{"tags":["Tabs"],"summary":"Pull Meta Data","operationId":"pull_meta_data_tabs_metadata_post","parameters":[{"required":true,"schema":{"title":"Url","type":"string"},"name":"url","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PullMetadataResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tabs/video-thumbnail":{"post":{"tags":["Tabs"],"summary":"Get Thumbnail","operationId":"get_thumbnail_tabs_video_thumbnail_post","parameters":[{"required":true,"schema":{"title":"Url","type":"string"},"name":"url","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThumbnailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tabs/video-to-s3":{"post":{"tags":["Tabs"],"summary":"Video To S3","operationId":"video_to_s3_tabs_video_to_s3_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_video_to_s3_tabs_video_to_s3_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoToS3Response"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/personalities/init":{"post":{"tags":["Personalities"],"summary":"Init Personalities","operationId":"init_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","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get User Personalities Personalities Get","type":"array","items":{"$ref":"#/components/schemas/UserKBPersonalityResponse"}}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/personalities/{kb_id}":{"get":{"tags":["Personalities"],"summary":"Get Personalities","operationId":"get_personalities_personalities__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":{"title":"Response Get Personalities Personalities  Kb Id  Get","type":"array","items":{"$ref":"#/components/schemas/UserKBPersonalitiesResponse"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/personalities/personality/{personality_id}":{"get":{"tags":["Personalities"],"summary":"Get Personality By Id","operationId":"get_personality_by_id_personalities_personality__personality_id__get","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":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/UserKBPersonalitiesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/personalities/create":{"post":{"tags":["Personalities"],"summary":"Create Personalities","operationId":"create_personalities_personalities_create_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/UserPersonalitiesCreatePayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserKBPersonalitiesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/personalities/update/{personality_id}":{"patch":{"tags":["Personalities"],"summary":"Update Personalities","operationId":"update_personalities_personalities_update__personality_id__patch","parameters":[{"required":true,"schema":{"title":"Personality Id","type":"string","format":"uuid"},"name":"personality_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/UserPersonalitiesUpdatePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserKBPersonalitiesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/personalities/delete/{personality_id}":{"delete":{"tags":["Personalities"],"summary":"Delete Personalities","operationId":"delete_personalities_personalities_delete__personality_id__delete","parameters":[{"required":true,"schema":{"title":"Personality Id","type":"string","format":"uuid"},"name":"personality_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":[]}]}},"/personalities/select/{personality_id}":{"patch":{"tags":["Personalities"],"summary":"Select Personalities","operationId":"select_personalities_personalities_select__personality_id__patch","parameters":[{"required":true,"schema":{"title":"Personality Id","type":"string","format":"uuid"},"name":"personality_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/Personalities"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/personalities/duplicate/{personality_id}":{"post":{"tags":["Personalities"],"summary":"Duplicate Personalities","operationId":"duplicate_personalities_personalities_duplicate__personality_id__post","parameters":[{"required":true,"schema":{"title":"Personality Id","type":"string","format":"uuid"},"name":"personality_id","in":"path"},{"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/UserKBPersonalitiesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/personalities/search/{kb_id}":{"get":{"tags":["Personalities"],"summary":"Search Personalities","operationId":"search_personalities_personalities_search__kb_id__get","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":true,"schema":{"title":"Query","type":"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 Personalities Personalities Search  Kb Id  Get","type":"array","items":{"$ref":"#/components/schemas/UserKBPersonalitiesResponse"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/personalities/refine/{personality_id}":{"post":{"tags":["Personalities"],"summary":"Refine Personalities","operationId":"refine_personalities_personalities_refine__personality_id__post","parameters":[{"required":true,"schema":{"title":"Personality Id","type":"string","format":"uuid"},"name":"personality_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/UserPersonalitiesRefinePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Refine Personalities Personalities Refine  Personality Id  Post","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"},{"description":"Whether the query is from Dante or not.","required":false,"schema":{"title":"From Dante","type":"boolean","description":"Whether the query is from Dante or not.","default":false},"name":"from_dante","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"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuerySystemPromptPayload"}}},"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":[]}]}},"/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"},{"required":false,"schema":{"title":"From Dante","type":"boolean","default":false},"name":"from_dante","in":"query"},{"required":false,"schema":{"title":"Resolution Mode","type":"boolean","default":false},"name":"resolution_mode","in":"query"},{"required":false,"schema":{"title":"Csat Score","type":"string"},"name":"csat_score","in":"query"},{"required":false,"schema":{"title":"Returned To Conversation","type":"boolean","default":false},"name":"returned_to_conversation","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","parameters":[{"required":false,"schema":{"$ref":"#/components/schemas/app__models__core__TierBase__TierType"},"name":"tier_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":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/model/sources":{"post":{"tags":["Models and Predictions"],"summary":"Create Sources","description":"Create sources and return them in response","operationId":"create_sources_model_sources_post","parameters":[{"description":"The ID of the message for which to create the sources.","required":true,"schema":{"title":"Message ID","type":"string","description":"The ID of the message for which to create the sources.","format":"uuid"},"name":"message_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Create Sources Model Sources Post","type":"array","items":{"type":"object"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/model/message-resolution":{"get":{"tags":["Models and Predictions"],"summary":"Get Message Resolution","description":"Get message resolution for a message","operationId":"get_message_resolution_model_message_resolution_get","parameters":[{"required":true,"schema":{"title":"Message Id","type":"string","format":"uuid"},"name":"message_id","in":"query"},{"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"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageResolution"}}}},"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":false,"schema":{"title":"Use Jobs Manager","type":"boolean","default":false},"name":"use_jobs_manager","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":{"title":"Response Create Knowledge Base From File Knowledge Bases Files Post","anyOf":[{"$ref":"#/components/schemas/KnowledgeBaseResponse"},{"$ref":"#/components/schemas/JobsManagerCreateResponse"}]}}}},"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":"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":"Use Jobs Manager","type":"boolean","default":false},"name":"use_jobs_manager","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":{"title":"Response Create Kb From Files And Urls Knowledge Bases All Post","anyOf":[{"$ref":"#/components/schemas/KnowledgeBaseResponse"},{"$ref":"#/components/schemas/JobsManagerCreateResponse"}]}}}},"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":"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":"Use Jobs Manager","type":"boolean","default":false},"name":"use_jobs_manager","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":{"title":"Response Create Knowledge Base From Url Knowledge Bases Url Post","anyOf":[{"$ref":"#/components/schemas/KnowledgeBaseResponse"},{"$ref":"#/components/schemas/JobsManagerCreateResponse"}]}}}},"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","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/KbDashboardResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"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":{"title":"Response Get Knowledge Base Files Details Knowledge Bases  Kb Id  Export Files Get","type":"object","additionalProperties":{"type":"string"}}}}},"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/{kb_id}/name":{"patch":{"tags":["Knowledge Bases"],"summary":"Patch Knowledge Base Name","description":"Update the name of a specific knowledge base.","operationId":"patch_knowledge_base_name_knowledge_bases__kb_id__name_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/KnowledgeBaseNamePatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Patch Knowledge Base Name Knowledge Bases  Kb Id  Name Patch","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/{kb_id}/last-model-used":{"patch":{"tags":["Knowledge Bases"],"summary":"Patch Knowledge Base Last Model Used","description":"Update the name of a specific knowledge base.","operationId":"patch_knowledge_base_last_model_used_knowledge_bases__kb_id__last_model_used_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/KnowledgeBaseLastModelUsedPatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Patch Knowledge Base Last Model Used Knowledge Bases  Kb Id  Last Model Used Patch","type":"object"}}}},"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}/share/short":{"post":{"tags":["Knowledge Bases"],"summary":"Create Short Token","description":"Create a short token for sharing a knowledge base.","operationId":"create_short_token_knowledge_bases__kb_id__share_short_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":{"allOf":[{"$ref":"#/components/schemas/ModelType"}],"default":"gpt-4-omnimodel-mini"},"name":"model_type","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShortTokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/share/short":{"get":{"tags":["Knowledge Bases"],"summary":"Get Short Token Info","description":"Get knowledge base sharing info from a short token.","operationId":"get_short_token_info_knowledge_bases_share_short_get","parameters":[{"description":"The short token to look up","required":true,"schema":{"title":"Short Token","type":"string","description":"The short token to look up"},"name":"short_token","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShortTokenInfoResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/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"},{"required":false,"schema":{"title":"Use Jobs Manager","type":"boolean","default":false},"name":"use_jobs_manager","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":{"title":"Response Add File To Kb Knowledge Bases  Kb Id  Files Post","anyOf":[{"$ref":"#/components/schemas/KnowledgeBaseResponse"},{"$ref":"#/components/schemas/JobsManagerCreateResponse"}]}}}},"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}/files/bulk":{"delete":{"tags":["Knowledge Bases"],"summary":"Bulk Delete Files","description":"Delete multiple files from a knowledge base in one request.","operationId":"bulk_delete_files_knowledge_bases__kb_id__files_bulk_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/BulkDeleteFilesPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkDeleteFilesResponse"}}}},"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"},{"required":false,"schema":{"title":"Use Jobs Manager","type":"boolean","default":false},"name":"use_jobs_manager","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Add Urls To Kb Knowledge Bases  Kb Id  Urls Post","anyOf":[{"$ref":"#/components/schemas/KnowledgeBaseResponse"},{"$ref":"#/components/schemas/JobsManagerCreateResponse"}]}}}},"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"},{"required":false,"schema":{"title":"Use Jobs Manager","type":"boolean","default":false},"name":"use_jobs_manager","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":{"title":"Response Add Files And Urls To Kb Knowledge Bases  Kb Id  All Post","anyOf":[{"$ref":"#/components/schemas/KnowledgeBaseResponse"},{"$ref":"#/components/schemas/JobsManagerCreateResponse"}]}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/{kb_id}/core-settings":{"patch":{"tags":["Knowledge Bases"],"summary":"Patch Knowledge Base Core Settings","operationId":"patch_knowledge_base_core_settings_knowledge_bases__kb_id__core_settings_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/KnowledgeBaseCoreSettingsPatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Patch Knowledge Base Core Settings Knowledge Bases  Kb Id  Core Settings Patch","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/{kb_id}/styling":{"patch":{"tags":["Knowledge Bases"],"summary":"Patch Knowledge Base Styling","operationId":"patch_knowledge_base_styling_knowledge_bases__kb_id__styling_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/KnowledgeBaseStylingPatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Patch Knowledge Base Styling Knowledge Bases  Kb Id  Styling Patch","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/{kb_id}/power-ups":{"patch":{"tags":["Knowledge Bases"],"summary":"Patch Knowledge Base Powerups","operationId":"patch_knowledge_base_powerups_knowledge_bases__kb_id__power_ups_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/KnowledgeBasePowerUpsPatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Patch Knowledge Base Powerups Knowledge Bases  Kb Id  Power Ups Patch","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/{kb_id}/info":{"get":{"tags":["Knowledge Bases"],"summary":"Get Knowledge Base Info","operationId":"get_knowledge_base_info_knowledge_bases__kb_id__info_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":[]}]}},"/knowledge-bases/{kb_id}/personality":{"patch":{"tags":["Knowledge Bases"],"summary":"Patch Knowledge Base Personality","operationId":"patch_knowledge_base_personality_knowledge_bases__kb_id__personality_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/KnowledgeBasePersonalityPatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Patch Knowledge Base Personality Knowledge Bases  Kb Id  Personality Patch","type":"object"}}}},"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/{kb_id}/lead-gen":{"get":{"tags":["Knowledge Bases"],"summary":"Get Lead Gen Data","description":"Endpoint to retrieve lead generation data from conversations.","operationId":"get_lead_gen_data_knowledge_bases__kb_id__lead_gen_get","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"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":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"},{"required":false,"schema":{"title":"Limit","type":"integer"},"name":"limit","in":"query"},{"required":false,"schema":{"title":"Offset","type":"integer"},"name":"offset","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadGenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/{kb_id}/activate_new_design":{"post":{"tags":["Knowledge Bases"],"summary":"Activate New Design","description":"Activate the new design for the knowledge base.","operationId":"activate_new_design_knowledge_bases__kb_id__activate_new_design_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/MainNewColors"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/{kb_id}/link":{"post":{"tags":["Knowledge Bases"],"summary":"Create Chatbot Shared Details","operationId":"create_chatbot_shared_details_knowledge_bases__kb_id__link_post","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":true,"schema":{"title":"Token","type":"string"},"name":"token","in":"query"},{"required":true,"schema":{"title":"Method","type":"string"},"name":"method","in":"query"},{"required":false,"schema":{"title":"Url","type":"string"},"name":"url","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/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":false,"schema":{"title":"Urls","type":"array","items":{"type":"string"},"default":[]},"name":"urls","in":"query"},{"required":false,"schema":{"title":"Max Links","type":"array","items":{"type":"integer"},"default":[]},"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":false,"schema":{"title":"Use Jobs Manager","type":"boolean","default":false},"name":"use_jobs_manager","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":{"title":"Response Create Kb From Files And Urls Knowledge Bases V2 All Files Post","anyOf":[{"$ref":"#/components/schemas/KnowledgeBaseResponse"},{"$ref":"#/components/schemas/JobsManagerCreateResponse"}]}}}},"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":"Use Jobs Manager","type":"boolean","default":false},"name":"use_jobs_manager","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"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Create Knowledge Base From Url Knowledge Bases V2 Url Post","anyOf":[{"$ref":"#/components/schemas/KnowledgeBaseResponse"},{"$ref":"#/components/schemas/JobsManagerCreateResponse"}]}}}},"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 and/or QA pairs 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"},{"required":false,"schema":{"title":"Use Jobs Manager","type":"boolean","default":false},"name":"use_jobs_manager","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Add Urls To Kb Knowledge Bases V2  Kb Id  Urls Post","anyOf":[{"$ref":"#/components/schemas/KnowledgeBaseResponse"},{"$ref":"#/components/schemas/JobsManagerCreateResponse"}]}}}},"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, URLs, and/or QA pairs 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":false,"schema":{"title":"Urls","type":"array","items":{"type":"string"},"default":[]},"name":"urls","in":"query"},{"required":false,"schema":{"title":"Max Links","type":"array","items":{"type":"integer"},"default":[]},"name":"max_links","in":"query"},{"required":false,"schema":{"title":"Exclude Urls","type":"array","items":{"type":"string"},"default":[]},"name":"exclude_urls","in":"query"},{"required":false,"schema":{"title":"Use Jobs Manager","type":"boolean","default":false},"name":"use_jobs_manager","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":{"title":"Response Add Files And Urls To Existing Kb Knowledge Bases V2  Kb Id  All Post","anyOf":[{"$ref":"#/components/schemas/KnowledgeBaseResponse"},{"$ref":"#/components/schemas/JobsManagerCreateResponse"}]}}}},"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":[]}]}},"/knowledge-bases/worker/create-from-scraped-data":{"post":{"tags":["Knowledge Bases V2"],"summary":"Create Knowledge Base From Worker Data","description":"Create knowledge base and files from worker scraped data with Jobs Manager configuration.","operationId":"create_knowledge_base_from_worker_data_knowledge_bases_worker_create_from_scraped_data_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkerKnowledgeBasePayload"}}},"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/worker/get-kb-details/{kb_id}":{"get":{"tags":["Knowledge Bases V2"],"summary":"Get Knowledge Base Details For Worker","description":"Get knowledge base details for worker with live character calculation.","operationId":"get_knowledge_base_details_for_worker_knowledge_bases_worker_get_kb_details__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":{"$ref":"#/components/schemas/KnowledgeBaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/{kb_id}/latest-job-status":{"get":{"tags":["Knowledge Bases V2"],"summary":"Get Knowledge Base Job Status","description":"Get the latest job status for a knowledge base from Jobs Manager.","operationId":"get_knowledge_base_job_status_knowledge_bases__kb_id__latest_job_status_get","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"description":"Team ID for team-owned knowledge bases","required":false,"schema":{"title":"Team Id","type":"string","description":"Team ID for team-owned knowledge bases","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrchestratorStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/job-status/{job_id}":{"get":{"tags":["Knowledge Bases V2"],"summary":"Get Job Status By Id","description":"Get job status by job ID from Jobs Manager.","operationId":"get_job_status_by_id_knowledge_bases_job_status__job_id__get","parameters":[{"required":true,"schema":{"title":"Job Id","type":"string","format":"uuid"},"name":"job_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrchestratorStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/v2/onboarding":{"post":{"tags":["Knowledge Bases V2"],"summary":"Create Knowledge Base From Onboarding","description":"Add a file to a specific knowledge base.","operationId":"create_knowledge_base_from_onboarding_knowledge_bases_v2_onboarding_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/knowledge-bases/v2/onboarding/no-website":{"post":{"tags":["Knowledge Bases V2"],"summary":"Create Onboarding Account No Website","description":"Create a temporary user account for onboarding without a website.","operationId":"create_onboarding_account_no_website_knowledge_bases_v2_onboarding_no_website_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingNoWebsitePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingNoWebsiteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/knowledge-bases/v2/onboarding/seen":{"post":{"tags":["Knowledge Bases V2"],"summary":"Seen Onboarding","description":"Start tracking the utm parameters.","operationId":"seen_onboarding_knowledge_bases_v2_onboarding_seen_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingSeenPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingSeenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/knowledge-bases/v2/onboarding/claim":{"post":{"tags":["Knowledge Bases V2"],"summary":"Claim Onboarding Account","description":"Claim a temporary onboarding account by providing email and user_id.","operationId":"claim_onboarding_account_knowledge_bases_v2_onboarding_claim_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingClaimPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingClaimResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/knowledge-bases/v2/onboarding/verify":{"post":{"tags":["Knowledge Bases V2"],"summary":"Verify Onboarding Claim","description":"Verify the code and set new password for the claimed account.","operationId":"verify_onboarding_claim_knowledge_bases_v2_onboarding_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingVerifyPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingVerifyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/knowledge-bases/v2/onboarding/google":{"post":{"tags":["Knowledge Bases V2"],"summary":"Google Onboarding Claim","description":"Complete onboarding account claim using Google OAuth authentication.","operationId":"google_onboarding_claim_knowledge_bases_v2_onboarding_google_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingGooglePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingVerifyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/knowledge-bases/v2/onboarding/confirm-url":{"post":{"tags":["Knowledge Bases V2"],"summary":"Confirm Onboarding Url","description":"Validate if a URL is accessible and exists before onboarding.","operationId":"confirm_onboarding_url_knowledge_bases_v2_onboarding_confirm_url_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingConfirmUrlPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingConfirmUrlResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/knowledge-bases/worker/file/{file_id}/details":{"get":{"tags":["Knowledge Bases V2"],"summary":"Get File Details For Worker","description":"Get comprehensive file information for Jobs Manager processing.","operationId":"get_file_details_for_worker_knowledge_bases_worker_file__file_id__details_get","parameters":[{"required":true,"schema":{"title":"File Id","type":"string","format":"uuid"},"name":"file_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkerFileDetailsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/worker/file/{file_id}/update-after-processing":{"post":{"tags":["Knowledge Bases V2"],"summary":"Update File After Processing","description":"Update file metadata after Jobs Manager processing.","operationId":"update_file_after_processing_knowledge_bases_worker_file__file_id__update_after_processing_post","parameters":[{"required":true,"schema":{"title":"File Id","type":"string","format":"uuid"},"name":"file_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkerFileUpdatePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkerFileUpdateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/worker/autorefresh/scheduled-jobs":{"get":{"tags":["Knowledge Bases V2"],"summary":"Get Scheduled Autorefresh Jobs","description":"Get autorefresh jobs scheduled for a specific minute (Jobs Manager endpoint).","operationId":"get_scheduled_autorefresh_jobs_knowledge_bases_worker_autorefresh_scheduled_jobs_get","parameters":[{"description":"Specific minute to query for scheduled jobs (timezone-naive UTC)","required":true,"schema":{"title":"Query Time","type":"string","description":"Specific minute to query for scheduled jobs (timezone-naive UTC)","format":"date-time"},"example":"2025-09-01T14:30:00","name":"query_time","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkerScheduledJobsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/v2/qa":{"post":{"tags":["Knowledge Bases V2"],"summary":"Create Knowledge Base From Qa","description":"Create a knowledge base from Q&A pairs (async via Jobs Manager)","operationId":"create_knowledge_base_from_qa_knowledge_bases_v2_qa_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":{"application/json":{"schema":{"$ref":"#/components/schemas/QADataPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QAKnowledgeBaseJobResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/v2/{kb_id}/qa":{"get":{"tags":["Knowledge Bases V2"],"summary":"Get Qa Pairs","description":"Get Q&A pairs for a knowledge base","operationId":"get_qa_pairs_knowledge_bases_v2__kb_id__qa_get","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"description":"Team ID for team-owned knowledge bases","required":false,"schema":{"title":"Team Id","type":"string","description":"Team ID for team-owned knowledge bases","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeBaseQAResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"put":{"tags":["Knowledge Bases V2"],"summary":"Sync Qa Pairs","description":"Sync Q&A pairs: add new ones, update existing ones (via Jobs Manager), and delete specified ones immediately","operationId":"sync_qa_pairs_knowledge_bases_v2__kb_id__qa_put","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/SyncQAPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QASyncJobResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/v2/{kb_id}/qa/{qa_id}":{"delete":{"tags":["Knowledge Bases V2"],"summary":"Delete Qa Pair","description":"Delete a Q&A pair and its embedding from Pinecone","operationId":"delete_qa_pair_knowledge_bases_v2__kb_id__qa__qa_id__delete","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":true,"schema":{"title":"Qa Id","type":"string","format":"uuid"},"name":"qa_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":["Knowledge Bases V2"],"summary":"Update Qa Pair","description":"Update a Q&A pair by replacing it (sends to Jobs Manager, DB update happens in callback)","operationId":"update_qa_pair_knowledge_bases_v2__kb_id__qa__qa_id__patch","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":true,"schema":{"title":"Qa Id","type":"string","format":"uuid"},"name":"qa_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/QAPairPatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QAUpdateJobResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/worker/qa":{"post":{"tags":["Knowledge Bases V2"],"summary":"Qa Training Worker Callback","description":"Worker callback endpoint for QA training completion from Jobs Manager.","operationId":"qa_training_worker_callback_knowledge_bases_worker_qa_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkerQACallbackPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Qa Training Worker Callback Knowledge Bases Worker Qa Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/onboarding/demo-chatbots":{"get":{"tags":["Knowledge Bases V2"],"summary":"Get Demo Chatbots For Onboarding","description":"Get demo chatbots for onboarding.","operationId":"get_demo_chatbots_for_onboarding_knowledge_bases_onboarding_demo_chatbots_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Demo Chatbots For Onboarding Knowledge Bases Onboarding Demo Chatbots Get","type":"object"}}}}}}},"/knowledge-bases/v2/onboarding/magic-link":{"post":{"tags":["Knowledge Bases V2"],"summary":"Send Set Password Link","description":"Create a temporary account and send a set-password email link.","operationId":"send_set_password_link_knowledge_bases_v2_onboarding_magic_link_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_send_set_password_link_knowledge_bases_v2_onboarding_magic_link_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Send Set Password Link Knowledge Bases V2 Onboarding Magic Link Post","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/knowledge-bases/v2/onboarding/set-password":{"post":{"tags":["Knowledge Bases V2"],"summary":"Set Password From Magic Link","description":"Validate the magic link token and set the account password.","operationId":"set_password_from_magic_link_knowledge_bases_v2_onboarding_set_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingSetPasswordPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Set Password From Magic Link Knowledge Bases V2 Onboarding Set Password Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/knowledge-bases/v2/onboarding/{kb_id}/set-chatbot-payload":{"post":{"tags":["Knowledge Bases V2"],"summary":"Set Chatbot Payload","description":"Set the chatbot payload for the onboarding user.","operationId":"set_chatbot_payload_knowledge_bases_v2_onboarding__kb_id__set_chatbot_payload_post","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingSetChatbotPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Set Chatbot Payload Knowledge Bases V2 Onboarding  Kb Id  Set Chatbot Payload Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/knowledge-bases/{knowledge_base_id}/files":{"get":{"tags":["Auto Refresh"],"summary":"Get Knowledge Base Files","description":"Get files from a knowledge base for auto-refresh selection.","operationId":"get_knowledge_base_files_knowledge_bases__knowledge_base_id__files_get","parameters":[{"description":"The ID of the knowledge base","required":true,"schema":{"title":"Knowledge Base Id","type":"string","description":"The ID of the knowledge base","format":"uuid"},"name":"knowledge_base_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeBaseFilesResponse"}}}},"404":{"description":"Knowledge base not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Access denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/auto-refresh":{"post":{"tags":["Auto Refresh"],"summary":"Trigger Auto Refresh","description":"Trigger auto-refresh job in Jobs Manager for a knowledge base.","operationId":"trigger_auto_refresh_knowledge_bases_auto_refresh_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutoRefreshTriggerResponse"}}}},"404":{"description":"Knowledge base not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Access denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Jobs Manager service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/{knowledge_base_id}/files/{file_id}/auto-refresh":{"put":{"tags":["Auto Refresh"],"summary":"Update File After Auto Refresh","description":"Update file object with new chunks after auto-refresh.","operationId":"update_file_after_auto_refresh_knowledge_bases__knowledge_base_id__files__file_id__auto_refresh_put","parameters":[{"description":"The ID of the knowledge base","required":true,"schema":{"title":"Knowledge Base Id","type":"string","description":"The ID of the knowledge base","format":"uuid"},"name":"knowledge_base_id","in":"path"},{"description":"The ID of the file to update","required":true,"schema":{"title":"File Id","type":"string","description":"The ID of the file to update","format":"uuid"},"name":"file_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileUpdatePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileUpdateResponse"}}}},"404":{"description":"File not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Access denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"400":{"description":"Invalid payload","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/{knowledge_base_id}/files/{file_id}/autorefresh-failure":{"post":{"tags":["Auto Refresh"],"summary":"Handle Autorefresh Failure","description":"Handle autorefresh failure for a file","operationId":"handle_autorefresh_failure_knowledge_bases__knowledge_base_id__files__file_id__autorefresh_failure_post","parameters":[{"description":"The ID of the knowledge base","required":true,"schema":{"title":"Knowledge Base Id","type":"string","description":"The ID of the knowledge base","format":"uuid"},"name":"knowledge_base_id","in":"path"},{"description":"The ID of the file that failed to refresh","required":true,"schema":{"title":"File Id","type":"string","description":"The ID of the file that failed to refresh","format":"uuid"},"name":"file_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"title":"Error Message","type":"string","description":"Error message describing the failure"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Handle Autorefresh Failure Knowledge Bases  Knowledge Base Id  Files  File Id  Autorefresh Failure Post","type":"object"}}}},"404":{"description":"File or knowledge base not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Access denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/job-types/{job_type}/steps":{"get":{"tags":["Auto Refresh"],"summary":"Get Job Type Steps","description":"Get step information for a specific job type.","operationId":"get_job_type_steps_knowledge_bases_job_types__job_type__steps_get","parameters":[{"description":"Job type (auto_refresh or scrape_and_train)","required":true,"schema":{"title":"Job Type","type":"string","description":"Job type (auto_refresh or scrape_and_train)"},"name":"job_type","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobTypeInfo"}}}},"404":{"description":"Job type not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/knowledge-bases/progress/parse":{"post":{"tags":["Auto Refresh"],"summary":"Parse Progress Data","description":"Parse progress data with integer-based steps.","operationId":"parse_progress_data_knowledge_bases_progress_parse_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_parse_progress_data_knowledge_bases_progress_parse_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParsedProgressResponse"}}}},"400":{"description":"Invalid progress data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/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":"Has Resolution","type":"boolean"},"name":"has_resolution","in":"query"},{"required":false,"schema":{"title":"Has Csat","type":"boolean"},"name":"has_csat","in":"query"},{"required":false,"schema":{"title":"Transferred","type":"boolean"},"name":"transferred","in":"query"},{"required":false,"schema":{"title":"Search Query","type":"string"},"name":"search_query","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"},{"required":false,"schema":{"title":"Client Full Name","type":"string"},"name":"client_full_name","in":"query"},{"required":false,"schema":{"title":"Client Email","type":"string"},"name":"client_email","in":"query"},{"required":false,"schema":{"title":"From Page","type":"string"},"name":"from_page","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"},{"required":false,"schema":{"title":"Timezone","type":"string","default":"UTC"},"name":"timezone","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConversationResponse"}}}},"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":"Limit","type":"integer"},"name":"limit","in":"query"},{"required":false,"schema":{"title":"Offset","type":"integer"},"name":"offset","in":"query"},{"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":"Timezone","type":"string","default":"UTC"},"name":"timezone","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":"Has Resolution","type":"boolean"},"name":"has_resolution","in":"query"},{"required":false,"schema":{"title":"Has Csat","type":"boolean"},"name":"has_csat","in":"query"},{"required":false,"schema":{"title":"Transferred","type":"boolean"},"name":"transferred","in":"query"},{"required":false,"schema":{"title":"Search Query","type":"string"},"name":"search_query","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":"Timezone","type":"string","default":"UTC"},"name":"timezone","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":"Has Resolution","type":"boolean"},"name":"has_resolution","in":"query"},{"required":false,"schema":{"title":"Has Csat","type":"boolean"},"name":"has_csat","in":"query"},{"required":false,"schema":{"title":"Transferred","type":"boolean"},"name":"transferred","in":"query"},{"required":false,"schema":{"title":"Search Query","type":"string"},"name":"search_query","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Export Conversation Conversations Shared  Kb Id  Export Get","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/conversations/shared/{kb_id}/export-statistics":{"get":{"tags":["Conversations"],"summary":"Export Statistics Csv","operationId":"export_statistics_csv_conversations_shared__kb_id__export_statistics_get","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":true,"schema":{"title":"Date From","type":"string","format":"date"},"name":"date_from","in":"query"},{"required":true,"schema":{"title":"Date To","type":"string","format":"date"},"name":"date_to","in":"query"},{"required":true,"schema":{"title":"Fields","type":"array","items":{"type":"string"}},"name":"fields","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Export Statistics Csv Conversations Shared  Kb Id  Export Statistics Get","type":"object","additionalProperties":{"type":"string"}}}}},"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":"Conversation Ids","type":"array","items":{"type":"string","format":"uuid"}},"name":"conversation_ids","in":"query"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"},{"required":false,"schema":{"title":"Timezone","type":"string","default":"UTC"},"name":"timezone","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":"Has Resolution","type":"boolean"},"name":"has_resolution","in":"query"},{"required":false,"schema":{"title":"Has Csat","type":"boolean"},"name":"has_csat","in":"query"},{"required":false,"schema":{"title":"Transferred","type":"boolean"},"name":"transferred","in":"query"},{"required":false,"schema":{"title":"Search Query","type":"string"},"name":"search_query","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Export Conversation Form Data Conversations Shared  Kb Id  Export Data Get","type":"object","additionalProperties":{"type":"string"}}}}},"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 (UUID) or JWT token.","required":true,"schema":{"title":"Token","type":"string","description":"The token used for sharing the knowledge base (UUID) or JWT token."},"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"},{"required":false,"schema":{"title":"Timezone","type":"string","default":"UTC"},"name":"timezone","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"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/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":"Timezone","type":"string","default":"UTC"},"name":"timezone","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":"Has Resolution","type":"boolean"},"name":"has_resolution","in":"query"},{"required":false,"schema":{"title":"Has Csat","type":"boolean"},"name":"has_csat","in":"query"},{"required":false,"schema":{"title":"Transferred","type":"boolean"},"name":"transferred","in":"query"},{"required":false,"schema":{"title":"Search Query","type":"string"},"name":"search_query","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Export Not Answered Conversation Conversations Shared  Kb Id  Export Not Answered Get","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/conversations/shared/{kb_id}/export-selected":{"post":{"tags":["Conversations"],"summary":"Export Selected Conversation","description":"Export selected conversations to a text or CSV file.","operationId":"export_selected_conversation_conversations_shared__kb_id__export_selected_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":{"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":"Timezone","type":"string","default":"UTC"},"name":"timezone","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"title":"Conversation Ids","type":"array","items":{"type":"string","format":"uuid"}}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Export Selected Conversation Conversations Shared  Kb Id  Export Selected Post","type":"object","additionalProperties":{"type":"string"}}}}},"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"},{"required":false,"schema":{"title":"Client Full Name","type":"string"},"name":"client_full_name","in":"query"},{"required":false,"schema":{"title":"Client Email","type":"string"},"name":"client_email","in":"query"},{"required":false,"schema":{"title":"From Page","type":"string"},"name":"from_page","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"}}}}}}},"/conversations/leadgen-dynamic":{"post":{"tags":["Conversations"],"summary":"Lead Gen Endpoint","description":"Endpoint to get dynamic Lead Gen","operationId":"lead_gen_endpoint_conversations_leadgen_dynamic_post","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"},{"required":true,"schema":{"title":"Conversation Id","type":"string","format":"uuid"},"name":"conversation_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DynamicLeadGenPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DynamicLeadGenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/conversations/shared/{kb_id}/unanswered-questions":{"get":{"tags":["Conversations"],"summary":"Get Unanswered Questions Conversations","description":"Get paginated list of conversations with unanswered questions for a knowledge base.","operationId":"get_unanswered_questions_conversations_conversations_shared__kb_id__unanswered_questions_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":"Limit","type":"integer"},"name":"limit","in":"query"},{"required":false,"schema":{"title":"Offset","type":"integer"},"name":"offset","in":"query"},{"required":false,"schema":{"title":"Timezone","type":"string","default":"UTC"},"name":"timezone","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":"Has Resolution","type":"boolean"},"name":"has_resolution","in":"query"},{"required":false,"schema":{"title":"Has Csat","type":"boolean"},"name":"has_csat","in":"query"},{"required":false,"schema":{"title":"Transferred","type":"boolean"},"name":"transferred","in":"query"},{"required":false,"schema":{"title":"Search Query","type":"string"},"name":"search_query","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":[]}]}},"/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":"Timezone","type":"string","default":"UTC"},"name":"timezone","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":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"},{"required":false,"schema":{"title":"Source","enum":["internal","external","all"],"type":"string","default":"all"},"name":"source","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"}}}}}}},"/files/upload-temp":{"post":{"tags":["Files"],"summary":"Upload Temp File","description":"Upload a file to temporary storage with progress tracking","operationId":"upload_temp_file_files_upload_temp_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_temp_file_files_upload_temp_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadCompleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/files/upload-temp-with-progress":{"post":{"tags":["Files"],"summary":"Upload Temp File With Progress","description":"Upload a file to temporary storage with real-time progress tracking via WebSocket","operationId":"upload_temp_file_with_progress_files_upload_temp_with_progress_post","parameters":[{"description":"Upload ID for progress tracking","required":true,"schema":{"title":"Upload Id","type":"string","description":"Upload ID for progress tracking"},"name":"upload_id","in":"query"}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_temp_file_with_progress_files_upload_temp_with_progress_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadCompleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/files/upload-status/{upload_id}":{"get":{"tags":["Files"],"summary":"Get Upload Status","description":"Check the status of an upload by ID","operationId":"get_upload_status_files_upload_status__upload_id__get","parameters":[{"required":true,"schema":{"title":"Upload Id","type":"string"},"name":"upload_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Upload Status Files Upload Status  Upload Id  Get","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/files/generate-upload-id":{"get":{"tags":["Files"],"summary":"Generate Upload Id","description":"Generate a unique upload ID for progress tracking","operationId":"generate_upload_id_files_generate_upload_id_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Generate Upload Id Files Generate Upload Id Get","type":"object","additionalProperties":{"type":"string"}}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/jobs/{job_id}/progress":{"get":{"tags":["Jobs Manager"],"summary":"Get Job Progress","description":"Get detailed progress information for a specific job from Jobs Manager.","operationId":"get_job_progress_jobs__job_id__progress_get","parameters":[{"description":"The ID of the job to get progress for","required":true,"schema":{"title":"Job Id","type":"string","description":"The ID of the job to get progress for"},"name":"job_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/ProgressLogListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/jobs/{job_id}/status":{"get":{"tags":["Jobs Manager"],"summary":"Get Job Status","description":"Get basic status information for a specific job from Jobs Manager.","operationId":"get_job_status_jobs__job_id__status_get","parameters":[{"description":"The ID of the job to get status for","required":true,"schema":{"title":"Job Id","type":"string","description":"The ID of the job to get status for"},"name":"job_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 Job Status Jobs  Job Id  Status Get","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/jobs/{job_id}":{"delete":{"tags":["Jobs Manager"],"summary":"Stop Job","description":"Stop/cancel a running job in Jobs Manager.","operationId":"stop_job_jobs__job_id__delete","parameters":[{"description":"The ID of the job to stop","required":true,"schema":{"title":"Job Id","type":"string","description":"The ID of the job to stop"},"name":"job_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/JobStopResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/jobs/{job_id}/orchestrator-progress-summary":{"get":{"tags":["Jobs Manager"],"summary":"Get Orchestrator Progress Summary","description":"Get orchestrator progress information without batch job details.","operationId":"get_orchestrator_progress_summary_jobs__job_id__orchestrator_progress_summary_get","parameters":[{"description":"The ID of the orchestrator job to get progress for","required":true,"schema":{"title":"Job Id","type":"string","description":"The ID of the orchestrator job to get progress for"},"name":"job_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrchestratorProgressSummaryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/{job_id}/orchestrator-progress-ui":{"get":{"tags":["Jobs Manager"],"summary":"Get Orchestrator Progress Ui","description":"Live orchestrator progress tracking UI with real-time updates.","operationId":"get_orchestrator_progress_ui_jobs__job_id__orchestrator_progress_ui_get","parameters":[{"description":"The ID of the orchestrator job to track","required":true,"schema":{"title":"Job Id","type":"string","description":"The ID of the orchestrator job to track"},"name":"job_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/running":{"get":{"tags":["Jobs Manager"],"summary":"Get Running Jobs By User","description":"Get currently running jobs for a specific dante_user_id.","operationId":"get_running_jobs_by_user_jobs_running_get","parameters":[{"description":"The dante_user_id to get running jobs for","required":true,"schema":{"title":"Dante User Id","type":"string","description":"The dante_user_id to get running jobs for","format":"uuid"},"name":"dante_user_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":{"$ref":"#/components/schemas/RunningJobsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/jobs/running/kb/{kb_id}":{"get":{"tags":["Jobs Manager"],"summary":"Get Running Jobs By Kb","description":"Get currently running jobs for a specific knowledge base ID.","operationId":"get_running_jobs_by_kb_jobs_running_kb__kb_id__get","parameters":[{"description":"The knowledge base ID to get running jobs for","required":true,"schema":{"title":"Kb Id","type":"string","description":"The knowledge base ID to get running jobs for","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/RunningJobsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/jobs/running/invalidate-cache":{"post":{"tags":["Jobs Manager"],"summary":"Invalidate Running Jobs Cache","description":"Invalidate running jobs cache. Called by Jobs Manager when job state changes.","operationId":"invalidate_running_jobs_cache_jobs_running_invalidate_cache_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidateCacheRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Invalidate Running Jobs Cache Jobs Running Invalidate Cache Post","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/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"}}}}}}},"/suggestion/v3":{"post":{"tags":["Prompt suggestion"],"summary":"Get Suggestion V3","description":"Get chat message suggestions based on the provided messages.","operationId":"get_suggestion_v3_suggestion_v3_post","parameters":[{"description":"The ID of the conversation.","required":false,"schema":{"title":"Conversation ID","type":"string","description":"The ID of the conversation.","format":"uuid"},"name":"conversation_id","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","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"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Suggestion V3 Suggestion V3 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/customer-portal":{"post":{"tags":["Stripe"],"summary":"Get Customer Portal Link","description":"Get a Stripe customer portal link by providing your email address.","operationId":"get_customer_portal_link_stripe_customer_portal_post","parameters":[{"description":"URL to redirect the customer after they leave the portal.","required":false,"schema":{"title":"Return URL","type":"string","description":"URL to redirect the customer after they leave the portal."},"name":"return_url","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerPortalRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Customer Portal Link Stripe Customer Portal Post","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/stripe/authenticated-customer-portal":{"post":{"tags":["Stripe"],"summary":"Get Authenticated Customer Portal Link","description":"Create a Stripe customer portal session for the authenticated user.","operationId":"get_authenticated_customer_portal_link_stripe_authenticated_customer_portal_post","parameters":[{"description":"URL to redirect the customer after they leave the portal.","required":false,"schema":{"title":"Return URL","type":"string","description":"URL to redirect the customer after they leave the portal."},"name":"return_url","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Authenticated Customer Portal Link Stripe Authenticated Customer Portal Post","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/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/payment-abandoned/discount":{"get":{"tags":["Stripe"],"summary":"Create Checkout Session Payment Abandoned Discount","description":"Create a 15% discounted checkout session from a payment-abandoned token.","operationId":"create_checkout_session_payment_abandoned_discount_stripe_checkout_session_payment_abandoned_discount_get","parameters":[{"description":"Payment abandoned discount token.","required":true,"schema":{"title":"Discount token","type":"string","description":"Payment abandoned discount token."},"name":"token","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Create Checkout Session Payment Abandoned Discount Stripe Checkout Session Payment Abandoned Discount Get","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/stripe/checkout_session/black-friday":{"post":{"tags":["Stripe"],"summary":"Create Checkout Session Black Friday","description":"Create a Stripe checkout session for a subscription at full price.","operationId":"create_checkout_session_black_friday_stripe_checkout_session_black_friday_post","parameters":[{"description":"Tier type for free users to upgrade to (starter, advanced, or pro)","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/app__models__core__TierBase__TierType"}],"description":"Tier type for free users to upgrade to (starter, advanced, or pro)"},"name":"tier_type","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Create Checkout Session Black Friday Stripe Checkout Session Black Friday Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"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":false,"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"},{"description":"The ID of the add on for the top-up checkout session.","required":false,"schema":{"title":"AddOn ID","type":"string","description":"The ID of the add on for the top-up checkout session.","format":"uuid"},"name":"add_on_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/hibernation/schedule":{"post":{"tags":["Stripe"],"summary":"Create Hibernation Schedule","description":"Schedule hibernation to start when the current subscription ends. No checkout; payment is automatic.","operationId":"create_hibernation_schedule_stripe_hibernation_schedule_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Create Hibernation Schedule Stripe Hibernation Schedule Post","type":"object"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/stripe/hibernation/cancel":{"post":{"tags":["Stripe"],"summary":"Cancel Hibernation Schedule","description":"Revert scheduled hibernation: remove the scheduled hibernation and uncancel the current subscription.","operationId":"cancel_hibernation_schedule_stripe_hibernation_cancel_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Cancel Hibernation Schedule Stripe Hibernation Cancel Post","type":"object"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/stripe/checkout_session/invoice_payment_webhook":{"post":{"tags":["Stripe"],"summary":"Handle Invoice Payment Webhook","description":"Handle invoice payment succeeded events through a webhook.","operationId":"handle_invoice_payment_webhook_stripe_checkout_session_invoice_payment_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Handle Invoice Payment Webhook Stripe Checkout Session Invoice Payment Webhook Post","type":"object"}}}}}}},"/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"}}}}}}},"/stripe/new_user_checkout":{"post":{"tags":["Stripe"],"summary":"Create New User Checkout","description":"Create $1 checkout session for new users (within 24h) for Starter plan","operationId":"create_new_user_checkout_stripe_new_user_checkout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Create New User Checkout Stripe New User Checkout Post","type":"object"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/stripe/promotional_checkout":{"post":{"tags":["Stripe"],"summary":"Create Promotional Checkout","description":"Create promotional checkout session for $1 Starter plan","operationId":"create_promotional_checkout_stripe_promotional_checkout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Create Promotional Checkout Stripe Promotional Checkout Post","type":"object"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/stripe/tier_sync_webhook":{"post":{"tags":["Stripe"],"summary":"Handle Tier Sync Webhook","description":"Webhook endpoint for syncing user tier data to database.","operationId":"handle_tier_sync_webhook_stripe_tier_sync_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Handle Tier Sync Webhook Stripe Tier Sync Webhook Post","type":"object"}}}}}}},"/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/add-ons":{"get":{"tags":["Tiers"],"summary":"Get Tier Add Ons","description":"Get a list of tier add-ons.","operationId":"get_tier_add_ons_tiers_add_ons_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Tier Add Ons Tiers Add Ons Get","type":"object"}}}}}}},"/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","description":"Store user feedback when they downgrade their tier.\n\nNote: Email notifications for downgrades/cancellations are now sent by the\ntier_sync_webhook in app/routers/stripe.py, which catches all tier changes\nincluding those made directly through Stripe. This ensures we don't miss\ncancellations made outside our app and avoids duplicate emails.","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/features-lost-new":{"get":{"tags":["Tiers"],"summary":"Get Lost Features On Downgrade New","operationId":"get_lost_features_on_downgrade_new_tiers_downgrade_features_lost_new_get","parameters":[{"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"}}}}}}},"/tiers/all":{"get":{"tags":["Tiers"],"summary":"Get All Tiers","operationId":"get_all_tiers_tiers_all_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get All Tiers Tiers All Get","type":"array","items":{"type":"object"}}}}}}}},"/tiers/info":{"get":{"tags":["Tiers"],"summary":"Tiers Info","operationId":"tiers_info_tiers_info_get","parameters":[{"required":false,"schema":{"title":"Use Cached","type":"boolean"},"name":"use_cached","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Tiers Info Tiers Info Get","type":"object","additionalProperties":{"type":"array","items":{"type":"object"}}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tiers/onboarding-tiers":{"get":{"tags":["Tiers"],"summary":"Onboarding Tiers","operationId":"onboarding_tiers_tiers_onboarding_tiers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Onboarding Tiers Tiers Onboarding Tiers Get","type":"object","additionalProperties":{"type":"array","items":{"type":"object"}}}}}}}}},"/tiers/downgrade/insights":{"get":{"tags":["Tiers"],"summary":"Tier Insights","operationId":"tier_insights_tiers_downgrade_insights_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Tier Insights Tiers Downgrade Insights Get","type":"object","additionalProperties":{"type":"object"}}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tiers/downgrade/reason/{tier_downgrade_reason_id}":{"get":{"tags":["Tiers"],"summary":"Get Downgrade Reason","operationId":"get_downgrade_reason_tiers_downgrade_reason__tier_downgrade_reason_id__get","parameters":[{"required":true,"schema":{"title":"Tier Downgrade Reason Id","type":"string","format":"uuid"},"name":"tier_downgrade_reason_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Downgrade Reason Tiers Downgrade Reason  Tier Downgrade Reason Id  Get","anyOf":[{"$ref":"#/components/schemas/TierDowngradeReason"},{"type":"string"}]}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["Tiers"],"summary":"Post Downgrade Reason","operationId":"post_downgrade_reason_tiers_downgrade_reason__tier_downgrade_reason_id__post","parameters":[{"required":true,"schema":{"title":"Tier Downgrade Reason Id","type":"string","format":"uuid"},"name":"tier_downgrade_reason_id","in":"path"},{"required":true,"schema":{"title":"Reason","type":"string"},"name":"reason","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TierDowngradeReason"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tiers/downgrade/book-meeting/{tier_downgrade_reason_id}":{"post":{"tags":["Tiers"],"summary":"Downgrade Book Meeting","operationId":"downgrade_book_meeting_tiers_downgrade_book_meeting__tier_downgrade_reason_id__post","parameters":[{"required":true,"schema":{"title":"Tier Downgrade Reason Id","type":"string","format":"uuid"},"name":"tier_downgrade_reason_id","in":"path"},{"required":true,"schema":{"title":"Button Clicked","type":"boolean"},"name":"button_clicked","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TierDowngradeReason"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tiers/downgrade/reason/step/{tier_downgrade_reason_id}":{"post":{"tags":["Tiers"],"summary":"Post Downgrade Reason Step","operationId":"post_downgrade_reason_step_tiers_downgrade_reason_step__tier_downgrade_reason_id__post","parameters":[{"required":true,"schema":{"title":"Tier Downgrade Reason Id","type":"string","format":"uuid"},"name":"tier_downgrade_reason_id","in":"path"},{"required":true,"schema":{"title":"Step","type":"integer"},"name":"step","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TierDowngradeReason"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tiers/downgrade/user-feedback/{tier_downgrade_reason_id}":{"post":{"tags":["Tiers"],"summary":"Update User Feedback","operationId":"update_user_feedback_tiers_downgrade_user_feedback__tier_downgrade_reason_id__post","parameters":[{"required":true,"schema":{"title":"Tier Downgrade Reason Id","type":"string","format":"uuid"},"name":"tier_downgrade_reason_id","in":"path"},{"required":false,"schema":{"title":"Answer One","type":"string"},"name":"answer_one","in":"query"},{"required":false,"schema":{"title":"Answer Two","type":"string"},"name":"answer_two","in":"query"},{"required":false,"schema":{"title":"Answer Three","type":"string"},"name":"answer_three","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TierDowngradeReason"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tiers/downgrade/reason/send-email/{tier_downgrade_reason_id}":{"post":{"tags":["Tiers"],"summary":"Send Email Tier Downgrade Reason","operationId":"send_email_tier_downgrade_reason_tiers_downgrade_reason_send_email__tier_downgrade_reason_id__post","parameters":[{"required":true,"schema":{"title":"Tier Downgrade Reason Id","type":"string","format":"uuid"},"name":"tier_downgrade_reason_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TierDowngradeReason"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tiers/downgrade/reason/tier-change/{tier_downgrade_reason_id}":{"post":{"tags":["Tiers"],"summary":"Tier Change","operationId":"tier_change_tiers_downgrade_reason_tier_change__tier_downgrade_reason_id__post","parameters":[{"required":true,"schema":{"title":"Tier Downgrade Reason Id","type":"string","format":"uuid"},"name":"tier_downgrade_reason_id","in":"path"},{"required":true,"schema":{"$ref":"#/components/schemas/app__models__core__TierBase__TierType"},"name":"new_tier","in":"query"},{"required":true,"schema":{"$ref":"#/components/schemas/app__models__core__TierBase__TierType"},"name":"previous_tier","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TierDowngradeReason"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tiers/pause/details":{"get":{"tags":["Tiers"],"summary":"Get Pause Details","operationId":"get_pause_details_tiers_pause_details_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PauseDetailsResponse"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/billing/subscription":{"get":{"tags":["Billing"],"summary":"Get Billing Subscription","description":"Get subscription details for the billing page.","operationId":"get_billing_subscription_billing_subscription_get","parameters":[{"required":false,"schema":{"title":"Timezone","type":"string","default":"UTC"},"name":"timezone","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/billing/add-ons":{"get":{"tags":["Billing"],"summary":"Get Billing Add Ons","description":"Get active and available add-ons.","operationId":"get_billing_add_ons_billing_add_ons_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingAddOnsResponse"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/billing/invoices":{"get":{"tags":["Billing"],"summary":"Get Billing Invoices","description":"Get paginated invoice history with upcoming invoice preview.","operationId":"get_billing_invoices_billing_invoices_get","parameters":[{"required":false,"schema":{"title":"Limit","maximum":100.0,"minimum":1.0,"type":"integer","default":20},"name":"limit","in":"query"},{"required":false,"schema":{"title":"Starting After","type":"string"},"name":"starting_after","in":"query"},{"required":false,"schema":{"title":"Timezone","type":"string","default":"UTC"},"name":"timezone","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingInvoicesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/billing/payment":{"get":{"tags":["Billing"],"summary":"Get Billing Payment","description":"Get payment methods and billing address.","operationId":"get_billing_payment_billing_payment_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingPaymentResponse"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/billing/payment/tax-id-types":{"get":{"tags":["Billing"],"summary":"Get Tax Id Types","description":"Get all supported tax ID types grouped by country.","operationId":"get_tax_id_types_billing_payment_tax_id_types_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaxIdTypesResponse"}}}}}}},"/billing/payment/billing-details":{"patch":{"tags":["Billing"],"summary":"Update Billing Details","description":"Update billing contact details.","operationId":"update_billing_details_billing_payment_billing_details_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBillingDetailsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingPaymentMethodActionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/billing/payment/tax-ids":{"post":{"tags":["Billing"],"summary":"Add Tax Id","description":"Add a tax ID to the billing account.","operationId":"add_tax_id_billing_payment_tax_ids_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTaxIdRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingTaxId"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/billing/payment/tax-ids/{tax_id}":{"delete":{"tags":["Billing"],"summary":"Remove Tax Id","description":"Remove a tax ID from the billing account.","operationId":"remove_tax_id_billing_payment_tax_ids__tax_id__delete","parameters":[{"required":true,"schema":{"title":"Tax Id","type":"string"},"name":"tax_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingPaymentMethodActionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/billing/payment/setup-intent":{"post":{"tags":["Billing"],"summary":"Create Setup Intent","description":"Create a SetupIntent for adding a new payment method.","operationId":"create_setup_intent_billing_payment_setup_intent_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetupIntentResponse"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/billing/payment/methods/{payment_method_id}/default":{"post":{"tags":["Billing"],"summary":"Set Default Payment Method","description":"Set a payment method as the default.","operationId":"set_default_payment_method_billing_payment_methods__payment_method_id__default_post","parameters":[{"required":true,"schema":{"title":"Payment Method Id","type":"string"},"name":"payment_method_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingPaymentMethodActionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/billing/payment/methods/{payment_method_id}":{"delete":{"tags":["Billing"],"summary":"Remove Payment Method","description":"Remove a payment method.","operationId":"remove_payment_method_billing_payment_methods__payment_method_id__delete","parameters":[{"required":true,"schema":{"title":"Payment Method Id","type":"string"},"name":"payment_method_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingPaymentMethodActionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/billing/compare-plans":{"get":{"tags":["Billing"],"summary":"Get Billing Compare Plans","description":"Get plan comparison data for the Compare Plans modal.","operationId":"get_billing_compare_plans_billing_compare_plans_get","parameters":[{"required":false,"schema":{"title":"Period","type":"string","default":"monthly"},"name":"period","in":"query"},{"required":false,"schema":{"title":"Client Name","type":"string"},"name":"client_name","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingComparePlansResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/billing/plans":{"get":{"tags":["Billing"],"summary":"Get Billing Plans","description":"Get plan options for the plan selection page.","operationId":"get_billing_plans_billing_plans_get","parameters":[{"required":false,"schema":{"title":"Client Name","type":"string"},"name":"client_name","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingPlanSelectionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/billing/add-ons/cancel":{"post":{"tags":["Billing"],"summary":"Cancel Billing Addon","description":"Cancel an individual add-on subscription at end of billing period.","operationId":"cancel_billing_addon_billing_add_ons_cancel_post","parameters":[{"description":"Stripe subscription ID of the add-on to cancel","required":true,"schema":{"title":"Stripe Subscription Id","type":"string","description":"Stripe subscription ID of the add-on to cancel"},"name":"stripe_subscription_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Cancel Billing Addon Billing Add Ons Cancel Post","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/billing/add-ons/reactivate":{"post":{"tags":["Billing"],"summary":"Reactivate Billing Addon","description":"Reactivate an add-on that is scheduled for cancellation at end of billing period.","operationId":"reactivate_billing_addon_billing_add_ons_reactivate_post","parameters":[{"description":"Stripe subscription ID of the add-on to reactivate","required":true,"schema":{"title":"Stripe Subscription Id","type":"string","description":"Stripe subscription ID of the add-on to reactivate"},"name":"stripe_subscription_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Reactivate Billing Addon Billing Add Ons Reactivate Post","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/billing/add-ons/swap":{"post":{"tags":["Billing"],"summary":"Swap Billing Addon","description":"Swap an active add-on subscription to a different add-on (e.g. change credit pack size).","operationId":"swap_billing_addon_billing_add_ons_swap_post","parameters":[{"description":"Stripe subscription ID of the current add-on","required":true,"schema":{"title":"Stripe Subscription Id","type":"string","description":"Stripe subscription ID of the current add-on"},"name":"stripe_subscription_id","in":"query"},{"description":"ID of the new TierAddOn to swap to","required":true,"schema":{"title":"New Add On Id","type":"string","description":"ID of the new TierAddOn to swap to"},"name":"new_add_on_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Swap Billing Addon Billing Add Ons Swap Post","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/billing/add-ons/update-quantity":{"post":{"tags":["Billing"],"summary":"Update Addon Quantity","description":"Update the quantity of an active add-on subscription with proration.","operationId":"update_addon_quantity_billing_add_ons_update_quantity_post","parameters":[{"description":"Stripe subscription ID of the add-on","required":true,"schema":{"title":"Stripe Subscription Id","type":"string","description":"Stripe subscription ID of the add-on"},"name":"stripe_subscription_id","in":"query"},{"description":"New quantity for the add-on","required":true,"schema":{"title":"Quantity","minimum":1.0,"type":"integer","description":"New quantity for the add-on"},"name":"quantity","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Update Addon Quantity Billing Add Ons Update Quantity Post","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/billing/page/subscription":{"get":{"tags":["Billing"],"summary":"Billing Page Subscription","operationId":"billing_page_subscription_billing_page_subscription_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/billing/page/add-ons":{"get":{"tags":["Billing"],"summary":"Billing Page Addons","operationId":"billing_page_addons_billing_page_add_ons_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/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/on-boarding":{"post":{"tags":["teams"],"summary":"Create Team From Signup","operationId":"create_team_from_signup_teams_on_boarding_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamOnboardingPayload"}}},"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":{"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":[{"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"},{"required":false,"schema":{"title":"Timezone","type":"string","default":"UTC"},"name":"timezone","in":"query"}],"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":[]}]},"patch":{"tags":["Profile"],"summary":"Update Profile Info","description":"Update the user profile info.","operationId":"update_profile_info_profile_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProfilePatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfilePatchResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/profile/all":{"get":{"tags":["Profile"],"summary":"Get Profile All","description":"Get user profile information.","operationId":"get_profile_all_profile_all_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/UserProfileAllResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/profile/current-credits":{"get":{"tags":["Profile"],"summary":"Get Current Credits","description":"Get user profile information.","operationId":"get_current_credits_profile_current_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/ProfileCreditsResponse"}}}},"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/billing-details":{"get":{"tags":["Profile"],"summary":"Get Billing Details","operationId":"get_billing_details_profile_billing_details_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingDetailsResponse"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/profile/invoices":{"get":{"tags":["Profile"],"summary":"Get Invoices","operationId":"get_invoices_profile_invoices_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoicesResponse"}}}}},"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"}}}}}}},"/profile/upload/":{"post":{"tags":["Profile"],"summary":"Create Upload File","description":"Switch to the correct bucket for uploading files","operationId":"create_upload_file_profile_upload__post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_upload_file_profile_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"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/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 30 days","required":false,"schema":{"title":"Remember Me","type":"boolean","description":"Whether to remember the user for 30 days","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":"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/GoogleSignupUserRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sso/google/select-trial":{"post":{"tags":["Google SSO"],"summary":"Select Trial Plan","description":"Endpoint to select the trial plan type after Google signup and initialize Stripe data.","operationId":"select_trial_plan_sso_google_select_trial_post","parameters":[{"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"}],"requestBody":{"content":{"application/json":{"schema":{"title":"Trial Plan Type","allOf":[{"$ref":"#/components/schemas/TrialPlanType"}],"description":"The chosen trial plan type."}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Select Trial Plan Sso Google Select Trial Post","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/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":[]}]}},"/login/send-desktop-magic-link":{"post":{"tags":["Login"],"summary":"Send Desktop Magic Link","description":"Send a magic link email for desktop login from mobile","operationId":"send_desktop_magic_link_login_send_desktop_magic_link_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Send Desktop Magic Link Login Send Desktop Magic Link Post","type":"object","additionalProperties":{"type":"string"}}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/login/verify-desktop-magic-link":{"post":{"tags":["Login"],"summary":"Verify Desktop Magic Link","description":"Verify and claim a desktop magic link token","operationId":"verify_desktop_magic_link_login_verify_desktop_magic_link_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyDesktopMagicLinkPayload"}}},"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"}}}}}}},"/internal/users/lookup":{"post":{"tags":["UnifiedSignin"],"summary":"Lookup User","description":"HMAC-signed: check whether an email exists in the legacy user table and whether 2FA is required.","operationId":"lookup_user_internal_users_lookup_post","parameters":[{"required":true,"schema":{"title":"X-Signin-Timestamp","type":"string"},"name":"X-Signin-Timestamp","in":"header"},{"required":true,"schema":{"title":"X-Signin-Signature","type":"string"},"name":"X-Signin-Signature","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/auth/issue-code":{"post":{"tags":["UnifiedSignin"],"summary":"Issue Code","description":"HMAC-signed: verify credentials (and OTP if applicable) and return a one-time code redeemable at /auth/exchange-code.","operationId":"issue_code_internal_auth_issue_code_post","parameters":[{"required":true,"schema":{"title":"X-Signin-Timestamp","type":"string"},"name":"X-Signin-Timestamp","in":"header"},{"required":true,"schema":{"title":"X-Signin-Signature","type":"string"},"name":"X-Signin-Signature","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssueCodeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssueCodeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/auth/google-issue-code":{"post":{"tags":["UnifiedSignin"],"summary":"Google Issue Code","description":"HMAC-signed: mint a one-time signin code for a Google-verified email. The caller (echo signin orchestrator) has already verified the Google ID token, so we trust the email and mirror the password-less google_login behaviour (match by email, no password/OTP).","operationId":"google_issue_code_internal_auth_google_issue_code_post","parameters":[{"required":true,"schema":{"title":"X-Signin-Timestamp","type":"string"},"name":"X-Signin-Timestamp","in":"header"},{"required":true,"schema":{"title":"X-Signin-Signature","type":"string"},"name":"X-Signin-Signature","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleIssueCodeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssueCodeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/exchange-code":{"post":{"tags":["UnifiedSignin"],"summary":"Exchange Code","description":"Public: redeem a one-time signin code for a JWT. Rate-limited per IP. Codes are single-use.","operationId":"exchange_code_auth_exchange_code_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExchangeCodeRequest"}}},"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"}}}}}}},"/statistics/{kb_id}/general":{"get":{"tags":["Statistics"],"summary":"Get General Statistics","description":"Endpoint to get analytics dashboard Data.","operationId":"get_general_statistics_statistics__kb_id__general_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":"Timezone","type":"string","default":"UTC"},"name":"timezone","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneralStatisticsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/statistics/{kb_id}/counts":{"get":{"tags":["Statistics"],"summary":"Get Counts","description":"Get counts for chat records and lead generation data.","operationId":"get_counts_statistics__kb_id__counts_get","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":false,"schema":{"title":"Date From","type":"string","format":"date-time"},"name":"date_from","in":"query"},{"required":false,"schema":{"title":"Date To","type":"string","format":"date-time"},"name":"date_to","in":"query"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"},{"required":false,"schema":{"title":"Timezone","type":"string","default":"UTC"},"name":"timezone","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Counts Statistics  Kb Id  Counts Get","type":"object","additionalProperties":{"type":"integer"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"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":false,"schema":{"title":"Timezone","type":"string","default":"UTC"},"name":"timezone","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":[]}]}},"/dashboard/main":{"get":{"tags":["Dashboard"],"summary":"Get Main Dashboard","description":"Get main dashboard data with performance statistics, consumption statistics, and chatbots list.","operationId":"get_main_dashboard_dashboard_main_get","parameters":[{"description":"Team ID for team context","required":false,"schema":{"title":"Team Id","type":"string","description":"Team ID for team context","format":"uuid"},"name":"team_id","in":"query"},{"description":"Number of chatbots per page","required":false,"schema":{"title":"Limit","maximum":100.0,"minimum":1.0,"type":"integer","description":"Number of chatbots per page","default":10},"name":"limit","in":"query"},{"description":"Offset for pagination","required":false,"schema":{"title":"Offset","minimum":0.0,"type":"integer","description":"Offset for pagination","default":0},"name":"offset","in":"query"},{"description":"Search query for chatbot names","required":false,"schema":{"title":"Search","type":"string","description":"Search query for chatbot names"},"name":"search","in":"query"},{"required":false,"schema":{"title":"Timezone","type":"string","default":"UTC"},"name":"timezone","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MainDashboardResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"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":{"title":"Response Create Knowledge Base Customization Knowledge Bases Customization  Post","type":"object"}}}},"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/{kb_id}/dns-values":{"get":{"tags":["Knowledge Base Customizations"],"summary":"Get Dns Values","operationId":"get_dns_values_knowledge_bases_customization__kb_id__dns_values_get","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":true,"schema":{"title":"Custom Url","type":"string"},"name":"custom_url","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 Dns Values Knowledge Bases Customization  Kb Id  Dns Values Get","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/knowledge-bases/customization/{kb_id}/dns-records":{"delete":{"tags":["Knowledge Base Customizations"],"summary":"Delete Dns Records","description":"Endpoint to delete DNS records for a specific knowledge base.","operationId":"delete_dns_records_knowledge_bases_customization__kb_id__dns_records_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":{"title":"Response Delete Dns Records Knowledge Bases Customization  Kb Id  Dns Records Delete","type":"object","additionalProperties":{"type":"string"}}}}},"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 for the knowledge base.","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"},{"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/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"},{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"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"},{"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/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","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":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/user/wordpress_api_key":{"get":{"tags":["User"],"summary":"Get Wordpress Api Key","description":"Get your WordPress API-Key.","operationId":"get_wordpress_api_key_user_wordpress_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 Wordpress Api Key","description":"Create a new WordPress API-Key.","operationId":"create_new_wordpress_api_key_user_wordpress_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 Wordpress Api Key","description":"Delete your WordPress API-Key.","operationId":"delete_wordpress_api_key_user_wordpress_api_key_delete","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":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/user/zapier_api_key":{"get":{"tags":["User"],"summary":"Get Zapier Api Key","description":"Get your Zapier API-Key.","operationId":"get_zapier_api_key_user_zapier_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 Zapier Api Key","description":"Create a new Zapier API-Key.","operationId":"create_new_zapier_api_key_user_zapier_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 Zapier Api Key","description":"Delete your Zapier API-Key.","operationId":"delete_zapier_api_key_user_zapier_api_key_delete","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":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"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/setup-2fa":{"post":{"tags":["User"],"summary":"Setup 2Fa","description":"Generate complete 2FA setup information (QR Code, URL, and Setup Key) - RECOMMENDED endpoint to use","operationId":"setup_2fa_user_setup_2fa_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":[]}]}},"/user/verify-email":{"post":{"tags":["User"],"summary":"Verify Email","operationId":"verify_email_user_verify_email_post","parameters":[{"required":true,"schema":{"title":"Email","type":"string"},"name":"email","in":"query"},{"required":true,"schema":{"title":"Code","type":"string"},"name":"code","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Verify Email User Verify Email Post","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/send-verification":{"post":{"tags":["User"],"summary":"Send Verification Code","operationId":"send_verification_code_user_send_verification_post","parameters":[{"required":true,"schema":{"title":"Email","type":"string"},"name":"email","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Send Verification Code User Send Verification Post","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/resend-verification":{"post":{"tags":["User"],"summary":"Resend Verification Code","operationId":"resend_verification_code_user_resend_verification_post","parameters":[{"required":true,"schema":{"title":"Email","type":"string"},"name":"email","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Resend Verification Code User Resend Verification Post","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/resend-signup-code":{"post":{"tags":["User"],"summary":"Resend Signup Verification Code","operationId":"resend_signup_verification_code_user_resend_signup_code_post","parameters":[{"required":true,"schema":{"title":"Email","type":"string"},"name":"email","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Resend Signup Verification Code User Resend Signup Code Post","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/bubble-tooltips-shown":{"get":{"tags":["User"],"summary":"Get Bubble Tooltips Shown","operationId":"get_bubble_tooltips_shown_user_bubble_tooltips_shown_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Bubble Tooltips Shown User Bubble Tooltips Shown Get","type":"object","additionalProperties":{"type":"boolean"}}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["User"],"summary":"Create Bubble Tooltips Shown","operationId":"create_bubble_tooltips_shown_user_bubble_tooltips_shown_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Create Bubble Tooltips Shown User Bubble Tooltips Shown Post","type":"object","additionalProperties":{"type":"string"}}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/user/modal-status":{"get":{"tags":["User"],"summary":"Get Modal Status","description":"Check if promotional modal should be shown to user","operationId":"get_modal_status_user_modal_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModalTrackingResponse"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/user/track-modal":{"post":{"tags":["User"],"summary":"Track Modal Show","description":"Track promotional modal shows for a user","operationId":"track_modal_show_user_track_modal_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModalTrackingResponse"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/user/features/autorefresh":{"get":{"tags":["User"],"summary":"Check Autorefresh Access","description":"Check if the current user has access to autorefresh features based on their tier.\n\nWhen team_id is provided, checks the team owner's tier instead of the\nrequesting user's tier.","operationId":"check_autorefresh_access_user_features_autorefresh_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 Check Autorefresh Access User Features Autorefresh Get","type":"object","additionalProperties":{"type":"boolean"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/zapier/trigger_prompt":{"post":{"tags":["Zapier"],"summary":"Trigger Prompt","operationId":"trigger_prompt_zapier_trigger_prompt_post","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":{"title":"Response Webhook Events Whatsapp Webhooks Post","type":"object","additionalProperties":{"type":"string"}}}}},"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":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"},{"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"},{"required":false,"schema":{"title":"Personality Id","type":"string","format":"uuid"},"name":"personality_id","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/test-connection":{"post":{"tags":["Whatsapp"],"summary":"Test Whatsapp Connection","description":"Test WhatsApp connection with provided credentials","operationId":"test_whatsapp_connection_whatsapp_test_connection_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_test_whatsapp_connection_whatsapp_test_connection_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Test Whatsapp Connection Whatsapp Test Connection Post","type":"object"}}}},"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"},{"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 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","parameters":[{"required":false,"schema":{"title":"Team Id","type":"string","format":"uuid"},"name":"team_id","in":"query"}],"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"},{"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/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/{phone_number}":{"post":{"tags":["Twilio Realtime"],"summary":"Handle Status Callback","description":"Handle Twilio status callback.","operationId":"handle_status_callback_twilio_status_callback__phone_number__post","parameters":[{"required":true,"schema":{"title":"Phone Number","type":"string"},"name":"phone_number","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Handle Status Callback Twilio Status Callback  Phone Number  Post","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/twilio/numbers":{"get":{"tags":["Twilio Realtime"],"summary":"Get Numbers","operationId":"get_numbers_twilio_numbers_get","parameters":[{"required":false,"schema":{"title":"Country Code","type":"string","default":"US"},"name":"country_code","in":"query"},{"required":false,"schema":{"title":"Area Code","type":"integer"},"name":"area_code","in":"query"},{"required":false,"schema":{"title":"Contains","type":"string"},"name":"contains","in":"query"},{"required":false,"schema":{"title":"Sms Enabled","type":"boolean"},"name":"sms_enabled","in":"query"},{"required":false,"schema":{"title":"Mms Enabled","type":"boolean"},"name":"mms_enabled","in":"query"},{"required":false,"schema":{"title":"Near Number","type":"string"},"name":"near_number","in":"query"},{"required":false,"schema":{"title":"Near Lat Long","type":"string"},"name":"near_lat_long","in":"query"},{"required":false,"schema":{"title":"Distance","type":"integer"},"name":"distance","in":"query"},{"required":false,"schema":{"title":"In Postal Code","type":"string"},"name":"in_postal_code","in":"query"},{"required":false,"schema":{"title":"In Locality","type":"string"},"name":"in_locality","in":"query"},{"required":false,"schema":{"title":"In Region","type":"string"},"name":"in_region","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Numbers Twilio Numbers Get","type":"array","items":{"$ref":"#/components/schemas/AvailablePhoneNumber"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/twilio/get-number-purchase-checkout-session":{"post":{"tags":["Twilio Realtime"],"summary":"Get Number Purchase Checkout Session","operationId":"get_number_purchase_checkout_session_twilio_get_number_purchase_checkout_session_post","parameters":[{"required":true,"schema":{"title":"Phone Number","type":"string"},"name":"phone_number","in":"query"},{"required":false,"schema":{"title":"Number Type","enum":["local","toll-free"],"type":"string","default":"local"},"name":"number_type","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Number Purchase Checkout Session Twilio Get Number Purchase Checkout Session Post","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/twilio/purchase-number-success":{"get":{"tags":["Twilio Realtime"],"summary":"Purchase Number Success","operationId":"purchase_number_success_twilio_purchase_number_success_get","parameters":[{"required":true,"schema":{"title":"Token","type":"string"},"name":"token","in":"query"},{"required":true,"schema":{"title":"Session Id","type":"string"},"name":"session_id","in":"query"},{"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 Purchase Number Success Twilio Purchase Number Success Get","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/twilio/purchase-number-cancel":{"get":{"tags":["Twilio Realtime"],"summary":"Purchase Number Cancel","operationId":"purchase_number_cancel_twilio_purchase_number_cancel_get","parameters":[{"required":true,"schema":{"title":"Token","type":"string"},"name":"token","in":"query"},{"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 Purchase Number Cancel Twilio Purchase Number Cancel Get","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/twilio-whatsapp/webhook":{"post":{"tags":["Twilio WhatsApp"],"summary":"Whatsapp Webhook","description":"Handle incoming WhatsApp messages from Twilio with AI-powered responses.\n\nThis endpoint receives messages sent to your Twilio WhatsApp number,\nqueries the knowledge base, and responds with AI-generated answers.\n\nIMPORTANT: This response only works within 24 hours of the user's last message.\nAfter 24 hours, you need to use approved WhatsApp templates.\n\nArgs:\n    From: The sender's WhatsApp number (format: whatsapp:+1234567890)\n    To: Your Twilio WhatsApp number (format: whatsapp:+1234567890)\n    Body: The message text\n    MessageSid: Unique message identifier\n    NumMedia: Number of media items attached\n    session: Database session\n\nReturns:\n    TwiML response to send back to the user","operationId":"whatsapp_webhook_twilio_whatsapp_webhook_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_whatsapp_webhook_twilio_whatsapp_webhook_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/twilio-whatsapp/send-message":{"post":{"tags":["Twilio WhatsApp"],"summary":"Send Whatsapp Message","description":"Send a WhatsApp message to a user.\n\nThis will only work if:\n1. The user has messaged you within the last 24 hours, OR\n2. You use an approved WhatsApp template (not implemented in this simple version)\n\nArgs:\n    to_number: Recipient phone number (e.g., +1234567890)\n    message: Message text to send\n    twilio_phone_number: Twilio phone number to send from (must have configured integration)\n    user: Authenticated user (required)\n    session: Database session\n\nReturns:\n    dict with status and message SID","operationId":"send_whatsapp_message_twilio_whatsapp_send_message_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_send_whatsapp_message_twilio_whatsapp_send_message_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Send Whatsapp Message Twilio Whatsapp Send Message Post","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"boolean"}]}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/twilio-whatsapp/check-window/{phone_number}":{"get":{"tags":["Twilio WhatsApp"],"summary":"Check Messaging Window","description":"Check if a phone number is within the 24-hour messaging window.\n\nArgs:\n    phone_number: Phone number to check (e.g., +1234567890)\n    session: Database session\n\nReturns:\n    dict with window status and time information","operationId":"check_messaging_window_twilio_whatsapp_check_window__phone_number__get","parameters":[{"required":true,"schema":{"title":"Phone Number","type":"string"},"name":"phone_number","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Check Messaging Window Twilio Whatsapp Check Window  Phone Number  Get","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/twilio-whatsapp/integrations":{"get":{"tags":["Twilio WhatsApp"],"summary":"List Integrations","description":"List all Twilio WhatsApp integrations for the authenticated user.\n\nArgs:\n    user: Authenticated user (required)\n    session: Database session\n\nReturns:\n    dict with list of integrations owned by the user","operationId":"list_integrations_twilio_whatsapp_integrations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response List Integrations Twilio Whatsapp Integrations Get","type":"object"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["Twilio WhatsApp"],"summary":"Create Integration","description":"Create a new Twilio WhatsApp integration.\n\nArgs:\n    kb_id: Knowledge base ID to use for AI responses\n    twilio_phone_number: Twilio WhatsApp number (e.g., +14155238886)\n    name: Optional friendly name for the integration\n    model_type: AI model type to use (default: PRO_PLUS)\n    team_id: Optional team ID\n    user: Authenticated user (required)\n    session: Database session\n\nReturns:\n    dict with integration details","operationId":"create_integration_twilio_whatsapp_integrations_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_create_integration_twilio_whatsapp_integrations_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Create Integration Twilio Whatsapp Integrations Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/twilio-whatsapp/integrations/{integration_id}":{"delete":{"tags":["Twilio WhatsApp"],"summary":"Delete Integration","description":"Delete a Twilio WhatsApp integration.\n\nArgs:\n    integration_id: Integration ID to delete\n    user: Authenticated user (required)\n    session: Database session\n\nReturns:\n    dict with status message","operationId":"delete_integration_twilio_whatsapp_integrations__integration_id__delete","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":{"title":"Response Delete Integration Twilio Whatsapp Integrations  Integration Id  Delete","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/twilio-whatsapp/configure":{"post":{"tags":["Twilio WhatsApp"],"summary":"Configure Twilio Whatsapp","description":"Configure Twilio WhatsApp integration with authentication.\n\nThis endpoint:\n1. Verifies the user has access to the knowledge base\n2. Checks if an integration already exists for this phone number\n3. Only allows the integration owner to modify existing integrations\n4. Creates or updates the integration in the database\n\nArgs:\n    payload: Configuration request with phone number, KB ID, etc.\n    user: Authenticated user (required)\n    session: Database session\n\nReturns:\n    Configuration response with status and integration details","operationId":"configure_twilio_whatsapp_twilio_whatsapp_configure_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigureTwilioWhatsAppRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigureTwilioWhatsAppResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/twilio-whatsapp/credentials":{"get":{"tags":["Twilio WhatsApp"],"summary":"Get Twilio Credentials","description":"Get Twilio credentials for the authenticated user.\n\nArgs:\n    user: Authenticated user\n    session: Database session\n\nReturns:\n    TwilioCredentialsResponse: User's credentials with masked values, or None if not found","operationId":"get_twilio_credentials_twilio_whatsapp_credentials_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TwilioCredentialsResponse"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"put":{"tags":["Twilio WhatsApp"],"summary":"Update Twilio Credentials","description":"Update Twilio credentials for the authenticated user.\n\nArgs:\n    payload: Updated credentials (all fields optional)\n    user: Authenticated user\n    session: Database session\n\nReturns:\n    TwilioCredentialsResponse: Updated credentials with masked values\n\nRaises:\n    HTTPException: If credentials don't exist or update fails","operationId":"update_twilio_credentials_twilio_whatsapp_credentials_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TwilioCredentialsUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TwilioCredentialsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["Twilio WhatsApp"],"summary":"Create Twilio Credentials","description":"Create or update Twilio credentials for the authenticated user.\n\nArgs:\n    payload: Twilio credentials (account_sid, auth_token, optional whatsapp_number)\n    user: Authenticated user\n    session: Database session\n\nReturns:\n    TwilioCredentialsResponse: Created credentials with masked values\n\nRaises:\n    HTTPException: If credentials already exist or validation fails","operationId":"create_twilio_credentials_twilio_whatsapp_credentials_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TwilioCredentialsCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TwilioCredentialsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"delete":{"tags":["Twilio WhatsApp"],"summary":"Delete Twilio Credentials","description":"Delete Twilio credentials for the authenticated user.\n\nArgs:\n    user: Authenticated user\n    session: Database session\n\nReturns:\n    dict: Success message\n\nRaises:\n    HTTPException: If credentials don't exist","operationId":"delete_twilio_credentials_twilio_whatsapp_credentials_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Delete Twilio Credentials Twilio Whatsapp Credentials Delete","type":"object","additionalProperties":{"type":"string"}}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/twilio-whatsapp/credentials/verify":{"post":{"tags":["Twilio WhatsApp"],"summary":"Verify Twilio Credentials","description":"Verify Twilio credentials by making a test API call.\n\nThis endpoint tests the provided credentials without storing them.\nIt attempts to fetch account information from Twilio to validate the credentials.\n\nArgs:\n    payload: Twilio credentials to verify\n    user: Authenticated user\n\nReturns:\n    VerifyCredentialsResponse: Validation result with account info if successful","operationId":"verify_twilio_credentials_twilio_whatsapp_credentials_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyCredentialsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyCredentialsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/twilio-whatsapp/phone-numbers":{"get":{"tags":["Twilio WhatsApp"],"summary":"List Twilio Phone Numbers","description":"List all phone numbers from the user's Twilio account.\n\nThis endpoint fetches phone numbers from the user's Twilio credentials\nand indicates which ones are WhatsApp-enabled and which are already in use.\n\nArgs:\n    user: Authenticated user\n    session: Database session\n\nReturns:\n    PhoneNumbersListResponse: List of phone numbers with their status\n\nRaises:\n    HTTPException: If credentials don't exist or API call fails","operationId":"list_twilio_phone_numbers_twilio_whatsapp_phone_numbers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhoneNumbersListResponse"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/twilio-whatsapp/integrations/{integration_id}/toggle":{"put":{"tags":["Twilio WhatsApp"],"summary":"Toggle Integration","description":"Enable or disable a Twilio WhatsApp integration.\n\nArgs:\n    integration_id: ID of the integration to toggle\n    active: True to enable, False to disable\n    user: Authenticated user\n    session: Database session\n\nReturns:\n    IntegrationToggleResponse: Updated integration status\n\nRaises:\n    HTTPException: If integration not found or user doesn't have access","operationId":"toggle_integration_twilio_whatsapp_integrations__integration_id__toggle_put","parameters":[{"required":true,"schema":{"title":"Integration Id","type":"string","format":"uuid"},"name":"integration_id","in":"path"},{"description":"Set to true to enable, false to disable","required":true,"schema":{"title":"Active","type":"boolean","description":"Set to true to enable, false to disable"},"name":"active","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationToggleResponse"}}}},"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","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":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"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":[]}]}},"/company":{"get":{"tags":["Company"],"summary":"Get Comapny Info","description":"Endpoint to retrieve Company info.","operationId":"get_comapny_info_company_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyResponse"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["Company"],"summary":"Create Company Info","description":"Endpoint to create Company info.","operationId":"create_company_info_company_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"delete":{"tags":["Company"],"summary":"Delete Company Info","description":"Endpoint to delete Company info.","operationId":"delete_company_info_company_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Delete Company Info Company Delete","type":"object","additionalProperties":{"type":"string"}}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"patch":{"tags":["Company"],"summary":"Update Company Info","description":"Endpoint to update Company info.","operationId":"update_company_info_company_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyPatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/notifications":{"get":{"tags":["Notifications"],"summary":"Get Notifications","description":"Retrieve a list of notifications for the current user.","operationId":"get_notifications_notifications_get","parameters":[{"required":false,"schema":{"title":"Seen","type":"boolean"},"name":"seen","in":"query"},{"required":false,"schema":{"title":"Cleared","type":"boolean"},"name":"cleared","in":"query"},{"required":false,"schema":{"$ref":"#/components/schemas/NotificationType"},"name":"type","in":"query"},{"required":false,"schema":{"title":"Limit","maximum":200.0,"minimum":1.0,"type":"integer","default":50},"name":"limit","in":"query"},{"required":false,"schema":{"title":"Offset","minimum":0.0,"type":"integer","default":0},"name":"offset","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/notifications/{id}":{"get":{"tags":["Notifications"],"summary":"Get Notification","description":"Retrieve a specific notification by ID.","operationId":"get_notification_notifications__id__get","parameters":[{"required":true,"schema":{"title":"Id","type":"string","format":"uuid"},"name":"id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/notifications/{id}/seen":{"patch":{"tags":["Notifications"],"summary":"Mark Notification Seen","description":"Mark a specific notification as seen.","operationId":"mark_notification_seen_notifications__id__seen_patch","parameters":[{"required":true,"schema":{"title":"Id","type":"string","format":"uuid"},"name":"id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Mark Notification Seen Notifications  Id  Seen Patch","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/notifications/{id}/clear":{"patch":{"tags":["Notifications"],"summary":"Clear Notification","description":"Clear a specific notification.","operationId":"clear_notification_notifications__id__clear_patch","parameters":[{"required":true,"schema":{"title":"Id","type":"string","format":"uuid"},"name":"id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Clear Notification Notifications  Id  Clear Patch","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/notifications/clear-all":{"patch":{"tags":["Notifications"],"summary":"Clear All Notifications","description":"Clear all notifications for the current user.","operationId":"clear_all_notifications_notifications_clear_all_patch","parameters":[{"required":true,"schema":{"$ref":"#/components/schemas/NotificationType"},"name":"type","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Clear All Notifications Notifications Clear All Patch","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/notifications/seen-all":{"patch":{"tags":["Notifications"],"summary":"All Notifications Seen","description":"Mark all notifications as seen for the current user.","operationId":"all_notifications_seen_notifications_seen_all_patch","parameters":[{"required":true,"schema":{"$ref":"#/components/schemas/NotificationType"},"name":"type","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response All Notifications Seen Notifications Seen All Patch","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/ai_voice":{"post":{"tags":["AI Voice"],"summary":"Post First Time Notification Shown","description":"Save subscribers for ai voice beta","operationId":"post_first_time_notification_shown_ai_voice_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AIVoiceBetaUserPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AIVoiceBetaUser"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/google-fonts":{"get":{"tags":["Google Fonts"],"summary":"Get Fonts","operationId":"get_fonts_google_fonts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Fonts Google Fonts Get","type":"array","items":{"$ref":"#/components/schemas/GoogleFontResponse"}}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/migrate/profile_images":{"post":{"tags":["Migrate"],"summary":"Process Users","operationId":"process_users_migrate_profile_images_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/onboarding":{"get":{"tags":["Onboarding"],"summary":"Get Onboarding Completed","description":"Endpoint to get Onboarding Completed property","operationId":"get_onboarding_completed_onboarding_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Onboarding Completed Onboarding Get","type":"object","additionalProperties":{"type":"boolean"}}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["Onboarding"],"summary":"Create Onboarding Completed","description":"Endpoint to create Onboarding Completed property","operationId":"create_onboarding_completed_onboarding_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Create Onboarding Completed Onboarding Post","type":"object","additionalProperties":{"type":"string"}}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/onboarding-analytics/overview":{"get":{"tags":["Onboarding Analytics"],"summary":"Get Onboarding Analytics","description":"Get comprehensive onboarding analytics overview.","operationId":"get_onboarding_analytics_onboarding_analytics_overview_get","parameters":[{"description":"Number of days to analyze","required":false,"schema":{"title":"Days","maximum":365.0,"minimum":1.0,"type":"integer","description":"Number of days to analyze","default":30},"name":"days","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingAnalyticsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/onboarding-analytics/sessions":{"get":{"tags":["Onboarding Analytics"],"summary":"Get Onboarding Sessions","description":"Get detailed list of onboarding sessions.","operationId":"get_onboarding_sessions_onboarding_analytics_sessions_get","parameters":[{"description":"Number of sessions to return","required":false,"schema":{"title":"Limit","maximum":500.0,"minimum":1.0,"type":"integer","description":"Number of sessions to return","default":50},"name":"limit","in":"query"},{"description":"Number of sessions to skip","required":false,"schema":{"title":"Offset","minimum":0.0,"type":"integer","description":"Number of sessions to skip","default":0},"name":"offset","in":"query"},{"description":"Show only completed sessions","required":false,"schema":{"title":"Completed Only","type":"boolean","description":"Show only completed sessions","default":false},"name":"completed_only","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Onboarding Sessions Onboarding Analytics Sessions Get","type":"array","items":{"$ref":"#/components/schemas/OnboardingTrackerResponse"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/onboarding-analytics/session/{session_id}":{"get":{"tags":["Onboarding Analytics"],"summary":"Get Onboarding Session","description":"Get detailed information about a specific onboarding session.","operationId":"get_onboarding_session_onboarding_analytics_session__session_id__get","parameters":[{"required":true,"schema":{"title":"Session Id","type":"string"},"name":"session_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingTrackerResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/referral-source":{"get":{"tags":["Referral Source"],"summary":"Get User Referral Source","description":"Endpoint to get user referral source property","operationId":"get_user_referral_source_referral_source_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get User Referral Source Referral Source Get","type":"string"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["Referral Source"],"summary":"Create User Referral Source","description":"Endpoint to create user referral source property","operationId":"create_user_referral_source_referral_source_post","parameters":[{"required":false,"schema":{"title":"Referral Source","type":"string"},"name":"referral_source","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Create User Referral Source Referral Source Post","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/ai-voices/conversations":{"get":{"tags":["AI Voices"],"summary":"Get Ai Voice Conversations","operationId":"get_ai_voice_conversations_ai_voices_conversations_get","parameters":[{"required":false,"schema":{"title":"Token","type":"string"},"name":"token","in":"query"},{"required":false,"schema":{"title":"Phone Token","type":"string"},"name":"phone_token","in":"query"},{"required":false,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"},{"required":false,"schema":{"title":"From Date","type":"string","format":"date-time"},"name":"from_date","in":"query"},{"required":false,"schema":{"title":"To Date","type":"string","format":"date-time"},"name":"to_date","in":"query"},{"required":false,"schema":{"title":"Ai Voice Id","type":"string","format":"uuid"},"name":"ai_voice_id","in":"query"},{"required":false,"schema":{"$ref":"#/components/schemas/AIVoiceConversationStatus"},"name":"status","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/AIVoiceConversationListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/ai-voices/conversations/{ai_voice_conversation_id}":{"get":{"tags":["AI Voices"],"summary":"Get Ai Voice Conversation","operationId":"get_ai_voice_conversation_ai_voices_conversations__ai_voice_conversation_id__get","parameters":[{"required":true,"schema":{"title":"Ai Voice Conversation Id","type":"string","format":"uuid"},"name":"ai_voice_conversation_id","in":"path"},{"required":false,"schema":{"title":"Token","type":"string"},"name":"token","in":"query"},{"required":false,"schema":{"title":"Phone Token","type":"string"},"name":"phone_token","in":"query"},{"required":false,"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/AIVoiceConversationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/ai-voices/phone-numbers":{"get":{"tags":["AI Voices"],"summary":"Get Phone Numbers","description":"Get a list of Twilio numbers assigned to the user.","operationId":"get_phone_numbers_ai_voices_phone_numbers_get","parameters":[{"required":false,"schema":{"title":"Token","type":"string"},"name":"token","in":"query"},{"required":false,"schema":{"title":"Phone Token","type":"string"},"name":"phone_token","in":"query"},{"required":false,"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/PhoneNumberListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["AI Voices"],"summary":"Create Phone Number","description":"Add a Twilio number to the user.","operationId":"create_phone_number_ai_voices_phone_numbers_post","parameters":[{"required":false,"schema":{"title":"Token","type":"string"},"name":"token","in":"query"},{"required":false,"schema":{"title":"Phone Token","type":"string"},"name":"phone_token","in":"query"},{"required":false,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhoneNumberPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhoneNumberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/ai-voices/phone-numbers/{phone_number_id}":{"get":{"tags":["AI Voices"],"summary":"Get Phone Number","description":"Get a Twilio number assigned to the user.","operationId":"get_phone_number_ai_voices_phone_numbers__phone_number_id__get","parameters":[{"required":true,"schema":{"title":"Phone Number Id","type":"string","format":"uuid"},"name":"phone_number_id","in":"path"},{"required":false,"schema":{"title":"Token","type":"string"},"name":"token","in":"query"},{"required":false,"schema":{"title":"Phone Token","type":"string"},"name":"phone_token","in":"query"},{"required":false,"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/PhoneNumberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"delete":{"tags":["AI Voices"],"summary":"Delete Phone Number","description":"Delete a Twilio number assigned to the user.","operationId":"delete_phone_number_ai_voices_phone_numbers__phone_number_id__delete","parameters":[{"required":true,"schema":{"title":"Phone Number Id","type":"string","format":"uuid"},"name":"phone_number_id","in":"path"},{"required":false,"schema":{"title":"Token","type":"string"},"name":"token","in":"query"},{"required":false,"schema":{"title":"Phone Token","type":"string"},"name":"phone_token","in":"query"},{"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 Delete Phone Number Ai Voices Phone Numbers  Phone Number Id  Delete","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/ai-voices/phone-numbers/{phone_number_id}/twilio-webhook-url":{"get":{"tags":["AI Voices"],"summary":"Get Phone Number Token","description":"Get a phone number token.","operationId":"get_phone_number_token_ai_voices_phone_numbers__phone_number_id__twilio_webhook_url_get","parameters":[{"required":true,"schema":{"title":"Phone Number Id","type":"string","format":"uuid"},"name":"phone_number_id","in":"path"},{"required":false,"schema":{"title":"Token","type":"string"},"name":"token","in":"query"},{"required":false,"schema":{"title":"Phone Token","type":"string"},"name":"phone_token","in":"query"},{"required":false,"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/TwilioWebhookURLResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/ai-voices/phone-numbers/{phone_number_id}/verify":{"post":{"tags":["AI Voices"],"summary":"Verify Phone Number","description":"Initiates phone number verification by placing an outbound call via Twilio.\n\nThe call is configured with a callback URL that includes a short token.\nWhen the call connects, Twilio will call our webhook endpoint which verifies the token,\nand then marks the phone number as verified.","operationId":"verify_phone_number_ai_voices_phone_numbers__phone_number_id__verify_post","parameters":[{"required":true,"schema":{"title":"Phone Number Id","type":"string","format":"uuid"},"name":"phone_number_id","in":"path"},{"required":false,"schema":{"title":"Token","type":"string"},"name":"token","in":"query"},{"required":false,"schema":{"title":"Phone Token","type":"string"},"name":"phone_token","in":"query"},{"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 Verify Phone Number Ai Voices Phone Numbers  Phone Number Id  Verify Post","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/ai-voices/loading-sounds":{"get":{"tags":["AI Voices"],"summary":"Get Loading Sounds","description":"Get a list of loading sounds.","operationId":"get_loading_sounds_ai_voices_loading_sounds_get","parameters":[{"required":false,"schema":{"title":"Token","type":"string"},"name":"token","in":"query"},{"required":false,"schema":{"title":"Phone Token","type":"string"},"name":"phone_token","in":"query"},{"required":false,"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/LoadingSoundListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["AI Voices"],"summary":"Add Loading Sound","description":"Add a loading sound.","operationId":"add_loading_sound_ai_voices_loading_sounds_post","parameters":[{"required":false,"schema":{"title":"Token","type":"string"},"name":"token","in":"query"},{"required":false,"schema":{"title":"Phone Token","type":"string"},"name":"phone_token","in":"query"},{"required":false,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_add_loading_sound_ai_voices_loading_sounds_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoadingSoundResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/ai-voices/loading-sounds/{loading_sound_id}":{"get":{"tags":["AI Voices"],"summary":"Get Loading Sound","description":"Get a loading sound.","operationId":"get_loading_sound_ai_voices_loading_sounds__loading_sound_id__get","parameters":[{"required":true,"schema":{"title":"Loading Sound Id","type":"integer"},"name":"loading_sound_id","in":"path"},{"required":false,"schema":{"title":"Token","type":"string"},"name":"token","in":"query"},{"required":false,"schema":{"title":"Phone Token","type":"string"},"name":"phone_token","in":"query"},{"required":false,"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/LoadingSoundResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"delete":{"tags":["AI Voices"],"summary":"Delete Loading Sound","description":"Delete a loading sound.","operationId":"delete_loading_sound_ai_voices_loading_sounds__loading_sound_id__delete","parameters":[{"required":true,"schema":{"title":"Loading Sound Id","type":"integer"},"name":"loading_sound_id","in":"path"},{"required":false,"schema":{"title":"Token","type":"string"},"name":"token","in":"query"},{"required":false,"schema":{"title":"Phone Token","type":"string"},"name":"phone_token","in":"query"},{"required":false,"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/LoadingSoundResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"patch":{"tags":["AI Voices"],"summary":"Update Loading Sound","description":"Update a loading sound.","operationId":"update_loading_sound_ai_voices_loading_sounds__loading_sound_id__patch","parameters":[{"required":true,"schema":{"title":"Loading Sound Id","type":"integer"},"name":"loading_sound_id","in":"path"},{"required":false,"schema":{"title":"Token","type":"string"},"name":"token","in":"query"},{"required":false,"schema":{"title":"Phone Token","type":"string"},"name":"phone_token","in":"query"},{"required":false,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AIVoiceLoadingSoundPatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoadingSoundResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/ai-voices/text-to-voice/settings":{"get":{"tags":["AI Voices"],"summary":"Get Text To Voice Settings","operationId":"get_text_to_voice_settings_ai_voices_text_to_voice_settings_get","parameters":[{"required":false,"schema":{"$ref":"#/components/schemas/AIVoiceTTSEnum"},"name":"voice_provider","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextToVoiceSettingsListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["AI Voices"],"summary":"Create Text To Voice Settings","description":"Create a new text to voice setting.","operationId":"create_text_to_voice_settings_ai_voices_text_to_voice_settings_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextToVoiceSettingsPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextToVoiceSettingsListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/ai-voices/text-to-voice/settings/update-previews":{"post":{"tags":["AI Voices"],"summary":"Update Voice Settings Previews","description":"Update preview URLs for all text to voice settings with new preview text.","operationId":"update_voice_settings_previews_ai_voices_text_to_voice_settings_update_previews_post","parameters":[{"required":true,"schema":{"title":"Preview Text","type":"string"},"name":"preview_text","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextToVoiceSettingsListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/ai-voices/text-to-voice/settings/update-preview":{"post":{"tags":["AI Voices"],"summary":"Update Voice Setting Preview","description":"Update preview URL for a specific text to voice setting with new preview text.","operationId":"update_voice_setting_preview_ai_voices_text_to_voice_settings_update_preview_post","parameters":[{"required":true,"schema":{"title":"External Id","type":"string"},"name":"external_id","in":"query"},{"required":true,"schema":{"title":"Preview Text","type":"string"},"name":"preview_text","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextToVoiceSettingsListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/ai-voices/text-to-voice/settings/sync-names":{"post":{"tags":["AI Voices"],"summary":"Sync Names","description":"Sync voice names from ElevenLabs and Cartesia to TextToVoiceSettings.","operationId":"sync_names_ai_voices_text_to_voice_settings_sync_names_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextToVoiceSettingsListResponse"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/ai-voices/text-to-voice/settings/bulk-add":{"post":{"tags":["AI Voices"],"summary":"Bulk Add Voice Settings","description":"Bulk add multiple voice settings.","operationId":"bulk_add_voice_settings_ai_voices_text_to_voice_settings_bulk_add_post","parameters":[{"required":false,"schema":{"title":"Preview Text","type":"string","default":"This is a preview of the AI voice feature from Dante AI"},"name":"preview_text","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextToVoiceSettingsBulkAddPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextToVoiceSettingsListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/ai-voices/workflow-options/all":{"get":{"tags":["AI Voices"],"summary":"Get All Workflow Options","operationId":"get_all_workflow_options_ai_voices_workflow_options_all_get","parameters":[{"required":false,"schema":{"title":"Token","type":"string"},"name":"token","in":"query"},{"required":false,"schema":{"title":"Phone Token","type":"string"},"name":"phone_token","in":"query"},{"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 Workflow Options Ai Voices Workflow Options All Get","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/ai-voices/beta/add-user":{"post":{"tags":["AI Voices","ai_voice"],"summary":"Add User","operationId":"add_user_ai_voices_beta_add_user_post","parameters":[{"required":false,"schema":{"title":"Token","type":"string"},"name":"token","in":"query"},{"required":false,"schema":{"title":"Phone Token","type":"string"},"name":"phone_token","in":"query"},{"required":false,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AIVoiceBetaMinuteUsagePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AIVoiceBetaMinutes"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/ai-voices/beta/add-users":{"post":{"tags":["AI Voices","ai_voice"],"summary":"Add Users","operationId":"add_users_ai_voices_beta_add_users_post","parameters":[{"required":false,"schema":{"title":"Token","type":"string"},"name":"token","in":"query"},{"required":false,"schema":{"title":"Phone Token","type":"string"},"name":"phone_token","in":"query"},{"required":false,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"title":"Emails","type":"array","items":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Add Users Ai Voices Beta Add Users Post","type":"array","items":{"$ref":"#/components/schemas/AIVoiceBetaMinutes"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/ai-voices/beta/add-beta-users":{"post":{"tags":["AI Voices","ai_voice"],"summary":"Add Beta Users","description":"Add specified minutes to all users who have AI Voice Beta access.\nOnly accessible by superusers.","operationId":"add_beta_users_ai_voices_beta_add_beta_users_post","parameters":[{"required":true,"schema":{"title":"Minutes","type":"integer"},"name":"minutes","in":"query"},{"required":false,"schema":{"title":"Token","type":"string"},"name":"token","in":"query"},{"required":false,"schema":{"title":"Phone Token","type":"string"},"name":"phone_token","in":"query"},{"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 Add Beta Users Ai Voices Beta Add Beta Users Post","type":"array","items":{"$ref":"#/components/schemas/AIVoiceBetaMinutes"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/ai-voices/beta/users":{"get":{"tags":["AI Voices","ai_voice"],"summary":"Get Beta Users","description":"Get a list of all user emails that have access to AI Voice Beta.\nOnly accessible by superusers.","operationId":"get_beta_users_ai_voices_beta_users_get","parameters":[{"required":false,"schema":{"title":"Token","type":"string"},"name":"token","in":"query"},{"required":false,"schema":{"title":"Phone Token","type":"string"},"name":"phone_token","in":"query"},{"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 Beta Users Ai Voices Beta Users Get","type":"array","items":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/ai-voices/beta/remove-user":{"delete":{"tags":["AI Voices","ai_voice"],"summary":"Remove User","operationId":"remove_user_ai_voices_beta_remove_user_delete","parameters":[{"required":true,"schema":{"title":"Email","type":"string"},"name":"email","in":"query"},{"required":false,"schema":{"title":"Token","type":"string"},"name":"token","in":"query"},{"required":false,"schema":{"title":"Phone Token","type":"string"},"name":"phone_token","in":"query"},{"required":false,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/ai-voices/beta/reset-minutes":{"post":{"tags":["AI Voices","ai_voice"],"summary":"Reset Minutes","operationId":"reset_minutes_ai_voices_beta_reset_minutes_post","parameters":[{"required":true,"schema":{"title":"Email","type":"string"},"name":"email","in":"query"},{"required":true,"schema":{"title":"Minutes Available","type":"integer"},"name":"minutes_available","in":"query"},{"required":false,"schema":{"title":"Token","type":"string"},"name":"token","in":"query"},{"required":false,"schema":{"title":"Phone Token","type":"string"},"name":"phone_token","in":"query"},{"required":false,"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/AIVoiceBetaMinutes"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/ai-voices/browser/info":{"get":{"tags":["AI Voices"],"summary":"Get Ai Voice Conversation Info","operationId":"get_ai_voice_conversation_info_ai_voices_browser_info_get","parameters":[{"description":"The ID of the conversation to get.","required":true,"schema":{"title":"Conversation ID","type":"string","description":"The ID of the conversation to get.","format":"uuid"},"name":"conversation_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AIVoiceBrowserInfoResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/ai-voices/browser/info/shared":{"get":{"tags":["AI Voices"],"summary":"Get Ai Voice Conversation Info Shared","operationId":"get_ai_voice_conversation_info_shared_ai_voices_browser_info_shared_get","parameters":[{"description":"The ID of the conversation to get.","required":true,"schema":{"title":"Conversation ID","type":"string","description":"The ID of the conversation to get.","format":"uuid"},"name":"conversation_id","in":"query"},{"description":"The token of the shared knowledgebase.","required":true,"schema":{"title":"Token","type":"string","description":"The token of the shared knowledgebase.","format":"uuid"},"name":"token","in":"query"},{"description":"The ID of the knowledge base to get.","required":true,"schema":{"title":"Knowledge Base ID","type":"string","description":"The ID of the knowledge base to get.","format":"uuid"},"name":"kb_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AIVoiceBrowserInfoResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ai-voices/insights":{"get":{"tags":["AI Voices","AI Voice Insights"],"summary":"Get Ai Voice Insights","operationId":"get_ai_voice_insights_ai_voices_insights_get","parameters":[{"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":{"title":"Response Get Ai Voice Insights Ai Voices Insights Get","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/ai-voices/call-info":{"post":{"tags":["AI Voices"],"summary":"Get Call Info","description":"Get the AI Voice settings.","operationId":"get_call_info_ai_voices_call_info_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AIVoiceCallInfoPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AIVoiceCallInfoRepsonse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ai-voices/increment-usage":{"post":{"tags":["AI Voices"],"summary":"Increment Usage","description":"Increment the usage of an AI Voice.","operationId":"increment_usage_ai_voices_increment_usage_post","parameters":[{"required":false,"schema":{"title":"Token","type":"string"},"name":"token","in":"query"},{"required":false,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AIVoiceUsagePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Increment Usage Ai Voices Increment Usage Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/ai-voices":{"get":{"tags":["AI Voices"],"summary":"Get Ai Voices","description":"Get a list of AI Voices.","operationId":"get_ai_voices_ai_voices_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AIVoiceListResponse"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["AI Voices"],"summary":"Create Ai Voice","description":"Add an AI Voice.","operationId":"create_ai_voice_ai_voices_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AIVoicePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AIVoiceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/ai-voices/{ai_voice_id}":{"get":{"tags":["AI Voices"],"summary":"Get Ai Voice","description":"Get an AI Voice.","operationId":"get_ai_voice_ai_voices__ai_voice_id__get","parameters":[{"required":true,"schema":{"title":"Ai Voice Id","type":"string","format":"uuid"},"name":"ai_voice_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AIVoiceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"delete":{"tags":["AI Voices"],"summary":"Delete Ai Voice","description":"Delete an AI Voice.","operationId":"delete_ai_voice_ai_voices__ai_voice_id__delete","parameters":[{"required":true,"schema":{"title":"Ai Voice Id","type":"string","format":"uuid"},"name":"ai_voice_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Delete Ai Voice Ai Voices  Ai Voice Id  Delete","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"patch":{"tags":["AI Voices"],"summary":"Update Ai Voice","description":"Update an AI Voice.","operationId":"update_ai_voice_ai_voices__ai_voice_id__patch","parameters":[{"required":true,"schema":{"title":"Ai Voice Id","type":"string","format":"uuid"},"name":"ai_voice_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AIVoicePatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AIVoiceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/user_migration_rules":{"get":{"tags":["user_migration_rules"],"summary":"Get User Migration Rules","description":"Get all user migration rules","operationId":"get_user_migration_rules_user_migration_rules_get","parameters":[{"required":false,"schema":{"title":"User Id","type":"string","format":"uuid"},"name":"user_id","in":"query"},{"required":false,"schema":{"title":"Migration Wave","type":"integer"},"name":"migration_wave","in":"query"},{"required":false,"schema":{"title":"Email  Ilike","type":"string"},"name":"email__ilike","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","migration_wave","email"],"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/UserMigrationRuleListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/user_migration_rules/{user_migration_rule_id}":{"patch":{"tags":["user_migration_rules"],"summary":"Update User Migration Rule","description":"Update a user migration rule","operationId":"update_user_migration_rule_user_migration_rules__user_migration_rule_id__patch","parameters":[{"required":true,"schema":{"title":"User Migration Rule Id","type":"string","format":"uuid"},"name":"user_migration_rule_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserMigrationRulePatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserMigraionRuleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/user_migration_rules/redirect_url":{"get":{"tags":["user_migration_rules"],"summary":"Get Redirect Url","operationId":"get_redirect_url_user_migration_rules_redirect_url_get","parameters":[{"required":true,"schema":{"title":"From New Design","type":"boolean"},"name":"from_new_design","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedirectResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/human-handover/organizations":{"get":{"tags":["Human Handover Organizations"],"summary":"Get Organizations","operationId":"get_organizations_human_handover_organizations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListHHOrganizationResponse"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["Human Handover Organizations"],"summary":"Create Organization","operationId":"create_organization_human_handover_organizations_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HHOrganizationPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HHOrganizationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/human-handover/organizations/{organization_id}":{"get":{"tags":["Human Handover Organizations"],"summary":"Get Organization By Id","operationId":"get_organization_by_id_human_handover_organizations__organization_id__get","parameters":[{"required":true,"schema":{"title":"Organization Id","type":"string","format":"uuid"},"name":"organization_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HHOrganizationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"patch":{"tags":["Human Handover Organizations"],"summary":"Patch Organization By Id","operationId":"patch_organization_by_id_human_handover_organizations__organization_id__patch","parameters":[{"required":true,"schema":{"title":"Organization Id","type":"string","format":"uuid"},"name":"organization_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HHOrganizationPatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HHOrganizationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/human-handover/user-organization/{organization_id}/members":{"post":{"tags":["Human Handover User Organization"],"summary":"Create User Organization","operationId":"create_user_organization_human_handover_user_organization__organization_id__members_post","parameters":[{"required":true,"schema":{"title":"Organization Id","type":"string","format":"uuid"},"name":"organization_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HHUserOrganizationPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HHUserOrganizationAddResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/human-handover/user-organization/{organization_id}/members/resend":{"post":{"tags":["Human Handover User Organization"],"summary":"Resend User Organization Invitation","operationId":"resend_user_organization_invitation_human_handover_user_organization__organization_id__members_resend_post","parameters":[{"required":true,"schema":{"title":"Organization Id","type":"string","format":"uuid"},"name":"organization_id","in":"path"},{"required":true,"schema":{"title":"User Organization Id","type":"string","format":"uuid"},"name":"user_organization_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Resend User Organization Invitation Human Handover User Organization  Organization Id  Members Resend Post","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/human-handover/user-organization/{organization_id}/members/accept":{"post":{"tags":["Human Handover User Organization"],"summary":"Accept Organization Invite","operationId":"accept_organization_invite_human_handover_user_organization__organization_id__members_accept_post","parameters":[{"required":true,"schema":{"title":"Organization Id","type":"string","format":"uuid"},"name":"organization_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/HHUserOrganization"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/human-handover/user-organization/{organization_id}/members/{member_id}/cancel":{"post":{"tags":["Human Handover User Organization"],"summary":"Cancel Organization Invite","operationId":"cancel_organization_invite_human_handover_user_organization__organization_id__members__member_id__cancel_post","parameters":[{"required":true,"schema":{"title":"Organization Id","type":"string","format":"uuid"},"name":"organization_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":{"title":"Response Cancel Organization Invite Human Handover User Organization  Organization Id  Members  Member Id  Cancel Post","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/human-handover/user-organization/{organization_id}/members/{member_id}":{"delete":{"tags":["Human Handover User Organization"],"summary":"Delete Organization Member","operationId":"delete_organization_member_human_handover_user_organization__organization_id__members__member_id__delete","parameters":[{"required":true,"schema":{"title":"Organization Id","type":"string","format":"uuid"},"name":"organization_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":["Human Handover User Organization"],"summary":"Update Organization Member","operationId":"update_organization_member_human_handover_user_organization__organization_id__members__member_id__patch","parameters":[{"required":true,"schema":{"title":"Organization Id","type":"string","format":"uuid"},"name":"organization_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/HHUserOrganizationPatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HHUserOrganizationPatchResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/human-handover/user-organization/{organization_id}/me":{"get":{"tags":["Human Handover User Organization"],"summary":"Get User Organization Me","operationId":"get_user_organization_me_human_handover_user_organization__organization_id__me_get","parameters":[{"required":true,"schema":{"title":"Organization Id","type":"string","format":"uuid"},"name":"organization_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HHUserOrganizationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"patch":{"tags":["Human Handover User Organization"],"summary":"Update User Organization Me","operationId":"update_user_organization_me_human_handover_user_organization__organization_id__me_patch","parameters":[{"required":true,"schema":{"title":"Organization Id","type":"string","format":"uuid"},"name":"organization_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HHUserOrganizationMePatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HHUserOrganizationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/human-handover/conversations/{conversation_id}":{"get":{"tags":["Human Handover Conversations"],"summary":"Get Conversation","operationId":"get_conversation_human_handover_conversations__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/HHConversationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"delete":{"tags":["Human Handover Conversations"],"summary":"Delete Conversation","operationId":"delete_conversation_human_handover_conversations__conversation_id__delete","parameters":[{"required":true,"schema":{"title":"Conversation Id","type":"string","format":"uuid"},"name":"conversation_id","in":"path"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/human-handover/conversations/{hh_conversation_id}/update_category":{"patch":{"tags":["Human Handover Conversations"],"summary":"Update Category On Conversation","operationId":"update_category_on_conversation_human_handover_conversations__hh_conversation_id__update_category_patch","parameters":[{"required":true,"schema":{"title":"Hh Conversation Id","type":"string","format":"uuid"},"name":"hh_conversation_id","in":"path"},{"required":true,"schema":{"title":"Hh Category Id","type":"string","format":"uuid"},"name":"hh_category_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HHConversationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/human-handover/conversations/{hh_conversation_id}/assign":{"post":{"tags":["Human Handover Conversations"],"summary":"Assign Conversation","operationId":"assign_conversation_human_handover_conversations__hh_conversation_id__assign_post","parameters":[{"required":true,"schema":{"title":"Hh Conversation Id","type":"string","format":"uuid"},"name":"hh_conversation_id","in":"path"},{"required":true,"schema":{"title":"User Id","type":"string","format":"uuid"},"name":"user_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HHConversationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/human-handover/conversations/shared/{conversation_id}/flag":{"post":{"tags":["Human Handover Conversations"],"summary":"Flag Conversation","operationId":"flag_conversation_human_handover_conversations_shared__conversation_id__flag_post","parameters":[{"required":true,"schema":{"title":"Conversation Id","type":"string","format":"uuid"},"name":"conversation_id","in":"path"},{"required":true,"schema":{"title":"Token","type":"string","format":"uuid"},"name":"token","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlagHHConversationPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HHConversation"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/human-handover/conversations/{hh_conversation_id}/take":{"post":{"tags":["Human Handover Conversations"],"summary":"Take Conversation","operationId":"take_conversation_human_handover_conversations__hh_conversation_id__take_post","parameters":[{"required":true,"schema":{"title":"Hh Conversation Id","type":"string","format":"uuid"},"name":"hh_conversation_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HHConversation"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/human-handover/conversations/{hh_conversation_id}/messages":{"get":{"tags":["Human Handover Conversations"],"summary":"Open Conversation","operationId":"open_conversation_human_handover_conversations__hh_conversation_id__messages_get","parameters":[{"required":true,"schema":{"title":"Hh Conversation Id","type":"string","format":"uuid"},"name":"hh_conversation_id","in":"path"},{"required":false,"schema":{"title":"Timezone","type":"string","default":"UTC"},"name":"timezone","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HHMessagesListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/human-handover/conversations/{hh_conversation_id}/resolve":{"post":{"tags":["Human Handover Conversations"],"summary":"Resolve Conversation","operationId":"resolve_conversation_human_handover_conversations__hh_conversation_id__resolve_post","parameters":[{"required":true,"schema":{"title":"Hh Conversation Id","type":"string","format":"uuid"},"name":"hh_conversation_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HHConversation"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/human-handover/conversations/{conversation_id}/mode":{"get":{"tags":["Human Handover Conversations"],"summary":"Get Conversation Mode","operationId":"get_conversation_mode_human_handover_conversations__conversation_id__mode_get","parameters":[{"required":true,"schema":{"title":"Conversation Id","type":"string","format":"uuid"},"name":"conversation_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":{"title":"Response Get Conversation Mode Human Handover Conversations  Conversation Id  Mode Get","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/human-handover/conversations/upload-file":{"post":{"tags":["Human Handover Conversations"],"summary":"Upload File","operationId":"upload_file_human_handover_conversations_upload_file_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_upload_file_human_handover_conversations_upload_file_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileUploadResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/human-handover/categories":{"get":{"tags":["Human Handover Categories"],"summary":"Get Categories","operationId":"get_categories_human_handover_categories_get","parameters":[{"required":true,"schema":{"title":"Organization Id","type":"string","format":"uuid"},"name":"organization_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListHHCategoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["Human Handover Categories"],"summary":"Create Category","operationId":"create_category_human_handover_categories_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HHOrganizationCategoryPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HHCategoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/human-handover/categories/{category_id}":{"delete":{"tags":["Human Handover Categories"],"summary":"Delete Category","operationId":"delete_category_human_handover_categories__category_id__delete","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/HHCategoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"patch":{"tags":["Human Handover Categories"],"summary":"Update Category","operationId":"update_category_human_handover_categories__category_id__patch","parameters":[{"required":true,"schema":{"title":"Category Id","type":"string","format":"uuid"},"name":"category_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HHOrganizationCategoryPatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HHCategoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/human-handover/dashboard/{organization_id}":{"get":{"tags":["Human Handover Dashboard"],"summary":"Get Human Handover Dashboard","operationId":"get_human_handover_dashboard_human_handover_dashboard__organization_id__get","parameters":[{"required":true,"schema":{"title":"Organization Id","type":"string","format":"uuid"},"name":"organization_id","in":"path"},{"required":false,"schema":{"title":"Timezone","type":"string","default":"UTC"},"name":"timezone","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":{"$ref":"#/components/schemas/HHConversationStateType"},"name":"state","in":"query"},{"required":false,"schema":{"title":"Category Id","type":"string","format":"uuid"},"name":"category_id","in":"query"},{"required":false,"schema":{"title":"Order By","enum":["date_created","date_updated","request_time","state","category","request_id"],"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"},{"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/HHDashboardResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/human-handover/dashboard/{organization_id}/ping":{"get":{"tags":["Human Handover Dashboard"],"summary":"Get Human Handover Dashboard Ping","operationId":"get_human_handover_dashboard_ping_human_handover_dashboard__organization_id__ping_get","parameters":[{"required":true,"schema":{"title":"Organization Id","type":"string","format":"uuid"},"name":"organization_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Human Handover Dashboard Ping Human Handover Dashboard  Organization Id  Ping Get","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/human-handover/insights/{organization_id}":{"get":{"tags":["Human Handover Insights"],"summary":"Get Human Handover Insights","operationId":"get_human_handover_insights_human_handover_insights__organization_id__get","parameters":[{"required":true,"schema":{"title":"Organization Id","type":"string","format":"uuid"},"name":"organization_id","in":"path"},{"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"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HHInsightsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/human-handover/quick-responses":{"get":{"tags":["Human Handover Quick Responses"],"summary":"Get Quick Responses","operationId":"get_quick_responses_human_handover_quick_responses_get","parameters":[{"required":true,"schema":{"title":"Organization Id","type":"string","format":"uuid"},"name":"organization_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HHQuickResponseListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["Human Handover Quick Responses"],"summary":"Create Quick Response","operationId":"create_quick_response_human_handover_quick_responses_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HHQuickResponsePayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HHQuickResponseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/human-handover/quick-responses/{quick_response_id}":{"get":{"tags":["Human Handover Quick Responses"],"summary":"Get Quick Response By Id","operationId":"get_quick_response_by_id_human_handover_quick_responses__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/HHQuickResponseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"delete":{"tags":["Human Handover Quick Responses"],"summary":"Delete Quick Response","operationId":"delete_quick_response_human_handover_quick_responses__quick_response_id__delete","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":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"patch":{"tags":["Human Handover Quick Responses"],"summary":"Update Quick Response","operationId":"update_quick_response_human_handover_quick_responses__quick_response_id__patch","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/HHQuickResponsePatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HHQuickResponseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/human-handover/notification-settings":{"get":{"tags":["Human Handover Notification Settings"],"summary":"Get Notification Settings","operationId":"get_notification_settings_human_handover_notification_settings_get","parameters":[{"required":true,"schema":{"title":"Organization Id","type":"string","format":"uuid"},"name":"organization_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HHNotificationSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"delete":{"tags":["Human Handover Notification Settings"],"summary":"Delete Notification Settings","operationId":"delete_notification_settings_human_handover_notification_settings_delete","parameters":[{"required":true,"schema":{"title":"Organization Id","type":"string","format":"uuid"},"name":"organization_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":["Human Handover Notification Settings"],"summary":"Update Notification Settings","operationId":"update_notification_settings_human_handover_notification_settings_patch","parameters":[{"required":true,"schema":{"title":"Organization Id","type":"string","format":"uuid"},"name":"organization_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HHNotificationSettingsPatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HHNotificationSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/human-handover/notification-settings/allow-file-upload/shared":{"get":{"tags":["Human Handover Notification Settings"],"summary":"Get Allow File Upload Shared","operationId":"get_allow_file_upload_shared_human_handover_notification_settings_allow_file_upload_shared_get","parameters":[{"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"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Allow File Upload Shared Human Handover Notification Settings Allow File Upload Shared Get","type":"boolean"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/human-handover/notification-settings/allow-file-upload":{"get":{"tags":["Human Handover Notification Settings"],"summary":"Get Allow File Upload","operationId":"get_allow_file_upload_human_handover_notification_settings_allow_file_upload_get","parameters":[{"required":true,"schema":{"title":"Organization Id","type":"string","format":"uuid"},"name":"organization_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Allow File Upload Human Handover Notification Settings Allow File Upload Get","type":"boolean"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"patch":{"tags":["Human Handover Notification Settings"],"summary":"Update Allow File Upload","operationId":"update_allow_file_upload_human_handover_notification_settings_allow_file_upload_patch","parameters":[{"required":true,"schema":{"title":"Organization Id","type":"string","format":"uuid"},"name":"organization_id","in":"query"},{"required":true,"schema":{"title":"Allow File Upload","type":"boolean"},"name":"allow_file_upload","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Update Allow File Upload Human Handover Notification Settings Allow File Upload Patch","type":"boolean"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/human-handover/chat-file-settings/allow-file-upload":{"get":{"tags":["Human Handover Chat File Settings"],"summary":"Get Chat File Settings Shared","operationId":"get_chat_file_settings_shared_human_handover_chat_file_settings_allow_file_upload_get","parameters":[{"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"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Chat File Settings Shared Human Handover Chat File Settings Allow File Upload Get","type":"boolean"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/human-handover/chat-file-settings/allow-file-upload/{hh_conversation_id}":{"get":{"tags":["Human Handover Chat File Settings"],"summary":"Get Chat File Settings","operationId":"get_chat_file_settings_human_handover_chat_file_settings_allow_file_upload__hh_conversation_id__get","parameters":[{"required":true,"schema":{"title":"Hh Conversation Id","type":"string","format":"uuid"},"name":"hh_conversation_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Chat File Settings Human Handover Chat File Settings Allow File Upload  Hh Conversation Id  Get","type":"boolean"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"patch":{"tags":["Human Handover Chat File Settings"],"summary":"Update Chat File Settings","operationId":"update_chat_file_settings_human_handover_chat_file_settings_allow_file_upload__hh_conversation_id__patch","parameters":[{"required":true,"schema":{"title":"Hh Conversation Id","type":"string","format":"uuid"},"name":"hh_conversation_id","in":"path"},{"required":true,"schema":{"title":"Allow File Upload","type":"boolean"},"name":"allow_file_upload","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Update Chat File Settings Human Handover Chat File Settings Allow File Upload  Hh Conversation Id  Patch","type":"boolean"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/files/{file_id}/autorefresh":{"get":{"tags":["File Autorefresh"],"summary":"Get File Autorefresh","description":"Get autorefresh schedule details for a file","operationId":"get_file_autorefresh_files__file_id__autorefresh_get","parameters":[{"description":"ID of the file","required":true,"schema":{"title":"File Id","type":"string","description":"ID of the file","format":"uuid"},"name":"file_id","in":"path"},{"description":"Team ID for team access","required":false,"schema":{"title":"Team Id","type":"string","description":"Team ID for team access","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutorefreshResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["File Autorefresh"],"summary":"Create File Autorefresh","description":"Create a new autorefresh schedule for a file","operationId":"create_file_autorefresh_files__file_id__autorefresh_post","parameters":[{"description":"ID of the file to schedule for autorefresh","required":true,"schema":{"title":"File Id","type":"string","description":"ID of the file to schedule for autorefresh","format":"uuid"},"name":"file_id","in":"path"},{"description":"Team ID for team access","required":false,"schema":{"title":"Team Id","type":"string","description":"Team ID for team access","format":"uuid"},"name":"team_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAutorefreshPayload"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutorefreshCreateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"delete":{"tags":["File Autorefresh"],"summary":"Delete File Autorefresh","description":"Delete an autorefresh schedule for a file","operationId":"delete_file_autorefresh_files__file_id__autorefresh_delete","parameters":[{"description":"ID of the file","required":true,"schema":{"title":"File Id","type":"string","description":"ID of the file","format":"uuid"},"name":"file_id","in":"path"},{"description":"Team ID for team access","required":false,"schema":{"title":"Team Id","type":"string","description":"Team ID for team access","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutorefreshDeleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"patch":{"tags":["File Autorefresh"],"summary":"Update File Autorefresh","description":"Update an existing autorefresh schedule for a file","operationId":"update_file_autorefresh_files__file_id__autorefresh_patch","parameters":[{"description":"ID of the file","required":true,"schema":{"title":"File Id","type":"string","description":"ID of the file","format":"uuid"},"name":"file_id","in":"path"},{"description":"Team ID for team access","required":false,"schema":{"title":"Team Id","type":"string","description":"Team ID for team access","format":"uuid"},"name":"team_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAutorefreshPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutorefreshUpdateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/files/bulk-autorefresh":{"post":{"tags":["File Autorefresh"],"summary":"Bulk Create File Autorefresh","description":"Create autorefresh schedules for multiple files in bulk","operationId":"bulk_create_file_autorefresh_files_bulk_autorefresh_post","parameters":[{"description":"Team ID for team access","required":false,"schema":{"title":"Team Id","type":"string","description":"Team ID for team access","format":"uuid"},"name":"team_id","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkCreateAutorefreshPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkAutorefreshCreateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/files/{file_id}/retrain":{"post":{"tags":["File Autorefresh"],"summary":"Retrain File","description":"Manually trigger retraining of a single file via Jobs Manager.","operationId":"retrain_file_files__file_id__retrain_post","parameters":[{"required":true,"schema":{"title":"File Id","type":"string","format":"uuid"},"name":"file_id","in":"path"},{"description":"Team ID for team-owned files","required":false,"schema":{"title":"Team Id","type":"string","description":"Team ID for team-owned files","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileRetrainResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/autorefresh":{"get":{"tags":["File Autorefresh"],"summary":"List User Autorefresh Schedules","description":"List user's autorefresh schedules with pagination and filtering","operationId":"list_user_autorefresh_schedules_autorefresh_get","parameters":[{"description":"Page number (1-based)","required":false,"schema":{"title":"Page","minimum":1.0,"type":"integer","description":"Page number (1-based)","default":1},"name":"page","in":"query"},{"description":"Items per page","required":false,"schema":{"title":"Per Page","maximum":100.0,"minimum":1.0,"type":"integer","description":"Items per page","default":10},"name":"per_page","in":"query"},{"description":"Filter by active status","required":false,"schema":{"title":"Is Active","type":"boolean","description":"Filter by active status"},"name":"is_active","in":"query"},{"description":"Filter by refresh period","required":false,"schema":{"title":"Refresh Period","type":"string","description":"Filter by refresh period"},"name":"refresh_period","in":"query"},{"description":"Filter by specific file ID","required":false,"schema":{"title":"File Id","type":"string","description":"Filter by specific file ID","format":"uuid"},"name":"file_id","in":"query"},{"description":"Team ID for team access","required":false,"schema":{"title":"Team Id","type":"string","description":"Team ID for team access","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutorefreshListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/autorefresh/stats":{"get":{"tags":["File Autorefresh"],"summary":"Get Autorefresh Stats","description":"Get autorefresh statistics for the user","operationId":"get_autorefresh_stats_autorefresh_stats_get","parameters":[{"description":"Team ID for team access","required":false,"schema":{"title":"Team Id","type":"string","description":"Team ID for team access","format":"uuid"},"name":"team_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutorefreshStatsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tabs/v2/slots/buttons/{slot_id}":{"get":{"tags":["Tabs V2"],"summary":"Get Button","description":"Endpoint to retrieve a single Button by slot_id.","operationId":"get_button_tabs_v2_slots_buttons__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"},{"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/ButtonSlotResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"patch":{"tags":["Tabs V2"],"summary":"Update Button","description":"Endpoint to update an existing Button.","operationId":"update_button_tabs_v2_slots_buttons__slot_id__patch","parameters":[{"required":true,"schema":{"title":"Slot Id","type":"string","format":"uuid"},"name":"slot_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/ButtonSlotPatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ButtonSlotResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tabs/v2/slots/buttons":{"post":{"tags":["Tabs V2"],"summary":"Create Button","description":"Endpoint to create a Quick Link.","operationId":"create_button_tabs_v2_slots_buttons_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/ButtonSlotPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ButtonSlotResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tabs/v2/slots/buttons/{button_slot_id}":{"delete":{"tags":["Tabs V2"],"summary":"Delete Button","description":"Endpoint to delete a Button.","operationId":"delete_button_tabs_v2_slots_buttons__button_slot_id__delete","parameters":[{"required":true,"schema":{"title":"Button Slot Id","type":"string","format":"uuid"},"name":"button_slot_id","in":"path"},{"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 Delete Button Tabs V2 Slots Buttons  Button Slot Id  Delete","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tabs/v2/slots/cards/{slot_id}":{"get":{"tags":["Tabs V2"],"summary":"Get Card","description":"Endpoint to retrieve a single Card by slot_id.","operationId":"get_card_tabs_v2_slots_cards__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"},{"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/CardSlotResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"patch":{"tags":["Tabs V2"],"summary":"Update Card Slot","description":"Endpoint to update an existing Card Slot with multiple items.","operationId":"update_card_slot_tabs_v2_slots_cards__slot_id__patch","parameters":[{"required":true,"schema":{"title":"Slot Id","type":"string","format":"uuid"},"name":"slot_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/CardSlotPatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardSlotResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tabs/v2/slots/cards":{"post":{"tags":["Tabs V2"],"summary":"Create Card Slot","description":"Endpoint to create a Card Slot with multiple items.","operationId":"create_card_slot_tabs_v2_slots_cards_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/CardSlotPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardSlotResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tabs/v2/slots/cards/{card_slot_id}":{"delete":{"tags":["Tabs V2"],"summary":"Delete Card Slot","description":"Endpoint to delete a Card Slot with all associated items.","operationId":"delete_card_slot_tabs_v2_slots_cards__card_slot_id__delete","parameters":[{"required":true,"schema":{"title":"Card Slot Id","type":"string","format":"uuid"},"name":"card_slot_id","in":"path"},{"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 Delete Card Slot Tabs V2 Slots Cards  Card Slot Id  Delete","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tabs/v2/slots/title/{slot_id}":{"get":{"tags":["Tabs V2"],"summary":"Get Title","description":"Endpoint to retrieve a single Title Slot by slot_id.","operationId":"get_title_tabs_v2_slots_title__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"},{"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/TitleSlotResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"patch":{"tags":["Tabs V2"],"summary":"Update Title Slot","description":"Endpoint to update an existing Title Slot.","operationId":"update_title_slot_tabs_v2_slots_title__slot_id__patch","parameters":[{"required":true,"schema":{"title":"Slot Id","type":"string","format":"uuid"},"name":"slot_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/TitleSlotPatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TitleSlotResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tabs/v2/slots/title":{"post":{"tags":["Tabs V2"],"summary":"Create Title Slot","description":"Endpoint to create a Title Slot.","operationId":"create_title_slot_tabs_v2_slots_title_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/TitleSlotPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TitleSlotResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tabs/v2/slots/title/{title_slot_id}":{"delete":{"tags":["Tabs V2"],"summary":"Delete Title Slot","description":"Endpoint to delete a Title Slot.","operationId":"delete_title_slot_tabs_v2_slots_title__title_slot_id__delete","parameters":[{"required":true,"schema":{"title":"Title Slot Id","type":"string","format":"uuid"},"name":"title_slot_id","in":"path"},{"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 Delete Title Slot Tabs V2 Slots Title  Title Slot Id  Delete","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tabs/v2/slots/new-sliders/{slot_id}":{"get":{"tags":["Tabs V2"],"summary":"Get New Slider","description":"Endpoint to retrieve a single Slider by slot_id.","operationId":"get_new_slider_tabs_v2_slots_new_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"},{"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/NewSliderSlotResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"delete":{"tags":["Tabs V2"],"summary":"Delete New Slider Slot","description":"Endpoint to delete a Slider Slot with all associated items.","operationId":"delete_new_slider_slot_tabs_v2_slots_new_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"},{"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 Delete New Slider Slot Tabs V2 Slots New 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 V2"],"summary":"Update Slider Slot","description":"Endpoint to update an existing Slider Slot with multiple items.","operationId":"update_slider_slot_tabs_v2_slots_new_sliders__slot_id__patch","parameters":[{"required":true,"schema":{"title":"Slot Id","type":"string","format":"uuid"},"name":"slot_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/NewSliderSlotPatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewSliderSlotResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tabs/v2/slots/new-sliders":{"post":{"tags":["Tabs V2"],"summary":"Create New Slider Slot","description":"Endpoint to create a Slider Slot with multiple items.","operationId":"create_new_slider_slot_tabs_v2_slots_new_sliders_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/NewSliderSlotPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewSliderSlotResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/tabs/v2/slots/all-slots/v2":{"get":{"tags":["Tabs V2"],"summary":"Get All Slots V2","description":"Endpoint to retrieve all slots (quick links, meta links, link groups, and videos).","operationId":"get_all_slots_v2_tabs_v2_slots_all_slots_v2_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"},{"description":"Token for shared knowledge bases","required":false,"schema":{"title":"Token","type":"string","description":"Token for shared knowledge bases"},"name":"token","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SlotsResponseV2"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/tabs/v2/page/v2":{"get":{"tags":["Tabs V2"],"summary":"Get Tabs Slots V2","description":"Retrieve tabs configuration with slots including disclaimers and types.","operationId":"get_tabs_slots_v2_tabs_v2_page_v2_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":{"$ref":"#/components/schemas/TabsResponseV2"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["Tabs V2"],"summary":"Post Tabs Slots V2","description":"Create or update multiple slots in a single request.","operationId":"post_tabs_slots_v2_tabs_v2_page_v2_post","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"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TabsPagePayloadV2"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TabsResponseV2"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/new_bubble/accept":{"post":{"tags":["New Bubble"],"summary":"Accept New Bubble","operationId":"accept_new_bubble_new_bubble_accept_post","responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/new_bubble/track":{"post":{"tags":["New Bubble"],"summary":"Track New Bubble","operationId":"track_new_bubble_new_bubble_track_post","parameters":[{"required":true,"schema":{"title":"Event Type","type":"string"},"name":"event_type","in":"query"}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/new_bubble/new-tabs-preview":{"post":{"tags":["New Bubble"],"summary":"New Tabs Preview","description":"Preview how the new bubble tabs would look after migration.\nThis endpoint simulates the migration process without saving to database.","operationId":"new_tabs_preview_new_bubble_new_tabs_preview_post","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/TabsResponseV2"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/pop_up_track/":{"post":{"tags":["Pop Up Tracking"],"summary":"Track Pop Up","operationId":"track_pop_up_pop_up_track__post","parameters":[{"required":true,"schema":{"title":"Event Type","type":"string"},"name":"event_type","in":"query"}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/pop_up_track/new_bubble":{"post":{"tags":["Pop Up Tracking"],"summary":"Track New Bubble Pop Up","operationId":"track_new_bubble_pop_up_pop_up_track_new_bubble_post","parameters":[{"required":true,"schema":{"title":"Event Type","type":"string"},"name":"event_type","in":"query"}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/pop_up_track/black-friday":{"post":{"tags":["Pop Up Tracking"],"summary":"Track Black Friday Event","description":"Track Black Friday 2025 modal, banner, and interaction events.\n\nThis endpoint tracks all user interactions with Black Friday promotional elements:\n- Modal displays and interactions\n- Upgrade modal displays and button clicks\n- Banner displays and interactions\n\nSupported event types:\n- Modal: black_friday_2025_modal_shown, black_friday_2025_modal_button_clicked, black_friday_2025_modal_dismissed\n- Upgrade Modal: black_friday_2025_upgrade_modal_shown\n- Upgrade Buttons (Free tier): black_friday_2025_upgrade_button_starter_clicked, black_friday_2025_upgrade_button_advanced_clicked, black_friday_2025_upgrade_button_pro_clicked\n- Upgrade Buttons (Monthly/Weekly to Yearly): black_friday_2025_upgrade_button_monthly_to_yearly_clicked\n- Upgrade Buttons (Yearly renewal): black_friday_2025_upgrade_button_renewal_clicked\n- Banner: black_friday_2025_banner_shown, black_friday_2025_banner_clicked, black_friday_2025_banner_dismissed\n\nArgs:\n    event_type: The type of Black Friday event to track\n    user: The authenticated user (automatically injected)\n    session: Database session (automatically injected)\n\nReturns:\n    JSONResponse with success message\n\nRaises:\n    HTTPException: If event_type is not valid","operationId":"track_black_friday_event_pop_up_track_black_friday_post","parameters":[{"required":true,"schema":{"title":"Event Type","type":"string"},"name":"event_type","in":"query"}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/shared-knowledge-bases/shared-list/{kb_id}":{"get":{"tags":["Shared Knowledge Bases"],"summary":"Get List Of Shared Chatbots","description":"Get the list of all shared chatbots","operationId":"get_list_of_shared_chatbots_shared_knowledge_bases_shared_list__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":{"title":"Response Get List Of Shared Chatbots Shared Knowledge Bases Shared List  Kb Id  Get","type":"array","items":{"$ref":"#/components/schemas/SharedKnowledgeBaseResponse"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/shared-knowledge-bases/{kb_id}":{"delete":{"tags":["Shared Knowledge Bases"],"summary":"Delete Shared Chatbot","description":"Delete a shared chatbot","operationId":"delete_shared_chatbot_shared_knowledge_bases__kb_id__delete","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":true,"schema":{"title":"Token","type":"string"},"name":"token","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":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/chatbot/{kb_id}/dashboard":{"get":{"tags":["Chatbot CSAT Dashboard"],"summary":"Get Csat Dashboard Statistics","description":"Endpoint to get CSAT Dashboard Data.","operationId":"get_csat_dashboard_statistics_chatbot__kb_id__dashboard_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":"Timezone","type":"string","default":"UTC"},"name":"timezone","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"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/weekly-analytics/unsubscribe":{"get":{"tags":["Weekly Analytics"],"summary":"Unsubscribe From Weekly Emails","description":"Unsubscribe from weekly analytics emails","operationId":"unsubscribe_from_weekly_emails_weekly_analytics_unsubscribe_get","parameters":[{"required":true,"schema":{"title":"User Id","type":"string","format":"uuid"},"name":"user_id","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/chatbot-onboarding-steps/get-current":{"get":{"tags":["Chatbot Onboarding Steps"],"summary":"Get Current Step","description":"Get the current onboarding step for the authenticated user. Only returns data for free-tier users created in the last 3 days.","operationId":"get_current_step_chatbot_onboarding_steps_get_current_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewChatbotOnboardingStepsResponse"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/chatbot-onboarding-steps/next-step":{"post":{"tags":["Chatbot Onboarding Steps"],"summary":"Next Step","description":"Mark the current onboarding step as done and advance to the next one. Only applicable for free-tier users created in the last 3 days.","operationId":"next_step_chatbot_onboarding_steps_next_step_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewChatbotOnboardingStepsResponse"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/chatbot-onboarding-steps/{kb_id}":{"get":{"tags":["Chatbot Onboarding Steps"],"summary":"Get Chatbot Onboarding Steps","description":"Get onboarding steps status for a chatbot. Creates and saves if not exists.","operationId":"get_chatbot_onboarding_steps_chatbot_onboarding_steps__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/ChatbotOnboardingStepsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/klaviyo/event":{"post":{"tags":["Klaviyo"],"summary":"Send Custom Klaviyo Event","operationId":"send_custom_klaviyo_event_klaviyo_event_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dismissable-cards":{"get":{"tags":["Dismissable Cards"],"summary":"Get Dismissable Cards","description":"Get dismissable cards state for a user and knowledge base.","operationId":"get_dismissable_cards_dismissable_cards_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":{"$ref":"#/components/schemas/DismissableCardsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/dismissable-cards/dismiss":{"post":{"tags":["Dismissable Cards"],"summary":"Dismiss Card","description":"Mark a dismissable card as dismissed for a user and knowledge base.","operationId":"dismiss_card_dismissable_cards_dismiss_post","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"query"},{"required":true,"schema":{"$ref":"#/components/schemas/DismissableCardName"},"name":"card_name","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/DismissableCardsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/deployments":{"get":{"tags":["Deployments"],"summary":"Get List Of Deployments","description":"Get the list of all deployments","operationId":"get_list_of_deployments_deployments_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"},{"required":false,"schema":{"title":"Sort By Personality Id","type":"string","format":"uuid"},"name":"sort_by_personality_id","in":"query"},{"required":false,"schema":{"$ref":"#/components/schemas/ModelType"},"name":"sort_by_model_type","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/DeploymentListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"post":{"tags":["Deployments"],"summary":"Create Deployment","description":"Create a new deployment","operationId":"create_deployment_deployments_post","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"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeploymentPostPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeploymentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"delete":{"tags":["Deployments"],"summary":"Delete Selected Deployments","description":"Delete selected deployments","operationId":"delete_selected_deployments_deployments_delete","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"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeploymentDeleteSelectedPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Delete Selected Deployments Deployments Delete","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/deployments/{deployment_id}":{"get":{"tags":["Deployments"],"summary":"Get Deployment By Id","description":"Get a deployment by ID","operationId":"get_deployment_by_id_deployments__deployment_id__get","parameters":[{"required":true,"schema":{"title":"Deployment Id","type":"string","format":"uuid"},"name":"deployment_id","in":"path"},{"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":{"$ref":"#/components/schemas/DeploymentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"delete":{"tags":["Deployments"],"summary":"Delete Deployment By Id","description":"Delete a deployment by ID","operationId":"delete_deployment_by_id_deployments__deployment_id__delete","parameters":[{"required":true,"schema":{"title":"Deployment Id","type":"string","format":"uuid"},"name":"deployment_id","in":"path"},{"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 Delete Deployment By Id Deployments  Deployment Id  Delete","type":"object","additionalProperties":{"type":"string"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]},"patch":{"tags":["Deployments"],"summary":"Update Deployment By Id","description":"Update a deployment by ID","operationId":"update_deployment_by_id_deployments__deployment_id__patch","parameters":[{"required":true,"schema":{"title":"Deployment Id","type":"string","format":"uuid"},"name":"deployment_id","in":"path"},{"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"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeploymentPatchPayload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeploymentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/deployments/search/{kb_id}":{"get":{"tags":["Deployments"],"summary":"Search Deployments","description":"Search for deployments","operationId":"search_deployments_deployments_search__kb_id__get","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":true,"schema":{"title":"Query","type":"string"},"name":"query","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/DeploymentListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/deployments/{kb_id}/combo-check":{"get":{"tags":["Deployments"],"summary":"Get Combo Check","description":"Get combo check for personality_id and allowed_model","operationId":"get_combo_check_deployments__kb_id__combo_check_get","parameters":[{"required":true,"schema":{"title":"Kb Id","type":"string","format":"uuid"},"name":"kb_id","in":"path"},{"required":true,"schema":{"title":"Personality Id","type":"string","format":"uuid"},"name":"personality_id","in":"query"},{"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":{"title":"Response Get Combo Check Deployments  Kb Id  Combo Check Get","type":"object","additionalProperties":{"type":"integer"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/feedback/report":{"post":{"tags":["Feedback"],"summary":"Create Feedback Report","operationId":"create_feedback_report_feedback_report_post","parameters":[{"required":false,"schema":{"title":"Team Id","type":"string"},"name":"team_id","in":"query"}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_feedback_report_feedback_report_post"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"OAuth2PasswordBearer":[]}]}},"/feedback/reports":{"get":{"tags":["Feedback"],"summary":"List Feedback Reports","operationId":"list_feedback_reports_feedback_reports_get","parameters":[{"required":false,"schema":{"title":"Page","minimum":1.0,"type":"integer","default":1},"name":"page","in":"query"},{"required":false,"schema":{"title":"Page Size","maximum":100.0,"minimum":1.0,"type":"integer","default":20},"name":"page_size","in":"query"},{"required":false,"schema":{"title":"Status","type":"string"},"name":"status","in":"query"},{"required":false,"schema":{"title":"Category","type":"string"},"name":"category","in":"query"},{"required":false,"schema":{"title":"Has Console Errors","type":"boolean"},"name":"has_console_errors","in":"query"},{"required":false,"schema":{"title":"Has Failed Requests","type":"boolean"},"name":"has_failed_requests","in":"query"},{"required":false,"schema":{"title":"Report Source","type":"string"},"name":"report_source","in":"query"},{"required":false,"schema":{"title":"Search","type":"string"},"name":"search","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBasic":[]}]}},"/feedback/reports/stats":{"get":{"tags":["Feedback"],"summary":"Get Feedback Stats","operationId":"get_feedback_stats_feedback_reports_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBasic":[]}]}},"/feedback/reports/{report_id}":{"get":{"tags":["Feedback"],"summary":"Get Feedback Report","operationId":"get_feedback_report_feedback_reports__report_id__get","parameters":[{"required":true,"schema":{"title":"Report Id","type":"string","format":"uuid"},"name":"report_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":[{"HTTPBasic":[]}]},"delete":{"tags":["Feedback"],"summary":"Delete Feedback Report","operationId":"delete_feedback_report_feedback_reports__report_id__delete","parameters":[{"required":true,"schema":{"title":"Report Id","type":"string","format":"uuid"},"name":"report_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":[{"HTTPBasic":[]}]},"patch":{"tags":["Feedback"],"summary":"Update Feedback Report","operationId":"update_feedback_report_feedback_reports__report_id__patch","parameters":[{"required":true,"schema":{"title":"Report Id","type":"string","format":"uuid"},"name":"report_id","in":"path"},{"required":true,"schema":{"title":"Status","type":"string"},"name":"status","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBasic":[]}]}},"/feedback/reports/{report_id}/recording":{"get":{"tags":["Feedback"],"summary":"Get Feedback Recording","operationId":"get_feedback_recording_feedback_reports__report_id__recording_get","parameters":[{"required":true,"schema":{"title":"Report Id","type":"string","format":"uuid"},"name":"report_id","in":"path"},{"required":false,"schema":{"title":"Exp","type":"string"},"name":"exp","in":"query"},{"required":false,"schema":{"title":"Sig","type":"string"},"name":"sig","in":"query"},{"required":false,"schema":{"title":"Authorization","type":"string"},"name":"authorization","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/feedback/reports/{report_id}/network-logs":{"get":{"tags":["Feedback"],"summary":"Get Feedback Network Logs","operationId":"get_feedback_network_logs_feedback_reports__report_id__network_logs_get","parameters":[{"required":true,"schema":{"title":"Report Id","type":"string","format":"uuid"},"name":"report_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":[{"HTTPBasic":[]}]}},"/feedback/reports/{report_id}/console-logs":{"get":{"tags":["Feedback"],"summary":"Get Feedback Console Logs","operationId":"get_feedback_console_logs_feedback_reports__report_id__console_logs_get","parameters":[{"required":true,"schema":{"title":"Report Id","type":"string","format":"uuid"},"name":"report_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":[{"HTTPBasic":[]}]}},"/feedback/reports/{report_id}/player-url":{"get":{"tags":["Feedback"],"summary":"Get Feedback Player Url","operationId":"get_feedback_player_url_feedback_reports__report_id__player_url_get","parameters":[{"required":true,"schema":{"title":"Report Id","type":"string","format":"uuid"},"name":"report_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":[{"HTTPBasic":[]}]}},"/feedback/reports/{report_id}/player":{"get":{"tags":["Feedback"],"summary":"Get Feedback Player","operationId":"get_feedback_player_feedback_reports__report_id__player_get","parameters":[{"required":true,"schema":{"title":"Report Id","type":"string","format":"uuid"},"name":"report_id","in":"path"},{"required":true,"schema":{"title":"Exp","type":"string"},"name":"exp","in":"query"},{"required":true,"schema":{"title":"Sig","type":"string"},"name":"sig","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/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 User","description":"Register a new user and return JWT token","operationId":"register_user_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/app__routers__login__TokenResponse"}}}},"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":{"AIVoiceBetaMinuteUsagePayload":{"title":"AIVoiceBetaMinuteUsagePayload","required":["email","minutes_used","minutes_available"],"type":"object","properties":{"email":{"title":"Email","type":"string"},"minutes_used":{"title":"Minutes Used","type":"integer"},"minutes_available":{"title":"Minutes Available","type":"integer"}}},"AIVoiceBetaMinutes":{"title":"AIVoiceBetaMinutes","required":["user_id","minutes_used","minutes_available"],"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 voice beta minutes.","format":"uuid"},"minutes_used":{"title":"Minutes Used","type":"integer","description":"The number of minutes used."},"minutes_available":{"title":"Minutes Available","type":"integer","description":"The number of minutes available."}}},"AIVoiceBetaUser":{"title":"AIVoiceBetaUser","required":["user_id","email"],"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.","format":"uuid"},"email":{"title":"User Email","type":"string","description":"The email of the USER."},"reason":{"title":"The reason of the Beta subscription","type":"string"}}},"AIVoiceBetaUserPayload":{"title":"AIVoiceBetaUserPayload","required":["reason"],"type":"object","properties":{"reason":{"title":"Reason","type":"string"}}},"AIVoiceBrowserInfoResponse":{"title":"AIVoiceBrowserInfoResponse","required":["text_to_voice_settings","kb_id","email","user_id"],"type":"object","properties":{"text_to_voice_settings":{"$ref":"#/components/schemas/TextToVoiceSettingsResponse"},"personality_prompt":{"title":"Personality Prompt","type":"string"},"initial_message":{"title":"Initial Message","type":"string"},"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"email":{"title":"Email","type":"string"},"user_id":{"title":"User Id","type":"string","format":"uuid"}}},"AIVoiceCallInfoPayload":{"title":"AIVoiceCallInfoPayload","required":["token"],"type":"object","properties":{"token":{"title":"Token","type":"string"}}},"AIVoiceCallInfoRepsonse":{"title":"AIVoiceCallInfoRepsonse","required":["ai_voice","text_to_voice_settings","knowledge_base"],"type":"object","properties":{"ai_voice":{"$ref":"#/components/schemas/AIVoiceResponse"},"text_to_voice_settings":{"$ref":"#/components/schemas/TextToVoiceSettingsResponse"},"knowledge_base":{"$ref":"#/components/schemas/KnowledgeBase"},"loading_sound_url":{"title":"Loading Sound Url","type":"string"}}},"AIVoiceConversationListResponse":{"title":"AIVoiceConversationListResponse","required":["results"],"type":"object","properties":{"results":{"title":"Results","type":"array","items":{"$ref":"#/components/schemas/AIVoiceConversationResponse"}}}},"AIVoiceConversationResponse":{"title":"AIVoiceConversationResponse","required":["id","ai_voice_id","user_id","caller_number","call_started_at","call_sid","status"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"ai_voice_id":{"title":"Ai Voice Id","type":"string","format":"uuid"},"user_id":{"title":"User Id","type":"string","format":"uuid"},"caller_number":{"title":"Caller Number","type":"string"},"call_started_at":{"title":"Call Started At","type":"string","format":"date-time"},"call_ended_at":{"title":"Call Ended At","type":"string","format":"date-time"},"call_sid":{"title":"Call Sid","type":"string"},"status":{"$ref":"#/components/schemas/AIVoiceConversationStatus"},"duration":{"title":"Duration","type":"integer"},"messages":{"title":"Messages","type":"array","items":{"$ref":"#/components/schemas/AIVoiceMessageResponse"}}}},"AIVoiceConversationStatus":{"title":"AIVoiceConversationStatus","enum":["pending","in_progress","done"],"description":"An enumeration."},"AIVoiceLLMEnum":{"title":"AIVoiceLLMEnum","enum":["gpt_4o","gpt_4o_mini","gpt_4o_128k","claude_3_opus","claude_3_5_sonnet","claude_3_5_haiku"],"type":"string","description":"An enumeration."},"AIVoiceListResponse":{"title":"AIVoiceListResponse","required":["results"],"type":"object","properties":{"results":{"title":"Results","type":"array","items":{"$ref":"#/components/schemas/AIVoiceResponse"}}}},"AIVoiceLoadingSoundPatchPayload":{"title":"AIVoiceLoadingSoundPatchPayload","type":"object","properties":{"name":{"title":"Name","type":"string"},"url":{"title":"Url","type":"string"}}},"AIVoiceMessageResponse":{"title":"AIVoiceMessageResponse","required":["id","ai_voice_conversation_id","user_id","role","content","date_created"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"ai_voice_conversation_id":{"title":"Ai Voice Conversation Id","type":"string","format":"uuid"},"user_id":{"title":"User Id","type":"string","format":"uuid"},"role":{"$ref":"#/components/schemas/AIVoiceMessageRole"},"content":{"title":"Content","type":"string"},"date_created":{"title":"Date Created","type":"string","format":"date-time"}}},"AIVoiceMessageRole":{"title":"AIVoiceMessageRole","enum":["user","assistant"],"description":"An enumeration."},"AIVoiceMode":{"title":"AIVoiceMode","enum":["flexible","openai_realtime"],"description":"An enumeration."},"AIVoiceModeValueLabel":{"title":"AIVoiceModeValueLabel","required":["value","label"],"type":"object","properties":{"value":{"$ref":"#/components/schemas/AIVoiceMode"},"label":{"title":"Label","type":"string"}}},"AIVoicePatchPayload":{"title":"AIVoicePatchPayload","type":"object","properties":{"name":{"title":"Name","type":"string"},"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"voice_to_text":{"$ref":"#/components/schemas/AIVoiceSTTEnum"},"llm":{"$ref":"#/components/schemas/AIVoiceLLMEnum"},"text_to_voice_settings_id":{"title":"Text To Voice Settings Id","type":"string","format":"uuid"},"welcome_message":{"title":"Welcome Message","type":"string"},"personality_prompt":{"title":"Personality Prompt","type":"string"},"loading_sound_id":{"title":"Loading Sound Id","type":"string","format":"uuid"},"phone_number_ids":{"title":"Phone Number Ids","type":"array","items":{"type":"string","format":"uuid"}}}},"AIVoicePayload":{"title":"AIVoicePayload","required":["name","kb_id","voice_to_text","llm","text_to_voice","text_to_voice_settings_id"],"type":"object","properties":{"name":{"title":"Name","type":"string"},"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"voice_to_text":{"$ref":"#/components/schemas/AIVoiceSTTEnum"},"llm":{"$ref":"#/components/schemas/AIVoiceLLMEnum"},"text_to_voice":{"$ref":"#/components/schemas/AIVoiceTTSEnum"},"text_to_voice_settings_id":{"title":"Text To Voice Settings Id","type":"string","format":"uuid"},"welcome_message":{"title":"Welcome Message","type":"string"},"personality_prompt":{"title":"Personality Prompt","type":"string"},"loading_sound_id":{"title":"Loading Sound Id","type":"string","format":"uuid"},"phone_number_ids":{"title":"Phone Number Ids","type":"array","items":{"type":"string","format":"uuid"}}}},"AIVoiceResponse":{"title":"AIVoiceResponse","required":["id","date_created","date_updated","user_id","name","kb_id","mode","mode_key","voice_to_text","voice_to_text_key","llm","llm_key","text_to_voice","text_to_voice_key","text_to_voice_settings_id","text_to_voice_settings_key"],"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"},"name":{"title":"Name","type":"string"},"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"mode":{"$ref":"#/components/schemas/AIVoiceMode"},"mode_key":{"$ref":"#/components/schemas/AIVoiceModeValueLabel"},"voice_to_text":{"$ref":"#/components/schemas/AIVoiceSTTEnum"},"voice_to_text_key":{"$ref":"#/components/schemas/VoiceToTextValueLabel"},"llm":{"$ref":"#/components/schemas/AIVoiceLLMEnum"},"llm_key":{"$ref":"#/components/schemas/LLMValueLabel"},"text_to_voice":{"$ref":"#/components/schemas/AIVoiceTTSEnum"},"text_to_voice_key":{"$ref":"#/components/schemas/TextToVoiceValueLabel"},"text_to_voice_settings_id":{"title":"Text To Voice Settings Id","type":"string","format":"uuid"},"text_to_voice_settings_key":{"$ref":"#/components/schemas/TextToVoiceSettingsValueLabel"},"welcome_message":{"title":"Welcome Message","type":"string"},"personality_prompt":{"title":"Personality Prompt","type":"string"},"loading_sound_id":{"title":"Loading Sound Id","type":"string","format":"uuid"},"loading_sound_key":{"$ref":"#/components/schemas/LoadingSoundValueLabel"},"phone_numbers":{"title":"Phone Numbers","type":"array","items":{"$ref":"#/components/schemas/PhoneNumberItem"}},"knowledge_base":{"$ref":"#/components/schemas/KnowledgeBase"},"nr_of_conversations":{"title":"Nr Of Conversations","type":"integer"},"preview_url":{"title":"Preview Url","type":"string"}}},"AIVoiceSTTEnum":{"title":"AIVoiceSTTEnum","enum":["deepgram","openai_whisper","openai_realtime"],"type":"string","description":"An enumeration."},"AIVoiceTTSEnum":{"title":"AIVoiceTTSEnum","enum":["elevenlabs","cartesia","openai"],"type":"string","description":"An enumeration."},"AIVoiceUsagePayload":{"title":"AIVoiceUsagePayload","required":["conversation_id","started_at","ended_at"],"type":"object","properties":{"conversation_id":{"title":"Conversation Id","type":"string","format":"uuid"},"started_at":{"title":"Started At","type":"string","format":"date-time"},"ended_at":{"title":"Ended At","type":"string","format":"date-time"},"phone_number":{"title":"Phone Number","type":"string"}}},"AddAutorefreshAccessPayload":{"title":"AddAutorefreshAccessPayload","required":["user_email"],"type":"object","properties":{"user_email":{"title":"User Email","type":"string"},"reason":{"title":"Reason","type":"string","default":"Beta access"}}},"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"}},"nr_credits":{"title":"Nr Credits","type":"number"},"nr_users":{"title":"Nr Users","type":"integer"},"nr_conversations":{"title":"Nr Conversations","type":"integer"},"nr_messages":{"title":"Nr Messages","type":"integer"}}},"AutoRefreshTogglePayload":{"title":"AutoRefreshTogglePayload","required":["enabled"],"type":"object","properties":{"enabled":{"title":"Enabled","type":"boolean"}}},"AutoRefreshTriggerResponse":{"title":"AutoRefreshTriggerResponse","required":["job_id","status","message","knowledge_base_id","files_count","batch_size","hours_since_update"],"type":"object","properties":{"job_id":{"title":"Job Id","type":"string","description":"Jobs Manager job ID"},"status":{"title":"Status","type":"string","description":"Trigger status"},"message":{"title":"Message","type":"string","description":"Human-readable message"},"knowledge_base_id":{"title":"Knowledge Base Id","type":"string","description":"Knowledge base UUID"},"files_count":{"title":"Files Count","type":"integer","description":"Total files in knowledge base"},"batch_size":{"title":"Batch Size","type":"integer","description":"Configured batch size"},"hours_since_update":{"title":"Hours Since Update","type":"integer","description":"Configured staleness threshold"}},"description":"Response for auto-refresh trigger."},"AutorefreshAccessResponse":{"title":"AutorefreshAccessResponse","required":["id","user_id","email","reason"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"user_id":{"title":"User Id","type":"string","format":"uuid"},"email":{"title":"Email","type":"string"},"reason":{"title":"Reason","type":"string"}}},"AutorefreshCreateResponse":{"title":"AutorefreshCreateResponse","required":["message","schedule"],"type":"object","properties":{"success":{"title":"Success","type":"boolean","description":"Whether the operation was successful","default":true},"message":{"title":"Message","type":"string","description":"Human-readable success message"},"schedule":{"title":"Schedule","allOf":[{"$ref":"#/components/schemas/AutorefreshResponse"}],"description":"The created autorefresh schedule"}},"description":"Response model for creating an autorefresh schedule."},"AutorefreshDeleteResponse":{"title":"AutorefreshDeleteResponse","required":["message","deleted_schedule_id"],"type":"object","properties":{"success":{"title":"Success","type":"boolean","description":"Whether the operation was successful","default":true},"message":{"title":"Message","type":"string","description":"Human-readable success message"},"deleted_schedule_id":{"title":"Deleted Schedule ID","type":"string","description":"ID of the deleted schedule","format":"uuid"}},"description":"Response model for deleting an autorefresh schedule."},"AutorefreshListResponse":{"title":"AutorefreshListResponse","required":["schedules","total","page","per_page","total_pages"],"type":"object","properties":{"schedules":{"title":"Schedules","type":"array","items":{"$ref":"#/components/schemas/AutorefreshResponse"},"description":"List of autorefresh schedules"},"total":{"title":"Total Count","type":"integer","description":"Total number of schedules for the user"},"page":{"title":"Current Page","type":"integer","description":"Current page number (1-based)"},"per_page":{"title":"Per Page","type":"integer","description":"Number of items per page"},"total_pages":{"title":"Total Pages","type":"integer","description":"Total number of pages"}},"description":"Response model for listing autorefresh schedules with pagination."},"AutorefreshResponse":{"title":"AutorefreshResponse","required":["id","file_id","user_id","refresh_period","cron_expression","is_active","total_runs","failure_count","date_created","date_updated","points"],"type":"object","properties":{"id":{"title":"Schedule ID","type":"string","description":"Unique identifier for the schedule","format":"uuid"},"file_id":{"title":"File ID","type":"string","description":"ID of the file being refreshed","format":"uuid"},"user_id":{"title":"User ID","type":"string","description":"ID of the user who owns the schedule","format":"uuid"},"refresh_period":{"title":"Refresh Period","allOf":[{"$ref":"#/components/schemas/RefreshPeriod"}],"description":"How often the file is refreshed"},"cron_expression":{"title":"Cron Expression","type":"string","description":"The cron expression for scheduling"},"last_run_at":{"title":"Last Run","type":"string","description":"When the schedule last ran","format":"date-time"},"next_run_at":{"title":"Next Run","type":"string","description":"When the schedule will run next","format":"date-time"},"is_active":{"title":"Is Active","type":"boolean","description":"Whether the schedule is currently active"},"total_runs":{"title":"Total Runs","type":"integer","description":"Total number of times this schedule has run"},"max_runs":{"title":"Max Runs","type":"integer","description":"Maximum number of runs (null = unlimited)"},"failure_count":{"title":"Failure Count","type":"integer","description":"Number of consecutive failures"},"last_failure_at":{"title":"Last Failure","type":"string","description":"When the last failure occurred","format":"date-time"},"date_created":{"title":"Created","type":"string","description":"When the schedule was created","format":"date-time"},"date_updated":{"title":"Updated","type":"string","description":"When the schedule was last updated","format":"date-time"},"points":{"title":"Points","type":"integer","description":"Number of points this schedule consumes"}},"description":"Response model for a single autorefresh schedule."},"AutorefreshStatsResponse":{"title":"AutorefreshStatsResponse","required":["total_schedules","active_schedules","paused_schedules","schedules_by_period","recent_runs","recent_failures"],"type":"object","properties":{"total_schedules":{"title":"Total Schedules","type":"integer","description":"Total number of autorefresh schedules"},"active_schedules":{"title":"Active Schedules","type":"integer","description":"Number of active schedules"},"paused_schedules":{"title":"Paused Schedules","type":"integer","description":"Number of paused schedules"},"schedules_by_period":{"title":"By Period","type":"object","description":"Count of schedules by refresh period"},"recent_runs":{"title":"Recent Runs","type":"integer","description":"Number of runs in the last 24 hours"},"recent_failures":{"title":"Recent Failures","type":"integer","description":"Number of failures in the last 24 hours"}},"description":"Response model for autorefresh statistics."},"AutorefreshUpdateResponse":{"title":"AutorefreshUpdateResponse","required":["message","schedule"],"type":"object","properties":{"success":{"title":"Success","type":"boolean","description":"Whether the operation was successful","default":true},"message":{"title":"Message","type":"string","description":"Human-readable success message"},"schedule":{"title":"Schedule","allOf":[{"$ref":"#/components/schemas/AutorefreshResponse"}],"description":"The updated autorefresh schedule"}},"description":"Response model for updating an autorefresh schedule."},"AvailablePhoneNumber":{"title":"AvailablePhoneNumber","required":["friendly_name","phone_number","iso_country","capabilities","price"],"type":"object","properties":{"friendly_name":{"title":"Friendly Name","type":"string"},"phone_number":{"title":"Phone Number","type":"string"},"iso_country":{"title":"Iso Country","type":"string"},"locality":{"title":"Locality","type":"string"},"region":{"title":"Region","type":"string"},"postal_code":{"title":"Postal Code","type":"string"},"capabilities":{"$ref":"#/components/schemas/PhoneNumberCapabilities"},"price":{"$ref":"#/components/schemas/PhoneNumberPrice"}}},"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 MUST ONLY answer questions using information from this specific knowledge base. You are STRICTLY FORBIDDEN from using any information outside the provided context, including your pre-trained knowledge, general knowledge, or information from the internet. You will be SEVERELY 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"}}},"BillingActiveAddOn":{"title":"BillingActiveAddOn","required":["name","type","quantity","period"],"type":"object","properties":{"name":{"title":"Name","type":"string"},"type":{"title":"Type","type":"string"},"quantity":{"title":"Quantity","type":"integer"},"period":{"title":"Period","type":"string"},"price_per_unit":{"title":"Price Per Unit","type":"number"},"total_price":{"title":"Total Price","type":"number"},"stripe_subscription_id":{"title":"Stripe Subscription Id","type":"string"},"extra_information":{"title":"Extra Information","type":"object","default":{}},"cancel_at_period_end":{"title":"Cancel At Period End","type":"boolean","default":false},"current_period_end":{"title":"Current Period End","type":"string","format":"date-time"}}},"BillingAddOnsResponse":{"title":"BillingAddOnsResponse","required":["active_add_ons","available_add_ons","credits_add_ons"],"type":"object","properties":{"active_add_ons":{"title":"Active Add Ons","type":"array","items":{"$ref":"#/components/schemas/BillingActiveAddOn"}},"available_add_ons":{"title":"Available Add Ons","type":"array","items":{"$ref":"#/components/schemas/BillingAvailableAddOn"}},"credits_add_ons":{"title":"Credits Add Ons","type":"array","items":{"$ref":"#/components/schemas/BillingAvailableAddOn"}}}},"BillingAddress":{"title":"BillingAddress","type":"object","properties":{"line1":{"title":"Line1","type":"string"},"line2":{"title":"Line2","type":"string"},"city":{"title":"City","type":"string"},"state":{"title":"State","type":"string"},"postal_code":{"title":"Postal Code","type":"string"},"country":{"title":"Country","type":"string"},"country_code":{"title":"Country Code","type":"string"}}},"BillingAvailableAddOn":{"title":"BillingAvailableAddOn","required":["name","type","title","subtitle","price_per_month","has_input_qty","input_default_value"],"type":"object","properties":{"name":{"title":"Name","type":"string"},"type":{"title":"Type","type":"string"},"title":{"title":"Title","type":"string"},"subtitle":{"title":"Subtitle","type":"string"},"price_per_month":{"title":"Price Per Month","type":"number"},"has_input_qty":{"title":"Has Input Qty","type":"boolean"},"input_default_value":{"title":"Input Default Value","type":"integer"},"input_subheader":{"title":"Input Subheader","type":"string"},"tooltip_text":{"title":"Tooltip Text","type":"string"}}},"BillingComparePlan":{"title":"BillingComparePlan","required":["tier_id","tier_name","tier_type","period","price","stripe_price_id"],"type":"object","properties":{"tier_id":{"title":"Tier Id","type":"string","format":"uuid"},"tier_name":{"title":"Tier Name","type":"string"},"tier_type":{"title":"Tier Type","type":"string"},"period":{"title":"Period","type":"string"},"price":{"title":"Price","type":"number"},"stripe_price_id":{"title":"Stripe Price Id","type":"string"},"is_current":{"title":"Is Current","type":"boolean","default":false},"is_enterprise":{"title":"Is Enterprise","type":"boolean","default":false}}},"BillingComparePlansResponse":{"title":"BillingComparePlansResponse","required":["plans","feature_categories","current_tier_type","current_period"],"type":"object","properties":{"plans":{"title":"Plans","type":"array","items":{"$ref":"#/components/schemas/BillingComparePlan"}},"feature_categories":{"title":"Feature Categories","type":"array","items":{"$ref":"#/components/schemas/BillingPlanFeatureCategory"}},"current_tier_type":{"title":"Current Tier Type","type":"string"},"current_period":{"title":"Current Period","type":"string"}}},"BillingDetailsResponse":{"title":"BillingDetailsResponse","required":["full_name","email","cards"],"type":"object","properties":{"full_name":{"title":"Full Name","type":"string"},"email":{"title":"Email","type":"string"},"address":{"title":"Address","type":"string"},"cards":{"title":"Cards","type":"array","items":{"$ref":"#/components/schemas/CardDetailsResponse"}}}},"BillingInvoice":{"title":"BillingInvoice","required":["invoice_id","date","amount_due","amount_paid","status","currency","line_items"],"type":"object","properties":{"invoice_id":{"title":"Invoice Id","type":"string"},"invoice_number":{"title":"Invoice Number","type":"string"},"date":{"title":"Date","type":"string","format":"date-time"},"due_date":{"title":"Due Date","type":"string","format":"date-time"},"amount_due":{"title":"Amount Due","type":"number"},"amount_paid":{"title":"Amount Paid","type":"number"},"status":{"title":"Status","type":"string"},"currency":{"title":"Currency","type":"string"},"description":{"title":"Description","type":"string"},"line_items":{"title":"Line Items","type":"array","items":{"$ref":"#/components/schemas/BillingInvoiceLineItem"}},"hosted_invoice_url":{"title":"Hosted Invoice Url","type":"string"},"invoice_pdf":{"title":"Invoice Pdf","type":"string"},"plan_name":{"title":"Plan Name","type":"string"},"add_on_names":{"title":"Add On Names","type":"array","items":{"type":"string"},"default":[]},"payment_failed":{"title":"Payment Failed","type":"boolean","default":false},"next_payment_attempt":{"title":"Next Payment Attempt","type":"string","format":"date-time"}}},"BillingInvoiceLineItem":{"title":"BillingInvoiceLineItem","required":["description","amount"],"type":"object","properties":{"description":{"title":"Description","type":"string"},"amount":{"title":"Amount","type":"number"},"quantity":{"title":"Quantity","type":"integer"},"period_start":{"title":"Period Start","type":"string","format":"date-time"},"period_end":{"title":"Period End","type":"string","format":"date-time"}}},"BillingInvoicesResponse":{"title":"BillingInvoicesResponse","required":["invoices"],"type":"object","properties":{"invoices":{"title":"Invoices","type":"array","items":{"$ref":"#/components/schemas/BillingInvoice"}},"upcoming_invoice":{"$ref":"#/components/schemas/BillingUpcomingInvoice"},"has_more":{"title":"Has More","type":"boolean","default":false}}},"BillingPaymentCard":{"title":"BillingPaymentCard","required":["payment_method_id","card_brand","last4","exp_month","exp_year","is_default"],"type":"object","properties":{"payment_method_id":{"title":"Payment Method Id","type":"string"},"card_brand":{"title":"Card Brand","type":"string"},"last4":{"title":"Last4","type":"string"},"exp_month":{"title":"Exp Month","type":"integer"},"exp_year":{"title":"Exp Year","type":"integer"},"is_default":{"title":"Is Default","type":"boolean"}}},"BillingPaymentMethodActionResponse":{"title":"BillingPaymentMethodActionResponse","required":["success","message"],"type":"object","properties":{"success":{"title":"Success","type":"boolean"},"message":{"title":"Message","type":"string"}}},"BillingPaymentResponse":{"title":"BillingPaymentResponse","required":["full_name","email","payment_methods"],"type":"object","properties":{"full_name":{"title":"Full Name","type":"string"},"email":{"title":"Email","type":"string"},"phone":{"title":"Phone","type":"string"},"address":{"$ref":"#/components/schemas/BillingAddress"},"payment_methods":{"title":"Payment Methods","type":"array","items":{"$ref":"#/components/schemas/BillingPaymentCard"}},"stripe_customer_id":{"title":"Stripe Customer Id","type":"string"},"tax_exempt":{"title":"Tax Exempt","type":"string"},"tax_ids":{"title":"Tax Ids","type":"array","items":{"$ref":"#/components/schemas/BillingTaxId"},"default":[]}}},"BillingPlanFeature":{"title":"BillingPlanFeature","required":["title","values"],"type":"object","properties":{"title":{"title":"Title","type":"string"},"values":{"title":"Values","type":"object"}}},"BillingPlanFeatureCategory":{"title":"BillingPlanFeatureCategory","required":["name","features"],"type":"object","properties":{"name":{"title":"Name","type":"string"},"features":{"title":"Features","type":"array","items":{"$ref":"#/components/schemas/BillingPlanFeature"}},"is_addon_category":{"title":"Is Addon Category","type":"boolean","default":false},"addon_key":{"title":"Addon Key","type":"string"},"addon_options":{"title":"Addon Options","type":"array","items":{"type":"object"}}}},"BillingPlanOption":{"title":"BillingPlanOption","required":["tier_id","tier_name","tier_type","stripe_price_id","stripe_prod_id","period","price","credits_per_month","number_of_knowledgebases","characters_per_knowledgebase"],"type":"object","properties":{"tier_id":{"title":"Tier Id","type":"string","format":"uuid"},"tier_name":{"title":"Tier Name","type":"string"},"tier_type":{"title":"Tier Type","type":"string"},"stripe_price_id":{"title":"Stripe Price Id","type":"string"},"stripe_prod_id":{"title":"Stripe Prod Id","type":"string"},"period":{"title":"Period","type":"string"},"price":{"title":"Price","type":"number"},"credits_per_month":{"title":"Credits Per Month","type":"integer"},"number_of_knowledgebases":{"title":"Number Of Knowledgebases","type":"integer"},"characters_per_knowledgebase":{"title":"Characters Per Knowledgebase","type":"integer"},"is_current":{"title":"Is Current","type":"boolean","default":false},"is_upgrade":{"title":"Is Upgrade","type":"boolean","default":false},"is_downgrade":{"title":"Is Downgrade","type":"boolean","default":false}}},"BillingPlanSelectionResponse":{"title":"BillingPlanSelectionResponse","required":["monthly_plans","yearly_plans","current_tier_type","current_period","current_tier_rank"],"type":"object","properties":{"monthly_plans":{"title":"Monthly Plans","type":"array","items":{"$ref":"#/components/schemas/BillingPlanOption"}},"yearly_plans":{"title":"Yearly Plans","type":"array","items":{"$ref":"#/components/schemas/BillingPlanOption"}},"current_tier_type":{"title":"Current Tier Type","type":"string"},"current_period":{"title":"Current Period","type":"string"},"current_tier_rank":{"title":"Current Tier Rank","type":"integer"}}},"BillingSubscriptionPauseInfo":{"title":"BillingSubscriptionPauseInfo","required":["is_paused"],"type":"object","properties":{"is_paused":{"title":"Is Paused","type":"boolean"},"paused_since":{"title":"Paused Since","type":"string","format":"date-time"},"current_cost_paused":{"title":"Current Cost Paused","type":"number"},"previous_plan_name":{"title":"Previous Plan Name","type":"string"},"previous_plan_cost":{"title":"Previous Plan Cost","type":"number"},"previous_tier_id":{"title":"Previous Tier Id","type":"string","format":"uuid"},"previous_plan_period":{"title":"Previous Plan Period","type":"string"}}},"BillingSubscriptionPlanInfo":{"title":"BillingSubscriptionPlanInfo","required":["tier_id","tier_name","tier_type","period","price_per_period","is_on_trial"],"type":"object","properties":{"tier_id":{"title":"Tier Id","type":"string","format":"uuid"},"tier_name":{"title":"Tier Name","type":"string"},"tier_type":{"title":"Tier Type","type":"string"},"period":{"title":"Period","type":"string"},"price_per_period":{"title":"Price Per Period","type":"number"},"currency":{"title":"Currency","type":"string","default":"USD"},"is_on_trial":{"title":"Is On Trial","type":"boolean"},"trial_end_date":{"title":"Trial End Date","type":"string","format":"date-time"},"is_custom_tier":{"title":"Is Custom Tier","type":"boolean","default":false}}},"BillingSubscriptionResponse":{"title":"BillingSubscriptionResponse","required":["plan","status","pause_info","credits_per_month","credits_used","credits_available","credit_rollover_enabled","topup_credits_available"],"type":"object","properties":{"plan":{"$ref":"#/components/schemas/BillingSubscriptionPlanInfo"},"status":{"$ref":"#/components/schemas/BillingSubscriptionStatus"},"pause_info":{"$ref":"#/components/schemas/BillingSubscriptionPauseInfo"},"credits_per_month":{"title":"Credits Per Month","type":"integer"},"credits_used":{"title":"Credits Used","type":"integer"},"credits_available":{"title":"Credits Available","type":"integer"},"credit_rollover_enabled":{"title":"Credit Rollover Enabled","type":"boolean"},"topup_credits_available":{"title":"Topup Credits Available","type":"number"},"renewal_date":{"title":"Renewal Date","type":"string","format":"date-time"},"next_invoice_amount":{"title":"Next Invoice Amount","type":"number"},"tier_note":{"title":"Tier Note","type":"string"},"explore_plans":{"title":"Explore Plans","type":"array","items":{"$ref":"#/components/schemas/BillingPlanOption"},"default":[]},"active_add_ons":{"title":"Active Add Ons","type":"array","items":{"$ref":"#/components/schemas/BillingActiveAddOn"},"default":[]},"next_billing":{"title":"Next Billing","type":"array","items":{"$ref":"#/components/schemas/NextBillingGroup"},"default":[]}}},"BillingSubscriptionStatus":{"title":"BillingSubscriptionStatus","required":["status"],"type":"object","properties":{"stripe_subscription_id":{"title":"Stripe Subscription Id","type":"string"},"status":{"title":"Status","type":"string"},"current_period_start":{"title":"Current Period Start","type":"string","format":"date-time"},"current_period_end":{"title":"Current Period End","type":"string","format":"date-time"},"cancel_at_period_end":{"title":"Cancel At Period End","type":"boolean","default":false},"canceled_at":{"title":"Canceled At","type":"string","format":"date-time"},"scheduled_tier_type":{"title":"Scheduled Tier Type","type":"string"},"in_grace_period":{"title":"In Grace Period","type":"boolean","default":false}}},"BillingTaxId":{"title":"BillingTaxId","required":["id","type","value"],"type":"object","properties":{"id":{"title":"Id","type":"string"},"type":{"title":"Type","type":"string"},"value":{"title":"Value","type":"string"},"country":{"title":"Country","type":"string"},"verification_status":{"title":"Verification Status","type":"string"},"verified_name":{"title":"Verified Name","type":"string"},"verified_address":{"title":"Verified Address","type":"string"}}},"BillingUpcomingInvoice":{"title":"BillingUpcomingInvoice","required":["amount_due","currency","line_items"],"type":"object","properties":{"amount_due":{"title":"Amount Due","type":"number"},"currency":{"title":"Currency","type":"string"},"next_payment_date":{"title":"Next Payment Date","type":"string","format":"date-time"},"line_items":{"title":"Line Items","type":"array","items":{"$ref":"#/components/schemas/BillingInvoiceLineItem"}}}},"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":{"qa_data_json":{"title":"Qa Data Json","type":"string"},"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_add_loading_sound_ai_voices_loading_sounds_post":{"title":"Body_add_loading_sound_ai_voices_loading_sounds_post","required":["file"],"type":"object","properties":{"file":{"title":"File","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_feedback_report_feedback_report_post":{"title":"Body_create_feedback_report_feedback_report_post","required":["recording","title","category","metadata"],"type":"object","properties":{"recording":{"title":"Recording","type":"string","format":"binary"},"title":{"title":"Title","type":"string"},"description":{"title":"Description","type":"string","default":""},"category":{"title":"Category","type":"string"},"metadata":{"title":"Metadata","type":"string"},"wants_follow_up":{"title":"Wants Follow Up","type":"boolean","default":false},"report_source":{"title":"Report Source","type":"string","default":"manual"}}},"Body_create_integration_twilio_whatsapp_integrations_post":{"title":"Body_create_integration_twilio_whatsapp_integrations_post","required":["kb_id","twilio_phone_number"],"type":"object","properties":{"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"twilio_phone_number":{"title":"Twilio Phone Number","type":"string"},"name":{"title":"Name","type":"string"},"model_type":{"allOf":[{"$ref":"#/components/schemas/ModelType"}],"default":"gpt-4"},"team_id":{"title":"Team Id","type":"string","format":"uuid"}}},"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":{"qa_data_json":{"title":"Qa Data Json","type":"string"},"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_upload_file_profile_upload__post":{"title":"Body_create_upload_file_profile_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_parse_progress_data_knowledge_bases_progress_parse_post":{"title":"Body_parse_progress_data_knowledge_bases_progress_parse_post","required":["progress_data"],"type":"object","properties":{"progress_data":{"title":"Progress Data","type":"object","description":"Raw progress data from Jobs Manager"},"job_type":{"title":"Job Type","type":"string","description":"Job type for step mapping","default":"auto_refresh"}}},"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_send_set_password_link_knowledge_bases_v2_onboarding_magic_link_post":{"title":"Body_send_set_password_link_knowledge_bases_v2_onboarding_magic_link_post","required":["email","contact_consent"],"type":"object","properties":{"email":{"title":"Email","type":"string"},"contact_consent":{"title":"Contact Consent","type":"boolean"},"session_id":{"title":"Session Id","type":"string"},"from_demo_account":{"title":"From Demo Account","type":"boolean","description":"Whether the request is from a demo account.","default":false}}},"Body_send_whatsapp_message_twilio_whatsapp_send_message_post":{"title":"Body_send_whatsapp_message_twilio_whatsapp_send_message_post","required":["to_number","message","twilio_phone_number"],"type":"object","properties":{"to_number":{"title":"To Number","type":"string"},"message":{"title":"Message","type":"string"},"twilio_phone_number":{"title":"Twilio Phone Number","type":"string"}}},"Body_test_whatsapp_connection_whatsapp_test_connection_post":{"title":"Body_test_whatsapp_connection_whatsapp_test_connection_post","required":["business_phone_id","business_account_id","meta_token"],"type":"object","properties":{"business_phone_id":{"title":"Business Phone Id","type":"string","description":"WhatsApp Business Phone ID"},"business_account_id":{"title":"Business Account Id","type":"string","description":"WhatsApp Business Account ID"},"meta_token":{"title":"Meta Token","type":"string","description":"Meta Permanent Token"},"graph_version":{"title":"Graph Version","type":"string","description":"Graph API Version","default":"v24.0"}}},"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"},"conversation_id":{"title":"Conversation Id","type":"string"}}},"Body_upload_file_human_handover_conversations_upload_file_post":{"title":"Body_upload_file_human_handover_conversations_upload_file_post","required":["file"],"type":"object","properties":{"file":{"title":"File","type":"string","format":"binary"}}},"Body_upload_temp_file_files_upload_temp_post":{"title":"Body_upload_temp_file_files_upload_temp_post","required":["file"],"type":"object","properties":{"file":{"title":"File","type":"string","format":"binary"}}},"Body_upload_temp_file_with_progress_files_upload_temp_with_progress_post":{"title":"Body_upload_temp_file_with_progress_files_upload_temp_with_progress_post","required":["file"],"type":"object","properties":{"file":{"title":"File","type":"string","format":"binary"}}},"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"}}},"Body_video_to_s3_tabs_video_to_s3_post":{"title":"Body_video_to_s3_tabs_video_to_s3_post","required":["file"],"type":"object","properties":{"file":{"title":"File","type":"string","format":"binary"}}},"Body_whatsapp_webhook_twilio_whatsapp_webhook_post":{"title":"Body_whatsapp_webhook_twilio_whatsapp_webhook_post","required":["From","To","Body"],"type":"object","properties":{"From":{"title":"From","type":"string"},"To":{"title":"To","type":"string"},"Body":{"title":"Body","type":"string"},"MessageSid":{"title":"Messagesid","type":"string"},"NumMedia":{"title":"Nummedia","type":"string"}}},"BubbleSizeEnum":{"title":"BubbleSizeEnum","enum":["SMALL","MEDIUM","LARGE","EXTRA_LARGE"],"description":"An enumeration."},"BulkAutorefreshCreateResponse":{"title":"BulkAutorefreshCreateResponse","required":["success","message","total_requested","total_processed","total_failed","results"],"type":"object","properties":{"success":{"title":"Success","type":"boolean","description":"Whether the overall operation was successful"},"message":{"title":"Message","type":"string","description":"Human-readable summary message"},"total_requested":{"title":"Total Requested","type":"integer","description":"Total number of files requested"},"total_processed":{"title":"Total Processed","type":"integer","description":"Number of schedules successfully processed"},"total_failed":{"title":"Total Failed","type":"integer","description":"Number of files that failed"},"results":{"title":"Results","type":"array","items":{"$ref":"#/components/schemas/BulkAutorefreshFileResult"},"description":"Per-file results"}},"description":"Response model for bulk creating autorefresh schedules."},"BulkAutorefreshFileResult":{"title":"BulkAutorefreshFileResult","required":["file_id","success"],"type":"object","properties":{"file_id":{"title":"File ID","type":"string","description":"ID of the file","format":"uuid"},"success":{"title":"Success","type":"boolean","description":"Whether the autorefresh was created for this file"},"error":{"title":"Error","type":"string","description":"Error message if the operation failed for this file"},"schedule":{"title":"Schedule","allOf":[{"$ref":"#/components/schemas/AutorefreshResponse"}],"description":"The created autorefresh schedule if successful"}},"description":"Result for a single file in a bulk autorefresh operation."},"BulkCreateAutorefreshPayload":{"title":"BulkCreateAutorefreshPayload","required":["file_ids","refresh_period"],"type":"object","properties":{"file_ids":{"title":"File IDs","maxItems":100,"minItems":1,"type":"array","items":{"type":"string","format":"uuid"},"description":"List of file IDs to create autorefresh schedules for"},"refresh_period":{"title":"Refresh Period","allOf":[{"$ref":"#/components/schemas/RefreshPeriod"}],"description":"How often the files should be refreshed (daily, every_3_days, weekly). Set to null to remove schedules."}},"description":"Payload for creating autorefresh schedules for multiple files."},"BulkDeleteFilesPayload":{"title":"BulkDeleteFilesPayload","required":["file_ids"],"type":"object","properties":{"file_ids":{"title":"File Ids","type":"array","items":{"type":"string","format":"uuid"}}}},"BulkDeleteFilesResponse":{"title":"BulkDeleteFilesResponse","required":["deleted_count","failed_count","failed_file_ids"],"type":"object","properties":{"deleted_count":{"title":"Deleted Count","type":"integer"},"failed_count":{"title":"Failed Count","type":"integer"},"failed_file_ids":{"title":"Failed File Ids","type":"array","items":{"type":"string","format":"uuid"}}}},"ButtonSlotPatchPayload":{"title":"ButtonSlotPatchPayload","required":["kb_id"],"type":"object","properties":{"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"label":{"title":"Label","type":"string"},"icon":{"title":"Icon","type":"string"},"link":{"title":"Link","type":"string"},"button_type":{"$ref":"#/components/schemas/ButtonType"},"order":{"title":"Order","type":"integer"}}},"ButtonSlotPayload":{"title":"ButtonSlotPayload","required":["kb_id","label","icon","link","button_type","order"],"type":"object","properties":{"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"label":{"title":"Label","type":"string"},"icon":{"title":"Icon","type":"string"},"link":{"title":"Link","type":"string"},"button_type":{"$ref":"#/components/schemas/ButtonType"},"order":{"title":"Order","type":"integer"}}},"ButtonSlotResponse":{"title":"ButtonSlotResponse","required":["id","user_id","kb_id","label","icon","link","button_type","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"},"label":{"title":"Label","type":"string"},"icon":{"title":"Icon","type":"string"},"link":{"title":"Link","type":"string"},"button_type":{"$ref":"#/components/schemas/ButtonType"},"order":{"title":"Order","type":"integer"},"disclaimer":{"title":"Disclaimer","type":"string"},"type":{"title":"Type","type":"string"}}},"ButtonType":{"title":"ButtonType","enum":["primary","secondary"],"description":"An enumeration."},"CSATMetric":{"title":"CSATMetric","required":["value","previous_period_value","previous_period_difference","nr_conversations","trend","enabled"],"type":"object","properties":{"value":{"title":"Value","type":"number","description":"Average CSAT score (1.0-5.0)"},"previous_period_value":{"title":"Previous Period Value","type":"number","description":"Average CSAT score from previous period (30-60 days ago)"},"previous_period_difference":{"title":"Previous Period Difference","type":"number","description":"Difference between current and previous period (can be positive or negative)"},"nr_conversations":{"title":"Nr Conversations","type":"integer","description":"Number of conversations with CSAT data"},"trend":{"allOf":[{"$ref":"#/components/schemas/TrendEnum"}],"description":"Trend direction"},"enabled":{"title":"Enabled","type":"boolean","description":"Whether CSAT tracking is enabled"}},"description":"Per-chatbot CSAT metric"},"CSATStats":{"title":"CSATStats","required":["value","change_30d","previous_period_difference","total_conversations","enabled"],"type":"object","properties":{"value":{"title":"Value","type":"number","description":"Average CSAT score (1.0-5.0)"},"change_30d":{"title":"Change 30D","type":"number","description":"Change in score over last 30 days"},"previous_period_difference":{"title":"Previous Period Difference","type":"number","description":"Difference between current and previous 30-day period"},"total_conversations":{"title":"Total Conversations","type":"integer","description":"Total conversations with CSAT data"},"enabled":{"title":"Enabled","type":"boolean","description":"Whether CSAT tracking is enabled"}},"description":"Customer satisfaction statistics"},"CardDetailsResponse":{"title":"CardDetailsResponse","required":["card_type","last_four_digits","expire_date","default"],"type":"object","properties":{"card_type":{"title":"Card Type","type":"string"},"last_four_digits":{"title":"Last Four Digits","type":"string"},"expire_date":{"title":"Expire Date","type":"string"},"default":{"title":"Default","type":"boolean"}}},"CardSlotPatchPayload":{"title":"CardSlotPatchPayload","required":["kb_id"],"type":"object","properties":{"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"card_type":{"$ref":"#/components/schemas/CardType"},"item":{"title":"Item","anyOf":[{"$ref":"#/components/schemas/ImageCardSlotPatchPayload"},{"$ref":"#/components/schemas/MetaLinkCardSlotPatchPayload"},{"$ref":"#/components/schemas/VideoCardSlotPatchPayload"}]},"order":{"title":"Order","type":"integer"}}},"CardSlotPayload":{"title":"CardSlotPayload","required":["kb_id","card_type","item","order"],"type":"object","properties":{"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"card_type":{"$ref":"#/components/schemas/CardType"},"item":{"title":"Item","anyOf":[{"$ref":"#/components/schemas/ImageCardSlotPayload"},{"$ref":"#/components/schemas/MetaLinkCardSlotPayload"},{"$ref":"#/components/schemas/VideoCardSlotPayload"}]},"order":{"title":"Order","type":"integer"}}},"CardSlotResponse":{"title":"CardSlotResponse","required":["id","user_id","kb_id","card_type","card","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"},"card_type":{"$ref":"#/components/schemas/CardType"},"card":{"title":"Card","anyOf":[{"$ref":"#/components/schemas/ImageCardSlotResponse"},{"$ref":"#/components/schemas/VideoCardSlotResponse"},{"$ref":"#/components/schemas/MetaLinkCardSlotResponse"}]},"order":{"title":"Order","type":"integer"},"disclaimer":{"title":"Disclaimer","type":"string"},"type":{"title":"Type","type":"string"}}},"CardType":{"title":"CardType","enum":["image","meta_link","video"],"description":"An enumeration."},"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"}}},"ChatConversationsDashboardResponse":{"title":"ChatConversationsDashboardResponse","required":["chat_conversations_number","chat_conversations_increase_number","graph_data","peak_hours","average_day"],"type":"object","properties":{"chat_conversations_number":{"title":"Chat Conversations Number","type":"string"},"chat_conversations_increase_number":{"title":"Chat Conversations Increase Number","type":"string"},"graph_data":{"title":"Graph Data","type":"array","items":{"type":"object"}},"peak_hours":{"title":"Peak Hours","type":"string"},"average_day":{"title":"Average Day","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"}}},"ChatbotConsumption":{"title":"ChatbotConsumption","required":["last_edited","knowledge_base","links_auto_refreshed"],"type":"object","properties":{"last_edited":{"title":"Last Edited","type":"string","description":"Last edit timestamp","format":"date-time"},"knowledge_base":{"title":"Knowledge Base","allOf":[{"$ref":"#/components/schemas/ResourceUsage"}],"description":"Character usage"},"links_auto_refreshed":{"title":"Links Auto Refreshed","allOf":[{"$ref":"#/components/schemas/ResourceUsage"}],"description":"Autorefresh points usage"}},"description":"Consumption metrics for a single chatbot"},"ChatbotData":{"title":"ChatbotData","required":["id","deployed","name","deployments","ai_voices","performance","consumption"],"type":"object","properties":{"id":{"title":"Id","type":"string","description":"Chatbot ID","format":"uuid"},"deployed":{"title":"Deployed","type":"boolean","description":"Whether chatbot has any deployments"},"name":{"title":"Name","type":"string","description":"Chatbot name"},"deployments":{"title":"Deployments","type":"array","items":{"type":"string"},"description":"List of deployment names"},"ai_voices":{"title":"Ai Voices","type":"array","items":{"type":"string"},"description":"List of AI voice names"},"performance":{"title":"Performance","allOf":[{"$ref":"#/components/schemas/ChatbotPerformance"}],"description":"Performance metrics"},"consumption":{"title":"Consumption","allOf":[{"$ref":"#/components/schemas/ChatbotConsumption"}],"description":"Consumption metrics"}},"description":"Complete data for a single chatbot"},"ChatbotOnboardingStepsResponse":{"title":"ChatbotOnboardingStepsResponse","required":["kb_id","add_memory","set_welcome_message","make_it_your_own","define_personality","deploy_chatbot"],"type":"object","properties":{"kb_id":{"title":"Kb Id","type":"string","description":"The ID of the knowledge base (chatbot).","format":"uuid"},"add_memory":{"title":"Add Memory","type":"boolean","description":"Whether the chatbot has files/content added."},"set_welcome_message":{"title":"Set Welcome Message","type":"boolean","description":"Whether the welcome message has been changed from the default."},"make_it_your_own":{"title":"Make It Your Own","type":"boolean","description":"Whether styling (colors, logo, etc.) has been customized."},"define_personality":{"title":"Define Personality","type":"boolean","description":"Whether a personality has been customized from defaults."},"deploy_chatbot":{"title":"Deploy Chatbot","type":"boolean","description":"Whether the chatbot has been shared/deployed."}},"description":"Response model for chatbot onboarding steps status."},"ChatbotPerformance":{"title":"ChatbotPerformance","required":["nr_conversations","resolution_rate","customer_satisfaction","historical_conversations"],"type":"object","properties":{"nr_conversations":{"title":"Nr Conversations","type":"integer","description":"Total conversations"},"last_active":{"title":"Last Active","type":"string","description":"Timestamp of last message","format":"date-time"},"resolution_rate":{"title":"Resolution Rate","allOf":[{"$ref":"#/components/schemas/ResolutionRateMetric"}],"description":"Resolution rate metrics"},"customer_satisfaction":{"title":"Customer Satisfaction","allOf":[{"$ref":"#/components/schemas/CSATMetric"}],"description":"CSAT metrics"},"historical_conversations":{"title":"Historical Conversations","type":"object","additionalProperties":{"type":"integer"},"description":"Daily conversation counts for last 30 days (YYYY-MM-DD: count)"}},"description":"Performance metrics for a single chatbot"},"ChatbotRepliesDashboardResponse":{"title":"ChatbotRepliesDashboardResponse","required":["chatbot_replies_number","chatbot_replies_increase_percentage","graph_data","average_messages_per_conversation","average_messages_per_day"],"type":"object","properties":{"chatbot_replies_number":{"title":"Chatbot Replies Number","type":"string"},"chatbot_replies_increase_percentage":{"title":"Chatbot Replies Increase Percentage","type":"string"},"graph_data":{"title":"Graph Data","type":"array","items":{"type":"object"}},"average_messages_per_conversation":{"title":"Average Messages Per Conversation","type":"string"},"average_messages_per_day":{"title":"Average Messages Per Day","type":"string"}}},"ChatbotsSection":{"title":"ChatbotsSection","required":["total_deployed","total","pagination","data"],"type":"object","properties":{"total_deployed":{"title":"Total Deployed","type":"integer","description":"Total number of deployed chatbots"},"total":{"title":"Total","type":"integer","description":"Total number of chatbots"},"pagination":{"title":"Pagination","allOf":[{"$ref":"#/components/schemas/PaginationInfo"}],"description":"Pagination info"},"data":{"title":"Data","type":"array","items":{"$ref":"#/components/schemas/ChatbotData"},"description":"Chatbot data"}},"description":"Chatbots section with pagination"},"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"}}},"CompanyAnalysis":{"title":"CompanyAnalysis","type":"object","properties":{"company_name":{"title":"Company Name","type":"string","description":"The official name of the company extracted from the website","example":"Acme Corporation"},"interesting_facts":{"title":"Interesting Facts","type":"array","items":{"type":"string"},"description":"AI-generated conversational facts about the company","example":["I see you are a platform for creating videos, that is so cool!","Your AI-powered editing features sound amazing!","I notice you serve over 10,000 customers worldwide!"]},"company_logo":{"title":"Company Logo","type":"string","description":"URL of the company logo extracted from the website","example":"https://example.com/logo.png"}},"description":"AI-generated analysis of the company's website content."},"CompanyPatchPayload":{"title":"CompanyPatchPayload","type":"object","properties":{"website":{"title":"Website","maxLength":65536,"minLength":1,"type":"string","format":"uri"},"logo":{"title":"Logo","type":"string"},"icon":{"title":"Icon","type":"string"},"brand_color":{"title":"Brand Color","type":"string"},"element_color":{"title":"Element Color","type":"string"},"surface_color":{"title":"Surface Color","type":"string"},"positive_color":{"title":"Positive Color","type":"string"},"alert_color":{"title":"Alert Color","type":"string"},"negative_color":{"title":"Negative Color","type":"string"},"font_size":{"title":"Font Size","type":"integer"},"font_family":{"title":"Font Family","type":"string"},"custom_css":{"title":"Custom Css","type":"string"}}},"CompanyPayload":{"title":"CompanyPayload","required":["website","brand_color","element_color","surface_color"],"type":"object","properties":{"website":{"title":"Website","maxLength":65536,"minLength":1,"type":"string","format":"uri"},"logo":{"title":"Logo","type":"string"},"icon":{"title":"Icon","type":"string"},"brand_color":{"title":"Brand Color","type":"string"},"element_color":{"title":"Element Color","type":"string"},"surface_color":{"title":"Surface Color","type":"string"}}},"CompanyResponse":{"title":"CompanyResponse","required":["user_id","website","logo","icon","brand_color","element_color","surface_color","positive_color","alert_color","negative_color","font_size","font_family","custom_css"],"type":"object","properties":{"user_id":{"title":"User Id","type":"string","format":"uuid"},"website":{"title":"Website","type":"string"},"logo":{"title":"Logo","type":"string"},"icon":{"title":"Icon","type":"string"},"brand_color":{"title":"Brand Color","type":"string"},"element_color":{"title":"Element Color","type":"string"},"surface_color":{"title":"Surface Color","type":"string"},"positive_color":{"title":"Positive Color","type":"string"},"alert_color":{"title":"Alert Color","type":"string"},"negative_color":{"title":"Negative Color","type":"string"},"font_size":{"title":"Font Size","type":"integer"},"font_family":{"title":"Font Family","type":"string"},"custom_css":{"title":"Custom Css","type":"string"}}},"ConfigureTwilioWhatsAppRequest":{"title":"ConfigureTwilioWhatsAppRequest","required":["twilio_phone_number","kb_id"],"type":"object","properties":{"twilio_phone_number":{"title":"Twilio Phone Number","type":"string"},"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"name":{"title":"Name","type":"string"},"model_type":{"allOf":[{"$ref":"#/components/schemas/ModelType"}],"default":"gpt-4"},"team_id":{"title":"Team Id","type":"string","format":"uuid"},"use_user_credentials":{"title":"Use User Credentials","type":"boolean","default":true}},"description":"Request model for configuring Twilio WhatsApp."},"ConfigureTwilioWhatsAppResponse":{"title":"ConfigureTwilioWhatsAppResponse","required":["status","message","checks_performed","updates_made","webhook_url"],"type":"object","properties":{"status":{"title":"Status","type":"string"},"message":{"title":"Message","type":"string"},"integration_id":{"title":"Integration Id","type":"string"},"checks_performed":{"title":"Checks Performed","type":"object"},"updates_made":{"title":"Updates Made","type":"array","items":{"type":"string"}},"webhook_url":{"title":"Webhook Url","type":"string"},"setup_instructions":{"title":"Setup Instructions","type":"array","items":{"type":"string"}},"validation_errors":{"title":"Validation Errors","type":"array","items":{"type":"string"}},"next_steps":{"title":"Next Steps","type":"array","items":{"type":"string"}},"missing_requirements":{"title":"Missing Requirements","type":"array","items":{"type":"string"}}},"description":"Response model for Twilio WhatsApp configuration."},"ConnectionStatsResponse":{"title":"ConnectionStatsResponse","required":["total_avatars","total_integrations","voice_agents"],"type":"object","properties":{"total_avatars":{"title":"Total Avatars","type":"integer"},"total_integrations":{"title":"Total Integrations","type":"integer"},"voice_agents":{"title":"Voice Agents","type":"integer"}}},"ConsumptionStatistics":{"title":"ConsumptionStatistics","required":["credits_used","chatbots_used","links_auto_refreshed"],"type":"object","properties":{"credits_used":{"title":"Credits Used","allOf":[{"$ref":"#/components/schemas/ResourceUsage"}],"description":"Credits usage"},"chatbots_used":{"title":"Chatbots Used","allOf":[{"$ref":"#/components/schemas/ResourceUsage"}],"description":"Chatbots usage"},"links_auto_refreshed":{"title":"Links Auto Refreshed","allOf":[{"$ref":"#/components/schemas/ResourceUsage"}],"description":"Autorefresh links usage"}},"description":"Account-wide consumption statistics"},"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"},"has_resolution":{"title":"Has Resolution","type":"boolean"},"has_csat":{"title":"Has Csat","type":"boolean"},"transferred":{"title":"Transferred","type":"boolean"},"search_query":{"title":"Search Query","type":"string"}}},"ConversationInputField":{"title":"ConversationInputField","required":["input_name","input_type","input_label","input_placeholder","is_mandatory"],"type":"object","properties":{"id":{"title":"Input ID","type":"string","description":"The ID of the input field.","format":"uuid"},"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_options":{"title":"Input Options","type":"array","items":{"type":"string"},"description":"The options of the input field."},"input_value":{"title":"Input Value","type":"string","description":"The value of the input field."},"completed":{"title":"Is Completed","type":"boolean","description":"Flag indicating whether the input field is completed.","default":false}}},"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"},"created_by":{"title":"Created By","type":"string"},"client_full_name":{"title":"Client Full Name","type":"string"},"client_email":{"title":"Client Email","type":"string"},"from_page":{"title":"From Page","type":"string"},"csat_completed":{"title":"Csat Completed","type":"boolean"},"csat_score":{"title":"Csat Score","type":"string"},"csat_ai_rated":{"title":"Csat Ai Rated","type":"boolean"},"resolution_status":{"title":"Resolution Status","type":"string"},"transferred":{"title":"Transferred","type":"boolean"}}},"CreateAutorefreshPayload":{"title":"CreateAutorefreshPayload","required":["refresh_period"],"type":"object","properties":{"refresh_period":{"title":"Refresh Period","allOf":[{"$ref":"#/components/schemas/RefreshPeriod"}],"description":"How often the file should be refreshed (daily, every_3_days, weekly)"},"max_runs":{"title":"Maximum Runs","maximum":1000.0,"minimum":1.0,"type":"integer","description":"Optional limit on total number of refresh runs (null = unlimited)"}},"description":"Payload for creating a new autorefresh schedule."},"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"}}},"CreateTaxIdRequest":{"title":"CreateTaxIdRequest","required":["type","value"],"type":"object","properties":{"type":{"title":"Type","type":"string"},"value":{"title":"Value","type":"string"}}},"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"}}},"CsatDashboardResponse":{"title":"CsatDashboardResponse","required":["csat_number","csat_increase_number","graph_data","submissions_graph_data","feedback_options","nr_conversations"],"type":"object","properties":{"csat_number":{"title":"Csat Number","type":"string"},"csat_increase_number":{"title":"Csat Increase Number","type":"string"},"graph_data":{"title":"Graph Data","type":"array","items":{"type":"object"}},"submissions_graph_data":{"title":"Submissions Graph Data","type":"array","items":{"type":"object"}},"feedback_options":{"title":"Feedback Options","type":"object","additionalProperties":{"type":"string"}},"nr_conversations":{"title":"Nr Conversations","type":"integer","description":"Number of conversations with CSAT data"}}},"CustomerPortalRequest":{"title":"CustomerPortalRequest","required":["email"],"type":"object","properties":{"email":{"title":"Email","type":"string","format":"email"}}},"CustomizationResponse":{"title":"CustomizationResponse","required":["sharing_link","new_design_activated"],"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"},"new_design_activated":{"title":"New Design Activated","type":"boolean"}}},"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"}}},"DashboardResponse":{"title":"DashboardResponse","required":["resolution_rate","csat","chat_conversations","voice_conversations","unique_users","chatbot_replies","time_saved","value_generated","lead_captured","deployed"],"type":"object","properties":{"resolution_rate":{"$ref":"#/components/schemas/ResolutionRateDashboardResponse"},"csat":{"$ref":"#/components/schemas/CsatDashboardResponse"},"chat_conversations":{"$ref":"#/components/schemas/ChatConversationsDashboardResponse"},"voice_conversations":{"$ref":"#/components/schemas/VoiceConversationsDashboardResponse"},"unique_users":{"$ref":"#/components/schemas/UniqueUsersDashboardResponse"},"chatbot_replies":{"$ref":"#/components/schemas/ChatbotRepliesDashboardResponse"},"time_saved":{"$ref":"#/components/schemas/TimeSavedDashboardResponse"},"value_generated":{"$ref":"#/components/schemas/ValueGeneratedDashboardResponse"},"lead_captured":{"$ref":"#/components/schemas/LeadCapturedDashboardResponse"},"deployed":{"title":"Deployed","type":"boolean"}}},"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"}}}},"DeploymentDeleteSelectedPayload":{"title":"DeploymentDeleteSelectedPayload","required":["deployment_ids"],"type":"object","properties":{"deployment_ids":{"title":"Deployment Ids","type":"array","items":{"type":"string","format":"uuid"}}}},"DeploymentListResponse":{"title":"DeploymentListResponse","required":["results","pagination","total_count"],"type":"object","properties":{"results":{"title":"Results","type":"array","items":{"$ref":"#/components/schemas/DeploymentResponse"}},"pagination":{"$ref":"#/components/schemas/Pagination"},"total_count":{"title":"Total Count","type":"integer"}}},"DeploymentPatchPayload":{"title":"DeploymentPatchPayload","type":"object","properties":{"deployment_name":{"title":"Deployment Name","type":"string"},"personality_id":{"title":"Personality Id","type":"string","format":"uuid"},"model_type":{"$ref":"#/components/schemas/ModelType"},"allowed_domains":{"title":"Allowed Domains","type":"array","items":{"type":"string"}},"allow_all_domains":{"title":"Allow All Domains","type":"boolean"}}},"DeploymentPostPayload":{"title":"DeploymentPostPayload","required":["deployment_name","personality_id","model_type","allow_all_domains"],"type":"object","properties":{"deployment_name":{"title":"Deployment Name","type":"string"},"personality_id":{"title":"Personality Id","type":"string","format":"uuid"},"model_type":{"$ref":"#/components/schemas/ModelType"},"allowed_domains":{"title":"Allowed Domains","type":"array","items":{"type":"string"}},"allow_all_domains":{"title":"Allow All Domains","type":"boolean"}}},"DeploymentResponse":{"title":"DeploymentResponse","required":["id","date_created","date_updated","kb_id","deployment_name","model_type","token"],"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":"Kb Id","type":"string","format":"uuid"},"deployment_name":{"title":"Deployment Name","type":"string"},"model_type":{"$ref":"#/components/schemas/ModelType"},"allowed_domains":{"title":"Allowed Domains","type":"array","items":{"type":"string"}},"allow_all_domains":{"title":"Allow All Domains","type":"boolean"},"token":{"title":"Token","type":"string"},"personality_id":{"title":"Personality Id","type":"string","format":"uuid"},"last_active":{"title":"Last Active","type":"string","format":"date-time"}}},"DismissableCardName":{"title":"DismissableCardName","enum":["preview","personalities","knowledge","styling","deployments","insights","core_settings","integrations"],"description":"An enumeration."},"DismissableCardsResponse":{"title":"DismissableCardsResponse","required":["user_id","kb_id","preview","personalities","knowledge","styling","deployments","insights","core_settings","integrations"],"type":"object","properties":{"user_id":{"title":"User Id","type":"string","format":"uuid"},"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"preview":{"title":"Preview","type":"boolean"},"personalities":{"title":"Personalities","type":"boolean"},"knowledge":{"title":"Knowledge","type":"boolean"},"styling":{"title":"Styling","type":"boolean"},"deployments":{"title":"Deployments","type":"boolean"},"insights":{"title":"Insights","type":"boolean"},"core_settings":{"title":"Core Settings","type":"boolean"},"integrations":{"title":"Integrations","type":"boolean"}}},"DynamicLeadGenPayload":{"title":"DynamicLeadGenPayload","type":"object","properties":{"question":{"title":"Question","type":"string"},"answer":{"title":"Answer","type":"string"},"input_id":{"title":"Input Id","type":"string","format":"uuid"},"stop_after":{"title":"Stop After","type":"integer"}}},"DynamicLeadGenResponse":{"title":"DynamicLeadGenResponse","required":["finished"],"type":"object","properties":{"next_question":{"title":"Next Question","type":"string"},"next_question_input_id":{"title":"Next Question Input Id","type":"string","format":"uuid"},"finished":{"title":"Finished","type":"boolean"}}},"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"}}]}}},"ErrorResponse":{"title":"ErrorResponse","required":["detail"],"type":"object","properties":{"detail":{"title":"Detail","type":"string","description":"Error message"},"error_code":{"title":"Error Code","type":"string","description":"Error code for programmatic handling"},"timestamp":{"title":"Timestamp","type":"string","description":"Error timestamp"}},"description":"Standard error response model."},"ExchangeCodeRequest":{"title":"ExchangeCodeRequest","required":["code"],"type":"object","properties":{"code":{"title":"Code","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"},"start_index":{"title":"Start Index","type":"integer","description":"The starting index of vectors in Pinecone for this file."},"end_index":{"title":"End Index","type":"integer","description":"The ending index of vectors in Pinecone for this file."},"source":{"title":"Source","type":"string","description":"The source of the file."},"full_url":{"title":"Full URL","type":"string","description":"The full URL of the file."}}},"FileMetadata":{"title":"FileMetadata","required":["id","url","source","file_id","filename","can_auto_refresh","num_chars","type"],"type":"object","properties":{"id":{"title":"Id","type":"string","description":"File UUID"},"url":{"title":"Url","type":"string","description":"Source URL of the file"},"source":{"title":"Source","type":"string","description":"Source type (url, google_docs, google_drive, s3, temp_file)"},"file_id":{"title":"File Id","type":"string","description":"Internal file ID for vectors"},"start_index":{"title":"Start Index","type":"integer","description":"Starting vector index"},"end_index":{"title":"End Index","type":"integer","description":"Ending vector index"},"date_updated":{"title":"Date Updated","type":"string","description":"Last update timestamp"},"filename":{"title":"Filename","type":"string","description":"Display filename"},"status":{"title":"Status","type":"string","description":"File status","default":"active"},"can_auto_refresh":{"title":"Can Auto Refresh","type":"boolean","description":"Whether file can be auto-refreshed"},"num_chars":{"title":"Num Chars","type":"integer","description":"Number of characters in file"},"type":{"title":"Type","type":"string","description":"File MIME type"}},"description":"File metadata for auto-refresh operations."},"FileRetrainResponse":{"title":"FileRetrainResponse","required":["message","file_id","file_name"],"type":"object","properties":{"success":{"title":"Success","type":"boolean","description":"Whether the retrain request was successful","default":true},"message":{"title":"Message","type":"string","description":"Human-readable success message"},"job_id":{"title":"Job ID","type":"string","description":"Jobs Manager job ID for tracking","format":"uuid"},"file_id":{"title":"File ID","type":"string","description":"ID of the file being retrained","format":"uuid"},"file_name":{"title":"File Name","type":"string","description":"Name/URL of the file being retrained"},"estimated_completion":{"title":"Estimated Completion","type":"string","description":"Estimated completion time"}},"description":"Response model for manual file retrain endpoint."},"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."},"FileUpdatePayload":{"title":"FileUpdatePayload","required":["file_id","start_index","end_index","num_chars"],"type":"object","properties":{"file_id":{"title":"File Id","type":"string","description":"File UUID"},"start_index":{"title":"Start Index","type":"integer","description":"New start index in vector database"},"end_index":{"title":"End Index","type":"integer","description":"New end index in vector database"},"num_chars":{"title":"Num Chars","type":"integer","description":"Total character count of processed content"}},"description":"Payload for updating file after auto-refresh."},"FileUpdateResponse":{"title":"FileUpdateResponse","required":["file_id","start_index","end_index","num_chars"],"type":"object","properties":{"file_id":{"title":"File Id","type":"string","description":"Updated file UUID"},"start_index":{"title":"Start Index","type":"integer","description":"Updated start index"},"end_index":{"title":"End Index","type":"integer","description":"Updated end index"},"num_chars":{"title":"Num Chars","type":"integer","description":"Updated character count"},"status":{"title":"Status","type":"string","description":"Update status","default":"updated"}},"description":"Response for file update after auto-refresh."},"FileUploadResponse":{"title":"FileUploadResponse","required":["type","url"],"type":"object","properties":{"type":{"title":"Type","type":"string"},"url":{"title":"Url","type":"string"}}},"FileWithAutorefresh":{"title":"FileWithAutorefresh","required":["id","date_created","date_updated","name","path","kb_id","type","size","num_chars","can_autorefresh","can_retrain","has_autorefresh"],"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"},"path":{"title":"Path","type":"string"},"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"type":{"title":"Type","type":"string"},"size":{"title":"Size","type":"integer"},"num_chars":{"title":"Num Chars","type":"integer"},"thumbnail":{"title":"Thumbnail","type":"string"},"file_metadata_id":{"title":"File Metadata Id","type":"string","format":"uuid"},"start_index":{"title":"Start Index","type":"integer"},"end_index":{"title":"End Index","type":"integer"},"source":{"title":"Source","type":"string"},"full_url":{"title":"Full Url","type":"string"},"can_autorefresh":{"title":"Can Autorefresh","type":"boolean","description":"Whether this file can be auto-refreshed (based on source type and URL)"},"can_retrain":{"title":"Can Retrain","type":"boolean","description":"Whether this file can be manually retrained (same logic as autorefresh)"},"has_autorefresh":{"title":"Has Autorefresh","type":"boolean","description":"Whether this file has an active autorefresh schedule"},"autorefresh_schedule":{"title":"Autorefresh Schedule","type":"object","description":"Current autorefresh schedule details if any"}},"description":"File model enhanced with autorefresh information."},"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"}}},"FlagHHConversationPayload":{"title":"FlagHHConversationPayload","required":["user_email","user_name"],"type":"object","properties":{"user_email":{"title":"User Email","type":"string"},"user_name":{"title":"User Name","type":"string"},"parent_url":{"title":"Parent Url","type":"string"}}},"GeneralStatisticsResponse":{"title":"GeneralStatisticsResponse","required":["online_since","credits_used","unique_users","conversations","messages","satisfaction_rate","users_with_flagged_conversations","flagged_messages"],"type":"object","properties":{"online_since":{"title":"Online Since","type":"string","format":"date-time"},"credits_used":{"title":"Credits Used","type":"integer"},"unique_users":{"title":"Unique Users","type":"integer"},"conversations":{"title":"Conversations","type":"integer"},"messages":{"title":"Messages","type":"integer"},"satisfaction_rate":{"title":"Satisfaction Rate","type":"integer"},"users_with_flagged_conversations":{"title":"Users With Flagged Conversations","type":"integer"},"flagged_messages":{"title":"Flagged Messages","type":"integer"}}},"GoogleFontResponse":{"title":"GoogleFontResponse","required":["font_name","font_styles","import_url"],"type":"object","properties":{"font_name":{"title":"Font Name","type":"string"},"font_styles":{"title":"Font Styles","type":"array","items":{"type":"string"}},"import_url":{"title":"Import Url","type":"string"}}},"GoogleIssueCodeRequest":{"title":"GoogleIssueCodeRequest","required":["email"],"type":"object","properties":{"email":{"title":"Email","type":"string","format":"email"},"remember_me":{"title":"Remember Me","type":"boolean","default":false}}},"GoogleSignupUserRead":{"title":"GoogleSignupUserRead","required":["id","full_name","first_name","last_name","email","access_token"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"full_name":{"title":"Full Name","type":"string"},"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"},"access_token":{"title":"Access Token","type":"string"}}},"HHCategoryResponse":{"title":"HHCategoryResponse","required":["id","name","description","color","organization_id","default"],"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"},"organization_id":{"title":"Organization Id","type":"string","format":"uuid"},"default":{"title":"Default","type":"boolean"},"icon":{"title":"Icon","type":"string"}}},"HHConversation":{"title":"HHConversation","required":["name","conversation_id","organization_id","kb_id","request_id","category_id","state","is_flagged"],"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":"Conversation Name","type":"string","description":"The name of the conversation."},"conversation_id":{"title":"Conversation ID","type":"string","description":"The unique identifier for the conversation.","format":"uuid"},"user_id":{"title":"User Organization ID","type":"string","description":"The ID of the associated user organization, if any.","format":"uuid"},"organization_id":{"title":"Organization ID","type":"string","description":"The ID of the organization associated with the conversation.","format":"uuid"},"kb_id":{"title":"Knowledge Base ID","type":"string","description":"The ID of the knowledge base associated with the conversation.","format":"uuid"},"request_time":{"title":"Request Time","type":"string","description":"The time when the request for this conversation was made.","format":"date-time"},"request_id":{"title":"Request ID","type":"integer","description":"The ID of the request associated with this conversation."},"category_id":{"title":"Agent Category ID","type":"string","description":"The ID of the agent category handling this conversation.","format":"uuid"},"state":{"title":"State","allOf":[{"$ref":"#/components/schemas/HHConversationStateType"}],"description":"The current state of the conversation."},"is_flagged":{"title":"Is Flagged","type":"boolean","description":"Indicates whether the conversation is flagged."},"flagged_date":{"title":"Flagged Date","type":"string","description":"The date when the conversation was flagged, if applicable.","format":"date-time"},"resolved_date":{"title":"Resolved Date","type":"string","description":"The date when the conversation was resolved, if applicable.","format":"date-time"},"last_seen_by_user":{"title":"Last Seen By User","type":"string","description":"The timestamp of when the conversation was last seen by the user.","format":"date-time"},"last_seen_by_agent":{"title":"Last Seen By Agent","type":"string","description":"The timestamp of when the conversation was last seen by the agent.","format":"date-time"},"start_live_agent_date":{"title":"Start Live Agent Date","type":"string","description":"The date where the live agent conversation started.","format":"date-time"},"end_live_agent_date":{"title":"End Live Agent Date","type":"string","description":"The date where the live agent conversation ended, if applicable.","format":"date-time"},"user_name":{"title":"User Name","type":"string","description":"The name of the user who requested live agent."},"user_email":{"title":"User Email","type":"string","description":"The email of the user who requested live agent."},"parent_url":{"title":"Parent URL","type":"string","description":"The URL of the parent page."}}},"HHConversationResponse":{"title":"HHConversationResponse","required":["id","name","conversation_id","organization_id","kb_id","request_id","category_id","state","is_flagged"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"name":{"title":"Name","type":"string"},"conversation_id":{"title":"Conversation Id","type":"string","format":"uuid"},"user_id":{"title":"User Id","type":"string","format":"uuid"},"organization_id":{"title":"Organization Id","type":"string","format":"uuid"},"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"request_id":{"title":"Request Id","type":"integer"},"request_time":{"title":"Request Time","type":"string","format":"date-time"},"category_id":{"title":"Category Id","type":"string","format":"uuid"},"state":{"$ref":"#/components/schemas/HHConversationStateType"},"is_flagged":{"title":"Is Flagged","type":"boolean"},"flagged_date":{"title":"Flagged Date","type":"string","format":"date-time"},"resolved_date":{"title":"Resolved Date","type":"string","format":"date-time"},"last_seen_by_user":{"title":"Last Seen By User","type":"string","format":"date-time"},"last_seen_by_agent":{"title":"Last Seen By Agent","type":"string","format":"date-time"},"start_live_agent_date":{"title":"Start Live Agent Date","type":"string","format":"date-time"},"end_live_agent_date":{"title":"End Live Agent Date","type":"string","format":"date-time"},"user_name":{"title":"User Name","type":"string"},"user_email":{"title":"User Email","type":"string"},"parent_url":{"title":"Parent Url","type":"string"},"last_messages":{"title":"Last Messages","type":"array","items":{"$ref":"#/components/schemas/Message"},"default":[]}}},"HHConversationStateType":{"title":"HHConversationStateType","enum":["taken","waiting","resolved","ai","closed","dropped"],"description":"An enumeration."},"HHDashboardResponse":{"title":"HHDashboardResponse","required":["conversations","categories","statistics","members"],"type":"object","properties":{"conversations":{"title":"Conversations","type":"array","items":{"$ref":"#/components/schemas/HHConversationResponse"}},"categories":{"title":"Categories","type":"array","items":{"$ref":"#/components/schemas/HHCategoryResponse"}},"statistics":{"title":"Statistics","type":"object"},"members":{"title":"Members","type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/HHOwnerUserOrganizationResponse"},{"$ref":"#/components/schemas/HHMemberUserOrganizationResponse"}]}}}},"HHInsightsResponse":{"title":"HHInsightsResponse","required":["total_conversations","waiting_requests","live_conversations","responses_by_you","response_rate","average_waiting_time","average_conversation_duration","tickets_by_category","categories","average_tickets_weekly"],"type":"object","properties":{"total_conversations":{"title":"Total Conversations","type":"integer"},"waiting_requests":{"title":"Waiting Requests","type":"integer"},"live_conversations":{"title":"Live Conversations","type":"integer"},"responses_by_you":{"title":"Responses By You","type":"integer"},"response_rate":{"title":"Response Rate","type":"integer"},"average_waiting_time":{"title":"Average Waiting Time","type":"integer"},"average_conversation_duration":{"title":"Average Conversation Duration","type":"integer"},"tickets_by_category":{"title":"Tickets By Category","type":"object","additionalProperties":{"type":"number"}},"categories":{"title":"Categories","type":"array","items":{"$ref":"#/components/schemas/HHCategoryResponse"}},"average_tickets_weekly":{"title":"Average Tickets Weekly","type":"object","additionalProperties":{"type":"integer"}}}},"HHMemberUserOrganizationResponse":{"title":"HHMemberUserOrganizationResponse","required":["id","name","image","accepted","user_response"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"name":{"title":"Name","type":"string"},"image":{"title":"Image","type":"string"},"accepted":{"title":"Accepted","type":"boolean"},"user_response":{"$ref":"#/components/schemas/UserResponse"},"agent_title":{"title":"Agent Title","type":"string"}}},"HHMessagesListResponse":{"title":"HHMessagesListResponse","required":["results","conversation"],"type":"object","properties":{"results":{"title":"Results","type":"array","items":{"type":"object"}},"conversation":{"$ref":"#/components/schemas/HHConversation"}}},"HHNotificationSettingsPatchPayload":{"title":"HHNotificationSettingsPatchPayload","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"}}},"HHNotificationSettingsResponse":{"title":"HHNotificationSettingsResponse","required":["user_id","organization_id"],"type":"object","properties":{"user_id":{"title":"User Id","type":"string","format":"uuid"},"organization_id":{"title":"Organization Id","type":"string","format":"uuid"},"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"}}},"HHOrganizationCategoryPatchPayload":{"title":"HHOrganizationCategoryPatchPayload","type":"object","properties":{"name":{"title":"Name","type":"string"},"description":{"title":"Description","type":"string"},"color":{"title":"Color","type":"string"},"default":{"title":"Default","type":"boolean"},"icon":{"title":"Icon","type":"string"}}},"HHOrganizationCategoryPayload":{"title":"HHOrganizationCategoryPayload","required":["name","organization_id","description","color","default"],"type":"object","properties":{"name":{"title":"Name","type":"string"},"organization_id":{"title":"Organization Id","type":"string","format":"uuid"},"description":{"title":"Description","type":"string"},"color":{"title":"Color","type":"string"},"default":{"title":"Default","type":"boolean"},"icon":{"title":"Icon","type":"string"}}},"HHOrganizationPatchPayload":{"title":"HHOrganizationPatchPayload","type":"object","properties":{"name":{"title":"Name","type":"string"},"icon":{"title":"Icon","type":"string"}}},"HHOrganizationPayload":{"title":"HHOrganizationPayload","required":["name"],"type":"object","properties":{"name":{"title":"Name","type":"string"},"icon":{"title":"Icon","type":"string"}}},"HHOrganizationResponse":{"title":"HHOrganizationResponse","required":["organization_id","owner_id","name","members"],"type":"object","properties":{"organization_id":{"title":"Organization Id","type":"string","format":"uuid"},"owner_id":{"title":"Owner Id","type":"string","format":"uuid"},"name":{"title":"Name","type":"string"},"icon":{"title":"Icon","type":"string"},"members":{"title":"Members","type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/HHOwnerUserOrganizationResponse"},{"$ref":"#/components/schemas/HHMemberUserOrganizationResponse"}]}}}},"HHOwnerUserOrganizationResponse":{"title":"HHOwnerUserOrganizationResponse","required":["id","name","image","organization_id","permissions","accepted","allowed_chatbots","user_response"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"name":{"title":"Name","type":"string"},"image":{"title":"Image","type":"string"},"organization_id":{"title":"Organization Id","type":"string","format":"uuid"},"permissions":{"$ref":"#/components/schemas/HHUserOrganizationPermissionsType"},"accepted":{"title":"Accepted","type":"boolean"},"allowed_chatbots":{"title":"Allowed Chatbots","type":"array","items":{"$ref":"#/components/schemas/KnowledgeBase"}},"user_response":{"$ref":"#/components/schemas/UserResponse"},"agent_title":{"title":"Agent Title","type":"string"}}},"HHQuickResponseListResponse":{"title":"HHQuickResponseListResponse","required":["results"],"type":"object","properties":{"results":{"title":"Results","type":"array","items":{"$ref":"#/components/schemas/HHQuickResponseResponse"}}}},"HHQuickResponsePatchPayload":{"title":"HHQuickResponsePatchPayload","type":"object","properties":{"title":{"title":"Title","type":"string"},"content":{"title":"Content","type":"string"}}},"HHQuickResponsePayload":{"title":"HHQuickResponsePayload","required":["organization_id","title","content"],"type":"object","properties":{"organization_id":{"title":"Organization Id","type":"string","format":"uuid"},"title":{"title":"Title","type":"string"},"content":{"title":"Content","type":"string"}}},"HHQuickResponseResponse":{"title":"HHQuickResponseResponse","required":["id","user_id","organization_id","title","content"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"user_id":{"title":"User Id","type":"string","format":"uuid"},"organization_id":{"title":"Organization Id","type":"string","format":"uuid"},"title":{"title":"Title","type":"string"},"content":{"title":"Content","type":"string"}}},"HHUserOrganization":{"title":"HHUserOrganization","required":["user_id","organization_id","name","image","email","permissions","invitation_token","accepted","all_knowledge_bases"],"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.","format":"uuid"},"organization_id":{"title":"Organization ID","type":"string","description":"The ID of the Organization.","format":"uuid"},"name":{"title":"Name","type":"string","description":"The name of UserOrganization."},"image":{"title":"Image","type":"string","description":"The image of UserOrganization."},"email":{"title":"Email","type":"string","description":"The email of UserOrganization."},"permissions":{"title":"Permissions of UserOrganization","allOf":[{"$ref":"#/components/schemas/HHUserOrganizationPermissionsType"}],"description":"Defines the type of permission. Can be view_only or chat_agent."},"invitation_token":{"title":"Invitation Token","type":"string","description":"The token used for the invitation.","format":"uuid"},"accepted":{"title":"Accepted","type":"boolean","description":"Flag indicating whether the user has accepted the invitation."},"all_knowledge_bases":{"title":"All Knowledge Bases","type":"boolean","description":"Flag indicating whether the user has access to all knowledge-bases or not."},"agent_title":{"title":"Agent Title","type":"string","description":"The title of the agent."}}},"HHUserOrganizationAddResponse":{"title":"HHUserOrganizationAddResponse","required":["user_organization","user_response","chatbots","user_exists"],"type":"object","properties":{"user_organization":{"$ref":"#/components/schemas/HHUserOrganizationResponse"},"user_response":{"$ref":"#/components/schemas/UserResponse"},"chatbots":{"title":"Chatbots","type":"array","items":{"$ref":"#/components/schemas/KnowledgeBase"}},"user_exists":{"title":"User Exists","type":"boolean"},"user_exists_message":{"title":"User Exists Message","type":"string"}}},"HHUserOrganizationMePatchPayload":{"title":"HHUserOrganizationMePatchPayload","type":"object","properties":{"name":{"title":"Name","type":"string"},"image":{"title":"Image","type":"string"},"agent_title":{"title":"Agent Title","type":"string"}}},"HHUserOrganizationPatchPayload":{"title":"HHUserOrganizationPatchPayload","type":"object","properties":{"permissions":{"$ref":"#/components/schemas/HHUserOrganizationPermissionsType"},"chatbots":{"title":"Chatbots","type":"array","items":{"type":"string","format":"uuid"}},"all_knowledge_bases":{"title":"All Knowledge Bases","type":"boolean"},"agent_title":{"title":"Agent Title","type":"string"},"name":{"title":"Name","type":"string"}}},"HHUserOrganizationPatchResponse":{"title":"HHUserOrganizationPatchResponse","required":["user_organization","user_response","chatbots"],"type":"object","properties":{"user_organization":{"$ref":"#/components/schemas/HHUserOrganizationResponse"},"user_response":{"$ref":"#/components/schemas/UserResponse"},"chatbots":{"title":"Chatbots","type":"array","items":{"$ref":"#/components/schemas/KnowledgeBase"}}}},"HHUserOrganizationPayload":{"title":"HHUserOrganizationPayload","required":["name","email","all_knowledge_bases","chatbots"],"type":"object","properties":{"name":{"title":"Name","type":"string"},"email":{"title":"Email","type":"string"},"permissions":{"allOf":[{"$ref":"#/components/schemas/HHUserOrganizationPermissionsType"}],"default":"chat_agent"},"all_knowledge_bases":{"title":"All Knowledge Bases","type":"boolean"},"chatbots":{"title":"Chatbots","type":"array","items":{"type":"string","format":"uuid"}},"agent_title":{"title":"Agent Title","type":"string"}}},"HHUserOrganizationPermissionsType":{"title":"HHUserOrganizationPermissionsType","enum":["view_only","chat_agent"],"description":"An enumeration."},"HHUserOrganizationResponse":{"title":"HHUserOrganizationResponse","required":["id","name","image","organization_id","permissions","accepted","invitation_token"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"name":{"title":"Name","type":"string"},"image":{"title":"Image","type":"string"},"organization_id":{"title":"Organization Id","type":"string","format":"uuid"},"permissions":{"$ref":"#/components/schemas/HHUserOrganizationPermissionsType"},"accepted":{"title":"Accepted","type":"boolean"},"invitation_token":{"title":"Invitation Token","type":"string","format":"uuid"},"agent_title":{"title":"Agent Title","type":"string"}}},"HTTPValidationError":{"title":"HTTPValidationError","type":"object","properties":{"detail":{"title":"Detail","type":"array","items":{"$ref":"#/components/schemas/ValidationError"}}}},"ImageCardSlotPatchPayload":{"title":"ImageCardSlotPatchPayload","type":"object","properties":{"url":{"title":"Url","type":"string"},"title":{"title":"Title","type":"string"},"description":{"title":"Description","type":"string"}}},"ImageCardSlotPayload":{"title":"ImageCardSlotPayload","required":["url"],"type":"object","properties":{"url":{"title":"Url","type":"string"},"image_url":{"title":"Image Url","type":"string"},"title":{"title":"Title","type":"string"},"description":{"title":"Description","type":"string"}}},"ImageCardSlotResponse":{"title":"ImageCardSlotResponse","required":["id","card_slot_id","url","image_url"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"card_slot_id":{"title":"Card Slot Id","type":"string","format":"uuid"},"url":{"title":"Url","type":"string"},"image_url":{"title":"Image Url","type":"string"},"image_title":{"title":"Image Title","type":"string"},"image_description":{"title":"Image Description","type":"string"}}},"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"}}},"InitialMessages":{"title":"InitialMessages","required":["content","type","status","role"],"type":"object","properties":{"content":{"title":"Content","type":"string"},"type":{"title":"Type","type":"string"},"status":{"title":"Status","type":"string"},"role":{"title":"Role","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."},"IntegrationToggleResponse":{"title":"IntegrationToggleResponse","required":["integration_id","active","message"],"type":"object","properties":{"integration_id":{"title":"Integration Id","type":"string","format":"uuid"},"active":{"title":"Active","type":"boolean"},"message":{"title":"Message","type":"string"}},"description":"Response model for integration toggle."},"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"}}},"InvalidateCacheRequest":{"title":"InvalidateCacheRequest","type":"object","properties":{"dante_user_id":{"title":"Dante User Id","type":"string","format":"uuid"},"kb_id":{"title":"Kb Id","type":"string","format":"uuid"}}},"InvoiceDetailsResponse":{"title":"InvoiceDetailsResponse","required":["invoice_id","date","amount","status"],"type":"object","properties":{"invoice_id":{"title":"Invoice Id","type":"string"},"date":{"title":"Date","type":"string","format":"date-time"},"amount":{"title":"Amount","type":"number"},"status":{"title":"Status","type":"string"},"download_url":{"title":"Download Url","type":"string"}}},"InvoicesResponse":{"title":"InvoicesResponse","required":["results"],"type":"object","properties":{"results":{"title":"Results","type":"array","items":{"$ref":"#/components/schemas/InvoiceDetailsResponse"}}}},"IssueCodeRequest":{"title":"IssueCodeRequest","required":["email","password"],"type":"object","properties":{"email":{"title":"Email","type":"string","format":"email"},"password":{"title":"Password","type":"string"},"otp_code":{"title":"Otp Code","type":"string"},"remember_me":{"title":"Remember Me","type":"boolean","default":false}}},"IssueCodeResponse":{"title":"IssueCodeResponse","type":"object","properties":{"code":{"title":"Code","type":"string"},"needs_otp":{"title":"Needs Otp","type":"boolean","default":false}}},"JobStatus":{"title":"JobStatus","enum":["pending","running","completed","failed","cancelled"],"type":"string","description":"Job status enumeration."},"JobStopResponse":{"title":"JobStopResponse","required":["job_id","status","message","k8s_job_deleted"],"type":"object","properties":{"job_id":{"title":"Job Id","type":"string","description":"Unique job identifier","format":"uuid"},"status":{"allOf":[{"$ref":"#/components/schemas/JobStatus"}],"description":"Current job status after stopping"},"message":{"title":"Message","type":"string","description":"Status message describing the stop action"},"k8s_job_deleted":{"title":"K8S Job Deleted","type":"boolean","description":"Whether the Kubernetes job was successfully deleted"}},"description":"Response schema for job stop/cancellation."},"JobTypeInfo":{"title":"JobTypeInfo","required":["total_steps","steps"],"type":"object","properties":{"total_steps":{"title":"Total Steps","type":"integer","description":"Total number of steps"},"steps":{"title":"Steps","type":"object","additionalProperties":{"$ref":"#/components/schemas/StepInfo"},"description":"Step information by step number"}},"description":"Job type information with steps."},"JobsManagerCreateResponse":{"title":"JobsManagerCreateResponse","required":["job_id","status","is_large_job","message"],"type":"object","properties":{"job_id":{"title":"Job Id","type":"string","description":"Unique job identifier","format":"uuid"},"status":{"allOf":[{"$ref":"#/components/schemas/JobStatus"}],"description":"Current job status"},"is_large_job":{"title":"Is Large Job","type":"boolean","description":"Whether this is a large job"},"message":{"title":"Message","type":"string","description":"Status message"},"dante_kb_id":{"title":"Dante Kb Id","type":"string","description":"Dante knowledge base ID","format":"uuid"}},"description":"Response schema for job creation."},"KBInputField":{"title":"KBInputField","required":["input_name","input_type","input_label","input_placeholder","is_mandatory"],"type":"object","properties":{"id":{"title":"Input ID","type":"string","description":"The ID of the input field.","format":"uuid"},"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_options":{"title":"Input Options","type":"array","items":{"type":"string"},"description":"The options of the input field."}}},"KbCustomizationOverviewResponse":{"title":"KbCustomizationOverviewResponse","required":["kb_id","name","date_created","icon","connection_stats","insights","safety"],"type":"object","properties":{"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"name":{"title":"Name","type":"string"},"date_created":{"title":"Date Created","type":"string","format":"date-time"},"icon":{"title":"Icon","type":"string"},"connection_stats":{"$ref":"#/components/schemas/ConnectionStatsResponse"},"insights":{"$ref":"#/components/schemas/InsightsResponse"},"safety":{"$ref":"#/components/schemas/SafetyResponse"},"last_model_used":{"title":"Last Model Used","type":"string","description":"Last model used to train this knowledge base"}}},"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":true},"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},"has_structured_content":{"title":"Has Structured Content","type":"boolean","description":"Set to True by the training pipeline when this KB contains structured records (e.g. Word module tables). Enables the structured-mode retrieval path.","default":false}}},"KnowledgeBaseCoreSettingsPatchPayload":{"title":"KnowledgeBaseCoreSettingsPatchPayload","type":"object","properties":{"disclaimer_text":{"title":"Disclaimer Text","type":"string"},"disclaimer_text_color":{"title":"Disclaimer Text Color","type":"string"},"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"},"disclaimer_enabled":{"title":"Disclaimer Enabled","type":"boolean"},"initial_messages":{"title":"Initial Messages","type":"array","items":{"$ref":"#/components/schemas/InitialMessages"}},"prompt_suggestions":{"title":"Prompt Suggestions","type":"array","items":{"$ref":"#/components/schemas/PromptSuggestions"}},"input_placeholder_text":{"title":"Input Placeholder Text","type":"string"},"show_prompt_messages":{"title":"Show Prompt Messages","type":"boolean"},"suggested_prompts_appearance":{"title":"Suggested Prompts Appearance","type":"string"},"suggested_prompts_enabled":{"title":"Suggested Prompts Enabled","type":"boolean"},"sound_enabled":{"title":"Sound Enabled","type":"boolean"},"sound_id":{"title":"Sound Id","type":"string"},"terms_of_use_link":{"title":"Terms Of Use Link","type":"string"},"privacy_policy_link":{"title":"Privacy Policy Link","type":"string"},"show_always_same_prompts":{"title":"Show Always Same Prompts","type":"boolean"},"suggested_prompts_position":{"title":"Suggested Prompts Position","type":"string"},"message_disclaimer_enabled":{"title":"Message Disclaimer Enabled","type":"boolean"},"message_disclaimer_text":{"title":"Message Disclaimer Text","type":"string"},"collection_method":{"title":"Collection Method","type":"string"},"feedback_question":{"title":"Feedback Question","type":"string"},"thank_you_message":{"title":"Thank You Message","type":"string"},"feedback_option_5_icon":{"title":"Feedback Option 5 Icon","type":"string"},"feedback_option_5_label":{"title":"Feedback Option 5 Label","type":"string"},"feedback_option_4_icon":{"title":"Feedback Option 4 Icon","type":"string"},"feedback_option_4_label":{"title":"Feedback Option 4 Label","type":"string"},"feedback_option_3_icon":{"title":"Feedback Option 3 Icon","type":"string"},"feedback_option_3_label":{"title":"Feedback Option 3 Label","type":"string"},"feedback_option_2_icon":{"title":"Feedback Option 2 Icon","type":"string"},"feedback_option_2_label":{"title":"Feedback Option 2 Label","type":"string"},"feedback_option_1_icon":{"title":"Feedback Option 1 Icon","type":"string"},"feedback_option_1_label":{"title":"Feedback Option 1 Label","type":"string"},"csat_enabled":{"title":"Csat Enabled","type":"boolean"},"resolution_enabled":{"title":"Resolution Enabled","type":"boolean"},"resolution_csat_language":{"title":"Resolution Csat Language","type":"string"}}},"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":{"$ref":"#/components/schemas/InitialMessages"}},"prompt_suggestions":{"title":"Prompt Suggestions","type":"array","items":{"$ref":"#/components/schemas/PromptSuggestions"}},"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"},"sound_enabled":{"title":"Sound Enabled","type":"boolean"},"sound_id":{"title":"Sound Id","type":"string"},"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_availability":{"allOf":[{"$ref":"#/components/schemas/LiveAgentAvailability"}],"default":"always"},"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"},"ai_voice_agent_id":{"title":"Ai Voice Agent Id","type":"string","format":"uuid"},"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"},"terms_of_use_link":{"title":"Terms Of Use Link","type":"string"},"privacy_policy_link":{"title":"Privacy Policy Link","type":"string"},"previous_conversation_enabled":{"title":"Previous Conversation Enabled","type":"boolean"},"home_tab_order":{"title":"Home Tab Order","type":"integer"},"home_tab_label":{"title":"Home Tab Label","type":"string"},"chat_order":{"title":"Chat Order","type":"integer"},"chat_label":{"title":"Chat Label","type":"string"},"voice_tooltip_text":{"title":"Voice Tooltip Text","type":"string"},"show_voice_tooltip":{"title":"Show Voice Tooltip","type":"boolean"},"show_always_same_prompts":{"title":"Show Always Same Prompts","type":"boolean"},"human_handover_timezone":{"title":"Human Handover Timezone","type":"string"},"chatbot_name":{"title":"Chatbot Name","type":"string"},"show_chatbot_name":{"title":"Show Chatbot Name","type":"boolean"},"bubble_size":{"$ref":"#/components/schemas/BubbleSizeEnum"},"blocked_words":{"title":"Blocked Words","type":"array","items":{"type":"string"}},"intro_message_enabled":{"title":"Intro Message Enabled","type":"boolean"},"intro_message":{"title":"Intro Message","type":"string"},"suggested_prompts_position":{"title":"Suggested Prompts Position","type":"string"},"response_background_color":{"title":"Response Background Color","type":"string"},"launcher_icon":{"title":"Launcher Icon","type":"string"},"launcher_background":{"title":"Launcher Background","type":"string"},"link_logo_to_website":{"title":"Link Logo To Website","type":"boolean"},"data_collection_frequency":{"title":"Data Collection Frequency","type":"string"},"message_disclaimer_enabled":{"title":"Message Disclaimer Enabled","type":"boolean"},"message_disclaimer_text":{"title":"Message Disclaimer Text","type":"string"},"collection_method":{"title":"Collection Method","type":"string"},"feedback_question":{"title":"Feedback Question","type":"string"},"thank_you_message":{"title":"Thank You Message","type":"string"},"feedback_option_5_icon":{"title":"Feedback Option 5 Icon","type":"string"},"feedback_option_5_label":{"title":"Feedback Option 5 Label","type":"string"},"feedback_option_4_icon":{"title":"Feedback Option 4 Icon","type":"string"},"feedback_option_4_label":{"title":"Feedback Option 4 Label","type":"string"},"feedback_option_3_icon":{"title":"Feedback Option 3 Icon","type":"string"},"feedback_option_3_label":{"title":"Feedback Option 3 Label","type":"string"},"feedback_option_2_icon":{"title":"Feedback Option 2 Icon","type":"string"},"feedback_option_2_label":{"title":"Feedback Option 2 Label","type":"string"},"feedback_option_1_icon":{"title":"Feedback Option 1 Icon","type":"string"},"feedback_option_1_label":{"title":"Feedback Option 1 Label","type":"string"},"csat_enabled":{"title":"Csat Enabled","type":"boolean"},"resolution_enabled":{"title":"Resolution Enabled","type":"boolean"},"resolution_csat_language":{"title":"Resolution Csat Language","type":"string"},"human_handover_button_text":{"title":"Human Handover Button Text","type":"string"}}},"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 MUST ONLY answer questions using information from this specific knowledge base. You are STRICTLY FORBIDDEN from using any information outside the provided context, including your pre-trained knowledge, general knowledge, or information from the internet. You will be SEVERELY 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":{"$ref":"#/components/schemas/InitialMessages"},"default":[{"content":"👋 Hi, how can I help you?","type":"welcome_message","status":"completed","role":"assistant"}]},"prompt_suggestions":{"title":"Prompt Suggestions","type":"array","items":{"$ref":"#/components/schemas/PromptSuggestions"},"default":[{"content":"Explain the contents of this chatbot","type":"suggestion"},{"content":"Write a poem about this chatbot","type":"suggestion"},{"content":"Give me three key points from this chatbot","type":"suggestion"}]},"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_availability":{"allOf":[{"$ref":"#/components/schemas/LiveAgentAvailability"}],"default":"always"},"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},"ai_voice_agent_id":{"title":"Ai Voice Agent Id","type":"string","format":"uuid"},"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"},"home_tab_enabled":{"title":"Home Tab Enabled","type":"boolean"},"terms_of_use_link":{"title":"Terms Of Use Link","type":"string"},"privacy_policy_link":{"title":"Privacy Policy Link","type":"string"},"previous_conversation_enabled":{"title":"Previous Conversation Enabled","type":"boolean"},"home_tab_order":{"title":"Home Tab Order","type":"integer"},"home_tab_label":{"title":"Home Tab Label","type":"string"},"chat_order":{"title":"Chat Order","type":"integer"},"chat_label":{"title":"Chat Label","type":"string"},"show_voice_tooltip":{"title":"Show Voice Tooltip","type":"boolean"},"voice_tooltip_text":{"title":"Voice Tooltip Text","type":"string"},"show_always_same_prompts":{"title":"Show Always Same Prompts","type":"boolean"},"human_handover_timezone":{"title":"Human Handover Timezone","type":"string"},"show_chatbot_name":{"title":"Show Chatbot Name","type":"boolean"},"bubble_size":{"$ref":"#/components/schemas/BubbleSizeEnum"},"blocked_words":{"title":"Blocked Words","type":"array","items":{"type":"string"}},"intro_message_enabled":{"title":"Intro Message Enabled","type":"boolean"},"intro_message":{"title":"Intro Message","type":"string"},"suggested_prompts_position":{"title":"Suggested Prompts Position","type":"string"},"response_background_color":{"title":"Response Background Color","type":"string"},"launcher_icon":{"title":"Launcher Icon","type":"string"},"launcher_background":{"title":"Launcher Background","type":"string"},"link_logo_to_website":{"title":"Link Logo To Website","type":"boolean"},"data_collection_frequency":{"title":"Data Collection Frequency","type":"string"},"message_disclaimer_enabled":{"title":"Message Disclaimer Enabled","type":"boolean"},"message_disclaimer_text":{"title":"Message Disclaimer Text","type":"string"},"ask_a_question_button":{"title":"Ask A Question Button","type":"string"},"continue_last_conversation_button":{"title":"Continue Last Conversation Button","type":"string"},"collection_method":{"title":"Collection Method","type":"string"},"feedback_question":{"title":"Feedback Question","type":"string"},"thank_you_message":{"title":"Thank You Message","type":"string"},"feedback_option_5_icon":{"title":"Feedback Option 5 Icon","type":"string"},"feedback_option_5_label":{"title":"Feedback Option 5 Label","type":"string"},"feedback_option_4_icon":{"title":"Feedback Option 4 Icon","type":"string"},"feedback_option_4_label":{"title":"Feedback Option 4 Label","type":"string"},"feedback_option_3_icon":{"title":"Feedback Option 3 Icon","type":"string"},"feedback_option_3_label":{"title":"Feedback Option 3 Label","type":"string"},"feedback_option_2_icon":{"title":"Feedback Option 2 Icon","type":"string"},"feedback_option_2_label":{"title":"Feedback Option 2 Label","type":"string"},"feedback_option_1_icon":{"title":"Feedback Option 1 Icon","type":"string"},"feedback_option_1_label":{"title":"Feedback Option 1 Label","type":"string"},"csat_enabled":{"title":"Csat Enabled","type":"boolean"},"resolution_enabled":{"title":"Resolution Enabled","type":"boolean"},"resolution_csat_language":{"title":"Resolution Csat Language","type":"string"},"human_handover_button_text":{"title":"Human Handover Button Text","type":"string"}}},"KnowledgeBaseFilesResponse":{"title":"KnowledgeBaseFilesResponse","required":["files"],"type":"object","properties":{"files":{"title":"Files","type":"array","items":{"$ref":"#/components/schemas/FileMetadata"},"description":"List of files with metadata"}},"description":"Response for knowledge base files endpoint."},"KnowledgeBaseLastModelUsedPatchPayload":{"title":"KnowledgeBaseLastModelUsedPatchPayload","type":"object","properties":{"last_model_used":{"title":"Model Type","allOf":[{"$ref":"#/components/schemas/ModelType"}],"description":"The updated model type of the knowledge base."}}},"KnowledgeBaseListResponse":{"title":"KnowledgeBaseListResponse","required":["results"],"type":"object","properties":{"results":{"title":"Results","type":"array","items":{"$ref":"#/components/schemas/KnowledgeBase"}}}},"KnowledgeBaseNamePatchPayload":{"title":"KnowledgeBaseNamePatchPayload","type":"object","properties":{"name":{"title":"Updated Name","type":"string","description":"The updated name of the knowledge base."}}},"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."}}},"KnowledgeBasePersonalityPatchPayload":{"title":"KnowledgeBasePersonalityPatchPayload","type":"object","properties":{"personalities_template":{"title":"Personalities Template","type":"string"},"base_system_prompt":{"title":"Base System Prompt","type":"string"},"open_to_internet_knowledge":{"title":"Open To Internet Knowledge","type":"boolean"},"temperature":{"title":"Temperature","type":"number"}}},"KnowledgeBasePowerUpsPatchPayload":{"title":"KnowledgeBasePowerUpsPatchPayload","type":"object","properties":{"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_availability":{"$ref":"#/components/schemas/LiveAgentAvailability"},"live_agent_user_timezone":{"title":"Live Agent User Timezone","type":"string"},"live_agent_list_of_schedules":{"title":"Live Agent List Of Schedules","type":"array","items":{"type":"object"}},"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"},"data_collection":{"title":"Data Collection","type":"boolean"},"data_collection_title":{"title":"Data Collection Title","type":"string"},"data_collection_consent_text":{"title":"Data Collection Consent Text","type":"string"},"data_collection_fields":{"title":"Data Collection Fields","type":"array","items":{"$ref":"#/components/schemas/KBInputField"}},"data_collection_as_nlp":{"title":"Data Collection As Nlp","type":"boolean"},"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"},"data_collection_rule":{"title":"Data Collection Rule","type":"string"},"calendly_integration_enabled":{"title":"Calendly Integration Enabled","type":"boolean"},"calendly_url":{"title":"Calendly Url","type":"string"},"calendly_btn_text":{"title":"Calendly Btn Text","type":"string"},"show_calendly_at_the_start":{"title":"Show Calendly At The Start","type":"boolean"},"show_calendly_rule":{"title":"Show Calendly Rule","type":"string"},"custom_url":{"title":"Custom Url","type":"string"},"dns_values":{"title":"Dns Values","type":"array","items":{"type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"}]}}},"custom_url_enabled":{"title":"Custom Url Enabled","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"},"realtime_voice_access":{"title":"Realtime Voice Access","type":"boolean"},"ai_voice_agent_id":{"title":"Ai Voice Agent Id","type":"string","format":"uuid"},"voice_tooltip_text":{"title":"Voice Tooltip Text","type":"string"},"show_voice_tooltip":{"title":"Show Voice Tooltip","type":"boolean"},"human_handover_timezone":{"title":"Human Handover Timezone","type":"string"},"data_collection_frequency":{"title":"Data Collection Frequency","type":"string"},"human_handover_button_text":{"title":"Human Handover Button Text","type":"string"}}},"KnowledgeBaseQAResponse":{"title":"KnowledgeBaseQAResponse","required":["kb_id","total_count"],"type":"object","properties":{"kb_id":{"title":"Knowledge Base ID","type":"string","description":"The ID of the knowledge base","format":"uuid"},"qa_pairs":{"title":"Q&A Pairs","type":"array","items":{"$ref":"#/components/schemas/QAPairResponse"},"description":"List of question-answer pairs for the knowledge base"},"total_count":{"title":"Total Count","minimum":0.0,"type":"integer","description":"Total number of Q&A pairs in 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/FileWithAutorefresh"}},"total_count":{"title":"Total Count","type":"integer"},"last_model_used":{"title":"Last Model Used","type":"object"},"autorefresh_points":{"title":"Autorefresh Points","type":"object","description":"Autorefresh points usage and limits for this knowledge base"},"active_chatbot":{"title":"Active Chatbot","type":"boolean","description":"Whether the chatbot is active (from safety settings)","default":true}}},"KnowledgeBaseSortedResponse":{"title":"KnowledgeBaseSortedResponse","required":["files","pagination","total_count"],"type":"object","properties":{"files":{"title":"Files","type":"array","items":{"$ref":"#/components/schemas/FileWithAutorefresh"}},"pagination":{"$ref":"#/components/schemas/Pagination"},"total_count":{"title":"Total Count","type":"integer"},"last_model_used":{"title":"Last Model Used","type":"object"},"autorefresh_points":{"title":"Autorefresh Points","type":"object","description":"Autorefresh points usage and limits for this knowledge base"}}},"KnowledgeBaseStylingPatchPayload":{"title":"KnowledgeBaseStylingPatchPayload","type":"object","properties":{"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"},"brand_website":{"title":"Brand Website","type":"string"},"chatbot_icon":{"title":"Chatbot Icon","type":"string"},"font_name":{"title":"Font Name","type":"string"},"font_size":{"title":"Font Size","type":"integer"},"embed_logo_url":{"title":"Embed Logo Url","type":"string"},"custom_css":{"title":"Custom Css","type":"string"},"chatbot_name":{"title":"Chatbot Name","type":"string"},"show_chatbot_name":{"title":"Show Chatbot Name","type":"boolean"},"bubble_size":{"$ref":"#/components/schemas/BubbleSizeEnum"},"response_background_color":{"title":"Response Background Color","type":"string"},"launcher_icon":{"title":"Launcher Icon","type":"string"},"launcher_background":{"title":"Launcher Background","type":"string"},"link_logo_to_website":{"title":"Link Logo To Website","type":"boolean"},"sound_enabled":{"title":"Sound Enabled","type":"boolean"},"sound_id":{"title":"Sound Id","type":"string"},"display_name":{"title":"Display Name","type":"string"}}},"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"}}},"LLMValueLabel":{"title":"LLMValueLabel","required":["value","label"],"type":"object","properties":{"value":{"$ref":"#/components/schemas/AIVoiceLLMEnum"},"label":{"title":"Label","type":"string"}}},"LeadCapturedDashboardResponse":{"title":"LeadCapturedDashboardResponse","required":["lead_gen_enabled","lead_captured_number","lead_captured_increase_percentage"],"type":"object","properties":{"lead_gen_enabled":{"title":"Lead Gen Enabled","type":"boolean"},"lead_captured_number":{"title":"Lead Captured Number","type":"string"},"lead_captured_increase_percentage":{"title":"Lead Captured Increase Percentage","type":"string"}}},"LeadGenResponse":{"title":"LeadGenResponse","required":["results","pagination","total_count"],"type":"object","properties":{"results":{"title":"Results","type":"array","items":{"type":"object","additionalProperties":{"type":"string"}}},"pagination":{"$ref":"#/components/schemas/Pagination"},"total_count":{"title":"Total Count","type":"integer"}}},"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"}}},"ListHHCategoryResponse":{"title":"ListHHCategoryResponse","required":["results"],"type":"object","properties":{"results":{"title":"Results","type":"array","items":{"$ref":"#/components/schemas/HHCategoryResponse"}}}},"ListHHOrganizationResponse":{"title":"ListHHOrganizationResponse","required":["results"],"type":"object","properties":{"results":{"title":"Results","type":"array","items":{"$ref":"#/components/schemas/HHOrganizationResponse"}}}},"LiveAgentAvailability":{"title":"LiveAgentAvailability","enum":["custom","office_hours","always"],"type":"string","description":"An enumeration."},"LoadingSoundListResponse":{"title":"LoadingSoundListResponse","required":["results"],"type":"object","properties":{"results":{"title":"Results","type":"array","items":{"$ref":"#/components/schemas/LoadingSoundResponse"}}}},"LoadingSoundResponse":{"title":"LoadingSoundResponse","required":["id","date_created","date_updated","name","url","preview_url"],"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"},"name":{"title":"Name","type":"string"},"url":{"title":"Url","type":"string"},"preview_url":{"title":"Preview Url","type":"string"}}},"LoadingSoundValueLabel":{"title":"LoadingSoundValueLabel","required":["value","label"],"type":"object","properties":{"value":{"title":"Value","type":"string","format":"uuid"},"label":{"title":"Label","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"},"captcha_token":{"title":"Captcha 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}}},"LookupRequest":{"title":"LookupRequest","required":["email"],"type":"object","properties":{"email":{"title":"Email","type":"string","format":"email"}}},"LookupResponse":{"title":"LookupResponse","required":["exists","requires_2fa","is_verified"],"type":"object","properties":{"exists":{"title":"Exists","type":"boolean"},"requires_2fa":{"title":"Requires 2Fa","type":"boolean"},"is_verified":{"title":"Is Verified","type":"boolean"}}},"MainDashboardResponse":{"title":"MainDashboardResponse","required":["performance_statistics","consumption_statistics","chatbots"],"type":"object","properties":{"performance_statistics":{"title":"Performance Statistics","allOf":[{"$ref":"#/components/schemas/PerformanceStatistics"}],"description":"Account-wide performance statistics"},"consumption_statistics":{"title":"Consumption Statistics","allOf":[{"$ref":"#/components/schemas/ConsumptionStatistics"}],"description":"Account-wide consumption statistics"},"chatbots":{"title":"Chatbots","allOf":[{"$ref":"#/components/schemas/ChatbotsSection"}],"description":"Chatbots section with pagination"}},"description":"Main dashboard response"},"MainNewColors":{"title":"MainNewColors","required":["brand_color","surface_color","element_color"],"type":"object","properties":{"brand_color":{"title":"Brand Color","type":"string"},"surface_color":{"title":"Surface Color","type":"string"},"element_color":{"title":"Element Color","type":"string"}}},"MarkReadNotificationsPayload":{"title":"MarkReadNotificationsPayload","required":["notifications"],"type":"object","properties":{"notifications":{"title":"Notifications","type":"array","items":{"type":"string","format":"uuid"}}}},"MemberOnboard":{"title":"MemberOnboard","required":["email","role_id","max_credits_available"],"type":"object","properties":{"email":{"title":"Email","type":"string"},"role_id":{"title":"Role Id","type":"string","format":"uuid"},"max_credits_available":{"title":"Max Credits Available","type":"integer"}}},"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},"used_fragments":{"title":"Used Fragments","type":"array","items":{"type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"}]}},"description":"The fragments used in generating the answer."},"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"},"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"source":{"title":"Source","enum":["internal","external","all"],"type":"string","default":"all"}}},"MessageListResponse":{"title":"MessageListResponse","required":["results","pagination","filters"],"type":"object","properties":{"results":{"title":"Results","type":"array","items":{"$ref":"#/components/schemas/MessageWithAttachments"}},"pagination":{"$ref":"#/components/schemas/Pagination"},"filters":{"$ref":"#/components/schemas/MessageFilter"},"last_model_used":{"$ref":"#/components/schemas/ModelType"},"resolution_completed":{"title":"Resolution Completed","type":"boolean"},"csat_completed":{"title":"Csat Completed","type":"boolean"},"csat_score":{"title":"Csat Score","type":"string"},"csat_ai_rated":{"title":"Csat Ai Rated","type":"boolean"},"resolution_status":{"title":"Resolution Status","type":"string"},"transferred":{"title":"Transferred","type":"boolean"},"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/MessageWithAttachments"}},"pagination":{"$ref":"#/components/schemas/Pagination"},"filters":{"$ref":"#/components/schemas/StandardFilter"},"last_model_used":{"$ref":"#/components/schemas/ModelType"},"resolution_completed":{"title":"Resolution Completed","type":"boolean"},"csat_completed":{"title":"Csat Completed","type":"boolean"},"csat_score":{"title":"Csat Score","type":"string"},"csat_ai_rated":{"title":"Csat Ai Rated","type":"boolean"},"resolution_status":{"title":"Resolution Status","type":"string"},"transferred":{"title":"Transferred","type":"boolean"}}},"MessageResolution":{"title":"MessageResolution","required":["message_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"},"message_id":{"title":"Message ID","type":"string","description":"The ID of the message associated with the message resolution.","format":"uuid"},"user_id":{"title":"User ID","type":"string","description":"The ID of the user associated with the message resolution.","format":"uuid"},"is_resolved":{"title":"Is Resolved","type":"boolean","description":"Flag indicating whether the message is resolved.","default":false},"is_greeting_message":{"title":"Is Greeting Message","type":"boolean","description":"Flag indicating whether the message is a greeting message.","default":false},"is_unanswered":{"title":"Is Unanswered","type":"boolean","description":"Flag indicating whether the message is unanswered.","default":false}}},"MessageWithAttachments":{"title":"MessageWithAttachments","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},"used_fragments":{"title":"Used Fragments","type":"array","items":{"type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"}]}},"description":"The fragments used in generating the answer."},"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"},"attachments":{"title":"Attachments","type":"array","items":{"type":"string"},"default":[]},"files":{"title":"Files","type":"array","items":{"type":"string"},"default":[]},"agent_name":{"title":"Agent Name","type":"string"},"agent_profile_pic":{"title":"Agent Profile Pic","type":"string"},"agent_title":{"title":"Agent Title","type":"string"},"source":{"title":"Source","type":"string"}}},"MetaLinkCardSlotPatchPayload":{"title":"MetaLinkCardSlotPatchPayload","type":"object","properties":{"url":{"title":"Url","type":"string"},"title":{"title":"Title","type":"string"},"description":{"title":"Description","type":"string"}}},"MetaLinkCardSlotPayload":{"title":"MetaLinkCardSlotPayload","required":["url","image_url"],"type":"object","properties":{"url":{"title":"Url","type":"string"},"image_url":{"title":"Image Url","type":"string"},"title":{"title":"Title","type":"string"},"description":{"title":"Description","type":"string"}}},"MetaLinkCardSlotResponse":{"title":"MetaLinkCardSlotResponse","required":["id","card_slot_id","meta_url","meta_image_url"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"card_slot_id":{"title":"Card Slot Id","type":"string","format":"uuid"},"meta_url":{"title":"Meta Url","type":"string"},"meta_image_url":{"title":"Meta Image Url","type":"string"},"meta_title":{"title":"Meta Title","type":"string"},"meta_description":{"title":"Meta Description","type":"string"}}},"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"}}},"ModalTrackingResponse":{"title":"ModalTrackingResponse","required":["modal_shown_count","limit_reached","max_shows"],"type":"object","properties":{"modal_shown_count":{"title":"Modal Shown Count","type":"integer","description":"Current number of times the modal has been shown"},"limit_reached":{"title":"Limit Reached","type":"boolean","description":"Whether the maximum modal show limit has been reached"},"max_shows":{"title":"Max Shows","type":"integer","description":"Maximum number of times the modal can be shown"},"eligible_for_promotion":{"title":"Eligible for Promotion","type":"boolean","description":"Whether the user is eligible for the promotional campaign","default":true}},"description":"Response model for modal tracking."},"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."},"NewChatbotOnboardingStepsResponse":{"title":"NewChatbotOnboardingStepsResponse","type":"object","properties":{"current_step":{"title":"Current Step","type":"string","description":"The current onboarding step ID, or None if not applicable / all steps completed."},"finished":{"title":"Finished","type":"boolean","description":"Whether the deploy_chatbot step has been completed. None if the step is not yet reached."},"user_messages":{"title":"User Messages","type":"integer","description":"Number of user messages"},"nr_of_steps":{"title":"Nr Of Steps","type":"integer","description":"Number of steps"}}},"NewSliderSlotItemPatchPayload":{"title":"NewSliderSlotItemPatchPayload","type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"slide_title":{"title":"Slide Title","type":"string"},"slide_description":{"title":"Slide Description","type":"string"},"slide_url":{"title":"Slide Url","type":"string"},"slide_image_url":{"title":"Slide Image Url","type":"string"},"order":{"title":"Order","type":"integer"}}},"NewSliderSlotItemPayload":{"title":"NewSliderSlotItemPayload","required":["slide_url","slide_image_url","order"],"type":"object","properties":{"slide_title":{"title":"Slide Title","type":"string"},"slide_description":{"title":"Slide Description","type":"string"},"slide_url":{"title":"Slide Url","type":"string"},"slide_image_url":{"title":"Slide Image Url","type":"string"},"order":{"title":"Order","type":"integer"}}},"NewSliderSlotItemResponse":{"title":"NewSliderSlotItemResponse","required":["id","new_slider_slot_id","slide_url","slide_image_url","order"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"new_slider_slot_id":{"title":"New Slider Slot Id","type":"string","format":"uuid"},"slide_title":{"title":"Slide Title","type":"string"},"slide_description":{"title":"Slide Description","type":"string"},"slide_url":{"title":"Slide Url","type":"string"},"slide_image_url":{"title":"Slide Image Url","type":"string"},"order":{"title":"Order","type":"integer"}}},"NewSliderSlotPatchPayload":{"title":"NewSliderSlotPatchPayload","required":["kb_id"],"type":"object","properties":{"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"slider_image_type":{"$ref":"#/components/schemas/SliderImageType"},"order":{"title":"Order","type":"integer"},"items":{"title":"Items","type":"array","items":{"$ref":"#/components/schemas/NewSliderSlotItemPatchPayload"}}}},"NewSliderSlotPayload":{"title":"NewSliderSlotPayload","required":["kb_id","slider_image_type","order","items"],"type":"object","properties":{"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"slider_image_type":{"$ref":"#/components/schemas/SliderImageType"},"order":{"title":"Order","type":"integer"},"items":{"title":"Items","minItems":1,"type":"array","items":{"$ref":"#/components/schemas/NewSliderSlotItemPayload"}}}},"NewSliderSlotResponse":{"title":"NewSliderSlotResponse","required":["id","user_id","kb_id","slider_image_type","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"},"slider_image_type":{"$ref":"#/components/schemas/SliderImageType"},"items":{"title":"Items","type":"array","items":{"$ref":"#/components/schemas/NewSliderSlotItemResponse"}},"order":{"title":"Order","type":"integer"},"disclaimer":{"title":"Disclaimer","type":"string"},"type":{"title":"Type","type":"string"}}},"NextBillingGroup":{"title":"NextBillingGroup","required":["billing_cycle","total_amount","items"],"type":"object","properties":{"billing_date":{"title":"Billing Date","type":"string","format":"date-time"},"billing_cycle":{"title":"Billing Cycle","type":"string"},"total_amount":{"title":"Total Amount","type":"number"},"items":{"title":"Items","type":"array","items":{"$ref":"#/components/schemas/NextBillingItem"}},"payment_method":{"$ref":"#/components/schemas/NextBillingPaymentMethod"}}},"NextBillingItem":{"title":"NextBillingItem","required":["name","amount"],"type":"object","properties":{"name":{"title":"Name","type":"string"},"amount":{"title":"Amount","type":"number"}}},"NextBillingPaymentMethod":{"title":"NextBillingPaymentMethod","required":["card_type","expire_date","last_4_digits"],"type":"object","properties":{"card_type":{"title":"Card Type","type":"string"},"expire_date":{"title":"Expire Date","type":"string"},"last_4_digits":{"title":"Last 4 Digits","type":"string"}}},"NotificationListResponse":{"title":"NotificationListResponse","required":["results","total_count"],"type":"object","properties":{"results":{"title":"Results","type":"array","items":{"$ref":"#/components/schemas/NotificationResponse"}},"total_count":{"title":"Total Count","type":"integer"}}},"NotificationResponse":{"title":"NotificationResponse","required":["id","user_id","text","type","seen","cleared","date_created"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"user_id":{"title":"User Id","type":"string","format":"uuid"},"text":{"title":"Text","type":"string"},"type":{"$ref":"#/components/schemas/NotificationType"},"seen":{"title":"Seen","type":"boolean"},"cleared":{"title":"Cleared","type":"boolean"},"date_created":{"title":"Date Created","type":"string","format":"date-time"}}},"NotificationType":{"title":"NotificationType","enum":["update","task","plan_upgrade","limit_hit"],"description":"An enumeration."},"OnboardingAnalyticsResponse":{"title":"OnboardingAnalyticsResponse","required":["total_sessions","completed_sessions","completion_rate","abandonment_by_step","claiming_methods","top_domains","daily_stats"],"type":"object","properties":{"total_sessions":{"title":"Total Sessions","type":"integer","description":"Total number of onboarding sessions started"},"completed_sessions":{"title":"Completed Sessions","type":"integer","description":"Number of sessions that completed successfully"},"completion_rate":{"title":"Completion Rate","type":"number","description":"Percentage of sessions that completed successfully"},"abandonment_by_step":{"title":"Abandonment by Step","type":"object","additionalProperties":{"type":"integer"},"description":"Number of sessions abandoned at each step"},"claiming_methods":{"title":"Claiming Methods","type":"object","additionalProperties":{"type":"integer"},"description":"Breakdown of how accounts were claimed"},"average_processing_time":{"title":"Average Processing Time","type":"number","description":"Average time to process websites (in seconds)"},"top_domains":{"title":"Top Domains","type":"array","items":{"type":"object"},"description":"Most frequently used domains in onboarding"},"daily_stats":{"title":"Daily Statistics","type":"array","items":{"type":"object"},"description":"Daily breakdown of onboarding activity"}},"description":"Response model for onboarding analytics."},"OnboardingClaimPayload":{"title":"OnboardingClaimPayload","required":["user_id","email"],"type":"object","properties":{"user_id":{"title":"User ID","type":"string","description":"The UUID of the temporary user account to claim","format":"uuid","example":"123e4567-e89b-12d3-a456-426614174000"},"email":{"title":"Email Address","type":"string","description":"The email address to associate with the claimed account","format":"email","example":"user@example.com"}},"description":"Payload for claiming a temporary onboarding account.\n\nThis initiates the process to convert a temporary account to a permanent one\nby sending a verification code to the provided email."},"OnboardingClaimResponse":{"title":"OnboardingClaimResponse","required":["status","message","verification_code_sent"],"type":"object","properties":{"status":{"title":"Status","type":"string","description":"The status of the claim request","example":"success"},"message":{"title":"Message","type":"string","description":"Human-readable message about the claim status","example":"Verification code sent to your email."},"verification_code_sent":{"title":"Verification Code Sent","type":"boolean","description":"Whether the verification code was successfully sent","example":true}},"description":"Response from the claim endpoint after initiating the account claiming process.\n\nIndicates whether a verification code was successfully sent to the provided email."},"OnboardingConfirmUrlPayload":{"title":"OnboardingConfirmUrlPayload","required":["url"],"type":"object","properties":{"url":{"title":"Website URL","maxLength":2048,"minLength":1,"type":"string","description":"The website URL to validate and confirm accessibility","example":"https://www.example.com"},"session_id":{"title":"Session ID","type":"string","description":"Session ID from the /onboarding/seen endpoint for tracking","example":"onb_1234567890abcdef"},"bucketeer_anonymous_id":{"title":"Bucketeer Anonymous ID","maxLength":255,"type":"string","description":"Pre-defined anonymous ID from Bucketeer used as the temporary user's ID for consistent A/B test bucketing."}},"description":"Payload for confirming if a URL is valid and accessible during onboarding.\n\nThis endpoint validates URLs that users provide during the onboarding process\nto ensure they exist and are accessible before proceeding with chatbot creation."},"OnboardingConfirmUrlResponse":{"title":"OnboardingConfirmUrlResponse","required":["status","message","url","accessible"],"type":"object","properties":{"status":{"title":"Status","enum":["success","error"],"type":"string","description":"The status of the URL validation","example":"success"},"message":{"title":"Message","type":"string","description":"A user-friendly message describing the validation result","example":"URL is valid and accessible"},"url":{"title":"Validated URL","type":"string","description":"The URL that was validated (may be normalized)","example":"https://www.example.com"},"accessible":{"title":"Accessible","type":"boolean","description":"Whether the URL is accessible and returns a valid response","example":true},"session_id":{"title":"Session ID","type":"string","description":"Unique session identifier for tracking the onboarding flow","example":"onb_1234567890abcdef"}},"description":"Response from the confirm-url endpoint after validating a URL.\n\nIndicates whether the URL is valid and accessible, or provides\nan error message if the URL cannot be reached. Also includes\nfunny responses for blacklisted common websites."},"OnboardingGooglePayload":{"title":"OnboardingGooglePayload","required":["user_id","access_token"],"type":"object","properties":{"user_id":{"title":"User ID","type":"string","description":"The UUID of the temporary user account being claimed","format":"uuid","example":"123e4567-e89b-12d3-a456-426614174000"},"access_token":{"title":"Google Access Token","type":"string","description":"The access token obtained from Google OAuth authentication","example":"ya29.a0AfH6SMC..."},"company_role":{"title":"Company Role","maxLength":255,"type":"string","description":"The user's role in their company selected during onboarding","example":"CEO"},"contact_consent":{"title":"Contact Consent","type":"boolean","description":"Whether the user consents to being contacted for marketing purposes","default":false,"example":false},"url":{"title":"Original Website URL","maxLength":2048,"minLength":1,"type":"string","description":"The original website URL from onboarding to use for domain sweep","example":"https://www.example.com"},"cello_ucc":{"title":"Cello UCC Token","maxLength":500,"type":"string","description":"The Cello UCC token to be stored in Stripe customer metadata","example":"your_ucc_token_here"},"utm_source":{"title":"UTM Source","maxLength":255,"type":"string","description":"UTM source parameter for tracking marketing campaigns","example":"google"},"utm_medium":{"title":"UTM Medium","maxLength":255,"type":"string","description":"UTM medium parameter for tracking marketing campaigns","example":"cpc"},"utm_campaign":{"title":"UTM Campaign","maxLength":255,"type":"string","description":"UTM campaign parameter for tracking marketing campaigns","example":"summer_sale"},"utm_content":{"title":"UTM Content","maxLength":255,"type":"string","description":"UTM content parameter for tracking marketing campaigns","example":"banner_ad"},"utm_term":{"title":"UTM Term","maxLength":255,"type":"string","description":"UTM term parameter for tracking marketing campaigns","example":"chatbot"},"utm_adgroup":{"title":"UTM Ad Group","maxLength":255,"type":"string","description":"UTM ad group parameter for tracking marketing campaigns","example":"chatbot"},"utm_asset":{"title":"UTM Asset","maxLength":255,"type":"string","description":"UTM asset parameter for tracking marketing campaigns","example":"chatbot"},"utm_headline":{"title":"UTM Headline","maxLength":255,"type":"string","description":"UTM headline parameter for tracking marketing campaigns","example":"chatbot"},"utm_matchtype":{"title":"UTM Match Type","maxLength":255,"type":"string","description":"Match type parameter for tracking marketing campaigns","example":"exact"},"utm_device":{"title":"UTM Device","maxLength":255,"type":"string","description":"Device parameter for tracking marketing campaigns","example":"desktop"},"utm_placement":{"title":"UTM Placement","maxLength":255,"type":"string","description":"Placement parameter for tracking marketing campaigns","example":"top"},"utm_adposition":{"title":"UTM Ad Position","maxLength":255,"type":"string","description":"Ad position parameter for tracking marketing campaigns","example":"1"}},"description":"Payload for completing onboarding account claim using Google OAuth.\n\nThis completes the account claiming process using Google authentication\ninstead of email verification, similar to the verify endpoint but with Google OAuth."},"OnboardingNoWebsitePayload":{"title":"OnboardingNoWebsitePayload","type":"object","properties":{"session_id":{"title":"Session ID","type":"string","description":"Session ID from the /onboarding/seen endpoint for tracking","example":"onb_1234567890abcdef"},"captcha_token":{"title":"Captcha Token","type":"string","description":"Turnstile captcha token for bot protection","example":"0.abc123def456..."}},"description":"Payload for onboarding users without a website.\n\nThis creates a temporary user account without creating a chatbot."},"OnboardingNoWebsiteResponse":{"title":"OnboardingNoWebsiteResponse","required":["status","temporary_user"],"type":"object","properties":{"status":{"title":"Status","type":"string","description":"The status of the onboarding process","example":"success"},"temporary_user":{"title":"Temporary User","allOf":[{"$ref":"#/components/schemas/TemporaryUserInfo"}],"description":"Information about the temporary user account created"}},"description":"Response from the no-website onboarding endpoint after successfully creating a temporary user.\n\nContains information about the temporary user account created without a chatbot."},"OnboardingPayload":{"title":"OnboardingPayload","required":["url"],"type":"object","properties":{"url":{"title":"Website URL","maxLength":2048,"minLength":1,"type":"string","description":"The website URL to scrape and create a chatbot from","example":"https://www.example.com"},"session_id":{"title":"Session ID","type":"string","description":"Session ID from the /onboarding/seen endpoint for tracking","example":"onb_1234567890abcdef"},"captcha_token":{"title":"Captcha Token","type":"string","description":"Turnstile captcha token for bot protection","example":"0.abc123def456..."},"bucketeer_anonymous_id":{"title":"Bucketeer Anonymous ID","maxLength":255,"type":"string","description":"Pre-defined anonymous ID from Bucketeer used as the temporary user's ID for consistent A/B test bucketing."}},"description":"Payload for creating a knowledge base from a website URL during onboarding.\n\nThis creates a temporary user account and chatbot that can later be claimed."},"OnboardingResponse":{"title":"OnboardingResponse","required":["status","kb_id","file_id","chunks_processed","url","temporary_user","chatbot_name","session_id"],"type":"object","properties":{"status":{"title":"Status","type":"string","description":"The status of the onboarding process","example":"success"},"kb_id":{"title":"Knowledge Base ID","type":"string","description":"The UUID of the created knowledge base","example":"123e4567-e89b-12d3-a456-426614174000"},"file_id":{"title":"File ID","type":"string","description":"The UUID of the created file from the website content","example":"123e4567-e89b-12d3-a456-426614174000"},"chunks_processed":{"title":"Chunks Processed","minimum":0.0,"type":"integer","description":"The number of text chunks processed from the website","example":42},"url":{"title":"Source URL","type":"string","description":"The original website URL that was processed","example":"https://www.example.com"},"temporary_user":{"title":"Temporary User","allOf":[{"$ref":"#/components/schemas/TemporaryUserInfo"}],"description":"Information about the temporary user account created"},"chatbot_name":{"title":"Chatbot Name","type":"string","description":"The generated name for the chatbot","example":"Onboarding Chatbot - https://www.example.com"},"company_analysis":{"title":"Company Analysis","allOf":[{"$ref":"#/components/schemas/CompanyAnalysis"}],"description":"AI-generated insights about the company from website analysis"},"chatbot_token":{"title":"Chatbot Token","type":"string","description":"The shared knowledge base token for generating chatbot preview scripts","example":"123e4567-e89b-12d3-a456-426614174000"},"session_id":{"title":"Session ID","type":"string","description":"The onboarding session ID used to link the chatbot to the user account","example":"onb_abc123def456"}},"description":"Response from the onboarding endpoint after successfully creating a chatbot.\n\nContains information about the created knowledge base, temporary user account,\nand AI-generated insights about the company."},"OnboardingSeenPayload":{"title":"OnboardingSeenPayload","type":"object","properties":{"utm_source":{"title":"Utm Source","type":"string"},"utm_medium":{"title":"Utm Medium","type":"string"},"utm_campaign":{"title":"Utm Campaign","type":"string"},"utm_content":{"title":"Utm Content","type":"string"},"utm_term":{"title":"Utm Term","type":"string"},"utm_adgroup":{"title":"Utm Adgroup","type":"string"},"utm_asset":{"title":"Utm Asset","type":"string"},"utm_headline":{"title":"Utm Headline","type":"string"},"utm_matchtype":{"title":"Utm Matchtype","type":"string"},"utm_device":{"title":"Utm Device","type":"string"},"utm_placement":{"title":"Utm Placement","type":"string"},"utm_adposition":{"title":"Utm Adposition","type":"string"}}},"OnboardingSeenResponse":{"title":"OnboardingSeenResponse","required":["session_id"],"type":"object","properties":{"utm_source":{"title":"Utm Source","type":"string"},"utm_medium":{"title":"Utm Medium","type":"string"},"utm_campaign":{"title":"Utm Campaign","type":"string"},"utm_content":{"title":"Utm Content","type":"string"},"utm_term":{"title":"Utm Term","type":"string"},"utm_adgroup":{"title":"Utm Adgroup","type":"string"},"utm_asset":{"title":"Utm Asset","type":"string"},"utm_headline":{"title":"Utm Headline","type":"string"},"utm_matchtype":{"title":"Utm Matchtype","type":"string"},"utm_device":{"title":"Utm Device","type":"string"},"utm_placement":{"title":"Utm Placement","type":"string"},"utm_adposition":{"title":"Utm Adposition","type":"string"},"session_id":{"title":"Session Id","type":"string"}}},"OnboardingSetChatbotPayload":{"title":"OnboardingSetChatbotPayload","required":["agent_name","brand_color"],"type":"object","properties":{"agent_name":{"title":"Agent Name","type":"string"},"brand_color":{"title":"Brand Color","type":"string"}}},"OnboardingSetPasswordPayload":{"title":"OnboardingSetPasswordPayload","required":["token","new_password"],"type":"object","properties":{"token":{"title":"Magic Link Token","type":"string","description":"The token from the set-password email link"},"new_password":{"title":"New Password","maxLength":128,"minLength":8,"type":"string","description":"The password to set for the new account"},"utm_source":{"title":"UTM Source","maxLength":255,"type":"string","description":"UTM source parameter for tracking marketing campaigns","example":"google"},"utm_medium":{"title":"UTM Medium","maxLength":255,"type":"string","description":"UTM medium parameter for tracking marketing campaigns","example":"cpc"},"utm_campaign":{"title":"UTM Campaign","maxLength":255,"type":"string","description":"UTM campaign parameter for tracking marketing campaigns","example":"campaign1"},"utm_content":{"title":"UTM Content","maxLength":255,"type":"string","description":"UTM content parameter for tracking marketing campaigns","example":"content1"},"utm_term":{"title":"UTM Term","maxLength":255,"type":"string","description":"UTM term parameter for tracking marketing campaigns","example":"term1"},"utm_adgroup":{"title":"UTM Ad Group","maxLength":255,"type":"string","description":"UTM ad group parameter for tracking marketing campaigns","example":"adgroup1"},"utm_asset":{"title":"UTM Asset","maxLength":255,"type":"string","description":"UTM asset parameter for tracking marketing campaigns","example":"asset1"},"utm_headline":{"title":"UTM Headline","maxLength":255,"type":"string","description":"UTM headline parameter for tracking marketing campaigns","example":"headline1"},"utm_matchtype":{"title":"UTM Match Type","maxLength":255,"type":"string","description":"UTM match type parameter for tracking marketing campaigns","example":"matchtype1"},"utm_device":{"title":"UTM Device","maxLength":255,"type":"string","description":"UTM device parameter for tracking marketing campaigns","example":"device1"},"utm_placement":{"title":"UTM Placement","maxLength":255,"type":"string","description":"UTM placement parameter for tracking marketing campaigns","example":"placement1"},"utm_adposition":{"title":"UTM Ad Position","maxLength":255,"type":"string","description":"UTM ad position parameter for tracking marketing campaigns","example":"adposition1"},"cello_ucc":{"title":"Cello UCC Token","maxLength":500,"type":"string","description":"The Cello UCC token to be stored in Stripe customer metadata","example":"your_ucc_token_here"}},"description":"Payload for setting a password via the onboarding magic link."},"OnboardingTrackerResponse":{"title":"OnboardingTrackerResponse","required":["session_id","original_url","current_step","is_completed","date_created","date_updated"],"type":"object","properties":{"session_id":{"title":"Session ID","type":"string","description":"Unique session identifier","example":"onb_1234567890abcdef"},"temporary_user_id":{"title":"Temporary User ID","type":"string","description":"ID of the temporary user created during onboarding","format":"uuid"},"final_user_id":{"title":"Final User ID","type":"string","description":"ID of the final claimed user","format":"uuid"},"original_url":{"title":"Original URL","type":"string","description":"The original website URL provided","example":"https://example.com"},"normalized_url":{"title":"Normalized URL","type":"string","description":"The normalized/validated URL","example":"https://www.example.com"},"kb_id":{"title":"Knowledge Base ID","type":"string","description":"ID of the created knowledge base","format":"uuid"},"chatbot_name":{"title":"Chatbot Name","type":"string","description":"Generated name for the chatbot","example":"Example Company Chatbot"},"claimed_email":{"title":"Claimed Email","type":"string","description":"Email address used to claim the account","example":"user@example.com"},"claiming_method":{"title":"Claiming Method","type":"string","description":"Method used to claim the account","example":"email_verification"},"company_role":{"title":"Company Role","type":"string","description":"User's role in their company","example":"CEO"},"current_step":{"title":"Current Step","type":"string","description":"Current step in the onboarding flow","example":"completed"},"is_completed":{"title":"Is Completed","type":"boolean","description":"Whether onboarding was completed successfully","example":true},"abandoned_at_step":{"title":"Abandoned At Step","type":"string","description":"Step where onboarding was abandoned","example":"claim_initiated"},"chunks_processed":{"title":"Chunks Processed","type":"integer","description":"Number of text chunks processed","example":42},"processing_time_seconds":{"title":"Processing Time","type":"number","description":"Time taken to process the website","example":15.5},"date_created":{"title":"Date Created","type":"string","description":"When the onboarding tracking started","format":"date-time"},"date_updated":{"title":"Date Updated","type":"string","description":"When the tracking was last updated","format":"date-time"},"utm_source":{"title":"UTM Source","type":"string","description":"UTM source parameter for tracking marketing campaigns","example":"google"},"utm_medium":{"title":"UTM Medium","type":"string","description":"UTM medium parameter for tracking marketing campaigns","example":"cpc"},"utm_campaign":{"title":"UTM Campaign","type":"string","description":"UTM campaign parameter for tracking marketing campaigns","example":"summer_sale"},"utm_content":{"title":"UTM Content","type":"string","description":"UTM content parameter for tracking marketing campaigns","example":"banner_ad"},"utm_term":{"title":"UTM Term","type":"string","description":"UTM term parameter for tracking marketing campaigns","example":"chatbot"},"utm_adgroup":{"title":"UTM Ad Group","type":"string","description":"UTM ad group parameter for tracking marketing campaigns","example":"chatbot"},"utm_asset":{"title":"UTM Asset","type":"string","description":"UTM asset parameter for tracking marketing campaigns","example":"chatbot"},"utm_headline":{"title":"UTM Headline","type":"string","description":"UTM headline parameter for tracking marketing campaigns","example":"chatbot"},"utm_matchtype":{"title":"UTM Match Type","type":"string","description":"Match type parameter for tracking marketing campaigns","example":"exact"},"utm_device":{"title":"UTM Device","type":"string","description":"Device parameter for tracking marketing campaigns","example":"desktop"},"utm_placement":{"title":"UTM Placement","type":"string","description":"Placement parameter for tracking marketing campaigns","example":"top"},"utm_adposition":{"title":"UTM Ad Position","type":"string","description":"Ad position parameter for tracking marketing campaigns","example":"1"}},"description":"Response model for onboarding tracker data.\n\nProvides comprehensive information about a user's onboarding journey."},"OnboardingVerifyPayload":{"title":"OnboardingVerifyPayload","required":["user_id","verification_code","new_password"],"type":"object","properties":{"user_id":{"title":"User ID","type":"string","description":"The UUID of the temporary user account being claimed","format":"uuid","example":"123e4567-e89b-12d3-a456-426614174000"},"verification_code":{"title":"Verification Code","maxLength":6,"minLength":6,"pattern":"^\\d{6}$","type":"string","description":"The 6-digit verification code sent to the email","example":"123456"},"new_password":{"title":"New Password","maxLength":128,"minLength":8,"type":"string","description":"The new password for the claimed account"},"company_role":{"title":"Company Role","maxLength":255,"type":"string","description":"The user's role in their company selected during onboarding","example":"CEO"},"contact_consent":{"title":"Contact Consent","type":"boolean","description":"Whether the user consents to being contacted for marketing purposes","default":false,"example":false},"url":{"title":"Original Website URL","maxLength":2048,"minLength":1,"type":"string","description":"The original website URL from onboarding to use for domain sweep","example":"https://www.example.com"},"cello_ucc":{"title":"Cello UCC Token","maxLength":500,"type":"string","description":"The Cello UCC token to be stored in Stripe customer metadata","example":"your_ucc_token_here"},"utm_source":{"title":"UTM Source","maxLength":255,"type":"string","description":"UTM source parameter for tracking marketing campaigns","example":"google"},"utm_medium":{"title":"UTM Medium","maxLength":255,"type":"string","description":"UTM medium parameter for tracking marketing campaigns","example":"cpc"},"utm_campaign":{"title":"UTM Campaign","maxLength":255,"type":"string","description":"UTM campaign parameter for tracking marketing campaigns","example":"summer_sale"},"utm_content":{"title":"UTM Content","maxLength":255,"type":"string","description":"UTM content parameter for tracking marketing campaigns","example":"banner_ad"},"utm_term":{"title":"UTM Term","maxLength":255,"type":"string","description":"UTM term parameter for tracking marketing campaigns","example":"chatbot"},"utm_adgroup":{"title":"UTM Ad Group","maxLength":255,"type":"string","description":"UTM ad group parameter for tracking marketing campaigns","example":"chatbot"},"utm_asset":{"title":"UTM Asset","maxLength":255,"type":"string","description":"UTM asset parameter for tracking marketing campaigns","example":"chatbot"},"utm_headline":{"title":"UTM Headline","maxLength":255,"type":"string","description":"UTM headline parameter for tracking marketing campaigns","example":"chatbot"},"utm_matchtype":{"title":"UTM Match Type","maxLength":255,"type":"string","description":"Match type parameter for tracking marketing campaigns","example":"chatbot"},"utm_device":{"title":"UTM Device","maxLength":255,"type":"string","description":"Device parameter for tracking marketing campaigns","example":"chatbot"},"utm_placement":{"title":"UTM Placement","maxLength":255,"type":"string","description":"Placement parameter for tracking marketing campaigns","example":"chatbot"},"utm_adposition":{"title":"UTM Ad Position","maxLength":255,"type":"string","description":"Ad position parameter for tracking marketing campaigns","example":"chatbot"},"agent_name":{"title":"Agent Name","maxLength":255,"type":"string","description":"The name of the agent","example":"Dante AI"},"brand_color":{"title":"Brand Color","maxLength":255,"type":"string","description":"The color of the brand","example":"#000000"}},"description":"Payload for verifying the claim code and setting a new password.\n\nThis completes the account claiming process by verifying the code\nand updating the user's email and password."},"OnboardingVerifyResponse":{"title":"OnboardingVerifyResponse","required":["status","message","user_updated"],"type":"object","properties":{"status":{"title":"Status","type":"string","description":"The status of the verification process","example":"success"},"message":{"title":"Message","type":"string","description":"Human-readable message about the verification status","example":"Account successfully claimed and updated."},"user_updated":{"title":"User Updated","type":"boolean","description":"Whether the user account was successfully updated","example":true},"access_token":{"title":"Access Token","type":"string","description":"JWT access token for the claimed account","example":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."},"cello_key":{"title":"Cello Authentication Key","type":"object","description":"Cello authentication data for frontend integration."},"jobs_manager_job_id":{"title":"Jobs Manager Job ID","type":"string","description":"The ID of the background job processing the domain sweep","example":"job_123456789"},"job_manager_response":{"title":"Job Manager Response","allOf":[{"$ref":"#/components/schemas/JobsManagerCreateResponse"}],"description":"Detailed response from the jobs manager system for domain sweep"}},"description":"Response from the verify endpoint after successfully claiming an account.\n\nContains the access token for the newly claimed account."},"OrchestratorProgressSummaryResponse":{"title":"OrchestratorProgressSummaryResponse","required":["orchestrator_job_id","orchestrator_status","total_urls_discovered","urls_completed","urls_failed","urls_skipped","urls_processing","urls_pending","total_batch_jobs","completed_batch_jobs","failed_batch_jobs","running_batch_jobs","pending_batch_jobs","overall_progress_percent","url_details"],"type":"object","properties":{"orchestrator_job_id":{"title":"Orchestrator Job Id","type":"string","description":"Orchestrator job ID","format":"uuid"},"orchestrator_status":{"title":"Orchestrator Status","type":"string","description":"Orchestrator job status"},"knowledge_base_name":{"title":"Knowledge Base Name","type":"string","description":"Knowledge base name"},"dante_kb_id":{"title":"Dante Kb Id","type":"string","description":"Dante knowledge base ID","format":"uuid"},"total_urls_discovered":{"title":"Total Urls Discovered","type":"integer","description":"Total URLs discovered"},"urls_completed":{"title":"Urls Completed","type":"integer","description":"URLs completed"},"urls_failed":{"title":"Urls Failed","type":"integer","description":"URLs failed"},"urls_skipped":{"title":"Urls Skipped","type":"integer","description":"URLs skipped"},"urls_processing":{"title":"Urls Processing","type":"integer","description":"URLs currently processing"},"urls_pending":{"title":"Urls Pending","type":"integer","description":"URLs pending"},"total_batch_jobs":{"title":"Total Batch Jobs","type":"integer","description":"Total batch jobs"},"completed_batch_jobs":{"title":"Completed Batch Jobs","type":"integer","description":"Completed batch jobs"},"failed_batch_jobs":{"title":"Failed Batch Jobs","type":"integer","description":"Failed batch jobs"},"running_batch_jobs":{"title":"Running Batch Jobs","type":"integer","description":"Running batch jobs"},"pending_batch_jobs":{"title":"Pending Batch Jobs","type":"integer","description":"Pending batch jobs"},"overall_progress_percent":{"title":"Overall Progress Percent","type":"number","description":"Overall progress percentage"},"estimated_completion_time":{"title":"Estimated Completion Time","type":"string","description":"Estimated completion time","format":"date-time"},"url_details":{"title":"Url Details","type":"array","items":{"$ref":"#/components/schemas/UrlProgressDetail"},"description":"URL processing details"},"created_at":{"title":"Created At","type":"string","description":"Orchestrator creation time","format":"date-time"},"started_at":{"title":"Started At","type":"string","description":"Orchestrator start time","format":"date-time"},"completed_at":{"title":"Completed At","type":"string","description":"Orchestrator completion time","format":"date-time"},"last_updated":{"title":"Last Updated","type":"string","description":"Last update time","format":"date-time"}},"description":"Orchestrator progress response without batch job details."},"OrchestratorStatusResponse":{"title":"OrchestratorStatusResponse","required":["job_id","status","total_urls","successful_urls","failed_urls","skipped_urls","overall_progress_percent","created_at"],"type":"object","properties":{"job_id":{"title":"Job Id","type":"string","description":"Orchestrator job ID","format":"uuid"},"status":{"title":"Status","type":"string","description":"Job status (pending, running, completed, failed, cancelled)"},"knowledge_base_name":{"title":"Knowledge Base Name","type":"string","description":"Knowledge base name"},"dante_kb_id":{"title":"Dante Kb Id","type":"string","description":"Dante knowledge base ID","format":"uuid"},"total_urls":{"title":"Total Urls","type":"integer","description":"Total URLs discovered/processed"},"successful_urls":{"title":"Successful Urls","type":"integer","description":"Number of successfully processed URLs"},"failed_urls":{"title":"Failed Urls","type":"integer","description":"Number of failed URLs"},"skipped_urls":{"title":"Skipped Urls","type":"integer","description":"Number of skipped URLs"},"total_characters_processed":{"title":"Total Characters Processed","type":"integer","description":"Total characters processed","default":0},"character_limit":{"title":"Character Limit","type":"integer","description":"Character limit for knowledge base"},"character_limit_exceeded":{"title":"Character Limit Exceeded","type":"boolean","description":"Whether character limit was exceeded","default":false},"overall_progress_percent":{"title":"Overall Progress Percent","type":"number","description":"Overall progress percentage (0-100)"},"execution_time_seconds":{"title":"Execution Time Seconds","type":"number","description":"Total execution time"},"has_issues":{"title":"Has Issues","type":"boolean","description":"Whether job completed with issues","default":false},"warnings":{"title":"Warnings","type":"array","items":{"type":"string"},"description":"List of warnings/issues","default":[]},"error_message":{"title":"Error Message","type":"string","description":"Error message if failed"},"created_at":{"title":"Created At","type":"string","description":"When job was created","format":"date-time"},"started_at":{"title":"Started At","type":"string","description":"When job started","format":"date-time"},"completed_at":{"title":"Completed At","type":"string","description":"When job completed","format":"date-time"},"job_summary":{"title":"Job Summary","type":"object","description":"Complete job summary with detailed URL results"}},"description":"Lightweight response for orchestrator job status with summary."},"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}}},"PaginationInfo":{"title":"PaginationInfo","required":["limit","offset"],"type":"object","properties":{"limit":{"title":"Limit","type":"integer","description":"Items per page"},"offset":{"title":"Offset","type":"integer","description":"Offset from start"}},"description":"Pagination information"},"ParsedProgressResponse":{"title":"ParsedProgressResponse","type":"object","properties":{"user_message":{"title":"User Message","type":"string","description":"User-friendly message"},"progress_percent":{"title":"Progress Percent","type":"number","description":"Overall progress percentage","default":0.0},"overall_progress_percent":{"title":"Overall Progress Percent","type":"number","description":"Alias for progress_percent","default":0.0},"current_step":{"title":"Current Step","type":"integer","description":"Current step number","default":1},"total_steps":{"title":"Total Steps","type":"integer","description":"Total number of steps","default":1},"step_description":{"title":"Step Description","type":"string","description":"Step description"},"items_completed":{"title":"Items Completed","type":"integer","description":"Items completed"},"items_total":{"title":"Items Total","type":"integer","description":"Total items"},"step_progress_percent":{"title":"Step Progress Percent","type":"number","description":"Step progress percentage"}},"description":"Parsed progress response with standardized format."},"PauseDetailsResponse":{"title":"PauseDetailsResponse","required":["nr_conversations","nr_chatbots","nr_characters","nr_team_members","nr_integrations","nr_personalities","paused_since","current_cost","previous_plan","savings","previous_tier_id"],"type":"object","properties":{"nr_conversations":{"title":"Nr Conversations","type":"integer","description":"Number of conversations"},"nr_chatbots":{"title":"Nr Chatbots","type":"integer","description":"Number of chatbots"},"nr_characters":{"title":"Nr Characters","type":"integer","description":"Number of characters"},"nr_team_members":{"title":"Nr Team Members","type":"integer","description":"Number of team members"},"nr_integrations":{"title":"Nr Integrations","type":"integer","description":"Number of integrations"},"nr_personalities":{"title":"Nr Personalities","type":"integer","description":"Number of personalities"},"paused_since":{"title":"Paused Since","type":"string","description":"Paused since","format":"date-time"},"current_cost":{"title":"Current Cost","type":"number","description":"Current cost"},"previous_plan":{"title":"Previous Plan","type":"string","description":"Previous plan"},"savings":{"title":"Savings","type":"number","description":"Savings"},"previous_tier_id":{"title":"Previous Tier Id","type":"string","description":"Previous tier ID","format":"uuid"}}},"PerformanceStatistics":{"title":"PerformanceStatistics","required":["conversations","resolution_rate","customer_satisfaction","time_recovered"],"type":"object","properties":{"conversations":{"title":"Conversations","allOf":[{"$ref":"#/components/schemas/StatisticValue"}],"description":"Total conversations"},"resolution_rate":{"title":"Resolution Rate","allOf":[{"$ref":"#/components/schemas/ResolutionRateStats"}],"description":"Resolution rate metrics"},"customer_satisfaction":{"title":"Customer Satisfaction","allOf":[{"$ref":"#/components/schemas/CSATStats"}],"description":"CSAT metrics"},"time_recovered":{"title":"Time Recovered","allOf":[{"$ref":"#/components/schemas/TimeRecoveredStats"}],"description":"Time saved metrics"}},"description":"Account-wide performance statistics"},"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"}}},"Personalities":{"title":"Personalities","required":["user_id","kb_id","personality_name","personality_content"],"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.","format":"uuid"},"kb_id":{"title":"Knowledge Base ID","type":"string","description":"The ID of the knowledge base.","format":"uuid"},"personality_name":{"title":"Name","type":"string","description":"The name of the personality."},"personality_content":{"title":"Content","type":"string","description":"The content of the personality."},"selected":{"title":"Selected","type":"boolean","description":"Flag indicating whether the personality is selected.","default":false},"personality_explanation":{"title":"Personality Explanation","type":"string","description":"The explanation of the personality."},"creativity_level":{"title":"Creativity Level","type":"number","description":"The creativity level of the personality."},"open_to_internet":{"title":"Open to Internet","type":"boolean","description":"Flag indicating whether the personality is open to the internet."}}},"PersonalitiesDeploymentResponse":{"title":"PersonalitiesDeploymentResponse","required":["number","deployment_names"],"type":"object","properties":{"number":{"title":"Number","type":"integer"},"deployment_names":{"title":"Deployment Names","type":"array","items":{"type":"string"}}}},"PhoneNumberCapabilities":{"title":"PhoneNumberCapabilities","type":"object","properties":{"voice":{"title":"Voice","type":"boolean","default":false},"sms":{"title":"Sms","type":"boolean","default":false},"mms":{"title":"Mms","type":"boolean","default":false}}},"PhoneNumberInfo":{"title":"PhoneNumberInfo","required":["phone_number","friendly_name","capabilities","status","is_whatsapp_enabled","in_use"],"type":"object","properties":{"phone_number":{"title":"Phone Number","type":"string"},"friendly_name":{"title":"Friendly Name","type":"string"},"capabilities":{"title":"Capabilities","type":"object","additionalProperties":{"type":"boolean"}},"status":{"title":"Status","type":"string"},"is_whatsapp_enabled":{"title":"Is Whatsapp Enabled","type":"boolean"},"in_use":{"title":"In Use","type":"boolean"}},"description":"Information about a Twilio phone number."},"PhoneNumberItem":{"title":"PhoneNumberItem","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/PhoneNumberStatus"},"used":{"title":"Used","type":"boolean","default":false}}},"PhoneNumberListResponse":{"title":"PhoneNumberListResponse","required":["results"],"type":"object","properties":{"results":{"title":"Results","type":"array","items":{"$ref":"#/components/schemas/PhoneNumberResponse"}}}},"PhoneNumberPayload":{"title":"PhoneNumberPayload","required":["number"],"type":"object","properties":{"number":{"title":"Number","type":"string"}}},"PhoneNumberPrice":{"title":"PhoneNumberPrice","required":["monthly","currency"],"type":"object","properties":{"monthly":{"title":"Monthly","type":"string"},"currency":{"title":"Currency","type":"string"}}},"PhoneNumberResponse":{"title":"PhoneNumberResponse","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/PhoneNumberStatus"},"used":{"title":"Used","type":"boolean","default":false},"ai_voice":{"$ref":"#/components/schemas/AIVoiceResponse"}}},"PhoneNumberStatus":{"title":"PhoneNumberStatus","enum":["verified","unverified"],"description":"An enumeration."},"PhoneNumbersListResponse":{"title":"PhoneNumbersListResponse","required":["phone_numbers","total_count"],"type":"object","properties":{"phone_numbers":{"title":"Phone Numbers","type":"array","items":{"$ref":"#/components/schemas/PhoneNumberInfo"}},"total_count":{"title":"Total Count","type":"integer"}},"description":"Response model for phone numbers listing."},"ProfileCreditsResponse":{"title":"ProfileCreditsResponse","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"},"ai_voice_minutes_used":{"title":"Ai Voice Minutes Used","type":"integer"},"ai_voice_minutes_available":{"title":"Ai Voice Minutes Available","type":"integer"},"ai_voice_percentage":{"title":"Ai Voice Percentage","type":"number"}}},"ProfilePatchResponse":{"title":"ProfilePatchResponse","required":["profile_image","full_name","email"],"type":"object","properties":{"profile_image":{"title":"Profile Image","type":"string"},"full_name":{"title":"Full Name","type":"string"},"email":{"title":"Email","type":"string"},"team_name":{"title":"Team Name","type":"string"},"team_profile_image":{"title":"Team Profile Image","type":"string"}}},"ProfileTeamResponse":{"title":"ProfileTeamResponse","required":["team_name","team_icon","total_seats","used_seats"],"type":"object","properties":{"team_name":{"title":"Team Name","type":"string"},"team_icon":{"title":"Team Icon","type":"string"},"total_seats":{"title":"Total Seats","type":"integer"},"used_seats":{"title":"Used Seats","type":"integer"}}},"ProfileTierResponse":{"title":"ProfileTierResponse","required":["renew_date","price_in_dollars","period","has_renew"],"type":"object","properties":{"renew_date":{"title":"Renew Date","type":"string","format":"date-time"},"price_in_dollars":{"title":"Price In Dollars","type":"number"},"period":{"title":"Period","type":"string"},"upgrade_to_annual_url":{"title":"Upgrade To Annual Url","type":"string"},"has_renew":{"title":"Has Renew","type":"boolean"},"in_grace_period":{"title":"In Grace Period","type":"boolean","description":"True if the subscription is canceled but still active until period end (e.g., user downgraded to hibernation but still has time left on paid tier)","default":false},"grace_period_end_date":{"title":"Grace Period End Date","type":"string","description":"The date when the grace period ends and the new tier (e.g., hibernation) becomes active. Only set if in_grace_period is True.","format":"date-time"},"scheduled_tier_type":{"title":"Scheduled Tier Type","type":"string","description":"The tier type that will become active at the end of the current period (e.g., 'hibernation', 'free'). Only set if subscription is canceled (has_cancel_at_end=true)."}}},"ProfileTrialResponse":{"title":"ProfileTrialResponse","required":["active","end_trial_date"],"type":"object","properties":{"active":{"title":"Active","type":"boolean"},"end_trial_date":{"title":"End Trial Date","type":"string","format":"date-time"}}},"ProgressLogListResponse":{"title":"ProgressLogListResponse","required":["results"],"type":"object","properties":{"results":{"title":"Results","type":"array","items":{"$ref":"#/components/schemas/ProgressLogResponse"},"description":"List of progress log entries"}},"description":"Response schema for progress log list."},"ProgressLogResponse":{"title":"ProgressLogResponse","required":["id","job_id","level","message","timestamp","status"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"job_id":{"title":"Job Id","type":"string","format":"uuid"},"level":{"title":"Level","type":"string"},"message":{"title":"Message","type":"string"},"timestamp":{"title":"Timestamp","type":"string","format":"date-time"},"status":{"$ref":"#/components/schemas/JobStatus"},"dante_kb_id":{"title":"Dante Kb Id","type":"string","format":"uuid"},"user_message":{"title":"User Message","type":"string","description":"Frontend-friendly message"},"progress_percent":{"title":"Progress Percent","type":"number","description":"Overall progress percentage (0-100)"},"overall_progress_percent":{"title":"Overall Progress Percent","type":"number","description":"Alias for progress_percent"},"current_step":{"title":"Current Step","type":"integer","description":"Current step number (integer)"},"total_steps":{"title":"Total Steps","type":"integer","description":"Total number of steps in workflow"},"step_description":{"title":"Step Description","type":"string","description":"Human-readable step description"},"items_completed":{"title":"Items Completed","type":"integer","description":"Items completed in current step"},"items_total":{"title":"Items Total","type":"integer","description":"Total items in current step"},"step_progress_percent":{"title":"Step Progress Percent","type":"number","description":"Progress within current step (0-100)"},"extra_data":{"title":"Extra Data","type":"object","description":"Additional progress context"}},"description":"Response schema for progress log entries."},"PromptSuggestions":{"title":"PromptSuggestions","required":["content","type"],"type":"object","properties":{"content":{"title":"Content","type":"string"},"type":{"title":"Type","type":"string"}}},"PullMetadataResponse":{"title":"PullMetadataResponse","type":"object","properties":{"title":{"title":"Title","type":"string"},"description":{"title":"Description","type":"string"},"image_url":{"title":"Image Url","type":"string"}}},"QADataPayload":{"title":"QADataPayload","required":["data"],"type":"object","properties":{"data":{"title":"Q&A Data","minItems":1,"type":"array","items":{"$ref":"#/components/schemas/QAItem"},"description":"List of question and answer pairs"}}},"QAItem":{"title":"QAItem","required":["question","answer"],"type":"object","properties":{"question":{"title":"Question","maxLength":5000,"minLength":1,"type":"string","description":"The question for the Q&A pair"},"answer":{"title":"Answer","maxLength":10000,"minLength":1,"type":"string","description":"The answer for the Q&A pair"}}},"QAKnowledgeBaseJobResponse":{"title":"QAKnowledgeBaseJobResponse","required":["job_id","message","kb_id","kb_name","qa_count"],"type":"object","properties":{"job_id":{"title":"Job ID","type":"string","description":"The Jobs Manager job ID for tracking the embedding creation","format":"uuid"},"status":{"title":"Status","type":"string","description":"Current job status","default":"processing"},"message":{"title":"Message","type":"string","description":"Status message"},"kb_id":{"title":"Knowledge Base ID","type":"string","description":"The ID of the created knowledge base","format":"uuid"},"kb_name":{"title":"Knowledge Base Name","type":"string","description":"The name of the created knowledge base"},"qa_count":{"title":"Q&A Pair Count","type":"integer","description":"Number of Q&A pairs submitted for training"}},"description":"Response for QA knowledge base creation that triggers Jobs Manager training."},"QAPairData":{"title":"QAPairData","required":["qa_id","question","answer"],"type":"object","properties":{"qa_id":{"title":"Qa Id","type":"string","description":"The vector ID used in Pinecone (generated by Jobs Manager)","format":"uuid"},"question":{"title":"Question","type":"string","description":"The question text"},"answer":{"title":"Answer","type":"string","description":"The answer text"},"previous_qa_id":{"title":"Previous Qa Id","type":"string","description":"If this QA pair replaces an existing one, the ID of the old QA pair to delete","format":"uuid"}},"description":"Single QA pair data from Jobs Manager callback."},"QAPairPatchPayload":{"title":"QAPairPatchPayload","type":"object","properties":{"question":{"title":"Question","type":"string"},"answer":{"title":"Answer","type":"string"}}},"QAPairResponse":{"title":"QAPairResponse","required":["id","question","answer","date_created","date_updated"],"type":"object","properties":{"id":{"title":"Q&A Pair ID","type":"string","description":"The unique identifier of the Q&A pair","format":"uuid"},"question":{"title":"Question","type":"string","description":"The question text in the Q&A pair"},"answer":{"title":"Answer","type":"string","description":"The answer text in the Q&A pair"},"date_created":{"title":"Date Created","type":"string","description":"The date and time when the Q&A pair was created","format":"date-time"},"date_updated":{"title":"Date Updated","type":"string","description":"The date and time when the Q&A pair was last updated","format":"date-time"}}},"QASyncJobResponse":{"title":"QASyncJobResponse","required":["message","kb_id"],"type":"object","properties":{"job_id":{"title":"Job ID","type":"string","description":"The Jobs Manager job ID for tracking the embedding creation (null if no new/updated QA pairs)","format":"uuid"},"status":{"title":"Status","type":"string","description":"Current job status","default":"processing"},"message":{"title":"Message","type":"string","description":"Status message"},"kb_id":{"title":"Knowledge Base ID","type":"string","description":"The ID of the knowledge base","format":"uuid"},"deleted_count":{"title":"Deleted Count","type":"integer","description":"Number of Q&A pairs deleted immediately","default":0},"pending_qa_count":{"title":"Pending Q&A Count","type":"integer","description":"Number of Q&A pairs pending training (new and updated combined)","default":0}},"description":"Response for QA sync operation that triggers Jobs Manager training."},"QAUpdateJobResponse":{"title":"QAUpdateJobResponse","required":["job_id","message","kb_id","new_qa_id","deleted_qa_id"],"type":"object","properties":{"job_id":{"title":"Job ID","type":"string","description":"The Jobs Manager job ID for tracking the embedding creation","format":"uuid"},"status":{"title":"Status","type":"string","description":"Current job status","default":"processing"},"message":{"title":"Message","type":"string","description":"Status message"},"kb_id":{"title":"Knowledge Base ID","type":"string","description":"The ID of the knowledge base","format":"uuid"},"new_qa_id":{"title":"New Q&A Pair ID","type":"string","description":"The ID of the newly created Q&A pair","format":"uuid"},"deleted_qa_id":{"title":"Deleted Q&A Pair ID","type":"string","description":"The ID of the deleted Q&A pair","format":"uuid"}},"description":"Response for QA pair update that triggers Jobs Manager training."},"QuerySystemPromptPayload":{"title":"QuerySystemPromptPayload","type":"object","properties":{"behaviour_instructions":{"title":"Behaviour Instructions","type":"string"},"open_to_internet":{"title":"Open To Internet","type":"boolean"},"creativity_level":{"title":"Creativity Level","type":"number"}}},"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."},"RedirectResponse":{"title":"RedirectResponse","required":["redirect"],"type":"object","properties":{"redirect_url":{"title":"Redirect Url","type":"string"},"redirect":{"title":"Redirect","type":"boolean"}}},"RefreshPeriod":{"title":"RefreshPeriod","enum":["daily","every_3_days","weekly"],"type":"string","description":"Enum for autorefresh periods."},"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"}}},"ResolutionRateDashboardResponse":{"title":"ResolutionRateDashboardResponse","required":["resolution_rate_percentage","resolution_rate_increase_percentage","graph_data","submissions_graph_data","resolved","transferred","failed"],"type":"object","properties":{"resolution_rate_percentage":{"title":"Resolution Rate Percentage","type":"string"},"resolution_rate_increase_percentage":{"title":"Resolution Rate Increase Percentage","type":"string"},"graph_data":{"title":"Graph Data","type":"array","items":{"type":"object"}},"submissions_graph_data":{"title":"Submissions Graph Data","type":"array","items":{"type":"object"}},"resolved":{"title":"Resolved","type":"string"},"transferred":{"title":"Transferred","type":"string"},"failed":{"title":"Failed","type":"string"}}},"ResolutionRateMetric":{"title":"ResolutionRateMetric","required":["value","previous_period_value","previous_period_difference","nr_conversations","trend","enabled"],"type":"object","properties":{"value":{"title":"Value","type":"integer","description":"Resolution rate percentage (0-100)"},"previous_period_value":{"title":"Previous Period Value","type":"integer","description":"Resolution rate percentage from previous period (30-60 days ago)"},"previous_period_difference":{"title":"Previous Period Difference","type":"integer","description":"Difference between current and previous period (can be positive or negative)"},"nr_conversations":{"title":"Nr Conversations","type":"integer","description":"Number of conversations with resolution data"},"trend":{"allOf":[{"$ref":"#/components/schemas/TrendEnum"}],"description":"Trend direction"},"enabled":{"title":"Enabled","type":"boolean","description":"Whether resolution tracking is enabled"}},"description":"Per-chatbot resolution rate metric"},"ResolutionRateStats":{"title":"ResolutionRateStats","required":["value","change_30d","previous_period_difference","total_conversations","enabled"],"type":"object","properties":{"value":{"title":"Value","type":"integer","description":"Resolution rate percentage (0-100)"},"change_30d":{"title":"Change 30D","type":"integer","description":"Change in percentage points over last 30 days"},"previous_period_difference":{"title":"Previous Period Difference","type":"integer","description":"Difference between current and previous 30-day period"},"total_conversations":{"title":"Total Conversations","type":"integer","description":"Total conversations with resolution data"},"enabled":{"title":"Enabled","type":"boolean","description":"Whether resolution tracking is enabled"}},"description":"Resolution rate statistics"},"ResourceUsage":{"title":"ResourceUsage","required":["value","max_value"],"type":"object","properties":{"value":{"title":"Value","type":"integer","description":"Current usage"},"max_value":{"title":"Max Value","type":"integer","description":"Maximum allowed"}},"description":"Resource usage with current and max values"},"RunningJobInfo":{"title":"RunningJobInfo","required":["job_id","job_type","status","created_at","total_discovered_urls","urls_completed","urls_failed","urls_processing","urls_pending","urls_skipped","total_batch_jobs","completed_batch_jobs","overall_progress_percent"],"type":"object","properties":{"job_id":{"title":"Job Id","type":"string","description":"Unique job identifier","format":"uuid"},"job_type":{"title":"Job Type","type":"string","description":"Type of job"},"status":{"title":"Status","type":"string","description":"Current job status"},"created_at":{"title":"Created At","type":"string","description":"Job creation timestamp","format":"date-time"},"total_discovered_urls":{"title":"Total Discovered Urls","type":"integer","description":"Total number of discovered URLs"},"urls_completed":{"title":"Urls Completed","type":"integer","description":"Number of completed URLs"},"urls_failed":{"title":"Urls Failed","type":"integer","description":"Number of failed URLs"},"urls_processing":{"title":"Urls Processing","type":"integer","description":"Number of URLs currently processing"},"urls_pending":{"title":"Urls Pending","type":"integer","description":"Number of pending URLs"},"urls_skipped":{"title":"Urls Skipped","type":"integer","description":"Number of skipped URLs"},"total_batch_jobs":{"title":"Total Batch Jobs","type":"integer","description":"Total number of batch jobs"},"completed_batch_jobs":{"title":"Completed Batch Jobs","type":"integer","description":"Number of completed batch jobs"},"knowledge_base_name":{"title":"Knowledge Base Name","type":"string","description":"Name of the knowledge base"},"overall_progress_percent":{"title":"Overall Progress Percent","type":"number","description":"Overall progress percentage"}},"description":"Information about a running job."},"RunningJobsResponse":{"title":"RunningJobsResponse","required":["results"],"type":"object","properties":{"results":{"title":"Results","type":"array","items":{"$ref":"#/components/schemas/RunningJobInfo"},"description":"List of running jobs"}},"description":"Response schema for running jobs."},"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"},"current_password":{"title":"Current Password","type":"string"},"blocked_words":{"title":"Blocked Words","type":"array","items":{"type":"string"}},"whitelisted_domains":{"title":"Whitelisted Domains","type":"array","items":{"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"},"blocked_words":{"title":"Blocked Words","type":"array","items":{"type":"string"},"default":[]},"whitelisted_domains":{"title":"Whitelisted Domains","type":"array","items":{"type":"string"}}}},"ScheduleOption":{"title":"ScheduleOption","enum":["daily","weekly","custom_interval"],"type":"string","description":"An enumeration."},"SetupIntentResponse":{"title":"SetupIntentResponse","required":["client_secret"],"type":"object","properties":{"client_secret":{"title":"Client Secret","type":"string"}}},"SharedKnowledgeBaseResponse":{"title":"SharedKnowledgeBaseResponse","required":["id","kb_id","user_id","token","date_created"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"user_id":{"title":"User Id","type":"string","format":"uuid"},"token":{"title":"Token","type":"string"},"date_created":{"title":"Date Created","type":"string","format":"date-time"}}},"SharingToken":{"title":"SharingToken","required":["token"],"type":"object","properties":{"token":{"title":"Token","type":"string"}}},"ShortTokenInfoResponse":{"title":"ShortTokenInfoResponse","required":["kb_id","token","allowed_model"],"type":"object","properties":{"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"token":{"title":"Token","type":"string"},"allowed_model":{"$ref":"#/components/schemas/ModelType"}}},"ShortTokenResponse":{"title":"ShortTokenResponse","required":["short_token"],"type":"object","properties":{"short_token":{"title":"Short 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"},"show_data_form":{"title":"Show Data Form","type":"boolean"},"show_live_agent":{"title":"Show Live Agent","type":"boolean"},"show_calendly_url":{"title":"Show Calendly Url","type":"boolean"}}},"SliderImageType":{"title":"SliderImageType","enum":["portrait","landscape"],"description":"An enumeration."},"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/QuickLinkPayload"},"default":[]},"meta_links":{"title":"Meta Links","type":"array","items":{"$ref":"#/components/schemas/MetaLinkPayload"},"default":[]},"link_groups":{"title":"Link Groups","type":"array","items":{"$ref":"#/components/schemas/LinkGroupSlotPayload"},"default":[]},"videos":{"title":"Videos","type":"array","items":{"$ref":"#/components/schemas/VideoSlotPayload"},"default":[]},"sliders":{"title":"Sliders","type":"array","items":{"$ref":"#/components/schemas/SliderSlotPayload"},"default":[]}}},"SlotsPayloadV2":{"title":"SlotsPayloadV2","type":"object","properties":{"buttons":{"title":"Buttons","type":"array","items":{"$ref":"#/components/schemas/ButtonSlotPayload"},"default":[]},"cards":{"title":"Cards","type":"array","items":{"$ref":"#/components/schemas/CardSlotPayload"},"default":[]},"titles":{"title":"Titles","type":"array","items":{"$ref":"#/components/schemas/TitleSlotPayload"},"default":[]},"new_sliders":{"title":"New Sliders","type":"array","items":{"$ref":"#/components/schemas/NewSliderSlotPayload"},"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":[]}}},"SlotsResponseV2":{"title":"SlotsResponseV2","type":"object","properties":{"buttons":{"title":"Buttons","type":"array","items":{"$ref":"#/components/schemas/ButtonSlotResponse"},"default":[]},"titles":{"title":"Titles","type":"array","items":{"$ref":"#/components/schemas/TitleSlotResponse"},"default":[]},"cards":{"title":"Cards","type":"array","items":{"$ref":"#/components/schemas/CardSlotResponse"},"default":[]},"sliders":{"title":"Sliders","type":"array","items":{"$ref":"#/components/schemas/NewSliderSlotResponse"},"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"}}},"StatisticValue":{"title":"StatisticValue","required":["value","change_30d","previous_period_difference"],"type":"object","properties":{"value":{"title":"Value","type":"integer","description":"Current value"},"change_30d":{"title":"Change 30D","type":"integer","description":"Change over last 30 days"},"previous_period_difference":{"title":"Previous Period Difference","type":"integer","description":"Difference between current and previous 30-day period"}},"description":"Basic statistic with value and 30-day change"},"StepInfo":{"title":"StepInfo","required":["name","progress_range"],"type":"object","properties":{"name":{"title":"Name","type":"string","description":"Step name"},"progress_range":{"title":"Progress Range","maxItems":2,"minItems":2,"type":"array","items":[{"type":"integer"},{"type":"integer"}],"description":"Progress range (start, end)"}},"description":"Step information for job types."},"StripePeriod":{"title":"StripePeriod","enum":["month","year","day","week"],"type":"string","description":"An enumeration."},"SyncQAPayload":{"title":"SyncQAPayload","type":"object","properties":{"add":{"title":"Q&A pairs to add","type":"array","items":{"$ref":"#/components/schemas/QAItem"},"description":"List of new question-answer pairs to add to the knowledge base"},"delete":{"title":"Q&A IDs to delete","type":"array","items":{"type":"string","format":"uuid"},"description":"List of Q&A pair IDs to delete from the knowledge base"},"update":{"title":"Q&A pairs to update","type":"array","items":{"$ref":"#/components/schemas/UpdateQAItem"},"description":"List of Q&A pairs to update with their IDs and new values"}},"description":"Payload for syncing (adding, updating, and deleting) Q&A pairs"},"TabsPagePayload":{"title":"TabsPagePayload","required":["home_tab_enabled","avatar_enabled","slots","previous_conversation_enabled","chat_label","chat_order","home_tab_label","home_tab_order"],"type":"object","properties":{"home_tab_enabled":{"title":"Home Tab Enabled","type":"boolean"},"avatar_enabled":{"title":"Avatar Enabled","type":"boolean"},"slots":{"$ref":"#/components/schemas/SlotsPayload"},"previous_conversation_enabled":{"title":"Previous Conversation Enabled","type":"boolean"},"chat_label":{"title":"Chat Label","type":"string"},"chat_order":{"title":"Chat Order","type":"integer"},"home_tab_label":{"title":"Home Tab Label","type":"string"},"home_tab_order":{"title":"Home Tab Order","type":"integer"}}},"TabsPagePayloadV2":{"title":"TabsPagePayloadV2","required":["home_tab_enabled","avatar_enabled","slots","previous_conversation_enabled","chat_label","chat_order","home_tab_label","home_tab_order","intro_message_enabled"],"type":"object","properties":{"home_tab_enabled":{"title":"Home Tab Enabled","type":"boolean"},"avatar_enabled":{"title":"Avatar Enabled","type":"boolean"},"slots":{"$ref":"#/components/schemas/SlotsPayloadV2"},"previous_conversation_enabled":{"title":"Previous Conversation Enabled","type":"boolean"},"chat_label":{"title":"Chat Label","type":"string"},"chat_order":{"title":"Chat Order","type":"integer"},"home_tab_label":{"title":"Home Tab Label","type":"string"},"home_tab_order":{"title":"Home Tab Order","type":"integer"},"intro_message_enabled":{"title":"Intro Message Enabled","type":"boolean"},"intro_message":{"title":"Intro Message","type":"string"},"ask_a_question_button":{"title":"Ask A Question Button","type":"string"},"continue_last_conversation_button":{"title":"Continue Last Conversation Button","type":"string"}}},"TabsResponse":{"title":"TabsResponse","required":["home_tab_enabled","avatar_enabled","slots","previous_conversation_enabled","main_tabs"],"type":"object","properties":{"home_tab_enabled":{"title":"Home Tab Enabled","type":"boolean"},"avatar_enabled":{"title":"Avatar Enabled","type":"boolean"},"slots":{"$ref":"#/components/schemas/SlotsResponse"},"previous_conversation_enabled":{"title":"Previous Conversation Enabled","type":"boolean"},"main_tabs":{"title":"Main Tabs","type":"object"}}},"TabsResponseV2":{"title":"TabsResponseV2","required":["intro_message_enabled","home_tab_enabled","avatar_enabled","slots","previous_conversation_enabled","main_tabs"],"type":"object","properties":{"intro_message_enabled":{"title":"Intro Message Enabled","type":"boolean"},"intro_message":{"title":"Intro Message","type":"string"},"home_tab_enabled":{"title":"Home Tab Enabled","type":"boolean"},"avatar_enabled":{"title":"Avatar Enabled","type":"boolean"},"slots":{"$ref":"#/components/schemas/SlotsResponseV2"},"previous_conversation_enabled":{"title":"Previous Conversation Enabled","type":"boolean"},"main_tabs":{"title":"Main Tabs","type":"object"},"ask_a_question_button":{"title":"Ask A Question Button","type":"string"},"continue_last_conversation_button":{"title":"Continue Last Conversation Button","type":"string"}}},"TaxIdCountryGroup":{"title":"TaxIdCountryGroup","required":["country_code","country_name","tax_id_types"],"type":"object","properties":{"country_code":{"title":"Country Code","type":"string"},"country_name":{"title":"Country Name","type":"string"},"tax_id_types":{"title":"Tax Id Types","type":"array","items":{"$ref":"#/components/schemas/TaxIdTypeInfo"}}}},"TaxIdTypeInfo":{"title":"TaxIdTypeInfo","required":["type","label","example"],"type":"object","properties":{"type":{"title":"Type","type":"string"},"label":{"title":"Label","type":"string"},"example":{"title":"Example","type":"string"}}},"TaxIdTypesResponse":{"title":"TaxIdTypesResponse","required":["countries"],"type":"object","properties":{"countries":{"title":"Countries","type":"array","items":{"$ref":"#/components/schemas/TaxIdCountryGroup"}}}},"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"}}},"TeamOnboardingPayload":{"title":"TeamOnboardingPayload","required":["name","team_icon","members"],"type":"object","properties":{"name":{"title":"Name","type":"string"},"team_icon":{"title":"Team Icon","type":"string"},"members":{"title":"Members","type":"array","items":{"$ref":"#/components/schemas/MemberOnboard"}}}},"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"},"team_icon":{"title":"Team Icon","type":"string"}}},"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},"edit_chatbot_name":{"title":"Edit Chatbot Name","type":"boolean","description":"Flag indicating wether the user can edit the chatbot names","default":false},"edit_chatbot_status":{"title":"Edit Chatbot Status","type":"boolean","description":"Flag indicating wether the user can edit the chatbot status","default":false},"delete_chatbot":{"title":"Delete Chatbot","type":"boolean","description":"Flag indicating wether the user can delete the chatbot","default":false},"tabs":{"title":"Tabs","type":"boolean","description":"Flag indicating whether the user can edit the tabs","default":false},"insights":{"title":"Insights","type":"boolean","description":"Flag indicating whether the user can edit the insights","default":false},"integrations":{"title":"Integrations","type":"boolean","description":"Flag indicating whether the user can edit the integrations","default":false},"api_key":{"title":"API Key","type":"boolean","description":"Flag indicating whether the user can edit the API key","default":false},"chatbot_safety":{"title":"Chatbot Safety","type":"boolean","description":"Flag indicating whether the user can edit the chatbot safety","default":false},"chatbot_knowledge":{"title":"Chatbot Knowledge","type":"boolean","description":"Flag indicating whether the user can edit the chatbot knowledge","default":false},"chatbot_personality":{"title":"Chatbot Personality","type":"boolean","description":"Flag indicating whether the user can edit the chatbot personality","default":false},"chatbot_core_settings":{"title":"Chatbot Core Settings","type":"boolean","description":"Flag indicating whether the user can edit the chatbot core settings","default":false},"chatbot_styling":{"title":"Chatbot Styling","type":"boolean","description":"Flag indicating whether the user can edit the chatbot styling","default":false},"chatbot_powerups":{"title":"Chatbot Powerups","type":"boolean","description":"Flag indicating whether the user can edit the chatbot powerups","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"},"edit_chatbot_name":{"title":"Edit Chatbot Name","type":"boolean"},"edit_chatbot_status":{"title":"Edit Chatbot Status","type":"boolean"},"delete_chatbot":{"title":"Delete Chatbot","type":"boolean"},"tabs":{"title":"Tabs","type":"boolean"},"insights":{"title":"Insights","type":"boolean"},"integrations":{"title":"Integrations","type":"boolean"},"api_key":{"title":"Api Key","type":"boolean"},"chatbot_safety":{"title":"Chatbot Safety","type":"boolean"},"chatbot_knowledge":{"title":"Chatbot Knowledge","type":"boolean"},"chatbot_personality":{"title":"Chatbot Personality","type":"boolean"},"chatbot_core_settings":{"title":"Chatbot Core Settings","type":"boolean"},"chatbot_styling":{"title":"Chatbot Styling","type":"boolean"},"chatbot_powerups":{"title":"Chatbot Powerups","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","edit_chatbot_name","edit_chatbot_status","delete_chatbot","tabs","insights","integrations","api_key","chatbot_safety","chatbot_knowledge","chatbot_personality","chatbot_core_settings","chatbot_styling","chatbot_powerups"],"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"},"edit_chatbot_name":{"title":"Edit Chatbot Name","type":"boolean"},"edit_chatbot_status":{"title":"Edit Chatbot Status","type":"boolean"},"delete_chatbot":{"title":"Delete Chatbot","type":"boolean"},"tabs":{"title":"Tabs","type":"boolean"},"insights":{"title":"Insights","type":"boolean"},"integrations":{"title":"Integrations","type":"boolean"},"api_key":{"title":"Api Key","type":"boolean"},"chatbot_safety":{"title":"Chatbot Safety","type":"boolean"},"chatbot_knowledge":{"title":"Chatbot Knowledge","type":"boolean"},"chatbot_personality":{"title":"Chatbot Personality","type":"boolean"},"chatbot_core_settings":{"title":"Chatbot Core Settings","type":"boolean"},"chatbot_styling":{"title":"Chatbot Styling","type":"boolean"},"chatbot_powerups":{"title":"Chatbot Powerups","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"}}},"TemporaryUserInfo":{"title":"TemporaryUserInfo","required":["email","user_id"],"type":"object","properties":{"email":{"title":"Temporary Email","type":"string","description":"The temporary email address assigned to the user","example":"abc123@dante-ai-temporary.com"},"user_id":{"title":"User ID","type":"string","description":"The UUID of the temporary user account","example":"123e4567-e89b-12d3-a456-426614174000"}},"description":"Information about the temporary user account created during onboarding."},"TextToVoiceSettingsBulkAddItem":{"title":"TextToVoiceSettingsBulkAddItem","required":["name","voice_type","external_id"],"type":"object","properties":{"name":{"title":"Name","type":"string"},"voice_type":{"$ref":"#/components/schemas/AIVoiceTTSEnum"},"external_id":{"title":"External Id","type":"string"}}},"TextToVoiceSettingsBulkAddPayload":{"title":"TextToVoiceSettingsBulkAddPayload","required":["voice_settings"],"type":"object","properties":{"voice_settings":{"title":"Voice Settings","type":"array","items":{"$ref":"#/components/schemas/TextToVoiceSettingsBulkAddItem"}}}},"TextToVoiceSettingsListResponse":{"title":"TextToVoiceSettingsListResponse","required":["results"],"type":"object","properties":{"results":{"title":"Results","type":"array","items":{"$ref":"#/components/schemas/TextToVoiceSettingsResponse"}}}},"TextToVoiceSettingsPayload":{"title":"TextToVoiceSettingsPayload","required":["name","voice_type","external_id"],"type":"object","properties":{"name":{"title":"Name","type":"string"},"voice_type":{"$ref":"#/components/schemas/AIVoiceTTSEnum"},"external_id":{"title":"External Id","type":"string"},"preview_url_text":{"title":"Preview Url Text","type":"string"}}},"TextToVoiceSettingsResponse":{"title":"TextToVoiceSettingsResponse","required":["id","name","voice_type","external_id"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"name":{"title":"Name","type":"string"},"voice_type":{"$ref":"#/components/schemas/AIVoiceTTSEnum"},"external_id":{"title":"External Id","type":"string"},"preview_url":{"title":"Preview Url","type":"string"}}},"TextToVoiceSettingsValueLabel":{"title":"TextToVoiceSettingsValueLabel","required":["value","label"],"type":"object","properties":{"value":{"title":"Value","anyOf":[{"type":"string","format":"uuid"},{"type":"string"}]},"label":{"title":"Label","type":"string"}}},"TextToVoiceValueLabel":{"title":"TextToVoiceValueLabel","required":["value","label"],"type":"object","properties":{"value":{"$ref":"#/components/schemas/AIVoiceTTSEnum"},"label":{"title":"Label","type":"string"}}},"ThumbnailResponse":{"title":"ThumbnailResponse","type":"object","properties":{"thumbnail_url":{"title":"Thumbnail Url","type":"string"}}},"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"}}},"TierDowngradeReason":{"title":"TierDowngradeReason","required":["user_id","user_email","stats"],"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 tier downgrade reason.","format":"uuid"},"user_email":{"title":"User Email","type":"string","description":"The email of the user."},"reason":{"title":"Reason","type":"string","description":"The reason for the tier downgrade."},"booked_meeting":{"title":"Booked Meeting","type":"boolean","description":"Flag indicating whether the user has booked a meeting.","default":false},"step":{"title":"Step","type":"integer","description":"The step of the tier downgrade reason.","default":0},"stats":{"title":"Stats","type":"object","description":"The stats of the tier downgrade reason."},"feedback":{"title":"Feedback","type":"array","items":{"type":"string"},"description":"The feedback of the tier downgrade reason.","default":[]},"new_tier":{"title":"Current Tier","allOf":[{"$ref":"#/components/schemas/app__models__core__TierBase__TierType"}],"description":"The current tier of the tier downgrade reason."},"previous_tier":{"title":"Previous Tier","allOf":[{"$ref":"#/components/schemas/app__models__core__TierBase__TierType"}],"description":"The previous tier of the tier downgrade reason."}}},"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"}}},"TimeRecoveredStats":{"title":"TimeRecoveredStats","required":["value","change_30d","previous_period_difference"],"type":"object","properties":{"value":{"title":"Value","type":"integer","description":"Total minutes saved"},"change_30d":{"title":"Change 30D","type":"integer","description":"Change in minutes over last 30 days"},"previous_period_difference":{"title":"Previous Period Difference","type":"integer","description":"Difference between current and previous 30-day period"}},"description":"Time recovered statistics"},"TimeSavedDashboardResponse":{"title":"TimeSavedDashboardResponse","required":["time_saved_number","time_saved_increase_percentage"],"type":"object","properties":{"time_saved_number":{"title":"Time Saved Number","type":"string"},"time_saved_increase_percentage":{"title":"Time Saved Increase Percentage","type":"string"}}},"TitleSlotPatchPayload":{"title":"TitleSlotPatchPayload","required":["kb_id"],"type":"object","properties":{"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"content":{"title":"Content","type":"string"},"order":{"title":"Order","type":"integer"}}},"TitleSlotPayload":{"title":"TitleSlotPayload","required":["kb_id","content","order"],"type":"object","properties":{"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"content":{"title":"Content","type":"string"},"order":{"title":"Order","type":"integer"}}},"TitleSlotResponse":{"title":"TitleSlotResponse","required":["id","user_id","kb_id","content","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"},"content":{"title":"Content","type":"string"},"order":{"title":"Order","type":"integer"},"disclaimer":{"title":"Disclaimer","type":"string"},"type":{"title":"Type","type":"string"}}},"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"}}},"TrendEnum":{"title":"TrendEnum","enum":["up","down","neutral"],"type":"string","description":"Enum for trend direction"},"TrialPlanType":{"title":"TrialPlanType","enum":["starter","advanced","pro"],"description":"An enumeration."},"TwilioCredentialsCreate":{"title":"TwilioCredentialsCreate","required":["account_sid","auth_token"],"type":"object","properties":{"account_sid":{"title":"Account Sid","type":"string"},"auth_token":{"title":"Auth Token","type":"string"},"whatsapp_number":{"title":"Whatsapp Number","type":"string"}},"description":"Request model for creating Twilio credentials."},"TwilioCredentialsResponse":{"title":"TwilioCredentialsResponse","required":["id","user_id","account_sid","auth_token","is_active","date_created","date_updated"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"user_id":{"title":"User Id","type":"string","format":"uuid"},"account_sid":{"title":"Account Sid","type":"string"},"auth_token":{"title":"Auth Token","type":"string"},"whatsapp_number":{"title":"Whatsapp Number","type":"string"},"is_active":{"title":"Is Active","type":"boolean"},"date_created":{"title":"Date Created","type":"string","format":"date-time"},"date_updated":{"title":"Date Updated","type":"string","format":"date-time"}},"description":"Response model for Twilio credentials (with masked values)."},"TwilioCredentialsUpdate":{"title":"TwilioCredentialsUpdate","type":"object","properties":{"account_sid":{"title":"Account Sid","type":"string"},"auth_token":{"title":"Auth Token","type":"string"},"whatsapp_number":{"title":"Whatsapp Number","type":"string"},"is_active":{"title":"Is Active","type":"boolean"}},"description":"Request model for updating Twilio credentials."},"TwilioWebhookURLResponse":{"title":"TwilioWebhookURLResponse","required":["url"],"type":"object","properties":{"url":{"title":"Url","type":"string"}}},"UniqueUsersDashboardResponse":{"title":"UniqueUsersDashboardResponse","required":["unique_users_number","unique_users_increase_number","graph_data","resolution_ratings","satisfaction_ratings"],"type":"object","properties":{"unique_users_number":{"title":"Unique Users Number","type":"string"},"unique_users_increase_number":{"title":"Unique Users Increase Number","type":"string"},"graph_data":{"title":"Graph Data","type":"array","items":{"type":"object"}},"resolution_ratings":{"title":"Resolution Ratings","type":"string"},"satisfaction_ratings":{"title":"Satisfaction Ratings","type":"string"}}},"UpdateAutorefreshPayload":{"title":"UpdateAutorefreshPayload","type":"object","properties":{"refresh_period":{"title":"Refresh Period","allOf":[{"$ref":"#/components/schemas/RefreshPeriod"}],"description":"Updated refresh period (daily, every_3_days, weekly)"},"is_active":{"title":"Is Active","type":"boolean","description":"Whether the schedule should be active or paused"},"max_runs":{"title":"Maximum Runs","maximum":1000.0,"minimum":1.0,"type":"integer","description":"Updated limit on total number of refresh runs (null = unlimited)"}},"description":"Payload for updating an existing autorefresh schedule."},"UpdateBillingDetailsRequest":{"title":"UpdateBillingDetailsRequest","type":"object","properties":{"name":{"title":"Name","type":"string"},"email":{"title":"Email","type":"string"},"phone":{"title":"Phone","type":"string"},"address":{"$ref":"#/components/schemas/BillingAddress"},"tax_exempt":{"title":"Tax Exempt","enum":["none","exempt","reverse"],"type":"string"}}},"UpdateInfoPayload":{"title":"UpdateInfoPayload","required":["user_email"],"type":"object","properties":{"user_email":{"title":"User Email","type":"string"},"trial_started_at":{"title":"Trial Started At","type":"string","format":"date-time"},"date_created":{"title":"Date Created","type":"string","format":"date-time"}}},"UpdateQAItem":{"title":"UpdateQAItem","required":["id"],"type":"object","properties":{"question":{"title":"Question","type":"string"},"answer":{"title":"Answer","type":"string"},"id":{"title":"Q&A ID","type":"string","description":"The ID of the Q&A pair to update","format":"uuid"}},"description":"Q&A pair to update in sync operation"},"UploadCompleteResponse":{"title":"UploadCompleteResponse","required":["file_url","filename","file_size","upload_id"],"type":"object","properties":{"file_url":{"title":"File Url","type":"string"},"filename":{"title":"Filename","type":"string"},"file_size":{"title":"File Size","type":"integer"},"content_type":{"title":"Content Type","type":"string"},"upload_id":{"title":"Upload Id","type":"string"}},"description":"Response model for completed upload."},"UploadPicResponse":{"title":"UploadPicResponse","required":["url"],"type":"object","properties":{"url":{"title":"Url","type":"string"}}},"UrlProgressDetail":{"title":"UrlProgressDetail","required":["url","url_index","batch_size","status","progress_percent"],"type":"object","properties":{"url":{"title":"Url","type":"string","description":"The URL being processed"},"url_index":{"title":"Url Index","type":"integer","description":"Index of the URL in the batch"},"batch_size":{"title":"Batch Size","type":"integer","description":"Size of the batch this URL belongs to"},"status":{"title":"Status","type":"string","description":"Current processing status"},"current_step":{"title":"Current Step","type":"string","description":"Current processing step"},"progress_percent":{"title":"Progress Percent","type":"number","description":"Progress percentage for this URL"},"content_length":{"title":"Content Length","type":"integer","description":"Length of content extracted"},"chunk_count":{"title":"Chunk Count","type":"integer","description":"Number of chunks created"},"embedding_count":{"title":"Embedding Count","type":"integer","description":"Number of embeddings created"},"dante_file_id":{"title":"Dante File Id","type":"string","description":"Dante file ID if created","format":"uuid"},"error_message":{"title":"Error Message","type":"string","description":"Error message if failed"},"started_at":{"title":"Started At","type":"string","description":"When processing started","format":"date-time"},"completed_at":{"title":"Completed At","type":"string","description":"When processing completed","format":"date-time"},"last_updated":{"title":"Last Updated","type":"string","description":"Last update timestamp","format":"date-time"}},"description":"Detailed progress information for a single URL."},"UserApiKeyResponse":{"title":"UserApiKeyResponse","type":"object","properties":{"secret_key":{"title":"Secret Key","type":"string"},"public_key":{"title":"Public Key","type":"string"}}},"UserCreate":{"title":"UserCreate","required":["email","password","first_name","last_name"],"type":"object","properties":{"email":{"title":"Email","type":"string","format":"email"},"password":{"title":"Password","type":"string"},"is_active":{"title":"Is Active","type":"boolean","default":false},"is_superuser":{"title":"Is Superuser","type":"boolean","default":false},"is_verified":{"title":"Is Verified","type":"boolean","default":false},"full_name":{"title":"Full Name","type":"string"},"first_name":{"title":"First Name","type":"string"},"last_name":{"title":"Last Name","type":"string"},"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"},"captcha_token":{"title":"Captcha Token","type":"string"}}},"UserKBPersonalitiesResponse":{"title":"UserKBPersonalitiesResponse","required":["id","date_created","date_updated","personality_name","personality_content","selected"],"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"},"personality_name":{"title":"Personality Name","type":"string"},"personality_content":{"title":"Personality Content","type":"string"},"selected":{"title":"Selected","type":"boolean"},"personality_explanation":{"title":"Personality Explanation","type":"string"},"creativity_level":{"title":"Creativity Level","type":"number"},"open_to_internet":{"title":"Open To Internet","type":"boolean"},"deployments":{"title":"Deployments","type":"array","items":{"$ref":"#/components/schemas/PersonalitiesDeploymentResponse"},"default":[]},"used_by_whatsapp":{"title":"Used By Whatsapp","type":"array","items":{"type":"string"},"default":[]}}},"UserKBPersonalityResponse":{"title":"UserKBPersonalityResponse","required":["personality_id"],"type":"object","properties":{"personality_id":{"title":"The id of the personality","type":"string","description":"The ID of the personality."},"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"}}},"UserMigraionRuleResponse":{"title":"UserMigraionRuleResponse","required":["id","date_created","date_updated","user_id","email","old_design","new_design"],"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"},"email":{"title":"Email","type":"string"},"old_design":{"title":"Old Design","type":"boolean"},"new_design":{"title":"New Design","type":"boolean"},"migration_wave":{"title":"Migration Wave","type":"integer"}}},"UserMigrationRuleFilters":{"title":"UserMigrationRuleFilters","type":"object","properties":{"user_id":{"title":"User Id","type":"string","format":"uuid"},"migration_wave":{"title":"Migration Wave","type":"integer"},"email__ilike":{"title":"Email  Ilike","type":"string"}}},"UserMigrationRuleListResponse":{"title":"UserMigrationRuleListResponse","required":["results","filters","pagination","order_by"],"type":"object","properties":{"results":{"title":"Results","type":"array","items":{"$ref":"#/components/schemas/UserMigraionRuleResponse"}},"filters":{"$ref":"#/components/schemas/UserMigrationRuleFilters"},"pagination":{"$ref":"#/components/schemas/Pagination"},"order_by":{"$ref":"#/components/schemas/UserMigrationRuleOrderBy"}}},"UserMigrationRuleOrderBy":{"title":"UserMigrationRuleOrderBy","type":"object","properties":{"order_by":{"title":"Order By","enum":["date_created","date_updated","migration_wave","email"],"type":"string","default":"date_created"},"ascending":{"title":"Ascending","maximum":1.0,"minimum":0.0,"type":"integer","default":0}}},"UserMigrationRulePatchPayload":{"title":"UserMigrationRulePatchPayload","type":"object","properties":{"old_design":{"title":"Old Design","type":"boolean"},"new_design":{"title":"New Design","type":"boolean"},"migration_wave":{"title":"Migration Wave","type":"integer"}}},"UserPersonalitiesCreatePayload":{"title":"UserPersonalitiesCreatePayload","required":["kb_id","personality_name","personality_content"],"type":"object","properties":{"kb_id":{"title":"Kb Id","type":"string","format":"uuid"},"personality_name":{"title":"Personality Name","type":"string"},"personality_content":{"title":"Personality Content","type":"string"},"personality_explanation":{"title":"Personality Explanation","type":"string"},"creativity_level":{"title":"Creativity Level","type":"number"},"open_to_internet":{"title":"Open To Internet","type":"boolean"}}},"UserPersonalitiesRefinePayload":{"title":"UserPersonalitiesRefinePayload","required":["personality_content"],"type":"object","properties":{"personality_content":{"title":"Personality Content","type":"string"},"user_input":{"title":"User Input","type":"string"}}},"UserPersonalitiesUpdatePayload":{"title":"UserPersonalitiesUpdatePayload","required":["personality_content"],"type":"object","properties":{"personality_name":{"title":"Personality Name","type":"string"},"personality_content":{"title":"Personality Content","type":"string"},"personality_explanation":{"title":"Personality Explanation","type":"string"},"creativity_level":{"title":"Creativity Level","type":"number"},"open_to_internet":{"title":"Open To Internet","type":"boolean"}}},"UserProfileAllResponse":{"title":"UserProfileAllResponse","required":["id","full_name","email","tier_id","tier_name","tier_rank","monthly_messages_used","monthly_message_limit","credits_key","tier_key","total_ai_chatbots","used_ai_chatbots","total_custom_urls","current_custom_urls","sweep_entire_domain_limit","characters_per_knowledgebase"],"type":"object","properties":{"id":{"title":"User ID","type":"string","description":"The ID of the user.","format":"uuid"},"profile_image":{"title":"Profile Image","type":"string","description":"URL of the user's profile image."},"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."},"tier_rank":{"title":"Tier Rank","type":"integer","description":"The rank 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."},"owner_tier_type":{"title":"Owner Tier Type","type":"string","description":"The tier type of the team owner. Only present when the response is in a team context (team_id was provided). Used by the frontend for team-context feature gating."},"tier_on_trial":{"title":"Boolean flag indicating whether this tier is currently on trial or not","type":"boolean","description":"Tier on trial flag"},"new_design_trial":{"title":"Boolean flag indicating whether this tier is currently on trial or not","type":"boolean","description":"Tier on new design trial flag"},"new_design_trial_days_left":{"title":"Number of days left for the new design trial","type":"integer","description":"Number of days left for the new design trial"},"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},"trial_key":{"title":"Profile Trial key","allOf":[{"$ref":"#/components/schemas/ProfileTrialResponse"}],"description":"Profile Trial key"},"team_key":{"title":"Profile Team key","allOf":[{"$ref":"#/components/schemas/ProfileTeamResponse"}],"description":"Profile Team key"},"credits_key":{"title":"Profile Credits key","allOf":[{"$ref":"#/components/schemas/ProfileCreditsResponse"}],"description":"Profile Credits key"},"tier_key":{"title":"Profile Tier key","allOf":[{"$ref":"#/components/schemas/ProfileTierResponse"}],"description":"Profile Tier key"},"total_ai_chatbots":{"title":"Number of chatbots allowed","type":"integer","description":"Number of chatbots allowed."},"used_ai_chatbots":{"title":"Number of chatbots created","type":"integer","description":"Number of chatbots created."},"cello_key":{"title":"Cello Authentication Key","type":"object","description":"Cello authentication data for frontend integration."},"total_custom_urls":{"title":"Total number of custom URLs","type":"integer","description":"Total number of custom URLs."},"current_custom_urls":{"title":"Current number of custom URLs","type":"integer","description":"Current number of custom URLs."},"payment_status":{"title":"Payment status","type":"string","description":"Latest payment status from Stripe."},"new_bubble_accepted":{"title":"Boolean flag indicating whether the user has accepted the new bubble","type":"boolean","default":false},"days_left_before_renewal":{"title":"Days left before renewal","type":"integer","description":"Number of days left before subscription renewal when user has no valid payment method (missing, expired, or expiring this month)."},"seen_pop_up_claude_new_models":{"title":"Boolean flag indicating whether the user has seen the pop up for the new Claude models","type":"boolean","default":false},"sweep_entire_domain_limit":{"title":"Sweep Entire Domain Limit","type":"integer","description":"Maximum number of URLs to scrape when sweeping entire domain (tier-based limit)."},"seen_new_bubble_pop_up_twice":{"title":"Boolean flag indicating whether the user has seen the new bubble pop up twice","type":"boolean","default":false},"black_friday_offer_type":{"title":"Black Friday Offer Type","type":"string","description":"Type of Black Friday offer to show: 'free_tier', 'monthly_weekly_upgrade', 'yearly_renewal', or None if no offer should be shown."},"characters_per_knowledgebase":{"title":"Characters per Knowledge Base","type":"integer","description":"The maximum number of characters allowed per knowledge base for the user's tier."},"seen_black_friday_modal":{"title":"Boolean flag indicating whether the user has seen the black friday modal","type":"boolean","default":false},"seen_new_design_popup":{"title":"Boolean flag indicating whether the user has seen the new design popup","type":"boolean","default":false},"will_hibernate":{"title":"Boolean flag indicating whether the user will hibernate","type":"boolean","default":false},"is_demo_account":{"title":"Boolean flag indicating whether the user is a demo account","type":"boolean","default":false},"show_br_email_banner":{"title":"Boolean flag indicating whether the user should see the breached email banner","type":"boolean","default":false}}},"UserProfilePatchPayload":{"title":"UserProfilePatchPayload","type":"object","properties":{"profile_image":{"title":"Profile Image","type":"string"},"full_name":{"title":"Full Name","type":"string"},"email":{"title":"Email","type":"string"},"team_name":{"title":"Team Name","type":"string"},"team_profile_image":{"title":"Team Profile Image","type":"string"}}},"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}}},"UserRead":{"title":"UserRead","required":["id","full_name","first_name","last_name","email"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"full_name":{"title":"Full Name","type":"string"},"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"},"profile_image":{"title":"Profile Image","type":"string"},"last_login":{"title":"Last Login","type":"string","format":"date-time"}}},"UserUpdate":{"title":"UserUpdate","type":"object","properties":{"full_name":{"title":"Full Name","type":"string"},"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"},"job_role":{"title":"Job Role","type":"string"},"company_name":{"title":"Company Name","type":"string"},"profile_image":{"title":"Profile 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"}}},"ValueGeneratedDashboardResponse":{"title":"ValueGeneratedDashboardResponse","required":["value_generated_number","value_generated_increase_percentage"],"type":"object","properties":{"value_generated_number":{"title":"Value Generated Number","type":"string"},"value_generated_increase_percentage":{"title":"Value Generated Increase Percentage","type":"string"}}},"VerifyCredentialsRequest":{"title":"VerifyCredentialsRequest","required":["account_sid","auth_token"],"type":"object","properties":{"account_sid":{"title":"Account Sid","type":"string"},"auth_token":{"title":"Auth Token","type":"string"}},"description":"Request model for verifying Twilio credentials."},"VerifyCredentialsResponse":{"title":"VerifyCredentialsResponse","required":["valid","message"],"type":"object","properties":{"valid":{"title":"Valid","type":"boolean"},"message":{"title":"Message","type":"string"},"account_info":{"title":"Account Info","type":"object"},"error_details":{"title":"Error Details","type":"string"}},"description":"Response model for credentials verification."},"VerifyDesktopMagicLinkPayload":{"title":"VerifyDesktopMagicLinkPayload","required":["token"],"type":"object","properties":{"token":{"title":"Token","type":"string"}}},"VideoCardSlotPatchPayload":{"title":"VideoCardSlotPatchPayload","type":"object","properties":{"url":{"title":"Url","type":"string"},"title":{"title":"Title","type":"string"},"description":{"title":"Description","type":"string"}}},"VideoCardSlotPayload":{"title":"VideoCardSlotPayload","required":["url"],"type":"object","properties":{"url":{"title":"Url","type":"string"},"image_url":{"title":"Image Url","type":"string"},"title":{"title":"Title","type":"string"},"description":{"title":"Description","type":"string"}}},"VideoCardSlotResponse":{"title":"VideoCardSlotResponse","required":["id","card_slot_id","video_url"],"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid"},"card_slot_id":{"title":"Card Slot Id","type":"string","format":"uuid"},"video_url":{"title":"Video Url","type":"string"},"video_title":{"title":"Video Title","type":"string"},"video_description":{"title":"Video Description","type":"string"}}},"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"}}},"VideoToS3Response":{"title":"VideoToS3Response","required":["video_url"],"type":"object","properties":{"video_url":{"title":"Video Url","type":"string"}}},"VoiceConversationsDashboardResponse":{"title":"VoiceConversationsDashboardResponse","required":["voice_conversations_enabled","voice_conversations_number","voice_conversations_increase_number","graph_data","peak_hours","average_day"],"type":"object","properties":{"voice_conversations_enabled":{"title":"Voice Conversations Enabled","type":"boolean"},"voice_conversations_number":{"title":"Voice Conversations Number","type":"string"},"voice_conversations_increase_number":{"title":"Voice Conversations Increase Number","type":"string"},"graph_data":{"title":"Graph Data","type":"array","items":{"type":"object"}},"peak_hours":{"title":"Peak Hours","type":"string"},"average_day":{"title":"Average Day","type":"string"},"ai_voice_id":{"title":"Ai Voice Id","type":"string","format":"uuid"}}},"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."},"VoiceToTextValueLabel":{"title":"VoiceToTextValueLabel","required":["value","label"],"type":"object","properties":{"value":{"$ref":"#/components/schemas/AIVoiceSTTEnum"},"label":{"title":"Label","type":"string"}}},"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"},"personality_id":{"title":"Personality ID","type":"string","description":"The ID of the personality associated with the Whatsapp Integration.","format":"uuid"}}},"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"},"personality_id":{"title":"Personality Id","type":"string","format":"uuid"}}},"WorkerFileData":{"title":"WorkerFileData","required":["url","num_chars","start_index","end_index"],"type":"object","properties":{"url":{"title":"Url","type":"string"},"num_chars":{"title":"Num Chars","type":"integer"},"start_index":{"title":"Start Index","type":"integer"},"end_index":{"title":"End Index","type":"integer"},"file_id":{"title":"File Id","type":"string","description":"Unique identifier for the source file/URL. If not provided, a new UUID will be generated for backward compatibility.","format":"uuid"},"source":{"title":"Source","type":"string","description":"The source of the file (e.g., Google Drive folder URL for Google Drive files, same as full_url for website URLs, null for dante-temp-files)."},"full_url":{"title":"Full Url","type":"string","description":"The full URL of the file (e.g., individual file URL for Google Drive files, same as source for website URLs, null for dante-temp-files)."}}},"WorkerFileDetailsResponse":{"title":"WorkerFileDetailsResponse","required":["file","knowledge_base"],"type":"object","properties":{"file":{"title":"File Object","allOf":[{"$ref":"#/components/schemas/File"}],"description":"Complete File object with all fields"},"knowledge_base":{"title":"Knowledge Base Object","allOf":[{"$ref":"#/components/schemas/KnowledgeBase"}],"description":"Associated KnowledgeBase object with all fields"}},"description":"Response model for worker file details endpoint.\nContains complete file and knowledge base information for Jobs Manager processing."},"WorkerFileUpdatePayload":{"title":"WorkerFileUpdatePayload","type":"object","properties":{"start_index":{"title":"Start Index","minimum":0.0,"type":"integer","description":"Starting index position in vector database"},"end_index":{"title":"End Index","minimum":0.0,"type":"integer","description":"Ending index position in vector database"},"num_chars":{"title":"Character Count","minimum":0.0,"type":"integer","description":"Updated character count if changed"}},"description":"Payload for updating file metadata after Jobs Manager processing."},"WorkerFileUpdateResponse":{"title":"WorkerFileUpdateResponse","required":["message","file"],"type":"object","properties":{"success":{"title":"Success","type":"boolean","description":"Whether the update was successful","default":true},"message":{"title":"Message","type":"string","description":"Success message"},"file":{"title":"Updated File","allOf":[{"$ref":"#/components/schemas/File"}],"description":"The updated File object"}},"description":"Response model for worker file update endpoint."},"WorkerKnowledgeBasePayload":{"title":"WorkerKnowledgeBasePayload","required":["dante_user_id","dante_kb_id","knowledge_base_name","files"],"type":"object","properties":{"dante_user_id":{"title":"Dante User Id","type":"string","format":"uuid"},"dante_kb_id":{"title":"Dante Kb Id","type":"string","format":"uuid"},"knowledge_base_name":{"title":"Knowledge Base Name","type":"string"},"files":{"title":"Files","type":"array","items":{"$ref":"#/components/schemas/WorkerFileData"}},"creativity":{"title":"Creativity","type":"number"},"open_to_internet_knowledge":{"title":"Open To Internet Knowledge","type":"boolean"},"personalities_template":{"title":"Personalities Template","type":"string"},"base_system_prompt":{"title":"Base System Prompt","type":"string"},"team_id":{"title":"Team Id","type":"string","format":"uuid"},"created_by":{"title":"Created By","type":"string","description":"The user ID of the original requester (before any user switching for team ownership)","format":"uuid"},"has_structured_content":{"title":"Has Structured Content","type":"boolean","description":"Set by Jobs Manager when the upload went through the structured Word-table pipeline. When True, flips KB.has_structured_content so dante-api routes retrieval through the structured path. Never flipped back to False by this endpoint."}}},"WorkerQACallbackPayload":{"title":"WorkerQACallbackPayload","required":["dante_kb_id","dante_user_id","status","vectors_uploaded"],"type":"object","properties":{"dante_kb_id":{"title":"Dante Kb Id","type":"string","description":"Knowledge base ID","format":"uuid"},"dante_user_id":{"title":"Dante User Id","type":"string","description":"User ID","format":"uuid"},"status":{"title":"Status","type":"string","description":"Job status: 'completed' or 'failed'"},"vectors_uploaded":{"title":"Vectors Uploaded","minimum":0.0,"type":"integer","description":"Number of vectors uploaded to Pinecone"},"error_message":{"title":"Error Message","type":"string","description":"Error message if status is 'failed'"},"qa_pairs":{"title":"Qa Pairs","type":"array","items":{"$ref":"#/components/schemas/QAPairData"},"description":"QA pairs to create in database. Each qa_id matches the vector ID in Pinecone."},"creativity":{"title":"Creativity","type":"number","description":"AI creativity setting (0.0-1.0)"},"open_to_internet_knowledge":{"title":"Open To Internet Knowledge","type":"boolean","description":"Whether AI can use internet knowledge"},"personalities_template":{"title":"Personalities Template","type":"string","description":"AI personality template"},"base_system_prompt":{"title":"Base System Prompt","type":"string","description":"Base system prompt for AI"}},"description":"Payload sent by Jobs Manager to Dante API after QA training completion.\n\nThe callback creates QA pairs in the database after successful training.\nFor each QA pair with a previous_qa_id, it deletes the old QA pair before creating the new one."},"WorkerScheduledJobsResponse":{"title":"WorkerScheduledJobsResponse","required":["query_time","total_jobs","jobs"],"type":"object","properties":{"query_time":{"title":"Query Time","type":"string","description":"The specific minute that was queried for scheduled jobs","format":"date-time"},"total_jobs":{"title":"Total Jobs","type":"integer","description":"Number of jobs scheduled for this minute"},"jobs":{"title":"Scheduled Jobs","type":"array","items":{"$ref":"#/components/schemas/AutorefreshResponse"},"description":"List of autorefresh schedules due at the specified time"}},"description":"Response model for Jobs Manager scheduled jobs endpoint."},"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","advanced","pro","enterprise+","hibernation"],"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"},"previous_login_date":{"title":"Previous Login Date","type":"string","format":"date-time"},"trial_used_recently":{"title":"Trial Used Recently","type":"boolean"},"deleted_account":{"title":"Deleted Account","type":"boolean"}}},"app__routers__login__TokenResponse":{"title":"TokenResponse","required":["token_type","access_token","date_created"],"type":"object","properties":{"token_type":{"title":"Token Type","type":"string"},"access_token":{"title":"Access Token","type":"string"},"date_created":{"title":"Date Created","type":"string","format":"date-time"},"previous_login_date":{"title":"Previous Login Date","type":"string","format":"date-time"},"trial_used_recently":{"title":"Trial Used Recently","type":"boolean"},"deleted_account":{"title":"Deleted Account","type":"boolean"}}}},"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"}}}}