{"openapi":"3.1.0","info":{"title":"branchly.io API","contact":{"name":"branchly team","email":"hello@branchly.de"},"license":{"name":"Copyright 2026 branchly GmbH"},"version":"0.1.0"},"paths":{"/v1/embed/webmcp/tools/{application_id}":{"get":{"tags":["embed v1"],"summary":"List Webmcp Tools Endpoint","operationId":"list_webmcp_tools_endpoint_v1_embed_webmcp_tools__application_id__get","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebMCPToolsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/embed/webmcp/exec":{"post":{"tags":["embed v1"],"summary":"Execute Webmcp Tool Endpoint","operationId":"execute_webmcp_tool_endpoint_v1_embed_webmcp_exec_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebMCPExecRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebMCPExecResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/navigation":{"post":{"tags":["embed v1"],"summary":"Api Navigation V1","operationId":"api_navigation_v1_v1_navigation_post","parameters":[{"name":"Origin","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Origin"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NavigationRequest"},"examples":{"Initial page load":{"value":{"session_id":"b80d2f98-e5ec-407f-ab47-05ca0b4eaa32","navigator_id":"cc0d7a9a-7db8-4fd3-9dee-c1b3db4e3388","embed_type":"search","locale":"de_DE"}},"One button clicked":{"value":{"locale":"de_DE","session_id":"b80d2f98-e5ec-407f-ab47-05ca0b4eaa32","navigator_id":"cc0d7a9a-7db8-4fd3-9dee-c1b3db4e3388","embed_type":"search","entry":"navigation","selected_nodes":[{"id":"389bec10-dcd4-4c3c-b5d1-27372efd4603","label":"content","title":{"de_DE":"Meine Bestellung"}}]}},"Form as node":{"value":{"locale":"de_DE","session_id":"b80d2f98-e5ec-407f-ab47-05ca0b4eaa32","navigator_id":"cc0d7a9a-7db8-4fd3-9dee-c1b3db4e3388","entry":"navigation","embed_type":"search","selected_nodes":[{"id":"389bec10-dcd4-4c3c-b5d1-27372efd4603","label":"content","title":{"de_DE":"Meine Bestellung"}},{"id":"79e3dc4e-b163-4a3c-95c3-03e9f3246a15"},{"id":"5683849d-396e-44f6-9877-84a74e0f9fb6"}]}}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NavigationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/embed/nodes":{"post":{"tags":["embed v1"],"summary":"Api Get Embed Nodes","operationId":"api_get_embed_nodes_v1_embed_nodes_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeRequest","examples":[{"navigator_id":"cc0d7a9a-7db8-4fd3-9dee-c1b3db4e3388","session_id":"b80d2f98-e5ec-407f-ab47-05ca0b4eaa32","locale":"de_DE","vertex_ids":["b61aa3e3-0185-4d8f-a6c6-cce8a66f5f6d"]}]}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VertexAPIOut"},"title":"Response Api Get Embed Nodes V1 Embed Nodes Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/qa":{"post":{"tags":["embed v1"],"summary":"Api Qa","operationId":"api_qa_v1_qa_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QARequest"},"examples":{"qa":{"value":{"session_id":"b80d2f98-e5ec-407f-ab47-05ca0b4eaa32","navigator_id":"cc0d7a9a-7db8-4fd3-9dee-c1b3db4e3388","query":"was macht branchly?","embed_type":"chat","locale":"de_DE","history":[]}},"suggested_question":{"value":{"session_id":"b80d2f98-e5ec-407f-ab47-05ca0b4eaa32","navigator_id":"cc0d7a9a-7db8-4fd3-9dee-c1b3db4e3388","query":"was macht branchly?","embed_type":"chat","locale":"de_DE","is_suggested_question":true,"use_page_as_context":true,"history":[]}},"navigation_entry":{"value":{"session_id":"b80d2f98-e5ec-407f-ab47-05ca0b4eaa32","navigator_id":"1932e44c-9150-4e4f-8034-fc0ffe46582c","query":"einkaufen regensburg","locale":"de_DE","embed_type":"chat","entry":"navigation","history":[{"type":"qa","query":"führungen regensburg","answer":"In Regensburg gibt es verschiedene Führungen, die man machen kann. Hier sind einige Beispiele:\n\n1. Lebensart-Führung: Diese Führung führt Sie auf eine Spurensuche nach Liebesgeschichten und Hochzeitsbräuchen durch die Gassen von Regensburg. Dabei erfahren Sie interessante Anekdoten über die Liebe von Kaisern, Königen, Adeligen, Mönchen und Nonnen. Die Führung wird zur Verführung und ist besonders geeignet für Liebhaber von Geschichte und Romantik. (Quelle: [Regensburg Tourismus](https://tourismus.regensburg.de/erleben-entdecken/fuehrungen-spaziergaenge-und-rundfahrten/gruppenfuehrungen/lebensart))\n\n2. Weihnachtsführungen: In der Weihnachtszeit gibt es in Regensburg mehrere Christkindlmärkte. Bei den Weihnachtsführungen können Sie den Lichterglanz und den Glühweinduft der Märkte genießen. Außerdem werden die festlich geschmückten Gassen und Straßen sowie die liebevoll dekorierten Schaufenster in den historischen Hausfassaden gezeigt. Ein besonderes Highlight ist der prachtvolle Christbaum vor dem Alten Rathaus. (Quelle: [Regensburg Tourismus](https://tourismus.regensburg.de/erleben-entdecken/fuehrungen-spaziergaenge-und-rundfahrten/gruppenfuehrungen/weihnachten))\n\n3. Stadtmaus-Führungen: Diese Führungen bieten einen unterhaltsamen und informativen Rundgang durch die Altstadt von Regensburg. Erfahrene Stadtführer erzählen spannende Geschichten und Anekdoten über die Stadt und ihre Geschichte. (Quelle: [Regensburg Tourismus](https://tourismus.regensburg.de/erleben-entdecken/fuehrungen-spaziergaenge-und-rundfahrten/gruppenfuehrungen/stadtmaus-fuehrungen))\n\nDiese sind nur einige Beispiele, es gibt noch viele weitere Führungen in Regensburg. Für weitere Informationen können Sie sich gerne an das Regensburg Tourismus Büro wenden."}]}}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TokenSSEEvent"},{"$ref":"#/components/schemas/FormSSEEvent"},{"$ref":"#/components/schemas/CompleteSSEEvent"},{"$ref":"#/components/schemas/CarouselSSEEvent"},{"$ref":"#/components/schemas/RAGSourcesSSEEvent"},{"$ref":"#/components/schemas/ButtonsSSEEvent"},{"$ref":"#/components/schemas/HTMLContentSSEEvent"},{"$ref":"#/components/schemas/IframeSSEEvent"},{"$ref":"#/components/schemas/CalendlySSEEvent"},{"$ref":"#/components/schemas/ToolCallSSEEvent"},{"$ref":"#/components/schemas/FollowUpActionsSSEEvent"}],"discriminator":{"propertyName":"event","mapping":{"token":"#/components/schemas/TokenSSEEvent","form":"#/components/schemas/FormSSEEvent","complete":"#/components/schemas/CompleteSSEEvent","carousel_v1":"#/components/schemas/CarouselSSEEvent","rag_sources":"#/components/schemas/RAGSourcesSSEEvent","buttons":"#/components/schemas/ButtonsSSEEvent","html":"#/components/schemas/HTMLContentSSEEvent","iframe":"#/components/schemas/IframeSSEEvent","calendly":"#/components/schemas/CalendlySSEEvent","tool_call":"#/components/schemas/ToolCallSSEEvent","follow_up_actions":"#/components/schemas/FollowUpActionsSSEEvent"}},"title":"Response Api Qa V1 Qa Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sa":{"post":{"tags":["embed v1"],"summary":"Api Sa","operationId":"api_sa_v1_sa_post","parameters":[{"name":"Origin","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Origin"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SARequest"},"examples":{"sa":{"value":{"session_id":"b80d2f98-e5ec-407f-ab47-05ca0b4eaa32","navigator_id":"cc0d7a9a-7db8-4fd3-9dee-c1b3db4e3388","query":"branchly","embed_type":"search_interface","locale":"de_DE","url":"https://branchly.io"}}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TokenSSEEvent"},{"$ref":"#/components/schemas/FormSSEEvent"},{"$ref":"#/components/schemas/CompleteSSEEvent"},{"$ref":"#/components/schemas/CarouselSSEEvent"},{"$ref":"#/components/schemas/RAGSourcesSSEEvent"},{"$ref":"#/components/schemas/ButtonsSSEEvent"},{"$ref":"#/components/schemas/HTMLContentSSEEvent"},{"$ref":"#/components/schemas/IframeSSEEvent"},{"$ref":"#/components/schemas/CalendlySSEEvent"},{"$ref":"#/components/schemas/ToolCallSSEEvent"},{"$ref":"#/components/schemas/FollowUpActionsSSEEvent"}],"discriminator":{"propertyName":"event","mapping":{"token":"#/components/schemas/TokenSSEEvent","form":"#/components/schemas/FormSSEEvent","complete":"#/components/schemas/CompleteSSEEvent","carousel_v1":"#/components/schemas/CarouselSSEEvent","rag_sources":"#/components/schemas/RAGSourcesSSEEvent","buttons":"#/components/schemas/ButtonsSSEEvent","html":"#/components/schemas/HTMLContentSSEEvent","iframe":"#/components/schemas/IframeSSEEvent","calendly":"#/components/schemas/CalendlySSEEvent","tool_call":"#/components/schemas/ToolCallSSEEvent","follow_up_actions":"#/components/schemas/FollowUpActionsSSEEvent"}},"title":"Response Api Sa V1 Sa Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/instant_search":{"post":{"tags":["embed v1"],"summary":"Api Instant Search","operationId":"api_instant_search_v1_instant_search_post","parameters":[{"name":"Origin","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Origin"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchRequest"},"examples":{"Search as you type":{"value":{"session_id":"b80d2f98-e5ec-407f-ab47-05ca0b4eaa32","navigator_id":"cc0d7a9a-7db8-4fd3-9dee-c1b3db4e3388","query":"update","embed_type":"search","locale":"de_DE"}},"Search with filters":{"value":{"session_id":"b80d2f98-e5ec-407f-ab47-05ca0b4eaa32","navigator_id":"b9bedc2b-dee6-4e95-86b0-e9f4bde897b0","embed_type":"search","locale":"de","query":"sevilla","filters":[{"field_name":"tags","key":"page_metadata.article.tags","match":{"value":["Sonderzugreisen","Bahnreise"]}}]}}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SearchResultAPI"},"title":"Response Api Instant Search V1 Instant Search Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/instant_search/facets":{"post":{"tags":["embed v1"],"summary":"Api Get Search Facets","operationId":"api_get_search_facets_v1_instant_search_facets_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FacetsRequest","examples":[{"navigator_id":"b9bedc2b-dee6-4e95-86b0-e9f4bde897b0","session_id":"b80d2f98-e5ec-407f-ab47-05ca0b4eaa32","field_key":"page_metadata.article.tags","locale":"de","filters":[]}]}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FacetsListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/session":{"post":{"tags":["embed v1"],"summary":"Api Create Session","operationId":"api_create_session_v1_session_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionCreateRequest","examples":[{"id":"b80d2f98-e5ec-407f-ab47-05ca0b4eaa32","navigator_id":"cc0d7a9a-7db8-4fd3-9dee-c1b3db4e3388","embed_type":"search"}]}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/active_navigator_style/{pk}":{"get":{"tags":["embed v1"],"summary":"Api Read Active Navigator Style V1","operationId":"api_read_active_navigator_style_v1_v1_active_navigator_style__pk__get","parameters":[{"name":"pk","in":"path","required":true,"schema":{"type":"string","format":"uuid","examples":["cc0d7a9a-7db8-4fd3-9dee-c1b3db4e3388"],"title":"Pk"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NavigatorStyleAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/embed/chat_navigator_style/{pk}":{"get":{"tags":["embed v1"],"summary":"Api Read Chat Navigator Style V1","operationId":"api_read_chat_navigator_style_v1_v1_embed_chat_navigator_style__pk__get","parameters":[{"name":"pk","in":"path","required":true,"schema":{"type":"string","format":"uuid","examples":["cc0d7a9a-7db8-4fd3-9dee-c1b3db4e3388"],"title":"Pk"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatNavigatorStyleAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/embed/search_style/{navigator_id}":{"get":{"tags":["embed v1"],"summary":"Api Read Search Style V1","operationId":"api_read_search_style_v1_v1_embed_search_style__navigator_id__get","parameters":[{"name":"navigator_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","examples":["cc0d7a9a-7db8-4fd3-9dee-c1b3db4e3388"],"title":"Navigator Id"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchStyleAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/embed/search-style/{application_id}":{"get":{"tags":["embed v2"],"summary":"Api Read Resolved Search Style V2","operationId":"api_read_resolved_search_style_v2_v2_embed_search_style__application_id__get","parameters":[{"name":"locale","in":"query","required":true,"schema":{"type":"string","examples":["en_US"],"title":"Locale"}},{"name":"browser_locale","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"examples":["de_DE"],"title":"Browser Locale"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResolvedSearchStyleAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/embed/navigator-style/{application_id}":{"get":{"tags":["embed v2"],"summary":"Api Read Resolved Navigator Style V2","operationId":"api_read_resolved_navigator_style_v2_v2_embed_navigator_style__application_id__get","parameters":[{"name":"locale","in":"query","required":true,"schema":{"type":"string","examples":["en_US"],"title":"Locale"}},{"name":"browser_locale","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"examples":["de_DE"],"title":"Browser Locale"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResolvedNavigatorStyleAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/embed/chat-style/{application_id}":{"get":{"tags":["embed v2"],"summary":"Api Read Resolved Chat Style V2","operationId":"api_read_resolved_chat_style_v2_v2_embed_chat_style__application_id__get","parameters":[{"name":"locale","in":"query","required":true,"schema":{"type":"string","examples":["en_US"],"title":"Locale"}},{"name":"browser_locale","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"examples":["de_DE"],"title":"Browser Locale"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResolvedChatNavigatorStyleAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/embed/form-style/{application_id}":{"get":{"tags":["embed v2"],"summary":"Api Read Resolved Form Style","operationId":"api_read_resolved_form_style_v2_embed_form_style__application_id__get","parameters":[{"name":"locale","in":"query","required":true,"schema":{"type":"string","examples":["en_US"],"title":"Locale"}},{"name":"browser_locale","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"examples":["de_DE"],"title":"Browser Locale"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResolvedFormStyleAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/embed/form/submit":{"post":{"tags":["embed v1"],"summary":"Form Submission","operationId":"form_submission_v1_embed_form_submit_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormSubmissionAPI"},"examples":{"Form success":{"value":{"session_id":"b80d2f98-e5ec-407f-ab47-05ca0b4eaa32","navigator_id":"cc0d7a9a-7db8-4fd3-9dee-c1b3db4e3388","tool_id":"5306d17c-b3da-43c7-9140-8e23d3b447a5","embed_type":"chat","data":{"email":"abc@test.de","name":"Peter"}}}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/events":{"post":{"tags":["embed v1"],"summary":"Click Events","operationId":"click_events_v1_events_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClickEventRequest"},"examples":{"Example":{"value":{"session_id":"b80d2f98-e5ec-407f-ab47-05ca0b4eaa32","application_id":"cc0d7a9a-7db8-4fd3-9dee-c1b3db4e3388","event_type":"search_result","embed_type":"search_interface","data":{"test":"test"}}}}}}}}},"/v1/suggested_questions":{"post":{"tags":["embed v1"],"summary":"Api Get Suggested Questions","operationId":"api_get_suggested_questions_v1_suggested_questions_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"Origin","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Origin"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuggestedQuestionsRequest","examples":[{"session_id":"b80d2f98-e5ec-407f-ab47-05ca0b4eaa32","navigator_id":"cc0d7a9a-7db8-4fd3-9dee-c1b3db4e3388","url":"https://branchly.io","locale":"de_DE","embed_type":"search_interface"}]}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuggestedQuestionsReponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/embed/event_configs/{application_id}":{"get":{"tags":["embed v1"],"summary":"Get Event Configs","description":"Return active custom event configs for the embed script.","operationId":"get_event_configs_v1_embed_event_configs__application_id__get","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EmbedEventConfigAPI"},"title":"Response Get Event Configs V1 Embed Event Configs  Application Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/embed/form/init":{"post":{"tags":["embed v1"],"summary":"Api Process Init Form Request","operationId":"api_process_init_form_request_v1_embed_form_init_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormInitRequest"},"examples":{"Formular-Initialisierung":{"value":{"application_id":"cc0d7a9a-7db8-4fd3-9dee-c1b3db4e3388","session_id":"b80d2f98-e5ec-407f-ab47-05ca0b4eaa32","embed_type":"chat","locale":"de_DE","browser_locale":"de-DE","url":"https://example.com/kontakt","fields":{"email":"nutzer@example.de","description":"Ich möchte eine Demonstration für unser Enterprise-Team anfordern."}}}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TokenSSEEvent"},{"$ref":"#/components/schemas/FormSSEEvent"},{"$ref":"#/components/schemas/CompleteSSEEvent"},{"$ref":"#/components/schemas/CarouselSSEEvent"},{"$ref":"#/components/schemas/RAGSourcesSSEEvent"},{"$ref":"#/components/schemas/ButtonsSSEEvent"},{"$ref":"#/components/schemas/HTMLContentSSEEvent"},{"$ref":"#/components/schemas/IframeSSEEvent"},{"$ref":"#/components/schemas/CalendlySSEEvent"},{"$ref":"#/components/schemas/ToolCallSSEEvent"},{"$ref":"#/components/schemas/FollowUpActionsSSEEvent"}],"discriminator":{"propertyName":"event","mapping":{"token":"#/components/schemas/TokenSSEEvent","form":"#/components/schemas/FormSSEEvent","complete":"#/components/schemas/CompleteSSEEvent","carousel_v1":"#/components/schemas/CarouselSSEEvent","rag_sources":"#/components/schemas/RAGSourcesSSEEvent","buttons":"#/components/schemas/ButtonsSSEEvent","html":"#/components/schemas/HTMLContentSSEEvent","iframe":"#/components/schemas/IframeSSEEvent","calendly":"#/components/schemas/CalendlySSEEvent","tool_call":"#/components/schemas/ToolCallSSEEvent","follow_up_actions":"#/components/schemas/FollowUpActionsSSEEvent"}},"title":"Response Api Process Init Form Request V1 Embed Form Init Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/embed/form/route":{"post":{"tags":["embed v1"],"summary":"Api Process Form Route Request","operationId":"api_process_form_route_request_v1_embed_form_route_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormRouteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormRouteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/embed/analytics-events":{"post":{"tags":["embed v1"],"summary":"Api Process Analytics Events","operationId":"api_process_analytics_events_v1_embed_analytics_events_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsEventsRawRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/applications":{"get":{"tags":["applications"],"summary":"List Applications","description":"List applications with optional filtering and pagination.","operationId":"list_applications_v1_applications_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ApplicationAPI"},"type":"array","title":"Response List Applications V1 Applications Get"}}}}},"security":[{"HTTPBearerCookie":[]}]},"post":{"tags":["applications"],"summary":"Create Application","operationId":"create_application_v1_applications_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationAPICreateOptions"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearerCookie":[]}]}},"/v1/applications/{application_id}":{"get":{"tags":["applications"],"summary":"Get Application","operationId":"get_application_v1_applications__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["applications"],"summary":"Update Application","operationId":"update_application_v1_applications__application_id__patch","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationAPIUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/applications/{application_id}/{application_name}":{"delete":{"tags":["applications"],"summary":"Delete Application","operationId":"delete_application_v1_applications__application_id___application_name__delete","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"application_name","in":"path","required":true,"schema":{"type":"string","title":"Application Name"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/applications/{application_id}/clone":{"post":{"tags":["applications"],"summary":"Api Clone Application","operationId":"api_clone_application_v1_applications__application_id__clone_post","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/nodes/{application_id}":{"get":{"tags":["nodes"],"summary":"Api Read All Vertices V2","operationId":"api_read_all_vertices_v2_v1_nodes__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"labels","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/VertexType"}},{"type":"null"}],"title":"Labels"}},{"name":"data_source_types","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/DataSourceType"}},{"type":"null"}],"title":"Data Source Types"}},{"name":"data_source_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Data Source Ids"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"sort_params","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"enum":["updated_at:asc","updated_at:desc"],"type":"string"}},{"type":"null"}],"description":"Sort parameters in the format 'field:order'.","title":"Sort Params"},"description":"Sort parameters in the format 'field:order'."},{"name":"locale","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locale"}},{"name":"query","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Search query. If provided, locale must also be provided.","title":"Query"},"description":"Search query. If provided, locale must also be provided."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerticesAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/nodes/{application_id}/summary":{"get":{"tags":["nodes"],"summary":"Api Read Vertices Summary","operationId":"api_read_vertices_summary_v1_nodes__application_id__summary_get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"locale","in":"query","required":true,"schema":{"type":"string","description":"Locale used to select localized titles.","title":"Locale"},"description":"Locale used to select localized titles."},{"name":"labels","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/VertexType"}},{"type":"null"}],"title":"Labels"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerticesSummaryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/nodes/{application_id}/{node_id}/suggested-questions":{"get":{"tags":["nodes"],"summary":"Get Node Suggested Questions","operationId":"get_node_suggested_questions_v1_nodes__application_id___node_id__suggested_questions_get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"node_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Node Id"}},{"name":"locale","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locale"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/SuggestedQuestionsResponseAPI"},{"type":"null"}],"title":"Response Get Node Suggested Questions V1 Nodes  Application Id   Node Id  Suggested Questions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/nodes/{application_id}/{node_id}/suggested-questions/invalidate-cache":{"post":{"tags":["nodes"],"summary":"Invalidate Node Suggested Questions Cache Endpoint","operationId":"invalidate_node_suggested_questions_cache_endpoint_v1_nodes__application_id___node_id__suggested_questions_invalidate_cache_post","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"node_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Node Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidateNodeCacheRequest"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/nodes/{application_id}/{node_id}":{"get":{"tags":["nodes"],"summary":"Api Read Vertex","operationId":"api_read_vertex_v1_nodes__application_id___node_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"node_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Node Id"}},{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VertexAPI-Output"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["nodes"],"summary":"Api Delete Vertex","operationId":"api_delete_vertex_v1_nodes__application_id___node_id__delete","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"node_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Node Id"}},{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/nodes":{"put":{"tags":["nodes"],"summary":"Api Replace Vertex","operationId":"api_replace_vertex_v1_nodes_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VertexAPIUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VertexAPI-Output"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearerCookie":[]}]},"post":{"tags":["nodes"],"summary":"Api Create Vertex","operationId":"api_create_vertex_v1_nodes_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VertexAPICreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VertexAPI-Output"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearerCookie":[]}]},"patch":{"tags":["nodes"],"summary":"Api Update Vertex","operationId":"api_update_vertex_v1_nodes_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VertexAPI-Input"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VertexAPI-Output"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearerCookie":[]}]}},"/v1/nodes/{application_id}/delete":{"post":{"tags":["nodes"],"summary":"Api Delete Vertices","operationId":"api_delete_vertices_v1_nodes__application_id__delete_post","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"type":"string","format":"uuid"},"title":"Node Ids"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/edges/{application_id}":{"get":{"tags":["edges"],"summary":"Api List Edges","operationId":"api_list_edges_v1_edges__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EdgeAPI"},"title":"Response Api List Edges V1 Edges  Application Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/edges/{application_id}/{edge_id}":{"get":{"tags":["edges"],"summary":"Api Read Edge","operationId":"api_read_edge_v1_edges__application_id___edge_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"edge_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Edge Id"}},{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EdgeAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["edges"],"summary":"Api Delete Edge","operationId":"api_delete_edge_v1_edges__application_id___edge_id__delete","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"edge_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Edge Id"}},{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/edges":{"post":{"tags":["edges","edges"],"summary":"Api Create Edge","operationId":"api_create_edge_v1_edges_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EdgeAPICreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EdgeAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearerCookie":[]}]},"patch":{"tags":["edges"],"summary":"Api Update Edge","operationId":"api_update_edge_v1_edges_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EdgeAPIUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EdgeAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearerCookie":[]}]}},"/v1/relationships/{application_id}/{edge_id}":{"get":{"tags":["edges"],"summary":"Api Get Relationships","operationId":"api_get_relationships_v1_relationships__application_id___edge_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"edge_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Edge Id"}},{"name":"labels","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"},"title":"Labels"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RelationshipsAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v2/prompts/{pk}/upsert":{"post":{"tags":["prompts"],"summary":"Api Upsert Custom Prompt V2","operationId":"api_upsert_custom_prompt_v2_v2_prompts__pk__upsert_post","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"pk","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pk"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomPromptsAPI"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/prompts/personas":{"get":{"tags":["prompts"],"summary":"Get Prompt Personas","operationId":"get_prompt_personas_v1_prompts_personas_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearerCookie":[]}]}},"/v1/prompts/templates":{"get":{"tags":["prompts"],"summary":"Api Get Prompt Templates","operationId":"api_get_prompt_templates_v1_prompts_templates_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromptTemplatesAPI"}}}}},"security":[{"HTTPBearerCookie":[]}]}},"/v1/prompts/{application_id}":{"post":{"tags":["prompts"],"summary":"Api Create Prompt","operationId":"api_create_prompt_v1_prompts__application_id__post","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromptAPICreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromptAPIResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["prompts"],"summary":"Api List Prompts","operationId":"api_list_prompts_v1_prompts__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}},{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/PromptType"},{"type":"null"}],"title":"Type"}},{"name":"subtype","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/PromptSubtype"},{"type":"null"}],"title":"Subtype"}},{"name":"is_active","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},{"name":"interface_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/PromptInterfaceType"},{"type":"null"}],"title":"Interface Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromptListAPIResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/prompts/{application_id}/{prompt_id}":{"patch":{"tags":["prompts"],"summary":"Api Update Prompt","operationId":"api_update_prompt_v1_prompts__application_id___prompt_id__patch","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"prompt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Prompt Id"}},{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromptAPIUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromptAPIResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/prompts/{application_id}/{prompt_id}/generate":{"post":{"tags":["prompts"],"summary":"Api Generate Prompt","operationId":"api_generate_prompt_v1_prompts__application_id___prompt_id__generate_post","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"prompt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Prompt Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromptGenerationInputAPI"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneratedPromptAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/data_sources/schedules":{"get":{"tags":["data_sources"],"summary":"Api Get Data Source Schedules","description":"Get data sources with schedules to run.","operationId":"api_get_data_source_schedules_v1_data_sources_schedules_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"timer_interval","in":"query","required":false,"schema":{"type":"integer","maximum":1440,"description":"Timer interval in minutes. Maximum is 1440 minutes.","default":10,"title":"Timer Interval"},"description":"Timer interval in minutes. Maximum is 1440 minutes."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DataSource"},"title":"Response Api Get Data Source Schedules V1 Data Sources Schedules Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/data_sources/schedules/run":{"get":{"tags":["data_sources"],"summary":"Api Run Data Source Schedules","description":"Get data sources with schedules due in the time interval specified and run them. Specify `timer_interval` in minutes.","operationId":"api_run_data_source_schedules_v1_data_sources_schedules_run_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"timer_interval","in":"query","required":false,"schema":{"type":"integer","maximum":1440,"description":"Timer interval in minutes. Maximum is 1440 minutes.","default":10,"title":"Timer Interval"},"description":"Timer interval in minutes. Maximum is 1440 minutes."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"integer"},"title":"Response Api Run Data Source Schedules V1 Data Sources Schedules Run Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/data_sources":{"put":{"tags":["data_sources"],"summary":"Api Update Data Source","operationId":"api_update_data_source_v1_data_sources_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSourceUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSource"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearerCookie":[]}]},"post":{"tags":["data_sources"],"summary":"Api Create Data Source","operationId":"api_create_data_source_v1_data_sources_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSourceCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSource"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearerCookie":[]}]}},"/v1/data_sources/{application_id}/{item_id}":{"delete":{"tags":["data_sources"],"summary":"Api Delete Datasource","operationId":"api_delete_datasource_v1_data_sources__application_id___item_id__delete","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Item Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSource"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["data_sources"],"summary":"Api Read Data Source","operationId":"api_read_data_source_v1_data_sources__application_id___item_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Item Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSource"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/data_sources/{application_id}":{"get":{"tags":["data_sources"],"summary":"Api List Data Sources","operationId":"api_list_data_sources_v1_data_sources__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"data_source_types","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/DataSourceType"}},{"type":"null"}],"title":"Data Source Types"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DataSource"},"title":"Response Api List Data Sources V1 Data Sources  Application Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/data_sources/{application_id}/{data_source_id}/run":{"get":{"tags":["data_sources"],"summary":"Api Run Data Source","description":"Run Data Source async.","operationId":"api_run_data_source_v1_data_sources__application_id___data_source_id__run_get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"data_source_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Data Source Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Api Run Data Source V1 Data Sources  Application Id   Data Source Id  Run Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/data_sources/{application_id}/{source}":{"get":{"tags":["data_sources"],"summary":"Api Read Data Source By Source","operationId":"api_read_data_source_by_source_v1_data_sources__application_id___source__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"source","in":"path","required":true,"schema":{"type":"string","title":"Source"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/data_sources/webhook":{"post":{"tags":["data_sources"],"summary":"Api Run Data Source Webhook","description":"Run datasource from webhook event.","operationId":"api_run_data_source_webhook_v1_data_sources_webhook_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Payload"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Api Run Data Source Webhook V1 Data Sources Webhook Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/data_source_runs/{application_id}":{"get":{"tags":["data_sources"],"summary":"Api Data Source Runs","description":"Get datasource runs.","operationId":"api_data_source_runs_v1_data_source_runs__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","exclusiveMinimum":0,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","exclusiveMinimum":0,"default":100,"title":"Limit"}},{"name":"data_source_id","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Data Source Id"}},{"name":"status","in":"query","required":false,"schema":{"type":"array","items":{"$ref":"#/components/schemas/DataSourceRunStatus"},"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSourceRunsAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/data_source_runs/{application_id}/{item_id}":{"get":{"tags":["data_sources"],"summary":"Api Data Source Run","description":"Get a datasource run.","operationId":"api_data_source_run_v1_data_source_runs__application_id___item_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Item Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSourceRunAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/data_source_runs/{application_id}/{run_id}/cancel":{"post":{"tags":["data_sources"],"summary":"Api Cancel Data Source Run","description":"Cancel a running data source run and stop background tasks.","operationId":"api_cancel_data_source_run_v1_data_source_runs__application_id___run_id__cancel_post","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSourceRunAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/index_records/{application_id}":{"post":{"tags":["index_records"],"summary":"Api Get Index Records","operationId":"api_get_index_records_v1_index_records__application_id__post","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndexRecordListRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/index_records/{application_id}/reindex":{"post":{"tags":["index_records"],"summary":"Api Reindex Records","operationId":"api_reindex_records_v1_index_records__application_id__reindex_post","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReindexRecordsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/index_records/{application_id}/integrity-check":{"get":{"tags":["index_records"],"summary":"Api Check Index Integrity","operationId":"api_check_index_integrity_v1_index_records__application_id__integrity_check_get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrityCheckResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/index_records/{application_id}/delete":{"post":{"tags":["index_records"],"summary":"Api Delete Index Records","operationId":"api_delete_index_records_v1_index_records__application_id__delete_post","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"},"title":"Point Ids"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/index_records/{application_id}/index-and-migrate":{"post":{"tags":["index_records"],"summary":"Api Index And Migrate Records","operationId":"api_index_and_migrate_records_v1_index_records__application_id__index_and_migrate_post","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndexAndMigrateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndexAndMigrateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/tools/upsert":{"post":{"tags":["tools"],"summary":"Api Upsert Tool","operationId":"api_upsert_tool_v1_tools_upsert_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolAPICreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearerCookie":[]}]}},"/v1/tools/{application_id}":{"get":{"tags":["tools"],"summary":"Api Get Tools","description":"Return all tools for this navigator.","operationId":"api_get_tools_v1_tools__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"active","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Active"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ToolAPI"},"title":"Response Api Get Tools V1 Tools  Application Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/tools/{application_id}/default":{"get":{"tags":["tools"],"summary":"Api Get Available Tools","description":"Return current & available tools with standard values and indicator for which user interfaces they are available.","operationId":"api_get_available_tools_v1_tools__application_id__default_get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvailableToolsAPIResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/tools/{application_id}/{tool_id}":{"delete":{"tags":["tools"],"summary":"Api Delete Tool","operationId":"api_delete_tool_v1_tools__application_id___tool_id__delete","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"tool_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Tool Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/search_style/{pk}":{"get":{"tags":["styles"],"summary":"Api Read Search Style","description":"Get search style by application ID (pk).","operationId":"api_read_search_style_v1_search_style__pk__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"pk","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pk"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchStyleAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/search_style":{"put":{"tags":["styles"],"summary":"Api Update Search Style","description":"Update search style.","operationId":"api_update_search_style_v1_search_style_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchStyleAPIUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchStyleAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearerCookie":[]}]},"post":{"tags":["styles"],"summary":"Api Create Search Style","description":"Create search style.","operationId":"api_create_search_style_v1_search_style_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchStyleAPICreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchStyleAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearerCookie":[]}]}},"/v1/navigator_style/{pk}/{item_id}":{"get":{"tags":["styles"],"summary":"Api Read Navigator Style","description":"Get navigator style by ID.","operationId":"api_read_navigator_style_v1_navigator_style__pk___item_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Item Id"}},{"name":"pk","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pk"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NavigatorStyleAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/navigator_style":{"post":{"tags":["styles"],"summary":"Api Create Navigator Style","description":"Create navigator style.","operationId":"api_create_navigator_style_v1_navigator_style_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NavigatorStyleAPICreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NavigatorStyleAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearerCookie":[]}]},"patch":{"tags":["styles"],"summary":"Api Update Navigator Style","description":"Update navigator style.","operationId":"api_update_navigator_style_v1_navigator_style_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NavigatorStyleAPIUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NavigatorStyleAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearerCookie":[]}]}},"/v1/chat_navigator_style/{pk}":{"get":{"tags":["styles"],"summary":"Api Read Chat Navigator Style","description":"Get chat navigator style by application ID (pk).","operationId":"api_read_chat_navigator_style_v1_chat_navigator_style__pk__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"pk","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pk"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatNavigatorStyleAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/chat_navigator_style":{"put":{"tags":["styles"],"summary":"Api Update Chat Navigator Style","description":"Update chat navigator style.","operationId":"api_update_chat_navigator_style_v1_chat_navigator_style_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatNavigatorStyleAPIUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatNavigatorStyleAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearerCookie":[]}]},"post":{"tags":["styles"],"summary":"Api Create Chat Navigator Style","description":"Create chat navigator style.","operationId":"api_create_chat_navigator_style_v1_chat_navigator_style_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatNavigatorStyleAPICreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatNavigatorStyleAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearerCookie":[]}]}},"/v1/search-style/{application_id}/translation/{locale}":{"get":{"tags":["styles"],"summary":"Api Read Search Translation","operationId":"api_read_search_translation_v1_search_style__application_id__translation__locale__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"locale","in":"path","required":true,"schema":{"type":"string","title":"Locale"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchTranslationAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["styles"],"summary":"Api Author Search Translation","operationId":"api_author_search_translation_v1_search_style__application_id__translation__locale__put","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"locale","in":"path","required":true,"schema":{"type":"string","title":"Locale"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchTranslationAPI"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchTranslationAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/navigator-style/{application_id}/translation/{locale}":{"get":{"tags":["styles"],"summary":"Api Read Navigator Translation","operationId":"api_read_navigator_translation_v1_navigator_style__application_id__translation__locale__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"locale","in":"path","required":true,"schema":{"type":"string","title":"Locale"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NavigatorTranslationAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["styles"],"summary":"Api Author Navigator Translation","operationId":"api_author_navigator_translation_v1_navigator_style__application_id__translation__locale__put","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"locale","in":"path","required":true,"schema":{"type":"string","title":"Locale"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NavigatorTranslationAPI"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NavigatorTranslationAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/chat-style/{application_id}/translation/{locale}":{"get":{"tags":["styles"],"summary":"Api Read Chat Translation","operationId":"api_read_chat_translation_v1_chat_style__application_id__translation__locale__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"locale","in":"path","required":true,"schema":{"type":"string","title":"Locale"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatTranslationAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["styles"],"summary":"Api Author Chat Translation","operationId":"api_author_chat_translation_v1_chat_style__application_id__translation__locale__put","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"locale","in":"path","required":true,"schema":{"type":"string","title":"Locale"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatTranslationAPI"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatTranslationAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/form-style/{application_id}":{"get":{"tags":["styles"],"summary":"Api Read Form Style","description":"Get form style by application ID.","operationId":"api_read_form_style_v1_form_style__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormStyleAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/form-style":{"put":{"tags":["styles"],"summary":"Api Update Form Style","description":"Update form style.","operationId":"api_update_form_style_v1_form_style_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormStyleAPIUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormStyleAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearerCookie":[]}]}},"/v1/form-style/{application_id}/translation/{locale}":{"get":{"tags":["styles"],"summary":"Api Read Form Translation","operationId":"api_read_form_translation_v1_form_style__application_id__translation__locale__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"locale","in":"path","required":true,"schema":{"type":"string","title":"Locale"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormTranslationAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["styles"],"summary":"Api Author Form Translation","operationId":"api_author_form_translation_v1_form_style__application_id__translation__locale__put","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"locale","in":"path","required":true,"schema":{"type":"string","title":"Locale"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormTranslationAPI"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormTranslationAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/suggested-questions/{application_id}/generate":{"post":{"tags":["suggested-questions"],"summary":"Api Generate Suggested Questions For Node","description":"Generate suggested questions for a specific node from the dashboard.","operationId":"api_generate_suggested_questions_for_node_v1_suggested_questions__application_id__generate_post","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateSuggestedQuestionsRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuggestedQuestionsResponseAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/suggested-questions/{application_id}/{suggested_question_id}/regenerate":{"get":{"tags":["suggested-questions"],"summary":"Api Regenerate Suggested Questions","description":"Regenerate suggested questions for a node (async operation).","operationId":"api_regenerate_suggested_questions_v1_suggested_questions__application_id___suggested_question_id__regenerate_get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"suggested_question_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Suggested Question Id"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuggestedQuestionsResponseAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/suggested-questions/{application_id}":{"get":{"tags":["suggested-questions"],"summary":"Api Get Suggested Questions","description":"Get suggested questions by filter parameters. If multiple parameters are provided, the most specific one will be used (ID > Node ID > URL).","operationId":"api_get_suggested_questions_v1_suggested_questions__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"url","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uri","minLength":1},{"type":"null"}],"description":"The URL of the content to get suggested questions for.","title":"Url"},"description":"The URL of the content to get suggested questions for."},{"name":"id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"The ID of the suggested questions to retrieve.","title":"Id"},"description":"The ID of the suggested questions to retrieve."},{"name":"node_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"The ID of the node to get suggested questions for.","title":"Node Id"},"description":"The ID of the node to get suggested questions for."},{"name":"locale","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The locale of the suggested questions to retrieve.","title":"Locale"},"description":"The locale of the suggested questions to retrieve."}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuggestedQuestionsResponseAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/suggested-questions/{application_id}/{suggested_question_id}/invalidate-cache":{"post":{"tags":["suggested-questions"],"summary":"Api Invalidate Suggested Question Cache","operationId":"api_invalidate_suggested_question_cache_v1_suggested_questions__application_id___suggested_question_id__invalidate_cache_post","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"suggested_question_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Suggested Question Id"}},{"name":"query_index","in":"query","required":true,"schema":{"type":"integer","minimum":0,"description":"Index of the question to invalidate in the cache","title":"Query Index"},"description":"Index of the question to invalidate in the cache"}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/optimizer/triage":{"post":{"tags":["optimizer"],"summary":"Api Triage","description":"Run the optimizer agent against one customer-reported issue.","operationId":"api_triage_v1_optimizer_triage_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssueReportAPI"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriageResponseAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"branchly-api-key":[]}]}},"/v1/files/{pk}":{"post":{"tags":["files"],"summary":"Api Upload Files","operationId":"api_upload_files_v1_files__pk__post","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"pk","in":"path","required":true,"schema":{"type":"string","title":"Pk"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_api_upload_files_v1_files__pk__post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FileUploadResult"},"title":"Response Api Upload Files V1 Files  Pk  Post"}}}},"413":{"description":"Payload Too Large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileUploadErrorDict"}}}},"415":{"description":"File type not supported","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileUploadErrorDict"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["files"],"summary":"Api Get Files","operationId":"api_get_files_v1_files__pk__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"pk","in":"path","required":true,"schema":{"type":"string","title":"Pk"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FileResult"},"title":"Response Api Get Files V1 Files  Pk  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/files/{pk}/user_uploads/{session_id}":{"post":{"tags":["files"],"summary":"Api Upload User Files","operationId":"api_upload_user_files_v1_files__pk__user_uploads__session_id__post","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"pk","in":"path","required":true,"schema":{"type":"string","title":"Pk"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_api_upload_user_files_v1_files__pk__user_uploads__session_id__post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FileUploadResult"},"title":"Response Api Upload User Files V1 Files  Pk  User Uploads  Session Id  Post"}}}},"413":{"description":"Payload Too Large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileUploadErrorDict"}}}},"415":{"description":"File type not supported","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileUploadErrorDict"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/file_from_url/{pk}/{file_url}":{"post":{"tags":["files"],"summary":"Api Upload File From Url","operationId":"api_upload_file_from_url_v1_file_from_url__pk___file_url__post","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"file_url","in":"path","required":true,"schema":{"type":"string","format":"uri","minLength":1,"title":"File Url"}},{"name":"pk","in":"path","required":true,"schema":{"type":"string","title":"Pk"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileUploadResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/files/{pk}/{file_url}":{"delete":{"tags":["files"],"summary":"Api Delete File","operationId":"api_delete_file_v1_files__pk___file_url__delete","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"file_url","in":"path","required":true,"schema":{"type":"string","format":"uri","minLength":1,"title":"File Url"}},{"name":"pk","in":"path","required":true,"schema":{"type":"string","title":"Pk"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/extract_locale_from_url":{"post":{"tags":["utilities"],"summary":"Extract Locale From Url","operationId":"extract_locale_from_url_v1_extract_locale_from_url_post","requestBody":{"content":{"application/json":{"schema":{"type":"string","title":"Url"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtractedLocale"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearerCookie":[]}]}},"/token":{"get":{"summary":"Login For Access Token","operationId":"login_for_access_token_token_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/logout":{"get":{"summary":"Route Logout And Remove Cookie","operationId":"route_logout_and_remove_cookie_logout_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/billing/create_checkout_session/{pk}":{"post":{"tags":["billing"],"summary":"Create Checkout Session","operationId":"create_checkout_session_v1_billing_create_checkout_session__pk__post","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"pk","in":"path","required":true,"schema":{"type":"string","title":"Pk"}},{"name":"product_lookup_key","in":"query","required":false,"schema":{"enum":["starter_2024_01","starter_2024_01_yearly","starter_2024_08","starter_2024_08_yearly","pro_2024_01","pro_2024_01_yearly","pro_2024_05","pro_2024_05_yearly","pro_2024_07","pro_2024_07_yearly"],"type":"string","default":"starter_2024_08","title":"Product Lookup Key"}},{"name":"redirect_success_url","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uri","minLength":1},{"type":"null"}],"title":"Redirect Success Url"}},{"name":"redirect_cancel_url","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uri","minLength":1},{"type":"null"}],"title":"Redirect Cancel Url"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/billing/customer_portal_session/{pk}":{"post":{"tags":["billing"],"summary":"Customer Portal","operationId":"customer_portal_v1_billing_customer_portal_session__pk__post","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"pk","in":"path","required":true,"schema":{"type":"string","title":"Pk"}},{"name":"return_url","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uri","minLength":1},{"type":"null"}],"title":"Return Url"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/billing/webhook":{"post":{"tags":["billing"],"summary":"Webhook","operationId":"webhook_v1_billing_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/dashboard_users/webhook":{"post":{"tags":["dashboard_users"],"summary":"Dashboard Users Webhook","operationId":"dashboard_users_webhook_v1_dashboard_users_webhook_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClerkEvent"}}},"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":[]}]}},"/v1/dashboard_users":{"get":{"tags":["dashboard_users"],"summary":"Get Clerk User Data","operationId":"get_clerk_user_data_v1_dashboard_users_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"user_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"User Ids"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":500,"title":"Limit"}},{"name":"days_since_last_active","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Days Since Last Active"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dashboard_users/trial_expiration":{"get":{"tags":["dashboard_users"],"summary":"Api Get Users Trial Expiration","operationId":"api_get_users_trial_expiration_v1_dashboard_users_trial_expiration_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"APIKeyHeader":[]}]}},"/v1/users/sync":{"post":{"tags":["users"],"summary":"Users Webhook","operationId":"users_webhook_v1_users_sync_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClerkEvent"}}},"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":[]}]}},"/v1/users":{"get":{"tags":["users"],"summary":"List Users","operationId":"list_users_v1_users_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"user_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"User Ids"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":500,"title":"Limit"}},{"name":"days_since_last_active","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Days Since Last Active"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/users/{application_id}/me":{"get":{"tags":["users"],"summary":"Get User Preferences","operationId":"get_user_preferences_v1_users__application_id__me_get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPreferencesAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["users"],"summary":"Update User Preferences","operationId":"update_user_preferences_v1_users__application_id__me_patch","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPreferencesUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPreferencesAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vertices_wo_outgoing_edges/{pk}":{"get":{"tags":["graph builder"],"summary":"Api Get Vertices Wo Outgoing Edges","operationId":"api_get_vertices_wo_outgoing_edges_v1_vertices_wo_outgoing_edges__pk__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"pk","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pk"}},{"name":"labels","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/VertexType"}},{"type":"null"}],"title":"Labels"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VertexAPI-Output"},"title":"Response Api Get Vertices Wo Outgoing Edges V1 Vertices Wo Outgoing Edges  Pk  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vertices_wo_incoming_edges/{pk}":{"get":{"tags":["graph builder"],"summary":"Api Get  Vertices Wo Incoming Edges","operationId":"api_get__vertices_wo_incoming_edges_v1_vertices_wo_incoming_edges__pk__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"pk","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pk"}},{"name":"labels","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/VertexType"}},{"type":"null"}],"title":"Labels"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VertexAPI-Output"},"title":"Response Api Get  Vertices Wo Incoming Edges V1 Vertices Wo Incoming Edges  Pk  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/connect_graph/{pk}":{"post":{"tags":["graph builder"],"summary":"Api Connect Graph","operationId":"api_connect_graph_v1_connect_graph__pk__post","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"pk","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pk"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GraphBuilderOptions"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/analytics/conversations/{application_id}":{"get":{"tags":["analytics"],"summary":"Get Conversations","operationId":"get_conversations_v1_analytics_conversations__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"only_with_interaction","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Only With Interaction"}},{"name":"interactions","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/UIInteractionType"}},{"type":"null"}],"title":"Interactions"}},{"name":"search_query","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Query"}},{"name":"tool_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Tool Ids"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","exclusiveMinimum":0,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","exclusiveMinimum":0,"default":100,"title":"Limit"}},{"name":"embed_types","in":"query","required":false,"schema":{"type":"array","items":{"$ref":"#/components/schemas/EmbedType"},"default":["chat","chat_widget","search","search_interface","voice","api","form"],"title":"Embed Types"}},{"name":"answer_types","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/AnswerType"}},{"type":"null"}],"description":"Filter by answer types of chat requests. Automatically excludes sessions without chat requests.","title":"Answer Types"},"description":"Filter by answer types of chat requests. Automatically excludes sessions without chat requests."},{"name":"time_filter","in":"query","required":false,"schema":{"anyOf":[{"anyOf":[{"$ref":"#/components/schemas/TimeFilterType"},{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2},\\d{4}-\\d{2}-\\d{2}$"}],"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')"},{"type":"null"}],"title":"Time Filter"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionHistoryAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/analytics/sessions/{application_id}/{session_id}":{"get":{"tags":["analytics"],"summary":"Api Fetch Session","operationId":"api_fetch_session_v1_analytics_sessions__application_id___session_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/analytics/sessions/{application_id}/{session_id}/evaluate":{"get":{"tags":["analytics"],"summary":"Api Evaluate Session","description":"Create or re-create a session evaluation.","operationId":"api_evaluate_session_v1_analytics_sessions__application_id___session_id__evaluate_get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/analytics/sessions/{application_id}/chat_requests/{chat_request_id}/document-chunks":{"get":{"tags":["analytics"],"summary":"Get Chat Request Documents Api","description":"List document chunks retrieved for a single chat request, ordered by score descending.","operationId":"get_chat_request_documents_api_v1_analytics_sessions__application_id__chat_requests__chat_request_id__document_chunks_get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"chat_request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Chat Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DocumentChunk"},"title":"Response Get Chat Request Documents Api V1 Analytics Sessions  Application Id  Chat Requests  Chat Request Id  Document Chunks Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/analytics/sessions/{application_id}/chat_requests/{chat_request_id}/tool-calls":{"get":{"tags":["analytics"],"summary":"Get Chat Request Tool Calls Api","description":"List tool calls executed for a single chat request, ordered by timestamp ascending.","operationId":"get_chat_request_tool_calls_api_v1_analytics_sessions__application_id__chat_requests__chat_request_id__tool_calls_get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"chat_request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Chat Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ToolCall"},"title":"Response Get Chat Request Tool Calls Api V1 Analytics Sessions  Application Id  Chat Requests  Chat Request Id  Tool Calls Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/analytics/sessions/{application_id}/chat_requests/{chat_request_id}":{"patch":{"tags":["analytics"],"summary":"Update Chat Request Analytics","description":"Update analytics fields (summary, tags, answer_type, sentiment, classification) on a chat request.","operationId":"update_chat_request_analytics_v1_analytics_sessions__application_id__chat_requests__chat_request_id__patch","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"chat_request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Chat Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatRequestAnalyticsAPIUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatRequestAnalyticsAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/analytics/sessions/{application_id}/search_requests/{search_request_id}/search-results":{"get":{"tags":["analytics"],"summary":"Get Search Request Results Api","description":"List search results returned for a single instant-search request, ordered by score descending.","operationId":"get_search_request_results_api_v1_analytics_sessions__application_id__search_requests__search_request_id__search_results_get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"search_request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Search Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DocumentChunk"},"title":"Response Get Search Request Results Api V1 Analytics Sessions  Application Id  Search Requests  Search Request Id  Search Results Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/analytics/metrics/{application_id}":{"get":{"tags":["analytics"],"summary":"Get Metrics Api","operationId":"get_metrics_api_v1_analytics_metrics__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"time_period_days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Time Period Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionMetricsAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/analytics/active_sessions":{"get":{"tags":["analytics"],"summary":"Get Active Sessions By Application Api","operationId":"get_active_sessions_by_application_api_v1_analytics_active_sessions_get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"time_filter","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TimeFilterType"},{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2},\\d{4}-\\d{2}-\\d{2}$"}],"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')","default":"last_30_days","title":"Time Filter"},"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApplicationActiveSessionTotals"},"title":"Response Get Active Sessions By Application Api V1 Analytics Active Sessions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/analytics/active_sessions/{application_id}":{"get":{"tags":["analytics"],"summary":"Get Active Sessions By Interaction Api","operationId":"get_active_sessions_by_interaction_api_v1_analytics_active_sessions__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"time_filter","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TimeFilterType"},{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2},\\d{4}-\\d{2}-\\d{2}$"}],"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')","default":"last_30_days","title":"Time Filter"},"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')"},{"name":"embed_types_filter","in":"query","required":false,"schema":{"type":"array","items":{"$ref":"#/components/schemas/EmbedType"},"description":"Filter by embed types","default":["chat","chat_widget","search","search_interface","voice","api","form"],"title":"Embed Types Filter"},"description":"Filter by embed types"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PeriodSessionMetrics"},"title":"Response Get Active Sessions By Interaction Api V1 Analytics Active Sessions  Application Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/analytics/active-sessions-by-embed/{application_id}":{"get":{"tags":["analytics"],"summary":"Get Active Sessions By Embed Api","operationId":"get_active_sessions_by_embed_api_v1_analytics_active_sessions_by_embed__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"time_filter","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TimeFilterType"},{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2},\\d{4}-\\d{2}-\\d{2}$"}],"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')","default":"last_30_days","title":"Time Filter"},"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PeriodEmbedTypeSessionMetrics"},"title":"Response Get Active Sessions By Embed Api V1 Analytics Active Sessions By Embed  Application Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/analytics/interaction_sources/{application_id}":{"get":{"tags":["analytics"],"summary":"Get Interaction Sources Api","description":"Get URLs where on a website users were when they interacted with our interfaces.","operationId":"get_interaction_sources_api_v1_analytics_interaction_sources__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"time_filter","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TimeFilterType"},{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2},\\d{4}-\\d{2}-\\d{2}$"}],"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')","default":"last_30_days","title":"Time Filter"},"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":15,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InteractionSourceCount"},"title":"Response Get Interaction Sources Api V1 Analytics Interaction Sources  Application Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/analytics/clicked_urls/{application_id}":{"get":{"tags":["analytics"],"summary":"Get Clicked Urls Api","description":"Get the most frequently clicked URLs based on click events.","operationId":"get_clicked_urls_api_v1_analytics_clicked_urls__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"time_filter","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TimeFilterType"},{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2},\\d{4}-\\d{2}-\\d{2}$"}],"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')","default":"last_30_days","title":"Time Filter"},"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":15,"title":"Limit"}},{"name":"event_types","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/ClickEventType"}},{"type":"null"}],"description":"Filter by click event types","title":"Event Types"},"description":"Filter by click event types"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ClickedUrlCount"},"title":"Response Get Clicked Urls Api V1 Analytics Clicked Urls  Application Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/analytics/answer_types/{application_id}":{"get":{"tags":["analytics"],"summary":"Get Answer Types Api","description":"Get the distribution of answer types in chat requests.","operationId":"get_answer_types_api_v1_analytics_answer_types__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"time_filter","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TimeFilterType"},{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2},\\d{4}-\\d{2}-\\d{2}$"}],"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')","default":"last_30_days","title":"Time Filter"},"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AnswerTypeCount"},"title":"Response Get Answer Types Api V1 Analytics Answer Types  Application Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/analytics/tags/{application_id}":{"get":{"tags":["analytics"],"summary":"Get Tag Counts Api","description":"Get the most common tags from chat requests, optionally filtered by answer types.","operationId":"get_tag_counts_api_v1_analytics_tags__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"time_filter","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TimeFilterType"},{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2},\\d{4}-\\d{2}-\\d{2}$"}],"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')","default":"last_30_days","title":"Time Filter"},"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')"},{"name":"answer_types_filter","in":"query","required":false,"schema":{"type":"array","items":{"$ref":"#/components/schemas/AnswerType"},"description":"Filter by answer types (optional)","title":"Answer Types Filter"},"description":"Filter by answer types (optional)"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","description":"Maximum number of results to return","default":15,"title":"Limit"},"description":"Maximum number of results to return"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TagCount"},"title":"Response Get Tag Counts Api V1 Analytics Tags  Application Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/analytics/sentiment/{application_id}":{"get":{"tags":["analytics"],"summary":"Get Sentiment Api","description":"Get the sentiment analysis results from chat requests.","operationId":"get_sentiment_api_v1_analytics_sentiment__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"time_filter","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TimeFilterType"},{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2},\\d{4}-\\d{2}-\\d{2}$"}],"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')","default":"last_30_days","title":"Time Filter"},"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')"},{"name":"answer_types_filter","in":"query","required":false,"schema":{"type":"array","items":{"$ref":"#/components/schemas/AnswerType"},"description":"Filter by answer types (optional)","title":"Answer Types Filter"},"description":"Filter by answer types (optional)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SentimentResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/analytics/searches/{application_id}":{"get":{"tags":["analytics"],"summary":"Get Searches Api","description":"Get the searches results from chat requests.","operationId":"get_searches_api_v1_analytics_searches__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"time_filter","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TimeFilterType"},{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2},\\d{4}-\\d{2}-\\d{2}$"}],"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')","default":"last_30_days","title":"Time Filter"},"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":15,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SearchesResult"},"title":"Response Get Searches Api V1 Analytics Searches  Application Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/analytics/locales/{application_id}":{"get":{"tags":["analytics"],"summary":"Get Locales Api","description":"Get the distribution of locales across chat, search, and navigation requests.","operationId":"get_locales_api_v1_analytics_locales__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"time_filter","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TimeFilterType"},{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2},\\d{4}-\\d{2}-\\d{2}$"}],"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')","default":"last_30_days","title":"Time Filter"},"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":15,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LocaleCount"},"title":"Response Get Locales Api V1 Analytics Locales  Application Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/analytics/languages/{application_id}":{"get":{"tags":["analytics"],"summary":"Get Languages Api","description":"Get the distribution of identified languages for chat requests (endpoint_type == QA).","operationId":"get_languages_api_v1_analytics_languages__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"time_filter","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TimeFilterType"},{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2},\\d{4}-\\d{2}-\\d{2}$"}],"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')","default":"last_30_days","title":"Time Filter"},"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":15,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LanguageCount"},"title":"Response Get Languages Api V1 Analytics Languages  Application Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/analytics/devices/{application_id}":{"get":{"tags":["analytics"],"summary":"Get Devices Api","description":"Get the distribution of devices across all request types.","operationId":"get_devices_api_v1_analytics_devices__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"time_filter","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TimeFilterType"},{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2},\\d{4}-\\d{2}-\\d{2}$"}],"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')","default":"last_30_days","title":"Time Filter"},"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":15,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DeviceCount"},"title":"Response Get Devices Api V1 Analytics Devices  Application Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/analytics/geography/{application_id}":{"get":{"tags":["analytics"],"summary":"Get Geography Api","description":"Get the distribution of geography (country and region) across all request types.","operationId":"get_geography_api_v1_analytics_geography__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"time_filter","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TimeFilterType"},{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2},\\d{4}-\\d{2}-\\d{2}$"}],"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')","default":"last_30_days","title":"Time Filter"},"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":15,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GeographyCount"},"title":"Response Get Geography Api V1 Analytics Geography  Application Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/analytics/classifications/{application_id}":{"get":{"tags":["analytics"],"summary":"Get Trending Classifications","operationId":"get_trending_classifications_v1_analytics_classifications__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"type_filter","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ClassificationTypeEnum"}},{"name":"time_filter","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TimeFilterType"},{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2},\\d{4}-\\d{2}-\\d{2}$"}],"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')","default":"last_30_days","title":"Time Filter"},"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ClassificationTrendingAPI"},"title":"Response Get Trending Classifications V1 Analytics Classifications  Application Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/analytics/citations/{application_id}":{"get":{"tags":["analytics"],"summary":"Get Citations Api","operationId":"get_citations_api_v1_analytics_citations__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"time_filter","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TimeFilterType"},{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2},\\d{4}-\\d{2}-\\d{2}$"}],"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')","default":"last_30_days","title":"Time Filter"},"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')"},{"name":"embed_types_filter","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/EmbedType"}},{"type":"null"}],"description":"Filter by embed types","title":"Embed Types Filter"},"description":"Filter by embed types"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":15,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CitedSourceCount"},"title":"Response Get Citations Api V1 Analytics Citations  Application Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/analytics/top_paths/{application_id}":{"get":{"tags":["analytics"],"summary":"Get Top Paths Api","operationId":"get_top_paths_api_v1_analytics_top_paths__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"time_filter","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TimeFilterType"},{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2},\\d{4}-\\d{2}-\\d{2}$"}],"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')","default":"last_30_days","title":"Time Filter"},"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')"},{"name":"locale","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by locale","title":"Locale"},"description":"Filter by locale"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"exclusiveMinimum":0,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TopPathResult"},"title":"Response Get Top Paths Api V1 Analytics Top Paths  Application Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/analytics/custom_events/{application_id}":{"get":{"tags":["analytics"],"summary":"Get Custom Events Api","description":"Get custom event counts grouped by event name.","operationId":"get_custom_events_api_v1_analytics_custom_events__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"time_filter","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TimeFilterType"},{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2},\\d{4}-\\d{2}-\\d{2}$"}],"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')","default":"last_30_days","title":"Time Filter"},"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"exclusiveMinimum":0,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CustomEventCountAPI"},"title":"Response Get Custom Events Api V1 Analytics Custom Events  Application Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/analytics/custom_events/{application_id}/{event_name}":{"get":{"tags":["analytics"],"summary":"Get Custom Event Trend Api","description":"Get daily trend for a specific custom event.","operationId":"get_custom_event_trend_api_v1_analytics_custom_events__application_id___event_name__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"event_name","in":"path","required":true,"schema":{"type":"string","title":"Event Name"}},{"name":"time_filter","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TimeFilterType"},{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2},\\d{4}-\\d{2}-\\d{2}$"}],"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')","default":"last_30_days","title":"Time Filter"},"description":"Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CustomEventTrendPointAPI"},"title":"Response Get Custom Event Trend Api V1 Analytics Custom Events  Application Id   Event Name  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/webhooks/portal/{pk}":{"get":{"tags":["webhooks"],"summary":"Api Get Portal Access","operationId":"api_get_portal_access_v1_webhooks_portal__pk__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"pk","in":"path","required":true,"schema":{"type":"string","title":"Pk"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"string","title":"Response Api Get Portal Access V1 Webhooks Portal  Pk  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/webhooks/application":{"post":{"tags":["webhooks"],"summary":"Api Create Webhook App","operationId":"api_create_webhook_app_v1_webhooks_application_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookAppCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookAppCreate"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearerCookie":[]}]}},"/v1/api-keys":{"post":{"tags":["api_keys"],"summary":"Api Create Api Key","description":"Create a new API key. It will be returned only once. Store it securely.","operationId":"api_create_api_key_v1_api_keys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIKeyCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIKeyPlainResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearerCookie":[]}]}},"/v1/api-keys/refresh":{"post":{"tags":["api_keys"],"summary":"Api Refresh Api Key","description":"Refresh an API key. It will be returned only once. Store it securely.","operationId":"api_refresh_api_key_v1_api_keys_refresh_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIKeyRefresh"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIKeyPlainResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearerCookie":[]}]}},"/v1/api-keys/{application_id}":{"get":{"tags":["api_keys"],"summary":"Api List Api Keys","description":"List all API keys for an application.","operationId":"api_list_api_keys_v1_api_keys__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"filter","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Filters to apply in the form `field:value`.","title":"Filter"},"description":"Filters to apply in the form `field:value`."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/APIKeyInfo"},"title":"Response Api List Api Keys V1 Api Keys  Application Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/api-keys/{application_id}/{key_id}":{"delete":{"tags":["api_keys"],"summary":"Delete Api Key Route","description":"Delete an API key.","operationId":"delete_api_key_route_v1_api_keys__application_id___key_id__delete","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"key_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Key Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIKeyInfo"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/integrations/providers":{"get":{"tags":["integrations"],"summary":"List Providers","description":"List all available integration providers.","operationId":"list_providers_v1_integrations_providers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ProviderInfo"},"type":"array","title":"Response List Providers V1 Integrations Providers Get"}}}}}}},"/v1/integrations/{provider}/authorize":{"get":{"tags":["integrations"],"summary":"Authorize","description":"Start OAuth flow — redirects to provider's consent page.\n\nPass integration_id to reconnect an existing integration.\nPass name to label a new integration connection.","operationId":"authorize_v1_integrations__provider__authorize_get","parameters":[{"name":"provider","in":"path","required":true,"schema":{"$ref":"#/components/schemas/IntegrationProvider"}},{"name":"application_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"integration_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Integration Id"}},{"name":"name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/integrations/{provider}/callback":{"get":{"tags":["integrations"],"summary":"Oauth Callback","description":"OAuth callback — exchange code for tokens, store integration, redirect to dashboard.","operationId":"oauth_callback_v1_integrations__provider__callback_get","parameters":[{"name":"provider","in":"path","required":true,"schema":{"$ref":"#/components/schemas/IntegrationProvider"}},{"name":"code","in":"query","required":true,"schema":{"type":"string","title":"Code"}},{"name":"state","in":"query","required":true,"schema":{"type":"string","title":"State"}},{"name":"branchly_oauth_csrf","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Branchly Oauth Csrf"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/integrations/{application_id}/{integration_id}/refresh":{"post":{"tags":["integrations"],"summary":"Refresh Integration","description":"Refresh an integration's access token using its refresh token.","operationId":"refresh_integration_v1_integrations__application_id___integration_id__refresh_post","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Integration Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/integrations/{application_id}":{"post":{"tags":["integrations"],"summary":"Create Integration","operationId":"create_integration_v1_integrations__application_id__post","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/WordPressIntegrationCreate"},{"$ref":"#/components/schemas/APIKeyIntegrationCreate"},{"$ref":"#/components/schemas/TokenEndpointIntegrationCreate"}],"discriminator":{"propertyName":"provider","mapping":{"wordpress":"#/components/schemas/WordPressIntegrationCreate","calendly":"#/components/schemas/APIKeyIntegrationCreate","token_endpoint":"#/components/schemas/TokenEndpointIntegrationCreate"}},"title":"Data"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["integrations"],"summary":"List Integrations","description":"List all integrations for a given application.","operationId":"list_integrations_v1_integrations__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/IntegrationAPI"},"title":"Response List Integrations V1 Integrations  Application Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/integrations/{application_id}/{integration_id}":{"get":{"tags":["integrations"],"summary":"Get Integration","description":"Get a specific integration by its ID.","operationId":"get_integration_v1_integrations__application_id___integration_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Integration Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["integrations"],"summary":"Update Integration","description":"Update an integration's meta (e.g. selected scheduling URL).","operationId":"update_integration_v1_integrations__application_id___integration_id__patch","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Integration Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["integrations"],"summary":"Delete Integration","description":"Delete an integration by its ID.","operationId":"delete_integration_v1_integrations__application_id___integration_id__delete","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Integration Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/classifications/{application_id}":{"get":{"tags":["classifications"],"summary":"List Classifications","operationId":"list_classifications_v1_classifications__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"status_filter","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/ClassificationStatus"}},{"type":"null"}],"title":"Status Filter"}},{"name":"type_filter","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/ClassificationTypeEnum"}},{"type":"null"}],"title":"Type Filter"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ClassificationDefinitionAPI"},"title":"Response List Classifications V1 Classifications  Application Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/classifications":{"post":{"tags":["classifications"],"summary":"Create Classification","operationId":"create_classification_v1_classifications_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClassificationDefinitionAPICreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClassificationDefinitionAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearerCookie":[]}]}},"/v1/classifications/{application_id}/{classification_id}":{"patch":{"tags":["classifications"],"summary":"Update Classification","operationId":"update_classification_v1_classifications__application_id___classification_id__patch","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"classification_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Classification Id"}},{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClassificationDefinitionAPIUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClassificationDefinitionAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["classifications"],"summary":"Delete Classification","operationId":"delete_classification_v1_classifications__application_id___classification_id__delete","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"classification_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Classification Id"}},{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/classifications/{application_id}/suggestions":{"get":{"tags":["classifications"],"summary":"Get Pending Suggestions","operationId":"get_pending_suggestions_v1_classifications__application_id__suggestions_get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"min_count","in":"query","required":false,"schema":{"type":"integer","default":3,"title":"Min Count"}},{"name":"type_filter","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/ClassificationTypeEnum"}},{"type":"null"}],"title":"Type Filter"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PendingSuggestion"},"title":"Response Get Pending Suggestions V1 Classifications  Application Id  Suggestions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/classifications/{application_id}/backfill":{"post":{"tags":["classifications"],"summary":"Backfill Classifications","operationId":"backfill_classifications_v1_classifications__application_id__backfill_post","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"default":200,"title":"Limit"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Backfill Classifications V1 Classifications  Application Id  Backfill Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/custom_events/{application_id}":{"post":{"tags":["custom_events"],"summary":"Create Custom Event Config","operationId":"create_custom_event_config_v1_custom_events__application_id__post","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomEventConfigCreateAPI"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomEventConfigAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["custom_events"],"summary":"List Custom Event Configs","operationId":"list_custom_event_configs_v1_custom_events__application_id__get","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"active_only","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Active Only"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CustomEventConfigAPI"},"title":"Response List Custom Event Configs V1 Custom Events  Application Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/custom_events/{application_id}/{config_id}":{"patch":{"tags":["custom_events"],"summary":"Update Custom Event Config","operationId":"update_custom_event_config_v1_custom_events__application_id___config_id__patch","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"config_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Config Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomEventConfigUpdateAPI"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomEventConfigAPI"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["custom_events"],"summary":"Delete Custom Event Config","operationId":"delete_custom_event_config_v1_custom_events__application_id___config_id__delete","security":[{"HTTPBearerCookie":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}},{"name":"config_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Config Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/.well-known/oauth-protected-resource/mcp":{"get":{"tags":["mcp-oauth"],"summary":"Protected Resource Metadata","description":"Protected Resource Metadata (RFC 9728).\n\nEntry point for MCP client OAuth discovery. Tells clients that Clerk is\nthe authorization server and which scopes are supported.","operationId":"protected_resource_metadata__well_known_oauth_protected_resource_mcp_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/.well-known/oauth-protected-resource":{"get":{"tags":["mcp-oauth"],"summary":"Protected Resource Metadata","description":"Protected Resource Metadata (RFC 9728).\n\nEntry point for MCP client OAuth discovery. Tells clients that Clerk is\nthe authorization server and which scopes are supported.","operationId":"protected_resource_metadata__well_known_oauth_protected_resource_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/.well-known/oauth-protected-resource/mcp/{application_id}":{"get":{"tags":["mcp-oauth"],"summary":"Protected Resource Metadata For App","description":"Protected Resource Metadata (RFC 9728) for a specific application.\n\nThe ``resource`` field includes the application_id so the OAuth token\nis audience-bound to that specific application (RFC 8707).","operationId":"protected_resource_metadata_for_app__well_known_oauth_protected_resource_mcp__application_id__get","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/.well-known/oauth-authorization-server":{"get":{"tags":["mcp-oauth"],"summary":"Authorization Server Metadata","description":"Proxy Clerk's Authorization Server Metadata (RFC 8414).\n\nSome MCP clients probe the MCP server's origin for AS metadata before\nfollowing the resource_metadata link. This endpoint proxies Clerk's\nmetadata directly.","operationId":"authorization_server_metadata__well_known_oauth_authorization_server_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/health":{"get":{"summary":"Endpoint","operationId":"endpoint_api_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"APIBodyContentType":{"type":"string","enum":["application/json","application/x-www-form-urlencoded"],"title":"APIBodyContentType","description":"Content types supported for API tool request bodies."},"APIHttpMethod":{"type":"string","enum":["GET","POST","PUT","PATCH","DELETE"],"title":"APIHttpMethod","description":"HTTP methods supported for API tool requests."},"APIKeyCreate":{"properties":{"application_id":{"type":"string","format":"uuid","title":"Application Id","description":"Application ID this key belongs to"},"name":{"type":"string","title":"Name","description":"Name/description of the API key"},"meta":{"additionalProperties":true,"type":"object","title":"Meta","description":"Metadata associated with the API key"}},"type":"object","required":["application_id","name"],"title":"APIKeyCreate","description":"Model for creating an API key."},"APIKeyInfo":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"application_id":{"type":"string","format":"uuid","title":"Application Id"},"name":{"type":"string","title":"Name"},"meta":{"additionalProperties":true,"type":"object","title":"Meta"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","application_id","name","meta","created_at"],"title":"APIKeyInfo","description":"Model for API key info (without the actual key)."},"APIKeyIntegrationCreate":{"properties":{"provider":{"type":"string","const":"calendly","title":"Provider"},"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name"},"api_key":{"type":"string","title":"Api Key"}},"type":"object","required":["provider","api_key"],"title":"APIKeyIntegrationCreate"},"APIKeyPlainResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"application_id":{"type":"string","format":"uuid","title":"Application Id"},"name":{"type":"string","title":"Name"},"key":{"type":"string","title":"Key","description":"The actual API key (only shown on creation)"},"meta":{"additionalProperties":true,"type":"object","title":"Meta","description":"Metadata associated with the API key"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","application_id","name","key","created_at"],"title":"APIKeyPlainResponse","description":"Model for API key response."},"APIKeyRefresh":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"application_id":{"type":"string","format":"uuid","title":"Application Id","description":"Application ID this key belongs to"}},"type":"object","required":["id","application_id"],"title":"APIKeyRefresh","description":"Model for recreating an API key."},"APIKeyTokenCredentials":{"properties":{"credential_type":{"type":"string","const":"api_key","title":"Credential Type"},"api_key":{"type":"string","title":"Api Key"}},"type":"object","required":["credential_type","api_key"],"title":"APIKeyTokenCredentials","description":"Static API key exchanged for a bearer token at the login endpoint."},"APIParameter":{"properties":{"name":{"type":"string","title":"Name","description":"Name of the parameter. Used as a variable placeholder in URL, headers, or body with {{name}} notation."},"type":{"$ref":"#/components/schemas/APIParameterType","description":"Type of the parameter.","default":"text"},"description":{"type":"string","title":"Description","description":"Description of the parameter to help the AI understand what data to collect from the user."},"required":{"type":"boolean","title":"Required","description":"Whether this parameter is required for the API call.","default":true}},"type":"object","required":["name","description"],"title":"APIParameter","description":"Parameter collected from the user for use in API requests.\n\nParameters can be used as placeholders in URL, headers, or body using {{parameter_name}} notation."},"APIParameterType":{"type":"string","enum":["text","number","boolean"],"title":"APIParameterType","description":"Types for parameters collected from the user."},"APIToolArguments-Input":{"properties":{"object":{"type":"string","const":"api_tool_arguments","title":"Object","default":"api_tool_arguments"},"integration_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Integration Id","description":"ID of the integration used to obtain an auth token for the request."},"method":{"$ref":"#/components/schemas/APIHttpMethod","description":"HTTP method for the API request."},"url":{"type":"string","title":"Url","description":"URL of the API endpoint. Can include parameter placeholders using mustache notation like {{parameter_name}}."},"query_params":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Query Params","description":"Query parameters for the request. Values can include parameter placeholders using mustache notation like {{parameter_name}}."},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers","description":"HTTP headers for the request. Values can include parameter placeholders using mustache notation like {{parameter_name}}."},"body":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Body","description":"Request body. Values can include parameter placeholders using mustache notation like {{parameter_name}}."},"body_content_type":{"$ref":"#/components/schemas/APIBodyContentType","description":"Content type of the request body.","default":"application/json"},"timeout":{"type":"integer","maximum":30.0,"minimum":1.0,"title":"Timeout","description":"Request timeout in seconds.","default":5},"response_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Response Path","description":"Optional dot notation to extract specific data from the API response."},"event":{"anyOf":[{"$ref":"#/components/schemas/FrontendEventMapping"},{"type":"null"}],"description":"Optional frontend event mapping."}},"type":"object","required":["method","url"],"title":"APIToolArguments","description":"Arguments for the API tool that define how to make HTTP requests.\n\nContains the static configuration for executing API requests.\nUse {{parameter_name}} mustache notation in url, query_params, headers, and body\nto reference parameters defined in tool_config."},"APIToolArguments-Output":{"properties":{"object":{"type":"string","const":"api_tool_arguments","title":"Object","default":"api_tool_arguments"},"integration_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Integration Id","description":"ID of the integration used to obtain an auth token for the request."},"method":{"$ref":"#/components/schemas/APIHttpMethod","description":"HTTP method for the API request."},"url":{"type":"string","title":"Url","description":"URL of the API endpoint. Can include parameter placeholders using mustache notation like {{parameter_name}}."},"query_params":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Query Params","description":"Query parameters for the request. Values can include parameter placeholders using mustache notation like {{parameter_name}}."},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers","description":"HTTP headers for the request. Values can include parameter placeholders using mustache notation like {{parameter_name}}."},"body":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Body","description":"Request body. Values can include parameter placeholders using mustache notation like {{parameter_name}}."},"body_content_type":{"$ref":"#/components/schemas/APIBodyContentType","description":"Content type of the request body.","default":"application/json"},"timeout":{"type":"integer","maximum":30.0,"minimum":1.0,"title":"Timeout","description":"Request timeout in seconds.","default":5},"response_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Response Path","description":"Optional dot notation to extract specific data from the API response."},"event":{"anyOf":[{"$ref":"#/components/schemas/FrontendEventMapping"},{"type":"null"}],"description":"Optional frontend event mapping."}},"type":"object","required":["method","url"],"title":"APIToolArguments","description":"Arguments for the API tool that define how to make HTTP requests.\n\nContains the static configuration for executing API requests.\nUse {{parameter_name}} mustache notation in url, query_params, headers, and body\nto reference parameters defined in tool_config."},"APIToolConfig-Input":{"properties":{"object":{"type":"string","const":"api_tool_config","title":"Object","default":"api_tool_config"},"parameters":{"items":{"$ref":"#/components/schemas/APIParameter"},"type":"array","title":"Parameters","description":"List of parameters to collect from the user for use in the API request."}},"type":"object","title":"APIToolConfig","description":"Configuration for the API tool sent to the LLM as a function.\n\nContains the parameters that the AI collects from users, which are then\nsubstituted into the URL, headers, and body using {{parameter_name}} notation."},"APIToolConfig-Output":{"properties":{"object":{"type":"string","const":"api_tool_config","title":"Object","default":"api_tool_config"},"parameters":{"items":{"$ref":"#/components/schemas/APIParameter"},"type":"array","title":"Parameters","description":"List of parameters to collect from the user for use in the API request."}},"type":"object","title":"APIToolConfig","description":"Configuration for the API tool sent to the LLM as a function.\n\nContains the parameters that the AI collects from users, which are then\nsubstituted into the URL, headers, and body using {{parameter_name}} notation."},"ActiveSessionPeriodTotal":{"properties":{"period":{"type":"string","format":"date-time","title":"Period"},"total_active_sessions":{"type":"integer","title":"Total Active Sessions","default":0}},"type":"object","required":["period"],"title":"ActiveSessionPeriodTotal"},"Actor":{"type":"string","enum":["apify/website-content-crawler"],"title":"Actor"},"AgentLLMConfig":{"properties":{"model":{"anyOf":[{"type":"string","enum":["gpt-4.1-mini","gpt-5-chat","gpt-5-chat-2","gpt-5-mini","gpt-5.4-mini","gpt-chat-latest","gpt-5.6-terra","gpt-5.6-luna","gpt-6-luna","gpt-6-sol","mistral-large","gpt-oss-120b","Qwen3-32B","Qwen3.5-9B","Qwen3.5-397B-A17B","Qwen3.6-27B","Qwen3.8-27B","gemini-2.5-flash-lite","gemini-3.1-flash-lite","gemini-3.5-flash-lite","gemini-3.5-flash","gemini-3.7-flash","gemini-3.8-flash","grok-4-1-fast-non-reasoning","@cf/google/gemma-4-26b-a4b-it","@cf/zai-org/glm-4.7-flash","@cf/moonshotai/kimi-k2.6","Mistral-Small-4-119B-2603-Preview","GLM-5.2-Preview"]},{"type":"string","const":"default"}],"title":"Model","description":"Model name from the platform model registry, e.g. 'gpt-5-mini', or 'default' for the platform default model."}},"type":"object","required":["model"],"title":"AgentLLMConfig","description":"LLM configuration for a single agent type.\n\nThe model is either a name from the platform model registry\n(app.api.common.llms.registry.MODEL_REGISTRY) or \"default\", which\nselects the platform default model for this agent type. The provider\n(Azure, OVHCloud, Google, ...) and all task-specific settings are\nderived from the registry, so nothing else is configurable here."},"AgentSettings":{"properties":{"chat_routing":{"anyOf":[{"$ref":"#/components/schemas/AgentLLMConfig"},{"type":"null"}],"description":"LLM used for routing in the chat pipeline."},"chat_output":{"anyOf":[{"$ref":"#/components/schemas/AgentLLMConfig"},{"type":"null"}],"description":"LLM used for answer generation in the chat pipeline."},"search_answer":{"anyOf":[{"$ref":"#/components/schemas/AgentLLMConfig"},{"type":"null"}],"description":"LLM used for answer generation in the search interface."},"form_answer":{"anyOf":[{"$ref":"#/components/schemas/AgentLLMConfig"},{"type":"null"}],"description":"LLM used for answering form submissions."},"form_routing":{"anyOf":[{"$ref":"#/components/schemas/AgentLLMConfig"},{"type":"null"}],"description":"LLM used for routing form submissions."}},"type":"object","title":"AgentSettings","description":"Per-agent-type LLM configuration of an application.\n\nAgent types that are not configured (null) and agent types set to\n\"default\" use the platform default models."},"AgentType":{"type":"string","enum":["chat_routing","chat_output","search_answer","form_answer","form_routing","follow_up_actions","suggested_questions","web_mcp"],"title":"AgentType"},"AllowedHtmlTag":{"type":"string","enum":["button","a","input","div","span","form"],"title":"AllowedHtmlTag"},"AnalyticsEventData":{"properties":{"url":{"type":"string","minLength":1,"format":"uri","title":"Url","description":"The URL where the event was triggered."},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata","description":"Tracker payload for the event."},"event_name":{"type":"string","minLength":1,"title":"Event Name","description":"The name of the custom event."},"source":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"title":"Source","description":"Tracker the event came from, e.g. gtag, umami, ga4."},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp","description":"Client-side time the event fired."}},"type":"object","required":["url","event_name"],"title":"AnalyticsEventData"},"AnalyticsEventsRawRequest":{"properties":{"data":{"items":{"$ref":"#/components/schemas/AnalyticsEventData"},"type":"array","minItems":1,"title":"Data"},"application_id":{"type":"string","format":"uuid","title":"Application Id"},"session_id":{"type":"string","format":"uuid","title":"Session Id"},"embed_type":{"$ref":"#/components/schemas/EmbedType"}},"type":"object","required":["data","application_id","session_id","embed_type"],"title":"AnalyticsEventsRawRequest"},"AnalyticsProvider":{"type":"string","enum":["google_analytics","umami","matomo"],"title":"AnalyticsProvider"},"AnswerType":{"type":"string","enum":["complete","no_knowledge","outside_scope","small_talk","follow_up_question"],"title":"AnswerType"},"AnswerTypeCount":{"properties":{"answer_type":{"$ref":"#/components/schemas/AnswerType"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["answer_type","count"],"title":"AnswerTypeCount","description":"Model for chat answer type counts."},"ApiKeyCredentials":{"properties":{"auth_type":{"type":"string","const":"api_key","title":"Auth Type"},"api_key":{"type":"string","title":"Api Key"},"api_key_header":{"type":"string","title":"Api Key Header","default":"X-API-KEY"}},"type":"object","required":["auth_type","api_key"],"title":"ApiKeyCredentials"},"ApifyStartURLs":{"properties":{"start_urls":{"items":{"type":"string","minLength":1,"format":"uri"},"type":"array","title":"Start Urls"}},"type":"object","required":["start_urls"],"title":"ApifyStartURLs"},"AppPasswordCredentials":{"properties":{"auth_type":{"type":"string","const":"application_password","title":"Auth Type"},"username":{"type":"string","title":"Username"},"app_password":{"type":"string","title":"App Password"}},"type":"object","required":["auth_type","username","app_password"],"title":"AppPasswordCredentials"},"ApplicationAPI":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"embed_location":{"items":{"type":"string","maxLength":2083,"minLength":1,"format":"uri"},"type":"array","minItems":1,"title":"Embed Location"},"organization_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organization Name"},"primary_organization_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Primary Organization Id"},"environment":{"$ref":"#/components/schemas/NavigatorEnvironment"},"search_output_sensitivity":{"$ref":"#/components/schemas/SearchOutputSensitivity","default":0.15},"primary_edge_weight":{"$ref":"#/components/schemas/EdgeWeighting","default":"weight_manual"},"secondary_edge_weight":{"anyOf":[{"$ref":"#/components/schemas/EdgeWeighting"},{"type":"null"}]},"valid_locales":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Valid Locales"},"search_result_highlight":{"$ref":"#/components/schemas/SearchResultHighlight","default":"chunk"},"dense_model":{"$ref":"#/components/schemas/DenseEmbeddingModel","default":"multilingual-e5-small"},"sparse_model":{"$ref":"#/components/schemas/SparseEmbeddingModel","default":"bm25"},"search_mode":{"$ref":"#/components/schemas/SearchMode","default":"hybrid"},"search_rerank_settings":{"anyOf":[{"$ref":"#/components/schemas/SearchRerankSettings-Output"},{"type":"null"}]},"session_personalization_settings":{"anyOf":[{"$ref":"#/components/schemas/SessionPersonalizationSettings"},{"type":"null"}]},"agent_settings":{"anyOf":[{"$ref":"#/components/schemas/AgentSettings"},{"type":"null"}]},"enable_spellchecker":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enable Spellchecker","default":false},"prompt_persona":{"type":"string","title":"Prompt Persona","default":"- You are a customer service agent working for the company and you help users answer their questions.\n- You are allowed to answer any question that fits into the domain of a customer service agent.\n- You can mention the current date/time and your developer/creator."},"output_instructions":{"type":"string","title":"Output Instructions","default":"- You are a customer service agent working for the company and you help users answer their questions.\n- You are friendly, helpful and professional."},"chat_strategy":{"$ref":"#/components/schemas/ChatStrategy","default":"agent"},"classification_mode":{"anyOf":[{"$ref":"#/components/schemas/ClassificationMode"},{"type":"null"}],"default":"inactive"},"reply_in_user_language":{"type":"boolean","title":"Reply In User Language","default":true},"use_browser_locale":{"type":"boolean","title":"Use Browser Locale","default":false},"follow_up_actions":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Follow Up Actions","default":false},"web_mcp_enabled":{"type":"boolean","title":"Web Mcp Enabled","default":false},"routing_context_nodes":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Routing Context Nodes"},"generation_context_nodes":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Generation Context Nodes"},"deletion_policy_days":{"type":"integer","title":"Deletion Policy Days","description":"Days after which data from request tables is deleted","default":730},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"updated_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated By"},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By"}},"type":"object","required":["id","name","primary_organization_id","environment","created_at","updated_at"],"title":"ApplicationAPI"},"ApplicationAPICreate":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","minLength":1,"title":"Name"},"embed_location":{"items":{"type":"string","maxLength":2083,"minLength":1,"format":"uri"},"type":"array","minItems":1,"title":"Embed Location"},"organization_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organization Name","description":"Should be set by API"},"primary_organization_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Primary Organization Id","description":"Can also be set by API"},"environment":{"$ref":"#/components/schemas/NavigatorEnvironment","default":"development"},"search_output_sensitivity":{"$ref":"#/components/schemas/SearchOutputSensitivity","default":0.15},"primary_edge_weight":{"$ref":"#/components/schemas/EdgeWeighting","default":"weight_manual"},"secondary_edge_weight":{"anyOf":[{"$ref":"#/components/schemas/EdgeWeighting"},{"type":"null"}],"default":"weight"},"valid_locales":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Valid Locales"},"search_result_highlight":{"$ref":"#/components/schemas/SearchResultHighlight","default":"chunk"},"dense_model":{"$ref":"#/components/schemas/DenseEmbeddingModel","default":"multilingual-e5-small"},"sparse_model":{"$ref":"#/components/schemas/SparseEmbeddingModel","default":"bm25"},"search_mode":{"$ref":"#/components/schemas/SearchMode","default":"dense"},"search_rerank_settings":{"anyOf":[{"$ref":"#/components/schemas/SearchRerankSettings-Input"},{"type":"null"}]},"session_personalization_settings":{"anyOf":[{"$ref":"#/components/schemas/SessionPersonalizationSettings"},{"type":"null"}]},"agent_settings":{"anyOf":[{"$ref":"#/components/schemas/AgentSettings"},{"type":"null"}]},"enable_spellchecker":{"type":"boolean","title":"Enable Spellchecker","default":false},"prompt_persona":{"type":"string","title":"Prompt Persona","default":"- You are a customer service agent working for the company and you help users answer their questions.\n- You are allowed to answer any question that fits into the domain of a customer service agent.\n- You can mention the current date/time and your developer/creator."},"output_instructions":{"type":"string","title":"Output Instructions","default":"- You are a customer service agent working for the company and you help users answer their questions.\n- You are friendly, helpful and professional."},"chat_strategy":{"$ref":"#/components/schemas/ChatStrategy","default":"agent"},"classification_mode":{"$ref":"#/components/schemas/ClassificationMode","default":"inactive"},"reply_in_user_language":{"type":"boolean","title":"Reply In User Language","default":true},"use_browser_locale":{"type":"boolean","title":"Use Browser Locale","default":false},"follow_up_actions":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Follow Up Actions","default":false},"web_mcp_enabled":{"type":"boolean","title":"Web Mcp Enabled","default":false},"routing_context_nodes":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Routing Context Nodes"},"generation_context_nodes":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Generation Context Nodes"},"deletion_policy_days":{"type":"integer","title":"Deletion Policy Days","description":"Days after which data from request tables is deleted","default":730}},"type":"object","required":["name"],"title":"ApplicationAPICreate"},"ApplicationAPICreateOptions":{"properties":{"application":{"$ref":"#/components/schemas/ApplicationAPICreate"},"create_contacts":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Create Contacts","default":true}},"type":"object","required":["application"],"title":"ApplicationAPICreateOptions"},"ApplicationAPIUpdate":{"properties":{"name":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"title":"Name"},"embed_location":{"anyOf":[{"items":{"type":"string","maxLength":2083,"minLength":1,"format":"uri"},"type":"array","minItems":1},{"type":"null"}],"title":"Embed Location"},"organization_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organization Name"},"primary_organization_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Primary Organization Id"},"environment":{"anyOf":[{"$ref":"#/components/schemas/NavigatorEnvironment"},{"type":"null"}]},"search_output_sensitivity":{"anyOf":[{"$ref":"#/components/schemas/SearchOutputSensitivity"},{"type":"null"}]},"primary_edge_weight":{"anyOf":[{"$ref":"#/components/schemas/EdgeWeighting"},{"type":"null"}]},"secondary_edge_weight":{"anyOf":[{"$ref":"#/components/schemas/EdgeWeighting"},{"type":"null"}]},"valid_locales":{"anyOf":[{"items":{"type":"string"},"type":"array","minItems":1},{"type":"null"}],"title":"Valid Locales"},"search_result_highlight":{"anyOf":[{"$ref":"#/components/schemas/SearchResultHighlight"},{"type":"null"}]},"dense_model":{"anyOf":[{"$ref":"#/components/schemas/DenseEmbeddingModel"},{"type":"null"}]},"sparse_model":{"anyOf":[{"$ref":"#/components/schemas/SparseEmbeddingModel"},{"type":"null"}]},"search_mode":{"anyOf":[{"$ref":"#/components/schemas/SearchMode"},{"type":"null"}]},"search_rerank_settings":{"anyOf":[{"$ref":"#/components/schemas/SearchRerankSettings-Input"},{"type":"null"}]},"session_personalization_settings":{"anyOf":[{"$ref":"#/components/schemas/SessionPersonalizationSettings"},{"type":"null"}]},"agent_settings":{"anyOf":[{"$ref":"#/components/schemas/AgentSettings"},{"type":"null"}]},"enable_spellchecker":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enable Spellchecker"},"prompt_persona":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt Persona"},"output_instructions":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Output Instructions"},"chat_strategy":{"anyOf":[{"$ref":"#/components/schemas/ChatStrategy"},{"type":"null"}]},"classification_mode":{"anyOf":[{"$ref":"#/components/schemas/ClassificationMode"},{"type":"null"}]},"reply_in_user_language":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Reply In User Language","default":true},"use_browser_locale":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Use Browser Locale","default":false},"follow_up_actions":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Follow Up Actions"},"web_mcp_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Web Mcp Enabled"},"routing_context_nodes":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Routing Context Nodes"},"generation_context_nodes":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Generation Context Nodes"},"deletion_policy_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Deletion Policy Days"}},"type":"object","title":"ApplicationAPIUpdate"},"ApplicationActiveSessionTotals":{"properties":{"application_id":{"type":"string","format":"uuid","title":"Application Id"},"periods":{"items":{"$ref":"#/components/schemas/ActiveSessionPeriodTotal"},"type":"array","title":"Periods"}},"type":"object","required":["application_id","periods"],"title":"ApplicationActiveSessionTotals"},"ArticleMetadataMapper":{"properties":{"published_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Published Time"},"modified_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Modified Time"},"tags":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"}},"type":"object","title":"ArticleMetadataMapper"},"AuthType":{"type":"string","enum":["oauth","api_key","credentials"],"title":"AuthType"},"AvailableToolAPI":{"properties":{"tool_type":{"$ref":"#/components/schemas/ToolType"},"active":{"type":"boolean","title":"Active"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"tool_config":{"anyOf":[{"$ref":"#/components/schemas/FormAPISchema"},{"$ref":"#/components/schemas/APIToolConfig-Output"},{"type":"null"}],"title":"Tool Config","description":"Configuration for actual tool that is sent to LLM as a function."},"function_arguments":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/KnowledgeBaseToolArguments"},{"$ref":"#/components/schemas/NodeLookupToolArguments"},{"$ref":"#/components/schemas/SendEmailToolArguments"},{"$ref":"#/components/schemas/WebSearchToolArguments"},{"$ref":"#/components/schemas/WebPageReaderToolArguments"},{"$ref":"#/components/schemas/FormToolArguments"},{"$ref":"#/components/schemas/VenusKnowledgeGraphToolArguments-Output"},{"$ref":"#/components/schemas/RegiondoToolArguments-Output"},{"$ref":"#/components/schemas/MCPServerToolArguments-Output"},{"$ref":"#/components/schemas/APIToolArguments-Output"},{"$ref":"#/components/schemas/ButtonsToolArguments-Output"},{"$ref":"#/components/schemas/GoogleMapsLinkToolArguments"},{"$ref":"#/components/schemas/GoogleMapsEmbedToolArguments"},{"$ref":"#/components/schemas/CalendlyToolArguments"}],"discriminator":{"propertyName":"object","mapping":{"api_tool_arguments":"#/components/schemas/APIToolArguments-Output","buttons_tool_arguments":"#/components/schemas/ButtonsToolArguments-Output","calendly_tool_arguments":"#/components/schemas/CalendlyToolArguments","form_tool_arguments":"#/components/schemas/FormToolArguments","google_maps_embed_tool_arguments":"#/components/schemas/GoogleMapsEmbedToolArguments","google_maps_link_tool_arguments":"#/components/schemas/GoogleMapsLinkToolArguments","knowledge_base_tool_arguments":"#/components/schemas/KnowledgeBaseToolArguments","mcp_server_tool_arguments":"#/components/schemas/MCPServerToolArguments-Output","node_lookup_tool_arguments":"#/components/schemas/NodeLookupToolArguments","regiondo_tool_arguments":"#/components/schemas/RegiondoToolArguments-Output","send_email_tool_arguments":"#/components/schemas/SendEmailToolArguments","venus_knowledge_graph_tool_arguments":"#/components/schemas/VenusKnowledgeGraphToolArguments-Output","web_page_reader_tool_arguments":"#/components/schemas/WebPageReaderToolArguments","web_search_tool_arguments":"#/components/schemas/WebSearchToolArguments"}}},{"type":"null"}],"title":"Function Arguments","description":"Additional arguments when calling the actual function."},"user_interface_availability":{"items":{"type":"string","enum":["Chat","Chat Widget","Navigator","Search","Form"]},"type":"array","title":"User Interface Availability","description":"List of user interfaces where this tool is available"}},"type":"object","required":["tool_type","active","name","description"],"title":"AvailableToolAPI"},"AvailableToolsAPIResponse":{"properties":{"current_tools":{"items":{"$ref":"#/components/schemas/ToolAPI"},"type":"array","title":"Current Tools"},"available_tools":{"items":{"$ref":"#/components/schemas/AvailableToolAPI"},"type":"array","title":"Available Tools"}},"type":"object","required":["current_tools","available_tools"],"title":"AvailableToolsAPIResponse"},"BasicAuthCredentials":{"properties":{"auth_type":{"type":"string","const":"basic_auth","title":"Auth Type"},"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"}},"type":"object","required":["auth_type","username","password"],"title":"BasicAuthCredentials"},"Body_api_upload_files_v1_files__pk__post":{"properties":{"files":{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array","title":"Files"}},"type":"object","required":["files"],"title":"Body_api_upload_files_v1_files__pk__post"},"Body_api_upload_user_files_v1_files__pk__user_uploads__session_id__post":{"properties":{"files":{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array","title":"Files"}},"type":"object","required":["files"],"title":"Body_api_upload_user_files_v1_files__pk__user_uploads__session_id__post"},"BreadcrumbNavigationBuilderOptions":{"properties":{"type":{"type":"string","const":"breadcrumbs","title":"Type","default":"breadcrumbs"},"breadcrumb_selector":{"type":"string","title":"Breadcrumb Selector"}},"type":"object","required":["breadcrumb_selector"],"title":"BreadcrumbNavigationBuilderOptions"},"BubbleColor":{"type":"string","enum":["red","blue","green","purple","red_blue","black","navy_yellow","black_green","mouse","rust","black_red_gold","metal","yellow","navy","branchly_purple","dark_green","orange"],"title":"BubbleColor"},"Button":{"properties":{"type":{"$ref":"#/components/schemas/ButtonType","description":"Type of the button"},"text":{"type":"string","maxLength":50,"title":"Text","description":"Button text to display. Should be short and descriptive."},"url":{"anyOf":[{"type":"string","minLength":1,"format":"uri"},{"type":"null"}],"title":"Url","description":"URL for link_button type. Required for link_button, not used for button type. Allow mailto: and tel: links as well."}},"type":"object","required":["type","text"],"title":"Button","description":"Individual button in the buttons tool.\n\n- link_button: Opens URL in new tab (if external) or navigates (like follow-up actions)\n- button: Uses text as input for sending new request"},"ButtonType":{"type":"string","enum":["link_button","button"],"title":"ButtonType","description":"Types of buttons available in the buttons tool."},"ButtonsEventAPI":{"properties":{"tool_id":{"type":"string","format":"uuid","title":"Tool Id"},"buttons":{"items":{"$ref":"#/components/schemas/Button"},"type":"array","title":"Buttons"}},"type":"object","required":["tool_id","buttons"],"title":"ButtonsEventAPI","description":"Buttons API model for frontend display."},"ButtonsSSEEvent":{"properties":{"event":{"type":"string","const":"buttons","title":"Event","default":"buttons"},"data":{"$ref":"#/components/schemas/ButtonsEventAPI"}},"type":"object","required":["data"],"title":"ButtonsSSEEvent"},"ButtonsToolArguments-Input":{"properties":{"object":{"type":"string","const":"buttons_tool_arguments","title":"Object","default":"buttons_tool_arguments"},"buttons":{"items":{"$ref":"#/components/schemas/Button"},"type":"array","maxItems":10,"minItems":1,"title":"Buttons","description":"List of buttons to display. Maximum 10 buttons."}},"type":"object","required":["buttons"],"title":"ButtonsToolArguments","description":"Arguments for the Buttons tool.\n\nThis tool allows AI to send buttons as a frontend event to users.\nNo inputs are required from the AI when executing this tool.\nMaximum 3 buttons can be sent."},"ButtonsToolArguments-Output":{"properties":{"object":{"type":"string","const":"buttons_tool_arguments","title":"Object","default":"buttons_tool_arguments"},"buttons":{"items":{"$ref":"#/components/schemas/Button"},"type":"array","maxItems":10,"minItems":1,"title":"Buttons","description":"List of buttons to display. Maximum 10 buttons."}},"type":"object","required":["buttons"],"title":"ButtonsToolArguments","description":"Arguments for the Buttons tool.\n\nThis tool allows AI to send buttons as a frontend event to users.\nNo inputs are required from the AI when executing this tool.\nMaximum 3 buttons can be sent."},"CalendlyEventAPI":{"properties":{"type":{"type":"string","const":"calendly","title":"Type","default":"calendly"},"scheduling_url":{"type":"string","title":"Scheduling Url"},"prefill":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Prefill"}},"type":"object","required":["scheduling_url"],"title":"CalendlyEventAPI","description":"Calendly API model for rendering a native Calendly scheduling widget."},"CalendlySSEEvent":{"properties":{"event":{"type":"string","const":"calendly","title":"Event","default":"calendly"},"data":{"$ref":"#/components/schemas/CalendlyEventAPI"}},"type":"object","required":["data"],"title":"CalendlySSEEvent"},"CalendlyToolArguments":{"properties":{"object":{"type":"string","const":"calendly_tool_arguments","title":"Object","default":"calendly_tool_arguments"},"integration_id":{"type":"string","format":"uuid","title":"Integration Id","description":"ID of the connected Calendly integration to use for scheduling."}},"type":"object","required":["integration_id"],"title":"CalendlyToolArguments"},"CarouselSSEEvent":{"properties":{"event":{"type":"string","const":"carousel_v1","title":"Event","default":"carousel_v1"},"data":{"items":{"$ref":"#/components/schemas/CarouselV1"},"type":"array","title":"Data"}},"type":"object","required":["data"],"title":"CarouselSSEEvent"},"CarouselV1":{"properties":{"type":{"type":"string","const":"carousel_v1","title":"Type","default":"carousel_v1"},"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title","description":"Title of the carousel in bold"},"image_url":{"anyOf":[{"type":"string","minLength":1,"format":"uri"},{"type":"string"},{"type":"null"}],"title":"Image Url","description":"URL of the image to be displayed in the carousel."},"resource_url":{"anyOf":[{"type":"string","minLength":1,"format":"uri"},{"type":"string"},{"type":"null"}],"title":"Resource Url","description":"URL to the resource by clicking the Button."},"detail":{"type":"string","title":"Detail","description":"Description of the carousel, formatted as HTML."},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","description":"List of tags to be shown."}},"type":"object","required":["id","title","image_url","detail"],"title":"CarouselV1","description":"Carousel Model to be used with event_type 'carousel_v1'."},"CarouselV1Mapping":{"properties":{"type":{"type":"string","const":"carousel_v1","title":"Type","default":"carousel_v1"},"id":{"type":"string","title":"Id","default":"{{event_id}}"},"title":{"type":"string","title":"Title","default":"{{event_name}}"},"image_url":{"type":"string","title":"Image Url","default":"{{first_image.url}}"},"resource_url":{"type":"string","title":"Resource Url","default":"{{link}}"},"detail":{"type":"string","title":"Detail","default":"{{event_date_time.0.start_date}} - {{event_date_time.0.end_date}}<br>{{address.city}}<br>"},"tags":{"type":"string","title":"Tags","default":"{{tags}}"}},"type":"object","title":"CarouselV1Mapping"},"ChatNavigatorStyleAPI":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"pk":{"type":"string","format":"uuid","title":"Pk"},"label":{"$ref":"#/components/schemas/VertexType","default":"chat_navigator_style"},"greeting":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Greeting"},"assistant_name":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Assistant Name"},"font_family":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Font Family"},"font_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Font Color"},"background_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Background Color"},"send_button_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Send Button Color"},"user_message_background_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Message Background Color"},"assistant_message_background_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assistant Message Background Color"},"bubble_color":{"anyOf":[{"$ref":"#/components/schemas/BubbleColor"},{"type":"null"}],"default":"purple"},"enable_user_uploads":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enable User Uploads","default":false},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"chat_input_placeholder":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Chat Input Placeholder"},"suggested_questions":{"anyOf":[{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},{"type":"null"}],"title":"Suggested Questions"},"suggested_questions_strategy":{"$ref":"#/components/schemas/SuggestedQuestionsStrategy","default":"manual"},"hide_widget_url_patterns":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Hide Widget Url Patterns","description":"List of URL patterns (glob) for which the chat widget should be hidden."},"ai_disclaimer":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Ai Disclaimer"},"show_branding":{"type":"boolean","title":"Show Branding","default":true},"analytics_providers":{"items":{"$ref":"#/components/schemas/AnalyticsProvider"},"type":"array","title":"Analytics Providers"}},"type":"object","required":["id","pk"],"title":"ChatNavigatorStyleAPI"},"ChatNavigatorStyleAPICreate":{"properties":{"pk":{"type":"string","format":"uuid","title":"Pk"},"label":{"$ref":"#/components/schemas/VertexType","default":"chat_navigator_style"},"greeting":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Greeting"},"assistant_name":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Assistant Name"},"font_family":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Font Family","default":"'Inter', sans-serif"},"font_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Font Color","default":"#363636"},"background_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Background Color","default":"#eff2f7"},"send_button_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Send Button Color","default":"#c79fef"},"user_message_background_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Message Background Color","default":"#ffffff"},"assistant_message_background_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assistant Message Background Color","default":"#ffffff"},"bubble_color":{"anyOf":[{"$ref":"#/components/schemas/BubbleColor"},{"type":"null"}],"default":"purple"},"enable_user_uploads":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enable User Uploads","default":false},"chat_input_placeholder":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Chat Input Placeholder"},"suggested_questions":{"anyOf":[{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},{"type":"null"}],"title":"Suggested Questions"},"suggested_questions_strategy":{"$ref":"#/components/schemas/SuggestedQuestionsStrategy","default":"manual"},"hide_widget_url_patterns":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Hide Widget Url Patterns","description":"List of URL patterns (glob) for which the chat widget should be hidden."},"ai_disclaimer":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Ai Disclaimer"},"show_branding":{"type":"boolean","title":"Show Branding","default":true},"analytics_providers":{"items":{"$ref":"#/components/schemas/AnalyticsProvider"},"type":"array","title":"Analytics Providers"}},"type":"object","required":["pk"],"title":"ChatNavigatorStyleAPICreate"},"ChatNavigatorStyleAPIUpdate":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"pk":{"type":"string","format":"uuid","title":"Pk"},"label":{"$ref":"#/components/schemas/VertexType","default":"chat_navigator_style"},"greeting":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Greeting"},"assistant_name":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Assistant Name"},"font_family":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Font Family"},"font_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Font Color"},"background_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Background Color"},"send_button_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Send Button Color"},"user_message_background_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Message Background Color"},"assistant_message_background_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assistant Message Background Color"},"bubble_color":{"anyOf":[{"$ref":"#/components/schemas/BubbleColor"},{"type":"null"}],"default":"purple"},"enable_user_uploads":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enable User Uploads","default":false},"chat_input_placeholder":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Chat Input Placeholder"},"suggested_questions":{"anyOf":[{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},{"type":"null"}],"title":"Suggested Questions"},"suggested_questions_strategy":{"$ref":"#/components/schemas/SuggestedQuestionsStrategy","default":"manual"},"hide_widget_url_patterns":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Hide Widget Url Patterns"},"ai_disclaimer":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Ai Disclaimer"},"show_branding":{"type":"boolean","title":"Show Branding","default":true},"analytics_providers":{"items":{"$ref":"#/components/schemas/AnalyticsProvider"},"type":"array","title":"Analytics Providers"}},"type":"object","required":["pk"],"title":"ChatNavigatorStyleAPIUpdate"},"ChatRequestAnalyticsAPI":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"answer_type":{"anyOf":[{"$ref":"#/components/schemas/AnswerType"},{"type":"null"}]},"sentiment":{"anyOf":[{"$ref":"#/components/schemas/SentimentType"},{"type":"null"}]},"classification_topic_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Classification Topic Id"},"classification_intent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Classification Intent Id"}},"type":"object","required":["id","summary","tags","answer_type","sentiment","classification_topic_id","classification_intent_id"],"title":"ChatRequestAnalyticsAPI","description":"Response schema for chat request analytics after PATCH."},"ChatRequestAnalyticsAPIUpdate":{"properties":{"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags"},"answer_type":{"anyOf":[{"$ref":"#/components/schemas/AnswerType"},{"type":"null"}]},"sentiment":{"anyOf":[{"$ref":"#/components/schemas/SentimentType"},{"type":"null"}]},"classification_topic_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Classification Topic Id"},"classification_intent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Classification Intent Id"}},"type":"object","title":"ChatRequestAnalyticsAPIUpdate","description":"Schema for PATCH-ing analytics fields on a chat request. All fields optional."},"ChatStrategy":{"type":"string","enum":["standard_rag","agent"],"title":"ChatStrategy"},"ChatTranslationAPI":{"properties":{"greeting":{"type":"string","title":"Greeting"},"assistant_name":{"type":"string","title":"Assistant Name"},"chat_input_placeholder":{"type":"string","title":"Chat Input Placeholder"},"suggested_questions":{"items":{"type":"string"},"type":"array","title":"Suggested Questions"},"ai_disclaimer":{"type":"string","title":"Ai Disclaimer"}},"type":"object","required":["greeting","assistant_name","chat_input_placeholder","ai_disclaimer"],"title":"ChatTranslationAPI"},"CheckboxFieldAPI":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"required":{"type":"boolean","title":"Required","default":false},"field_type":{"type":"string","const":"checkbox","title":"Field Type","default":"checkbox"}},"type":"object","required":["name"],"title":"CheckboxFieldAPI"},"CitedSourceCount":{"properties":{"vertex_id":{"type":"string","format":"uuid","title":"Vertex Id"},"title":{"type":"string","title":"Title"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"citation_count":{"type":"integer","title":"Citation Count"}},"type":"object","required":["vertex_id","title","citation_count"],"title":"CitedSourceCount"},"ClassificationDefinitionAPI":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"application_id":{"type":"string","format":"uuid","title":"Application Id"},"type":{"$ref":"#/components/schemas/ClassificationTypeEnum"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"locales":{"additionalProperties":{"type":"string"},"type":"object","title":"Locales"},"status":{"$ref":"#/components/schemas/ClassificationStatus"},"created_by":{"anyOf":[{"type":"string","format":"email"},{"type":"string","const":"system"},{"type":"string","const":"mcp-agent"}],"title":"Created By"},"updated_by":{"anyOf":[{"type":"string","format":"email"},{"type":"string","const":"system"},{"type":"string","const":"mcp-agent"}],"title":"Updated By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","application_id","type","name","description","status","created_by","updated_by","created_at","updated_at"],"title":"ClassificationDefinitionAPI","description":"API response model for classification definition."},"ClassificationDefinitionAPICreate":{"properties":{"application_id":{"type":"string","format":"uuid","title":"Application Id"},"type":{"$ref":"#/components/schemas/ClassificationTypeEnum"},"name":{"type":"string","maxLength":255,"minLength":1,"pattern":"^[a-z0-9_]{1,255}$","title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Description","description":"Human-readable description of what this topic/intent means and when the AI should assign it."},"locales":{"additionalProperties":{"type":"string"},"type":"object","title":"Locales","description":"Frontend display labels keyed by locale code (e.g. {'en': 'Billing', 'de': 'Abrechnung'})."},"status":{"$ref":"#/components/schemas/ClassificationStatus","default":"active"}},"type":"object","required":["application_id","type","name"],"title":"ClassificationDefinitionAPICreate","description":"API model for creating a classification definition."},"ClassificationDefinitionAPIUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Description","description":"Human-readable description of what this topic/intent means and when the AI should assign it."},"locales":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Locales","description":"Frontend display labels keyed by locale code."},"status":{"anyOf":[{"$ref":"#/components/schemas/ClassificationStatus"},{"type":"null"}]}},"type":"object","title":"ClassificationDefinitionAPIUpdate","description":"API model for updating a classification definition."},"ClassificationMode":{"type":"string","enum":["active","inactive","active_no_suggestions"],"title":"ClassificationMode"},"ClassificationStatus":{"type":"string","enum":["active","suggestion","denied","deleted"],"title":"ClassificationStatus","description":"Status of a classification definition."},"ClassificationTrendingAPI":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"type":{"$ref":"#/components/schemas/ClassificationTypeEnum"},"name":{"type":"string","title":"Name"},"series":{"items":{"$ref":"#/components/schemas/ClassificationTrendingPeriod"},"type":"array","title":"Series"}},"type":"object","required":["id","type","name","series"],"title":"ClassificationTrendingAPI"},"ClassificationTrendingPeriod":{"properties":{"period":{"type":"string","format":"date-time","title":"Period"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["period","count"],"title":"ClassificationTrendingPeriod"},"ClassificationTypeEnum":{"type":"string","enum":["topic","intent"],"title":"ClassificationTypeEnum","description":"Type of classification."},"ClerkEvent":{"properties":{"data":{"additionalProperties":true,"type":"object","title":"Data"},"object":{"type":"string","title":"Object"},"type":{"type":"string","enum":["organizationMembership.created","organizationMembership.updated","organizationMembership.deleted","user.created","user.updated","user.deleted","organization.created","organization.updated","organization.deleted"],"title":"Type"},"instance_id":{"type":"string","title":"Instance Id"}},"type":"object","required":["data","object","type","instance_id"],"title":"ClerkEvent"},"ClickEventItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"type":{"type":"string","const":"click_event","title":"Type","default":"click_event"},"event_type":{"$ref":"#/components/schemas/ClickEventType"},"data":{"additionalProperties":true,"type":"object","title":"Data"},"embed_type":{"$ref":"#/components/schemas/EmbedType"}},"type":"object","required":["event_type","data","embed_type"],"title":"ClickEventItem"},"ClickEventType":{"type":"string","enum":["search_result","link","contact","tool","follow_up_navigation","follow_up_question","custom","analytics"],"title":"ClickEventType"},"ClickedUrlCount":{"properties":{"url":{"type":"string","minLength":1,"format":"uri","title":"Url"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["url","count"],"title":"ClickedUrlCount","description":"Model for click event URL counts."},"CommentsContentMarker":{"properties":{"type":{"type":"string","const":"comments","title":"Type","default":"comments"},"selector_filter":{"type":"string","title":"Selector Filter"},"start_marker":{"type":"string","title":"Start Marker"},"end_marker":{"type":"string","title":"End Marker"}},"type":"object","required":["selector_filter","start_marker","end_marker"],"title":"CommentsContentMarker"},"CompleteSSEEvent":{"properties":{"event":{"type":"string","const":"complete","title":"Event","default":"complete"},"data":{"anyOf":[{"$ref":"#/components/schemas/QAResponse"},{"$ref":"#/components/schemas/SAResponse"}],"title":"Data"}},"type":"object","required":["data"],"title":"CompleteSSEEvent"},"CrawlerType":{"type":"string","enum":["playwright:firefox","playwright:adaptive","cheerio"],"title":"CrawlerType"},"CustomBoostSettings":{"properties":{"active_interfaces":{"items":{"type":"string","enum":["search","chat"]},"type":"array","title":"Active Interfaces","description":"Which user interfaces (or endpoints) apply custom boosting."},"boost_field":{"type":"string","enum":["metadata.custom_metadata.score_boost","metadata.score_boost"],"title":"Boost Field","description":"The metadata field to use for custom boosting.","default":"metadata.custom_metadata.score_boost"},"mode":{"type":"string","enum":["sum","mult"],"title":"Mode","description":"The method to combine the custom boost with the original score.","default":"mult"},"modifier":{"anyOf":[{"type":"string","enum":["log1p","sqrt"]},{"type":"null"}],"title":"Modifier","description":"A function to apply to the boost value before combining it with the score. 'log1p' computes log(1 + x) to handle zero values gracefully."}},"type":"object","title":"CustomBoostSettings"},"CustomEventConfigAPI":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"application_id":{"type":"string","format":"uuid","title":"Application Id"},"event_name":{"type":"string","title":"Event Name"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"css_selector":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Css Selector"},"html_tags":{"anyOf":[{"items":{"$ref":"#/components/schemas/AllowedHtmlTag"},"type":"array"},{"type":"null"}],"title":"Html Tags"},"is_active":{"type":"boolean","title":"Is Active"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","application_id","event_name","display_name","css_selector","html_tags","is_active","created_at","updated_at"],"title":"CustomEventConfigAPI"},"CustomEventConfigCreateAPI":{"properties":{"event_name":{"type":"string","maxLength":255,"minLength":1,"title":"Event Name"},"display_name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Display Name"},"css_selector":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Css Selector"},"html_tags":{"anyOf":[{"items":{"$ref":"#/components/schemas/AllowedHtmlTag"},"type":"array"},{"type":"null"}],"title":"Html Tags"},"is_active":{"type":"boolean","title":"Is Active","default":true}},"type":"object","required":["event_name"],"title":"CustomEventConfigCreateAPI"},"CustomEventConfigUpdateAPI":{"properties":{"event_name":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Event Name"},"display_name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Display Name"},"css_selector":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Css Selector"},"html_tags":{"anyOf":[{"items":{"$ref":"#/components/schemas/AllowedHtmlTag"},"type":"array"},{"type":"null"}],"title":"Html Tags"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},"type":"object","title":"CustomEventConfigUpdateAPI"},"CustomEventCountAPI":{"properties":{"event_name":{"type":"string","title":"Event Name"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["event_name","count"],"title":"CustomEventCountAPI"},"CustomEventTrendPointAPI":{"properties":{"date":{"type":"string","format":"date-time","title":"Date"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["date","count"],"title":"CustomEventTrendPointAPI"},"CustomMetadataMapper":{"properties":{"tags":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tags"},"score_boost":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Score Boost"}},"type":"object","title":"CustomMetadataMapper"},"CustomPromptsAPI":{"properties":{"prompt_persona":{"type":"string","title":"Prompt Persona"},"output_instructions":{"type":"string","title":"Output Instructions"}},"type":"object","required":["prompt_persona","output_instructions"],"title":"CustomPromptsAPI"},"CustomWebcrawlerSettings-Input":{"properties":{"type":{"type":"string","const":"custom_website_crawler","title":"Type","default":"custom_website_crawler"},"crawler_type":{"$ref":"#/components/schemas/CrawlerType","default":"cheerio"},"actor":{"$ref":"#/components/schemas/Actor","default":"apify/website-content-crawler"},"urls":{"$ref":"#/components/schemas/ApifyStartURLs"},"ignore_errors":{"type":"boolean","title":"Ignore Errors","default":false},"main_content_marker":{"$ref":"#/components/schemas/CommentsContentMarker"},"title_suffix_to_remove":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title Suffix To Remove","description":"Remove suffix or prefix from page titles."},"graph_builder":{"$ref":"#/components/schemas/GraphBuilderSettings"},"include_url_globs":{"items":{"type":"string"},"type":"array","title":"Include Url Globs"},"exclude_url_globs":{"items":{"type":"string"},"type":"array","title":"Exclude Url Globs"},"custom_tags":{"items":{"type":"string"},"type":"array","title":"Custom Tags","description":"Tags defined by the user that are displayed as badges in frontend. Applies to all pages crawled with this data source."},"unavailable_source_policy":{"anyOf":[{"$ref":"#/components/schemas/UnavailableSourcePolicy"},{"type":"null"}],"description":"Policy for handling unavailable Sources/URLs during data source run.","default":"ignore"},"fetch_image_captions":{"type":"boolean","title":"Fetch Image Captions","description":"Fetch and generate captions for images found during crawling.","default":false}},"type":"object","required":["urls","main_content_marker","graph_builder"],"title":"CustomWebcrawlerSettings"},"CustomWebcrawlerSettings-Output":{"properties":{"type":{"type":"string","const":"custom_website_crawler","title":"Type","default":"custom_website_crawler"},"crawler_type":{"$ref":"#/components/schemas/CrawlerType","default":"cheerio"},"actor":{"$ref":"#/components/schemas/Actor","default":"apify/website-content-crawler"},"urls":{"$ref":"#/components/schemas/ApifyStartURLs"},"ignore_errors":{"type":"boolean","title":"Ignore Errors","default":false},"main_content_marker":{"$ref":"#/components/schemas/CommentsContentMarker"},"title_suffix_to_remove":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title Suffix To Remove","description":"Remove suffix or prefix from page titles."},"graph_builder":{"$ref":"#/components/schemas/GraphBuilderSettings"},"include_url_globs":{"items":{"type":"string"},"type":"array","title":"Include Url Globs"},"exclude_url_globs":{"items":{"type":"string"},"type":"array","title":"Exclude Url Globs"},"custom_tags":{"items":{"type":"string"},"type":"array","title":"Custom Tags","description":"Tags defined by the user that are displayed as badges in frontend. Applies to all pages crawled with this data source."},"unavailable_source_policy":{"anyOf":[{"$ref":"#/components/schemas/UnavailableSourcePolicy"},{"type":"null"}],"description":"Policy for handling unavailable Sources/URLs during data source run.","default":"ignore"},"fetch_image_captions":{"type":"boolean","title":"Fetch Image Captions","description":"Fetch and generate captions for images found during crawling.","default":false}},"type":"object","required":["urls","main_content_marker","graph_builder"],"title":"CustomWebcrawlerSettings"},"DataSource":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"application_id":{"type":"string","format":"uuid","title":"Application Id"},"name":{"type":"string","title":"Name"},"type":{"$ref":"#/components/schemas/DataSourceType"},"schedule":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Schedule"},"settings":{"oneOf":[{"$ref":"#/components/schemas/WebsiteCrawlerSettingsCreate-Output"},{"$ref":"#/components/schemas/PDFUploadSettings"},{"$ref":"#/components/schemas/OpenAPISettingsCreate-Output"},{"$ref":"#/components/schemas/HelpspaceSettings"},{"$ref":"#/components/schemas/CustomWebcrawlerSettings-Output"},{"$ref":"#/components/schemas/WebhookSettings-Output"},{"$ref":"#/components/schemas/WordPressSettings-Output"}],"title":"Settings","description":"Settings for data source, shown to user.","discriminator":{"propertyName":"type","mapping":{"custom_website_crawler":"#/components/schemas/CustomWebcrawlerSettings-Output","file_upload":"#/components/schemas/PDFUploadSettings","helpspace":"#/components/schemas/HelpspaceSettings","openAPI":"#/components/schemas/OpenAPISettingsCreate-Output","webhook":"#/components/schemas/WebhookSettings-Output","website_crawler":"#/components/schemas/WebsiteCrawlerSettingsCreate-Output","wordpress":"#/components/schemas/WordPressSettings-Output"}}},"integration_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Integration Id"}},"type":"object","required":["id","application_id","name","type","settings"],"title":"DataSource"},"DataSourceCreate":{"properties":{"application_id":{"type":"string","format":"uuid","title":"Application Id"},"name":{"type":"string","title":"Name"},"type":{"$ref":"#/components/schemas/DataSourceType"},"schedule":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Schedule"},"settings":{"oneOf":[{"$ref":"#/components/schemas/WebsiteCrawlerSettingsCreate-Input"},{"$ref":"#/components/schemas/PDFUploadSettings"},{"$ref":"#/components/schemas/OpenAPISettingsCreate-Input"},{"$ref":"#/components/schemas/HelpspaceSettingsRequest"},{"$ref":"#/components/schemas/CustomWebcrawlerSettings-Input"},{"$ref":"#/components/schemas/WebhookSettings-Input"},{"$ref":"#/components/schemas/WordPressSettings-Input"}],"title":"Settings","description":"Settings for data source, used for DB and creating models","discriminator":{"propertyName":"type","mapping":{"custom_website_crawler":"#/components/schemas/CustomWebcrawlerSettings-Input","file_upload":"#/components/schemas/PDFUploadSettings","helpspace":"#/components/schemas/HelpspaceSettingsRequest","openAPI":"#/components/schemas/OpenAPISettingsCreate-Input","webhook":"#/components/schemas/WebhookSettings-Input","website_crawler":"#/components/schemas/WebsiteCrawlerSettingsCreate-Input","wordpress":"#/components/schemas/WordPressSettings-Input"}}},"integration_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Integration Id"}},"type":"object","required":["application_id","name","type","settings"],"title":"DataSourceCreate"},"DataSourceRunAPI":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"application_id":{"type":"string","format":"uuid","title":"Application Id"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"status":{"$ref":"#/components/schemas/DataSourceRunStatus"},"triggered_by":{"anyOf":[{"type":"string","format":"email"},{"type":"string","const":"system"},{"type":"string","const":"mcp-agent"},{"type":"string","enum":["scheduler","webhook"]}],"title":"Triggered By"},"progress":{"$ref":"#/components/schemas/Progress"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"job_ids":{"items":{"type":"integer"},"type":"array","title":"Job Ids"},"data_source_id":{"type":"string","format":"uuid","title":"Data Source Id"},"data_source_type":{"$ref":"#/components/schemas/DataSourceType"},"data_source_name":{"type":"string","title":"Data Source Name"},"meta":{"additionalProperties":true,"type":"object","title":"Meta"},"vertices_created":{"items":{},"type":"array","title":"Vertices Created"},"vertices_updated":{"items":{},"type":"array","title":"Vertices Updated"},"vertices_deleted":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Vertices Deleted"},"total_vertices_to_create":{"type":"integer","title":"Total Vertices To Create","default":0},"total_vertices_to_update":{"type":"integer","title":"Total Vertices To Update","default":0},"total_vertices_to_delete":{"type":"integer","title":"Total Vertices To Delete","default":0},"edges_created":{"items":{},"type":"array","title":"Edges Created"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors"},"internal_errors":{"items":{"type":"string"},"type":"array","title":"Internal Errors","description":"Internal errors that should not be shown to the user."}},"type":"object","required":["id","application_id","started_at","status","triggered_by","progress","data_source_id","data_source_type","data_source_name"],"title":"DataSourceRunAPI"},"DataSourceRunStatus":{"type":"string","enum":["started","succeeded","aborted","timeout","cancelled"],"title":"DataSourceRunStatus"},"DataSourceRunsAPI":{"properties":{"items":{"items":{"$ref":"#/components/schemas/DataSourceRunAPI"},"type":"array","title":"Items"},"total_items":{"type":"integer","title":"Total Items"}},"type":"object","required":["items","total_items"],"title":"DataSourceRunsAPI"},"DataSourceType":{"type":"string","enum":["website_crawler","file_upload","node_editor","default_node","openAPI","helpspace","custom_website_crawler","webhook","wordpress"],"title":"DataSourceType"},"DataSourceUpdate":{"properties":{"application_id":{"type":"string","format":"uuid","title":"Application Id"},"name":{"type":"string","title":"Name"},"type":{"$ref":"#/components/schemas/DataSourceType"},"schedule":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Schedule"},"settings":{"oneOf":[{"$ref":"#/components/schemas/WebsiteCrawlerSettingsCreate-Input"},{"$ref":"#/components/schemas/PDFUploadSettings"},{"$ref":"#/components/schemas/OpenAPISettingsCreate-Input"},{"$ref":"#/components/schemas/HelpspaceSettingsRequest"},{"$ref":"#/components/schemas/CustomWebcrawlerSettings-Input"},{"$ref":"#/components/schemas/WebhookSettings-Input"},{"$ref":"#/components/schemas/WordPressSettings-Input"}],"title":"Settings","description":"Settings for data source, used for DB and creating models","discriminator":{"propertyName":"type","mapping":{"custom_website_crawler":"#/components/schemas/CustomWebcrawlerSettings-Input","file_upload":"#/components/schemas/PDFUploadSettings","helpspace":"#/components/schemas/HelpspaceSettingsRequest","openAPI":"#/components/schemas/OpenAPISettingsCreate-Input","webhook":"#/components/schemas/WebhookSettings-Input","website_crawler":"#/components/schemas/WebsiteCrawlerSettingsCreate-Input","wordpress":"#/components/schemas/WordPressSettings-Input"}}},"integration_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Integration Id"},"id":{"type":"string","format":"uuid","title":"Id"}},"type":"object","required":["application_id","name","type","settings","id"],"title":"DataSourceUpdate"},"DataSourceUpdateRecommendation":{"properties":{"type":{"type":"string","const":"data_source:update","title":"Type","default":"data_source:update"},"reasoning":{"type":"string","title":"Reasoning","description":"Why the change is needed and what effect it will have."},"data_source_id":{"type":"string","format":"uuid","title":"Data Source Id"},"settings_delta":{"additionalProperties":true,"type":"object","title":"Settings Delta","description":"Partial settings to merge into the existing settings object. Only the fields to change — NOT the full settings object. The applying system reads current settings first, merges this delta, then writes the complete object (per the skill's read-first-merge-write pattern)."},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"schedule":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Schedule"}},"type":"object","required":["reasoning","data_source_id","settings_delta"],"title":"DataSourceUpdateRecommendation"},"DataTemplateMapper-Input":{"properties":{"text":{"type":"string","title":"Text"},"title":{"type":"string","title":"Title"},"source":{"type":"string","title":"Source"},"page_metadata":{"anyOf":[{"$ref":"#/components/schemas/PageMetadataMapper"},{"type":"null"}]},"custom_metadata":{"anyOf":[{"$ref":"#/components/schemas/CustomMetadataMapper"},{"type":"null"}]}},"type":"object","required":["text","title","source"],"title":"DataTemplateMapper"},"DataTemplateMapper-Output":{"properties":{"text":{"type":"string","title":"Text"},"title":{"type":"string","title":"Title"},"source":{"type":"string","title":"Source"},"page_metadata":{"anyOf":[{"$ref":"#/components/schemas/PageMetadataMapper"},{"type":"null"}]},"custom_metadata":{"anyOf":[{"$ref":"#/components/schemas/CustomMetadataMapper"},{"type":"null"}]}},"type":"object","required":["text","title","source"],"title":"DataTemplateMapper"},"DateFieldAPI":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"required":{"type":"boolean","title":"Required","default":false},"field_type":{"type":"string","const":"date","title":"Field Type","default":"date"},"format":{"type":"string","const":"date","title":"Format","default":"date"}},"type":"object","required":["name"],"title":"DateFieldAPI"},"DatetimeRerankSettings":{"properties":{"active_interfaces":{"items":{"type":"string","enum":["search","chat"]},"type":"array","title":"Active Interfaces","description":"Which user interfaces (or endpoints) rerank search results by datetime."},"datetime_field":{"type":"string","enum":["metadata.page_metadata.article.published_time","metadata.page_metadata.article.modified_time"],"title":"Datetime Field","description":"The metadata field to use for datetime-based reranking.","default":"metadata.page_metadata.article.published_time"},"scale_in_days":{"type":"integer","title":"Scale In Days","description":"The scale for the time decay function in days.","default":180},"missing_datetime_scale_multiplier":{"type":"number","exclusiveMinimum":0.0,"title":"Missing Datetime Scale Multiplier","description":"Penalty strength for chunks missing the datetime_field. A default datetime is set to 'current_time - (scale_in_days * this_multiplier)'. Higher values push missing dates further into the past, reducing their scores.","default":20.0},"mode":{"type":"string","enum":["sum","mult"],"title":"Mode","description":"The method to combine the datetime-based score with the original score.","default":"sum"}},"type":"object","title":"DatetimeRerankSettings"},"DenseEmbeddingModel":{"type":"string","enum":["all-MiniLM-L12-v2","text-embedding-ada-002","multilingual-e5-small","text-embedding-3-large","embeddinggemma-300m"],"title":"DenseEmbeddingModel"},"DeviceCount":{"properties":{"device":{"$ref":"#/components/schemas/DeviceType"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["device","count"],"title":"DeviceCount"},"DeviceType":{"type":"string","enum":["mobile","desktop","tablet","other"],"title":"DeviceType","description":"Device type extracted from user agent"},"DocumentChunk":{"properties":{"chunk_id":{"type":"string","title":"Chunk Id"},"vertex_id":{"type":"string","title":"Vertex Id"},"title":{"type":"string","title":"Title"},"text":{"type":"string","title":"Text"},"score":{"type":"number","title":"Score"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"data_source_type":{"anyOf":[{"$ref":"#/components/schemas/DataSourceType"},{"type":"null"}]},"custom_metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Custom Metadata"},"page_metadata":{"anyOf":[{"$ref":"#/components/schemas/PageMetadata"},{"type":"null"}]},"is_cited":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Cited"}},"type":"object","required":["chunk_id","vertex_id","title","text","score"],"title":"DocumentChunk"},"EdgeAPI":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"pk":{"type":"string","format":"uuid","title":"Pk"},"label":{"anyOf":[{"$ref":"#/components/schemas/EdgeType"},{"type":"null"}]},"_vertexId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Vertexid"},"_vertexLabel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vertexlabel"},"_sink":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Sink"},"_sinkLabel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sinklabel"},"weight":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Weight"},"weight_manual":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Weight Manual","default":0},"weight_rolling_30":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Weight Rolling 30","default":0},"weight_rolling_60":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Weight Rolling 60","default":0},"weight_rolling_alltime":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Weight Rolling Alltime","default":0},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","pk"],"title":"EdgeAPI"},"EdgeAPICreate":{"properties":{"pk":{"type":"string","format":"uuid","title":"Pk"},"_vertexId":{"type":"string","format":"uuid","title":"Vertexid"},"_sink":{"type":"string","format":"uuid","title":"Sink"},"label":{"anyOf":[{"$ref":"#/components/schemas/EdgeType"},{"type":"null"}],"default":"next_node"},"weight":{"type":"number","title":"Weight","default":0},"weight_manual":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Weight Manual","default":0},"weight_rolling_30":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Weight Rolling 30","default":0},"weight_rolling_60":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Weight Rolling 60","default":0},"weight_rolling_alltime":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Weight Rolling Alltime","default":0}},"additionalProperties":false,"type":"object","required":["pk","_vertexId","_sink"],"title":"EdgeAPICreate"},"EdgeAPIUpdate":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"pk":{"type":"string","format":"uuid","title":"Pk"},"_vertexId":{"type":"string","format":"uuid","title":"Vertexid"},"_sink":{"type":"string","format":"uuid","title":"Sink"},"label":{"anyOf":[{"$ref":"#/components/schemas/EdgeType"},{"type":"null"}]},"weight":{"type":"number","title":"Weight"},"weight_manual":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Weight Manual","default":0},"weight_rolling_30":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Weight Rolling 30","default":0},"weight_rolling_60":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Weight Rolling 60","default":0},"weight_rolling_alltime":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Weight Rolling Alltime","default":0}},"additionalProperties":false,"type":"object","required":["id","pk","_vertexId","_sink","weight"],"title":"EdgeAPIUpdate"},"EdgeType":{"type":"string","enum":["has","next","next_node","reference"],"title":"EdgeType"},"EdgeWeighting":{"type":"string","enum":["weight","weight_manual","weight_rolling_30","weight_rolling_60","weight_rolling_alltime"],"title":"EdgeWeighting"},"ElementBorderRadius":{"type":"string","enum":["default","sharp","round"],"title":"ElementBorderRadius"},"EmbedEventConfigAPI":{"properties":{"event_name":{"type":"string","title":"Event Name"},"css_selector":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Css Selector"},"html_tags":{"anyOf":[{"items":{"$ref":"#/components/schemas/AllowedHtmlTag"},"type":"array"},{"type":"null"}],"title":"Html Tags"}},"type":"object","required":["event_name"],"title":"EmbedEventConfigAPI"},"EmbedRequestType":{"type":"string","enum":["navigation","search","qa","sa","form_submission","voice","form","form_routing"],"title":"EmbedRequestType"},"EmbedType":{"type":"string","enum":["chat","search","chat_widget","search_interface","voice","api","form"],"title":"EmbedType"},"ExtendedEdgeAPI":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"pk":{"type":"string","format":"uuid","title":"Pk"},"label":{"anyOf":[{"$ref":"#/components/schemas/EdgeType"},{"type":"null"}]},"_vertexId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Vertexid"},"_vertexLabel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vertexlabel"},"_sink":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Sink"},"_sinkLabel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sinklabel"},"weight":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Weight"},"weight_manual":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Weight Manual"},"weight_rolling_30":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Weight Rolling 30"},"weight_rolling_60":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Weight Rolling 60"},"weight_rolling_alltime":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Weight Rolling Alltime"},"vertex_title":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Vertex Title"},"sink_title":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Sink Title"}},"type":"object","required":["id","pk"],"title":"ExtendedEdgeAPI"},"ExtractedLocale":{"properties":{"language":{"type":"string","title":"Language","description":"Language of the extracted text"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country","description":"Country of the extracted text"}},"type":"object","required":["language","country"],"title":"ExtractedLocale"},"FacetFilter":{"properties":{"field_name":{"type":"string","const":"tags","title":"Field Name","description":"The field name for the facet filter, currently only 'tags' is supported."},"key":{"type":"string","enum":["page_metadata.article.tags","custom_metadata.tags"],"title":"Key","description":"The key for the facet filter. Must be inferred from application settings or style."},"match":{"$ref":"#/components/schemas/MatchValue"}},"type":"object","required":["field_name","key","match"],"title":"FacetFilter"},"FacetResult":{"properties":{"value":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"integer"}],"title":"Value"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["value","count"],"title":"FacetResult"},"FacetsListResponse":{"properties":{"total_items":{"type":"integer","title":"Total Items"},"items":{"items":{"$ref":"#/components/schemas/FacetResult"},"type":"array","title":"Items"}},"type":"object","required":["total_items","items"],"title":"FacetsListResponse"},"FacetsRequest":{"properties":{"session_id":{"type":"string","title":"Session Id"},"navigator_id":{"type":"string","title":"Navigator Id"},"locale":{"type":"string","title":"Locale"},"field_key":{"type":"string","enum":["page_metadata.article.tags","custom_metadata.tags"],"title":"Field Key","description":"The field key to get facets for. Should exclude 'metadata' prefix, e.g. 'page_metadata.article.tags'."},"filters":{"items":{"$ref":"#/components/schemas/FacetFilter"},"type":"array","title":"Filters","description":"List of existing filters to apply to the facets request, e.g. if user has already selected a tag, this will be used to filter facets by that tag."}},"type":"object","required":["session_id","navigator_id","locale","field_key"],"title":"FacetsRequest"},"FieldCondition":{"properties":{"type":{"type":"string","enum":["max_age_days","contains"],"title":"Type"},"value":{"anyOf":[{"type":"integer"},{"type":"string"}],"title":"Value"}},"type":"object","required":["type","value"],"title":"FieldCondition"},"FileResult":{"properties":{"file_name":{"type":"string","title":"File Name"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"}},"type":"object","required":["file_name"],"title":"FileResult"},"FileUploadErrorDict":{"properties":{"error":{"type":"string","title":"Error"},"filename":{"type":"string","title":"Filename"},"filesize":{"type":"integer","title":"Filesize"},"content_type":{"type":"string","title":"Content Type"}},"type":"object","required":["error","filename","filesize","content_type"],"title":"FileUploadErrorDict"},"FileUploadResult":{"properties":{"file_name":{"type":"string","title":"File Name"},"url":{"type":"string","minLength":1,"format":"uri","title":"Url"},"is_external":{"type":"boolean","title":"Is External","default":false}},"type":"object","required":["file_name","url"],"title":"FileUploadResult"},"FilterCriterion":{"properties":{"field":{"type":"string","enum":["published_time","modified_time"],"title":"Field"},"condition":{"$ref":"#/components/schemas/FieldCondition"}},"type":"object","required":["field","condition"],"title":"FilterCriterion"},"FollowUpActions":{"properties":{"actions":{"items":{"anyOf":[{"$ref":"#/components/schemas/FollowUpQuestion"},{"$ref":"#/components/schemas/NavigatePageAction"}]},"type":"array","title":"Actions","description":"List of follow-up actions, either questions or navigate_page actions."}},"type":"object","required":["actions"],"title":"FollowUpActions"},"FollowUpActionsSSEEvent":{"properties":{"event":{"type":"string","const":"follow_up_actions","title":"Event","default":"follow_up_actions"},"data":{"$ref":"#/components/schemas/FollowUpActions"}},"type":"object","required":["data"],"title":"FollowUpActionsSSEEvent"},"FollowUpQuestion":{"properties":{"type":{"type":"string","const":"question","title":"Type","description":"Type of follow-up action: question.","default":"question"},"question":{"type":"string","title":"Question","description":"The suggested follow-up question, max 50 characters."}},"type":"object","required":["question"],"title":"FollowUpQuestion"},"FormAPI-Input":{"properties":{"tool_id":{"type":"string","title":"Tool Id"},"form_schema":{"$ref":"#/components/schemas/FormAPISchema"},"arguments":{"$ref":"#/components/schemas/FormToolArguments"},"values":{"additionalProperties":true,"type":"object","title":"Values"}},"type":"object","required":["tool_id","form_schema","arguments","values"],"title":"FormAPI"},"FormAPI-Output":{"properties":{"tool_id":{"type":"string","title":"Tool Id"},"form_schema":{"$ref":"#/components/schemas/FormAPISchema"},"arguments":{"$ref":"#/components/schemas/FormToolArguments"},"values":{"additionalProperties":true,"type":"object","title":"Values"}},"type":"object","required":["tool_id","form_schema","arguments","values"],"title":"FormAPI"},"FormAPISchema":{"properties":{"properties":{"items":{"oneOf":[{"$ref":"#/components/schemas/StringFieldAPI"},{"$ref":"#/components/schemas/TextAreaFieldAPI"},{"$ref":"#/components/schemas/NumberFieldAPI"},{"$ref":"#/components/schemas/SelectFieldAPI"},{"$ref":"#/components/schemas/DateFieldAPI"},{"$ref":"#/components/schemas/TimeFieldAPI"},{"$ref":"#/components/schemas/CheckboxFieldAPI"}],"discriminator":{"propertyName":"field_type","mapping":{"checkbox":"#/components/schemas/CheckboxFieldAPI","date":"#/components/schemas/DateFieldAPI","number":"#/components/schemas/NumberFieldAPI","select":"#/components/schemas/SelectFieldAPI","string":"#/components/schemas/StringFieldAPI","text_area":"#/components/schemas/TextAreaFieldAPI","time":"#/components/schemas/TimeFieldAPI"}}},"type":"array","title":"Properties"}},"type":"object","required":["properties"],"title":"FormAPISchema"},"FormInitFields":{"properties":{"email":{"type":"string","format":"email","title":"Email","description":"The user's email address"},"description":{"type":"string","title":"Description","description":"Description of user request that is used by agent to process the request."}},"type":"object","required":["email","description"],"title":"FormInitFields"},"FormInitRequest":{"properties":{"application_id":{"type":"string","format":"uuid","title":"Application Id"},"session_id":{"type":"string","format":"uuid","title":"Session Id"},"embed_type":{"$ref":"#/components/schemas/EmbedType"},"locale":{"type":"string","title":"Locale"},"browser_locale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Browser Locale"},"url":{"anyOf":[{"type":"string","minLength":1,"format":"uri"},{"type":"null"}],"title":"Url"},"fields":{"$ref":"#/components/schemas/FormInitFields"}},"type":"object","required":["application_id","session_id","embed_type","locale","fields"],"title":"FormInitRequest","description":"Initial request for form interface."},"FormRequestItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"type":{"$ref":"#/components/schemas/EmbedRequestType","default":"form"},"order":{"type":"integer","title":"Order"},"locale":{"type":"string","title":"Locale"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"query":{"type":"string","title":"Query"},"answer":{"type":"string","title":"Answer"},"tool_calls":{"items":{"$ref":"#/components/schemas/ToolCall"},"type":"array","title":"Tool Calls"},"url":{"anyOf":[{"type":"string","minLength":1,"format":"uri"},{"type":"null"}],"title":"Url"},"is_fallback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Fallback"},"geography":{"anyOf":[{"$ref":"#/components/schemas/GeographyInfo"},{"type":"null"}]},"device":{"anyOf":[{"$ref":"#/components/schemas/DeviceType"},{"type":"null"}]}},"type":"object","required":["order","locale","query","answer"],"title":"FormRequestItem","description":"Save a request from the /form/init endpoint in db"},"FormRouteRequest":{"properties":{"application_id":{"type":"string","format":"uuid","title":"Application Id"},"session_id":{"type":"string","format":"uuid","title":"Session Id"},"embed_type":{"$ref":"#/components/schemas/EmbedType"},"locale":{"type":"string","title":"Locale"},"browser_locale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Browser Locale"},"url":{"anyOf":[{"type":"string","minLength":1,"format":"uri"},{"type":"null"}],"title":"Url"},"fields":{"$ref":"#/components/schemas/FormInitFields"},"previous_answer":{"type":"string","title":"Previous Answer","description":"The answer from step 1 (form/init) that the user deemed insufficient."},"query":{"type":"string","title":"Query","description":"Synthetic query representing the user's intent to submit a form.","default":"no, I want to submit the form"}},"type":"object","required":["application_id","session_id","embed_type","locale","fields","previous_answer"],"title":"FormRouteRequest","description":"Request for form routing (step 2). User received an answer but wants to submit a form."},"FormRouteResponse":{"properties":{"form":{"$ref":"#/components/schemas/FormAPI-Output"},"message":{"type":"string","title":"Message","description":"Agent's explanation of why this form was chosen."}},"type":"object","required":["form","message"],"title":"FormRouteResponse","description":"Response for form routing endpoint. Contains the chosen form and agent's message."},"FormRoutingRequestItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"type":{"$ref":"#/components/schemas/EmbedRequestType","default":"form_routing"},"order":{"type":"integer","title":"Order"},"locale":{"type":"string","title":"Locale"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"query":{"type":"string","title":"Query"},"answer":{"type":"string","title":"Answer"},"tool_calls":{"items":{"$ref":"#/components/schemas/ToolCall"},"type":"array","title":"Tool Calls"},"url":{"anyOf":[{"type":"string","minLength":1,"format":"uri"},{"type":"null"}],"title":"Url"},"is_fallback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Fallback"},"geography":{"anyOf":[{"$ref":"#/components/schemas/GeographyInfo"},{"type":"null"}]},"device":{"anyOf":[{"$ref":"#/components/schemas/DeviceType"},{"type":"null"}]}},"type":"object","required":["order","locale","query","answer"],"title":"FormRoutingRequestItem","description":"Save a request from the /form/route endpoint in db"},"FormSSEEvent":{"properties":{"event":{"type":"string","const":"form","title":"Event","default":"form"},"data":{"$ref":"#/components/schemas/FormAPI-Output"}},"type":"object","required":["data"],"title":"FormSSEEvent"},"FormStyleAPI":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"application_id":{"type":"string","format":"uuid","title":"Application Id"},"bubble_color":{"$ref":"#/components/schemas/BubbleColor"},"font_family":{"type":"string","title":"Font Family"},"font_color":{"type":"string","title":"Font Color"},"background_color":{"type":"string","title":"Background Color"},"primary_color":{"type":"string","title":"Primary Color"},"secondary_color":{"type":"string","title":"Secondary Color"},"show_branding":{"type":"boolean","title":"Show Branding"}},"type":"object","required":["id","application_id","bubble_color","font_family","font_color","background_color","primary_color","secondary_color","show_branding"],"title":"FormStyleAPI"},"FormStyleAPIUpdate":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"application_id":{"type":"string","format":"uuid","title":"Application Id"},"bubble_color":{"anyOf":[{"$ref":"#/components/schemas/BubbleColor"},{"type":"null"}]},"font_family":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Font Family"},"font_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Font Color"},"background_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Background Color"},"primary_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Primary Color"},"secondary_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secondary Color"},"show_branding":{"type":"boolean","title":"Show Branding","default":true}},"type":"object","required":["id","application_id"],"title":"FormStyleAPIUpdate"},"FormSubmissionAPI":{"properties":{"session_id":{"type":"string","format":"uuid","title":"Session Id"},"navigator_id":{"type":"string","format":"uuid","title":"Navigator Id"},"tool_id":{"type":"string","format":"uuid","title":"Tool Id"},"embed_type":{"$ref":"#/components/schemas/EmbedType"},"data":{"additionalProperties":true,"type":"object","title":"Data"},"origin":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Origin"}},"type":"object","required":["session_id","navigator_id","tool_id","embed_type","data"],"title":"FormSubmissionAPI"},"FormSubmissionItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"type":{"$ref":"#/components/schemas/EmbedRequestType","default":"form_submission"},"order":{"type":"integer","title":"Order"},"tool_id":{"type":"string","format":"uuid","title":"Tool Id"},"origin":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Origin"},"embed_type":{"$ref":"#/components/schemas/EmbedType"},"data":{"additionalProperties":true,"type":"object","title":"Data"},"geography":{"anyOf":[{"$ref":"#/components/schemas/GeographyInfo"},{"type":"null"}]},"device":{"anyOf":[{"$ref":"#/components/schemas/DeviceType"},{"type":"null"}]}},"type":"object","required":["order","tool_id","embed_type","data"],"title":"FormSubmissionItem"},"FormToolArguments":{"properties":{"object":{"type":"string","const":"form_tool_arguments","title":"Object","default":"form_tool_arguments"},"form_title":{"additionalProperties":{"type":"string"},"type":"object","title":"Form Title"},"submit_message":{"additionalProperties":{"type":"string"},"type":"object","title":"Submit Message"},"submit_button_text":{"additionalProperties":{"type":"string"},"type":"object","title":"Submit Button Text"},"show_data_privacy_text":{"type":"boolean","title":"Show Data Privacy Text","default":false},"data_privacy_text":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Data Privacy Text","description":"Optional data privacy text. If provided, a checkbox should be displayed to the user."},"notification_email":{"anyOf":[{"type":"string","format":"email"},{"items":{"type":"string","format":"email"},"type":"array"},{"type":"null"}],"title":"Notification Email","description":"Used for email forwarding of form submissions. If not provided, no email will be forwarded"}},"type":"object","required":["form_title","submit_message","submit_button_text"],"title":"FormToolArguments"},"FormTranslationAPI":{"properties":{"title":{"type":"string","title":"Title"},"subtitle":{"type":"string","title":"Subtitle"},"description_input_placeholder":{"type":"string","title":"Description Input Placeholder","description":"Text area placeholder"},"description_input_label":{"type":"string","title":"Description Input Label","description":"Text area label"},"submit_button_text":{"type":"string","title":"Submit Button Text","description":"Initial submit button"},"continue_button_text":{"type":"string","title":"Continue Button Text","description":"After initial agent response, if user wants to continue to submitting form"},"resolved_button_text":{"type":"string","title":"Resolved Button Text","description":"After initial agent response, if user confirms it was helpful and ends the flow"},"ai_disclaimer":{"type":"string","title":"Ai Disclaimer"}},"type":"object","required":["title","subtitle","description_input_placeholder","description_input_label","submit_button_text","continue_button_text","resolved_button_text","ai_disclaimer"],"title":"FormTranslationAPI"},"FrontendEventMapping":{"properties":{"event_type":{"$ref":"#/components/schemas/FrontendEventType"},"mapping":{"$ref":"#/components/schemas/CarouselV1Mapping"}},"type":"object","required":["event_type","mapping"],"title":"FrontendEventMapping"},"FrontendEventMappingMCP":{"properties":{"event_type":{"$ref":"#/components/schemas/FrontendEventType"},"mapping":{"$ref":"#/components/schemas/CarouselV1Mapping"},"mcp_tool_names":{"items":{"type":"string"},"type":"array","title":"Mcp Tool Names","description":"List of tool names this frontend event should be mapped to. If empty, map to all tools of the MCP server."},"mcp_tool_entities":{"anyOf":[{"$ref":"#/components/schemas/MCPToolEntityMapping"},{"type":"null"}],"description":"Mapping to distinguish entities from the MCP server response. If None, map to all entities"}},"type":"object","required":["event_type","mapping"],"title":"FrontendEventMappingMCP"},"FrontendEventType":{"type":"string","enum":["carousel_v1"],"title":"FrontendEventType"},"GenerateSuggestedQuestionsRequest":{"properties":{"node_id":{"type":"string","format":"uuid","title":"Node Id","description":"The ID of the node/vertex"},"locale":{"type":"string","title":"Locale","description":"The locale for generating suggested questions"}},"type":"object","required":["node_id","locale"],"title":"GenerateSuggestedQuestionsRequest","description":"Request to generate suggested questions for a node from the dashboard."},"GeneratedPromptAPI":{"properties":{"updated_prompt":{"type":"string","title":"Updated Prompt","description":"The updated prompt with instructions."},"previous_prompt":{"type":"string","title":"Previous Prompt","description":"The previous prompt before updating."}},"type":"object","required":["updated_prompt","previous_prompt"],"title":"GeneratedPromptAPI"},"GeographyCount":{"properties":{"country":{"type":"string","title":"Country"},"region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["country","count"],"title":"GeographyCount"},"GeographyInfo":{"properties":{"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country","description":"ISO 3166-1 alpha-2 country code"},"region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region","description":"Region or state code"}},"type":"object","title":"GeographyInfo","description":"Geography information extracted from request"},"GoogleMapsEmbedMode":{"type":"string","enum":["driving","walking","bicycling","transit","flying"],"title":"GoogleMapsEmbedMode"},"GoogleMapsEmbedToolArguments":{"properties":{"object":{"type":"string","const":"google_maps_embed_tool_arguments","title":"Object","default":"google_maps_embed_tool_arguments"},"default_mode":{"anyOf":[{"$ref":"#/components/schemas/GoogleMapsEmbedMode"},{"type":"null"}],"description":"Default travel mode used when the AI does not specify one."}},"type":"object","title":"GoogleMapsEmbedToolArguments"},"GoogleMapsLinkToolArguments":{"properties":{"object":{"type":"string","const":"google_maps_link_tool_arguments","title":"Object","default":"google_maps_link_tool_arguments"},"icon_url":{"anyOf":[{"type":"string","minLength":1,"format":"uri"},{"type":"null"}],"title":"Icon Url","description":"Optional URL of an icon to display inside the link button."},"default_travelmode":{"anyOf":[{"$ref":"#/components/schemas/GoogleMapsTravelMode"},{"type":"null"}],"description":"Default travel mode used when the AI does not specify one."}},"type":"object","title":"GoogleMapsLinkToolArguments"},"GoogleMapsTravelMode":{"type":"string","enum":["driving","walking","bicycling","transit"],"title":"GoogleMapsTravelMode"},"GraphBuilderOptions":{"properties":{"nodes_wo_in_edges_to_entry":{"type":"boolean","title":"Nodes Wo In Edges To Entry","default":false},"nodes_wo_out_edges_to_contact":{"type":"boolean","title":"Nodes Wo Out Edges To Contact","default":false},"nodes_wo_out_edges_to_tool":{"type":"boolean","title":"Nodes Wo Out Edges To Tool","default":false},"entry_node_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Entry Node Id"},"fallback_node_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Fallback Node Id"},"contact_node_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Contact Node Ids"},"tool_node_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Tool Node Ids"}},"type":"object","title":"GraphBuilderOptions"},"GraphBuilderSettings":{"properties":{"connect_start_urls_to_entry":{"type":"boolean","title":"Connect Start Urls To Entry","description":"Connect start URLs to entry node","default":true},"nodes_wo_out_edges_to_contact":{"type":"boolean","title":"Nodes Wo Out Edges To Contact","description":"Nodes without outgoing edges to contact nodes. Uses contact_node_ids if available, otherwise all contact nodes","default":false},"nodes_wo_out_edges_to_tool":{"type":"boolean","title":"Nodes Wo Out Edges To Tool","description":"Nodes without outgoing edges to tool nodes. Uses tool_node_ids if available, otherwise all tool nodes","default":false},"nodes_wo_edges_to_root":{"type":"boolean","title":"Nodes Wo Edges To Root","description":"Nodes without incoming/outgoing edges to the root node/start url. Prevents orphan nodes","default":false},"contact_node_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Contact Node Ids"},"tool_node_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Tool Node Ids"},"navigation_builder":{"oneOf":[{"$ref":"#/components/schemas/BreadcrumbNavigationBuilderOptions"}],"title":"Navigation Builder","discriminator":{"propertyName":"type","mapping":{"breadcrumbs":"#/components/schemas/BreadcrumbNavigationBuilderOptions"}}}},"type":"object","required":["navigation_builder"],"title":"GraphBuilderSettings"},"HTMLContentEventAPI":{"properties":{"type":{"type":"string","const":"html","title":"Type","default":"html"},"html":{"type":"string","title":"Html"}},"type":"object","required":["html"],"title":"HTMLContentEventAPI"},"HTMLContentSSEEvent":{"properties":{"event":{"type":"string","const":"html","title":"Event","default":"html"},"data":{"$ref":"#/components/schemas/HTMLContentEventAPI"}},"type":"object","required":["data"],"title":"HTMLContentSSEEvent"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HelpspaceSettings":{"properties":{"type":{"type":"string","const":"helpspace","title":"Type","default":"helpspace"},"client_id":{"type":"string","title":"Client Id"},"api_token":{"type":"string","title":"Api Token"},"site_id":{"type":"integer","title":"Site Id"},"unavailable_source_policy":{"anyOf":[{"$ref":"#/components/schemas/UnavailableSourcePolicy"},{"type":"null"}],"description":"Policy for handling unavailable Sources/URLs during data source run.","default":"delete_unavailable"}},"type":"object","required":["client_id","api_token","site_id"],"title":"HelpspaceSettings"},"HelpspaceSettingsRequest":{"properties":{"type":{"type":"string","const":"helpspace","title":"Type","default":"helpspace"},"client_id":{"type":"string","title":"Client Id"},"api_token":{"type":"string","title":"Api Token"},"site_id":{"type":"integer","title":"Site Id"},"unavailable_source_policy":{"anyOf":[{"$ref":"#/components/schemas/UnavailableSourcePolicy"},{"type":"null"}],"description":"Policy for handling unavailable Sources/URLs during data source run.","default":"delete_unavailable"}},"type":"object","required":["client_id","api_token","site_id"],"title":"HelpspaceSettingsRequest"},"HistoryItemType":{"type":"string","enum":["navigation","qa","sa"],"title":"HistoryItemType"},"IframeEventAPI":{"properties":{"type":{"type":"string","const":"iframe","title":"Type","default":"iframe"},"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"IframeEventAPI","description":"Iframe API model for embedding content (e.g. Google Maps) directly in the chat."},"IframeSSEEvent":{"properties":{"event":{"type":"string","const":"iframe","title":"Event","default":"iframe"},"data":{"$ref":"#/components/schemas/IframeEventAPI"}},"type":"object","required":["data"],"title":"IframeSSEEvent"},"ImageMetadataMapper":{"properties":{"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"}},"type":"object","title":"ImageMetadataMapper"},"IndexAndMigrateRequest":{"properties":{"dense_model":{"$ref":"#/components/schemas/DenseEmbeddingModel","description":"Dense embedding model to use. Together with sparse_model and search_mode, determines the target Qdrant collection.","default":"embeddinggemma-300m"},"sparse_model":{"$ref":"#/components/schemas/SparseEmbeddingModel","description":"Sparse embedding model to use. Required for HYBRID and SPARSE search modes.","default":"bm25"},"search_mode":{"$ref":"#/components/schemas/SearchMode","description":"Search mode that determines which vectors are written. HYBRID writes both dense and sparse vectors; DENSE writes only dense; SPARSE writes only sparse.","default":"hybrid"},"vertex_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Vertex Ids","description":"Specific vertex IDs to index. If omitted, all content vertices of the application are indexed."}},"type":"object","title":"IndexAndMigrateRequest"},"IndexAndMigrateResponse":{"properties":{"message":{"type":"string","title":"Message"},"collection":{"type":"string","title":"Collection","description":"Qdrant collection that was populated."},"vertices_count":{"type":"integer","title":"Vertices Count","description":"Number of vertices indexed."}},"type":"object","required":["message","collection","vertices_count"],"title":"IndexAndMigrateResponse"},"IndexRecordContentSource":{"type":"string","enum":["phrase","title","text","tool_description","source","alternative_title"],"title":"IndexRecordContentSource"},"IndexRecordListRequest":{"properties":{"limit":{"type":"integer","exclusiveMinimum":0.0,"title":"Limit","description":"Maximum number of records to return.","default":100},"vertex_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Vertex Ids","description":"List of vertex IDs to filter the records. If not provided, records from all vertices will be returned."},"content_sources":{"anyOf":[{"items":{"$ref":"#/components/schemas/IndexRecordContentSource"},"type":"array"},{"type":"null"}],"title":"Content Sources","description":"List of raw text sources to filter the records. If not provided, records from all sources will be returned."},"point_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Point Ids","description":"List of point IDs to filter the records. If provided, retrieve those points. If not provided, scroll filter will be used."}},"type":"object","title":"IndexRecordListRequest"},"IndexRecordSourceRerankSettings":{"properties":{"active_interfaces":{"items":{"type":"string","enum":["search","chat"]},"type":"array","title":"Active Interfaces","description":"Which user interfaces (or endpoints) rerank search results by chunk source."},"title_boost":{"type":"number","title":"Title Boost","description":"The boost to apply to chunks from sources with a title match.","default":1.5},"title_fields":{"items":{"$ref":"#/components/schemas/IndexRecordContentSource"},"type":"array","title":"Title Fields","description":"The metadata fields to use for title matching."},"text_boost":{"type":"number","title":"Text Boost","description":"The boost to apply to chunks from sources with a text match.","default":0.75},"text_fields":{"items":{"$ref":"#/components/schemas/IndexRecordContentSource"},"type":"array","title":"Text Fields","description":"The metadata fields to use for text matching."}},"type":"object","title":"IndexRecordSourceRerankSettings"},"IntegrationAPI":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"application_id":{"type":"string","format":"uuid","title":"Application Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"provider":{"$ref":"#/components/schemas/IntegrationProvider"},"status":{"$ref":"#/components/schemas/IntegrationStatus"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"},"token_expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Token Expires At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","application_id","name","provider","status","meta","token_expires_at","created_at","updated_at"],"title":"IntegrationAPI"},"IntegrationProvider":{"type":"string","enum":["calendly","wordpress","token_endpoint"],"title":"IntegrationProvider"},"IntegrationStatus":{"type":"string","enum":["connected","disconnected","error"],"title":"IntegrationStatus"},"IntegrationUpdate":{"properties":{"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Meta"}},"type":"object","title":"IntegrationUpdate"},"IntegrityCheckResult":{"properties":{"collection":{"type":"string","title":"Collection"},"messages":{"items":{"type":"string"},"type":"array","title":"Messages"},"vertices_count":{"type":"integer","title":"Vertices Count"},"indexed_records_count":{"type":"integer","title":"Indexed Records Count"},"vertices_without_index_records_count":{"type":"integer","title":"Vertices Without Index Records Count"},"vertices_without_index_records":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Vertices Without Index Records"},"orphaned_index_records_count":{"type":"integer","title":"Orphaned Index Records Count"},"orphaned_index_record_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Orphaned Index Record Ids"}},"type":"object","required":["collection","vertices_count","indexed_records_count","vertices_without_index_records_count","vertices_without_index_records","orphaned_index_records_count","orphaned_index_record_ids"],"title":"IntegrityCheckResult"},"InteractionSourceCount":{"properties":{"url":{"type":"string","minLength":1,"format":"uri","title":"Url"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["url","count"],"title":"InteractionSourceCount"},"InvalidateNodeCacheRequest":{"properties":{"locale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locale","description":"Locale of the cached responses to invalidate. If omitted, all locales are invalidated."}},"type":"object","title":"InvalidateNodeCacheRequest"},"IssueReportAPI":{"properties":{"application_id":{"type":"string","format":"uuid","title":"Application Id"},"chat_request_id":{"type":"string","format":"uuid","title":"Chat Request Id"},"session_id":{"type":"string","format":"uuid","title":"Session Id"},"issue":{"type":"string","title":"Issue"},"expected_output":{"type":"string","title":"Expected Output"},"meta":{"additionalProperties":true,"type":"object","title":"Meta"}},"type":"object","required":["application_id","chat_request_id","session_id","issue","expected_output"],"title":"IssueReportAPI"},"KnowledgeBaseToolArguments":{"properties":{"object":{"type":"string","const":"knowledge_base_tool_arguments","title":"Object","default":"knowledge_base_tool_arguments"},"retrieval_method":{"$ref":"#/components/schemas/RetrievalMethod","default":"default"},"rerank":{"type":"boolean","title":"Rerank","default":false},"formatter":{"$ref":"#/components/schemas/RetrievalFormatter","default":"grouped_chunks"},"document_limit_rerank":{"type":"integer","title":"Document Limit Rerank","default":25},"document_limit_default":{"type":"integer","title":"Document Limit Default","default":15},"node_ids_filter":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Node Ids Filter"},"node_labels_filter":{"anyOf":[{"items":{"$ref":"#/components/schemas/VertexType"},"type":"array"},{"type":"null"}],"title":"Node Labels Filter"},"sources_filter":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Sources Filter"},"data_source_types_filter":{"anyOf":[{"items":{"$ref":"#/components/schemas/DataSourceType"},"type":"array"},{"type":"null"}],"title":"Data Source Types Filter"},"data_source_ids_filter":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Data Source Ids Filter"}},"type":"object","title":"KnowledgeBaseToolArguments"},"LanguageCount":{"properties":{"language":{"type":"string","title":"Language"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["language","count"],"title":"LanguageCount","description":"Model for language occurrence counts from chat requests."},"LocaleCount":{"properties":{"locale":{"type":"string","title":"Locale"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["locale","count"],"title":"LocaleCount","description":"Model for locale occurrence counts from requests."},"MCPServerToolArguments-Input":{"properties":{"object":{"type":"string","const":"mcp_server_tool_arguments","title":"Object","default":"mcp_server_tool_arguments"},"mcp_url":{"type":"string","minLength":1,"format":"uri","title":"Mcp Url"},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers","description":"Optional headers to be sent with the request to the MCP server."},"image_url":{"anyOf":[{"type":"string","minLength":1,"format":"uri"},{"type":"null"}],"title":"Image Url","description":"Optional image URL to be shown in the Dashboard. Only for frontend display."},"events":{"items":{"$ref":"#/components/schemas/FrontendEventMappingMCP"},"type":"array","title":"Events","description":"List of frontend events to be triggered by this tool"}},"type":"object","required":["mcp_url"],"title":"MCPServerToolArguments"},"MCPServerToolArguments-Output":{"properties":{"object":{"type":"string","const":"mcp_server_tool_arguments","title":"Object","default":"mcp_server_tool_arguments"},"mcp_url":{"type":"string","minLength":1,"format":"uri","title":"Mcp Url"},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers","description":"Optional headers to be sent with the request to the MCP server."},"image_url":{"anyOf":[{"type":"string","minLength":1,"format":"uri"},{"type":"null"}],"title":"Image Url","description":"Optional image URL to be shown in the Dashboard. Only for frontend display."},"events":{"items":{"$ref":"#/components/schemas/FrontendEventMappingMCP"},"type":"array","title":"Events","description":"List of frontend events to be triggered by this tool"}},"type":"object","required":["mcp_url"],"title":"MCPServerToolArguments"},"MCPToolEntityMapping":{"properties":{"key":{"type":"string","title":"Key","description":"The key to use to identify the entity from the MCP server response"},"values":{"items":{"type":"string"},"type":"array","title":"Values","description":"The specific entities (values) that should be mapped to the frontend event"}},"type":"object","required":["key"],"title":"MCPToolEntityMapping"},"MatchValue":{"properties":{"value":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"integer"},{"items":{"type":"string"},"type":"array"}],"title":"Value"}},"type":"object","required":["value"],"title":"MatchValue"},"NavigatePageAction":{"properties":{"type":{"type":"string","const":"navigate_page","title":"Type","description":"Type of follow-up action: navigate_page.","default":"navigate_page"},"url":{"type":"string","title":"Url","description":"The URL of the page to navigate to."},"title":{"type":"string","title":"Title","description":"The title of the page to navigate to."}},"type":"object","required":["url","title"],"title":"NavigatePageAction"},"NavigationHistoryItem-Input":{"properties":{"id":{"type":"string","title":"Id"},"label":{"$ref":"#/components/schemas/VertexType"},"title":{"additionalProperties":{"type":"string"},"type":"object","title":"Title"},"icon_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon Url"},"text":{"additionalProperties":{"type":"string"},"type":"object","title":"Text"},"form":{"anyOf":[{"$ref":"#/components/schemas/FormAPI-Input"},{"type":"null"}]},"type":{"$ref":"#/components/schemas/HistoryItemType"}},"type":"object","required":["id","label","type"],"title":"NavigationHistoryItem"},"NavigationHistoryItem-Output":{"properties":{"id":{"type":"string","title":"Id"},"label":{"$ref":"#/components/schemas/VertexType"},"title":{"additionalProperties":{"type":"string"},"type":"object","title":"Title"},"icon_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon Url"},"text":{"additionalProperties":{"type":"string"},"type":"object","title":"Text"},"form":{"anyOf":[{"$ref":"#/components/schemas/FormAPI-Output"},{"type":"null"}]},"type":{"$ref":"#/components/schemas/HistoryItemType"}},"type":"object","required":["id","label","type"],"title":"NavigationHistoryItem"},"NavigationRequest":{"properties":{"session_id":{"type":"string","title":"Session Id"},"navigator_id":{"type":"string","title":"Navigator Id"},"embed_type":{"anyOf":[{"$ref":"#/components/schemas/EmbedType"},{"type":"null"}]},"entry":{"anyOf":[{"$ref":"#/components/schemas/EmbedRequestType"},{"type":"null"}]},"selected_nodes":{"anyOf":[{"items":{"$ref":"#/components/schemas/VertexAPIInShort"},"type":"array"},{"type":"null"}],"title":"Selected Nodes"},"locale":{"type":"string","title":"Locale"},"url":{"anyOf":[{"type":"string","minLength":1,"format":"uri"},{"type":"null"}],"title":"Url"}},"type":"object","required":["session_id","navigator_id","locale"],"title":"NavigationRequest"},"NavigationRequestItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"type":{"$ref":"#/components/schemas/EmbedRequestType","default":"navigation"},"order":{"type":"integer","title":"Order"},"locale":{"type":"string","title":"Locale"},"selected_node_id":{"type":"string","title":"Selected Node Id"},"selected_node_title":{"type":"string","title":"Selected Node Title"},"selected_node_text":{"type":"string","title":"Selected Node Text","default":""},"selected_node_label":{"$ref":"#/components/schemas/VertexType"},"prior_node_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prior Node Id"},"prior_node_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prior Node Title"},"is_last_node":{"type":"boolean","title":"Is Last Node"},"is_contact_node_in_next_nodes":{"type":"boolean","title":"Is Contact Node In Next Nodes"},"url":{"anyOf":[{"type":"string","minLength":1,"format":"uri"},{"type":"null"}],"title":"Url"},"geography":{"anyOf":[{"$ref":"#/components/schemas/GeographyInfo"},{"type":"null"}]},"device":{"anyOf":[{"$ref":"#/components/schemas/DeviceType"},{"type":"null"}]}},"type":"object","required":["order","locale","selected_node_id","selected_node_title","selected_node_label","is_last_node","is_contact_node_in_next_nodes"],"title":"NavigationRequestItem"},"NavigationResponse":{"properties":{"navigator_id":{"type":"string","title":"Navigator Id"},"session_id":{"type":"string","title":"Session Id"},"entry":{"anyOf":[{"$ref":"#/components/schemas/EmbedRequestType"},{"type":"null"}]},"selected_nodes":{"items":{"$ref":"#/components/schemas/VertexAPIOutText"},"type":"array","title":"Selected Nodes"},"selected_node":{"$ref":"#/components/schemas/VertexAPIOut"},"next_nodes":{"items":{"$ref":"#/components/schemas/VertexAPIOutShort"},"type":"array","title":"Next Nodes"}},"type":"object","required":["navigator_id","session_id","selected_nodes","selected_node","next_nodes"],"title":"NavigationResponse"},"NavigatorEnvironment":{"type":"string","enum":["production","development","disabled"],"title":"NavigatorEnvironment"},"NavigatorStyleAPI":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"pk":{"type":"string","format":"uuid","title":"Pk"},"label":{"$ref":"#/components/schemas/VertexType","default":"style"},"font_family":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Font Family"},"font_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Font Color"},"background_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Background Color"},"background_image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Background Image Url"},"button_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Button Color"},"home_button_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Home Button Color"},"button_font_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Button Font Color"},"next_nodes_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Nodes Color"},"next_nodes_font_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Nodes Font Color"},"next_nodes_border_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Nodes Border Color","default":""},"selected_nodes_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Nodes Color"},"selected_nodes_font_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Nodes Font Color"},"selected_nodes_border_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Nodes Border Color","default":""},"contact_nodes_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Nodes Color"},"contact_nodes_font_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Nodes Font Color"},"element_border_radius":{"anyOf":[{"$ref":"#/components/schemas/ElementBorderRadius"},{"type":"null"}]},"node_shadow":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Node Shadow","default":true},"sticky_searchbar_mobile":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Sticky Searchbar Mobile"},"sticky_searchbar_desktop":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Sticky Searchbar Desktop"},"sticky_searchbar_position":{"anyOf":[{"$ref":"#/components/schemas/StickySearchbarPosition"},{"type":"null"}]},"sticky_searchbar_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sticky Searchbar Color"},"max_nodes_displayed":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Nodes Displayed"},"navigator_title":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Navigator Title"},"navigator_title_alignment":{"anyOf":[{"$ref":"#/components/schemas/NavigatorTitleAlignmentEnum"},{"type":"null"}],"default":"start"},"bubble_color":{"anyOf":[{"$ref":"#/components/schemas/BubbleColor"},{"type":"null"}],"default":"purple"},"search_input_placeholder":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Search Input Placeholder"},"tags_display_source":{"anyOf":[{"$ref":"#/components/schemas/TagsDisplaySource"},{"type":"null"}]},"ai_disclaimer":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Ai Disclaimer"},"show_branding":{"type":"boolean","title":"Show Branding","default":true},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","pk"],"title":"NavigatorStyleAPI"},"NavigatorStyleAPICreate":{"properties":{"pk":{"type":"string","format":"uuid","title":"Pk"},"label":{"$ref":"#/components/schemas/VertexType","default":"style"},"font_family":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Font Family","default":"'Inter', sans-serif"},"font_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Font Color","default":"#030303"},"background_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Background Color","default":"#eff2f7"},"background_image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Background Image Url"},"button_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Button Color","default":"#c79fef"},"home_button_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Home Button Color","default":"#085f63"},"button_font_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Button Font Color","default":"#ffffff"},"next_nodes_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Nodes Color","default":"#085f63"},"next_nodes_font_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Nodes Font Color","default":"#ffffff"},"next_nodes_border_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Nodes Border Color","default":""},"selected_nodes_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Nodes Color","default":"#eff2f7"},"selected_nodes_font_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Nodes Font Color","default":"#085f63"},"selected_nodes_border_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Nodes Border Color","default":""},"contact_nodes_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Nodes Color","default":"#363636"},"contact_nodes_font_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Nodes Font Color","default":"#ffffff"},"element_border_radius":{"anyOf":[{"$ref":"#/components/schemas/ElementBorderRadius"},{"type":"null"}],"default":"default"},"node_shadow":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Node Shadow","default":true},"sticky_searchbar_mobile":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Sticky Searchbar Mobile","default":false},"sticky_searchbar_desktop":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Sticky Searchbar Desktop","default":false},"sticky_searchbar_position":{"anyOf":[{"$ref":"#/components/schemas/StickySearchbarPosition"},{"type":"null"}],"default":"bottom"},"sticky_searchbar_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sticky Searchbar Color","default":"#085f63"},"max_nodes_displayed":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Nodes Displayed","default":5},"navigator_title":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Navigator Title"},"navigator_title_alignment":{"anyOf":[{"$ref":"#/components/schemas/NavigatorTitleAlignmentEnum"},{"type":"null"}],"default":"start"},"bubble_color":{"anyOf":[{"$ref":"#/components/schemas/BubbleColor"},{"type":"null"}],"default":"purple"},"search_input_placeholder":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Search Input Placeholder"},"tags_display_source":{"anyOf":[{"$ref":"#/components/schemas/TagsDisplaySource"},{"type":"null"}]},"ai_disclaimer":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Ai Disclaimer"},"show_branding":{"type":"boolean","title":"Show Branding","default":true}},"type":"object","required":["pk"],"title":"NavigatorStyleAPICreate"},"NavigatorStyleAPIUpdate":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"pk":{"type":"string","format":"uuid","title":"Pk"},"label":{"$ref":"#/components/schemas/VertexType","default":"style"},"font_family":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Font Family"},"font_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Font Color"},"background_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Background Color"},"background_image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Background Image Url"},"button_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Button Color"},"home_button_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Home Button Color"},"button_font_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Button Font Color"},"next_nodes_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Nodes Color"},"next_nodes_font_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Nodes Font Color"},"next_nodes_border_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Nodes Border Color"},"selected_nodes_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Nodes Color"},"selected_nodes_font_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Nodes Font Color"},"selected_nodes_border_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Nodes Border Color"},"contact_nodes_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Nodes Color"},"contact_nodes_font_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Nodes Font Color"},"element_border_radius":{"anyOf":[{"$ref":"#/components/schemas/ElementBorderRadius"},{"type":"null"}]},"node_shadow":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Node Shadow"},"sticky_searchbar_mobile":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Sticky Searchbar Mobile","default":true},"sticky_searchbar_desktop":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Sticky Searchbar Desktop","default":false},"sticky_searchbar_position":{"anyOf":[{"$ref":"#/components/schemas/StickySearchbarPosition"},{"type":"null"}],"default":"bottom"},"sticky_searchbar_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sticky Searchbar Color"},"max_nodes_displayed":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Nodes Displayed","default":5},"navigator_title":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Navigator Title"},"navigator_title_alignment":{"anyOf":[{"$ref":"#/components/schemas/NavigatorTitleAlignmentEnum"},{"type":"null"}]},"bubble_color":{"anyOf":[{"$ref":"#/components/schemas/BubbleColor"},{"type":"null"}],"default":"purple"},"search_input_placeholder":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Search Input Placeholder"},"tags_display_source":{"anyOf":[{"$ref":"#/components/schemas/TagsDisplaySource"},{"type":"null"}]},"ai_disclaimer":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Ai Disclaimer"},"show_branding":{"type":"boolean","title":"Show Branding","default":true}},"type":"object","required":["pk"],"title":"NavigatorStyleAPIUpdate"},"NavigatorTitleAlignmentEnum":{"type":"string","enum":["center","start"],"title":"NavigatorTitleAlignmentEnum"},"NavigatorTranslationAPI":{"properties":{"navigator_title":{"type":"string","title":"Navigator Title"},"search_input_placeholder":{"type":"string","title":"Search Input Placeholder"},"ai_disclaimer":{"type":"string","title":"Ai Disclaimer"}},"type":"object","required":["navigator_title","search_input_placeholder","ai_disclaimer"],"title":"NavigatorTranslationAPI"},"NodeAddRecommendation":{"properties":{"type":{"type":"string","const":"node:add","title":"Type","default":"node:add"},"reasoning":{"type":"string","title":"Reasoning","description":"Why the change is needed and what effect it will have."},"title":{"type":"string","title":"Title","description":"The new node's title (plain text, session's language)."},"text":{"type":"string","title":"Text","description":"The new node's content (plain text, session's language)."},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"score_boost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Score Boost"}},"type":"object","required":["reasoning","title","text"],"title":"NodeAddRecommendation"},"NodeLookupToolArguments":{"properties":{"object":{"type":"string","const":"node_lookup_tool_arguments","title":"Object","default":"node_lookup_tool_arguments"},"node_ids":{"items":{"type":"string"},"type":"array","title":"Node Ids","description":"List of node IDs to look up in the graph."}},"type":"object","title":"NodeLookupToolArguments"},"NodeRequest":{"properties":{"navigator_id":{"type":"string","title":"Navigator Id"},"session_id":{"type":"string","title":"Session Id"},"locale":{"type":"string","title":"Locale"},"vertex_ids":{"items":{"type":"string"},"type":"array","title":"Vertex Ids"},"url":{"anyOf":[{"type":"string","minLength":1,"format":"uri"},{"type":"null"}],"title":"Url"}},"type":"object","required":["navigator_id","session_id","locale","vertex_ids"],"title":"NodeRequest"},"NumberFieldAPI":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"required":{"type":"boolean","title":"Required","default":false},"field_type":{"type":"string","const":"number","title":"Field Type","default":"number"},"minimum":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Minimum"}},"type":"object","required":["name"],"title":"NumberFieldAPI"},"OpenAPISettingsCreate-Input":{"properties":{"type":{"type":"string","const":"openAPI","title":"Type","default":"openAPI"},"openapi_spec":{"type":"string","title":"Openapi Spec"},"operation_id":{"type":"string","title":"Operation Id"},"data_template_mapping":{"$ref":"#/components/schemas/DataTemplateMapper-Input"},"extra_options":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"},{"type":"integer"},{"type":"null"}]},"type":"object"},{"type":"null"}],"title":"Extra Options"},"response_content_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Response Content Path"},"unavailable_source_policy":{"anyOf":[{"$ref":"#/components/schemas/UnavailableSourcePolicy"},{"type":"null"}],"description":"Policy for handling unavailable Sources/URLs during data source run.","default":"delete_unavailable"}},"type":"object","required":["openapi_spec","operation_id","data_template_mapping"],"title":"OpenAPISettingsCreate"},"OpenAPISettingsCreate-Output":{"properties":{"type":{"type":"string","const":"openAPI","title":"Type","default":"openAPI"},"openapi_spec":{"type":"string","title":"Openapi Spec"},"operation_id":{"type":"string","title":"Operation Id"},"data_template_mapping":{"$ref":"#/components/schemas/DataTemplateMapper-Output"},"extra_options":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"number"},{"type":"integer"},{"type":"null"}]},"type":"object"},{"type":"null"}],"title":"Extra Options"},"response_content_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Response Content Path"},"unavailable_source_policy":{"anyOf":[{"$ref":"#/components/schemas/UnavailableSourcePolicy"},{"type":"null"}],"description":"Policy for handling unavailable Sources/URLs during data source run.","default":"delete_unavailable"}},"type":"object","required":["openapi_spec","operation_id","data_template_mapping"],"title":"OpenAPISettingsCreate"},"PDFUploadSettings":{"properties":{"type":{"type":"string","const":"file_upload","title":"Type","default":"file_upload"},"files":{"items":{"$ref":"#/components/schemas/FileUploadResult"},"type":"array","title":"Files"}},"type":"object","required":["files"],"title":"PDFUploadSettings"},"PageMetadata":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"url":{"anyOf":[{"type":"string","maxLength":2083,"minLength":1,"format":"uri"},{"type":"null"}],"title":"Url"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"article":{"anyOf":[{"$ref":"#/components/schemas/PageMetadataArticle"},{"type":"null"}]},"images":{"items":{"$ref":"#/components/schemas/PageMetadataImage"},"type":"array","title":"Images"}},"type":"object","title":"PageMetadata"},"PageMetadataArticle":{"properties":{"published_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published Time"},"modified_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Modified Time"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","description":"one of multiple article:tag, category_name of helpspace page, or from openAPI mapping"}},"type":"object","title":"PageMetadataArticle"},"PageMetadataFilters-Input":{"properties":{"criteria":{"items":{"$ref":"#/components/schemas/FilterCriterion"},"type":"array","title":"Criteria"}},"type":"object","title":"PageMetadataFilters"},"PageMetadataFilters-Output":{"properties":{"criteria":{"items":{"$ref":"#/components/schemas/FilterCriterion"},"type":"array","title":"Criteria"}},"type":"object","title":"PageMetadataFilters"},"PageMetadataImage":{"properties":{"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url"},"secure_url":{"anyOf":[{"type":"string","maxLength":2083,"minLength":1,"format":"uri"},{"type":"null"}],"title":"Secure Url"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height"},"alt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Alt"}},"type":"object","required":["url"],"title":"PageMetadataImage"},"PageMetadataMapper":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"images":{"anyOf":[{"$ref":"#/components/schemas/ImageMetadataMapper"},{"type":"null"}]},"article":{"anyOf":[{"$ref":"#/components/schemas/ArticleMetadataMapper"},{"type":"null"}]}},"type":"object","title":"PageMetadataMapper"},"PageQualityMetrics":{"properties":{"page_type":{"$ref":"#/components/schemas/PageType"},"content_score":{"type":"number","maximum":2.0,"minimum":0.0,"title":"Content Score"},"content_density":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Content Density"},"noise_ratio":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Noise Ratio"},"classified_at":{"type":"string","format":"date-time","title":"Classified At"}},"type":"object","required":["page_type","content_score","content_density","noise_ratio","classified_at"],"title":"PageQualityMetrics"},"PageType":{"type":"string","enum":["informational","commercial","legal","navigational","gated"],"title":"PageType"},"PendingSuggestion":{"properties":{"classification_id":{"type":"string","format":"uuid","title":"Classification Id"},"classification_name":{"type":"string","title":"Classification Name"},"classification_type":{"$ref":"#/components/schemas/ClassificationTypeEnum"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"application_id":{"type":"string","format":"uuid","title":"Application Id"},"usage_count":{"type":"integer","title":"Usage Count"},"sample_chat_request_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Sample Chat Request Ids"}},"type":"object","required":["classification_id","classification_name","classification_type","description","application_id","usage_count"],"title":"PendingSuggestion","description":"Pending classification suggestion with usage statistics."},"PeriodEmbedTypeSessionMetrics":{"properties":{"period":{"type":"string","format":"date-time","title":"Period"},"total_active_sessions":{"type":"integer","title":"Total Active Sessions","default":0},"chat_sessions":{"type":"integer","title":"Chat Sessions","default":0},"chat_widget_sessions":{"type":"integer","title":"Chat Widget Sessions","default":0},"navigator_sessions":{"type":"integer","title":"Navigator Sessions","default":0},"search_interface_sessions":{"type":"integer","title":"Search Interface Sessions","default":0},"voice_sessions":{"type":"integer","title":"Voice Sessions","default":0},"api_sessions":{"type":"integer","title":"Api Sessions","default":0},"form_sessions":{"type":"integer","title":"Form Sessions","default":0}},"type":"object","required":["period"],"title":"PeriodEmbedTypeSessionMetrics"},"PeriodSessionMetrics":{"properties":{"period":{"type":"string","format":"date-time","title":"Period"},"total_active_sessions":{"type":"integer","title":"Total Active Sessions","default":0},"chat_sessions":{"type":"integer","title":"Chat Sessions","default":0},"search_sessions":{"type":"integer","title":"Search Sessions","default":0},"navigation_sessions":{"type":"integer","title":"Navigation Sessions","default":0},"form_submission_sessions":{"type":"integer","title":"Form Submission Sessions","default":0},"voice_sessions":{"type":"integer","title":"Voice Sessions","default":0}},"type":"object","required":["period"],"title":"PeriodSessionMetrics"},"Progress":{"properties":{"running":{"type":"boolean","title":"Running","default":false},"current_step":{"type":"integer","title":"Current Step","default":0},"steps":{"items":{"$ref":"#/components/schemas/ProgressStep"},"type":"array","title":"Steps"}},"type":"object","required":["steps"],"title":"Progress"},"ProgressStep":{"properties":{"name":{"$ref":"#/components/schemas/ProgressStepName"},"description":{"type":"string","title":"Description","description":"Description of progress step for data source.","default":""},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata"},"started_at":{"anyOf":[{"type":"string"},{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"completed_at":{"anyOf":[{"type":"string"},{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"}},"type":"object","required":["name"],"title":"ProgressStep"},"ProgressStepName":{"type":"string","enum":["initiate_datasource_run","fetch_documents","filter_documents","upload_documents"],"title":"ProgressStepName"},"PromptAPICreate":{"properties":{"prompt":{"type":"string","title":"Prompt"},"type":{"$ref":"#/components/schemas/PromptType"},"subtype":{"anyOf":[{"$ref":"#/components/schemas/PromptSubtype"},{"type":"null"}]},"interface_type":{"anyOf":[{"$ref":"#/components/schemas/PromptInterfaceType"},{"type":"null"}]}},"type":"object","required":["prompt","type"],"title":"PromptAPICreate"},"PromptAPIResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"application_id":{"type":"string","format":"uuid","title":"Application Id"},"prompt":{"type":"string","title":"Prompt"},"is_active":{"type":"boolean","title":"Is Active"},"type":{"$ref":"#/components/schemas/PromptType"},"subtype":{"anyOf":[{"$ref":"#/components/schemas/PromptSubtype"},{"type":"null"}]},"interface_type":{"anyOf":[{"$ref":"#/components/schemas/PromptInterfaceType"},{"type":"null"}]},"created_by":{"anyOf":[{"type":"string","format":"email"},{"type":"string","const":"system"},{"type":"string","const":"mcp-agent"}],"title":"Created By"},"updated_by":{"anyOf":[{"type":"string","format":"email"},{"type":"string","const":"system"},{"type":"string","const":"mcp-agent"}],"title":"Updated By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","application_id","prompt","is_active","type","created_by","updated_by","created_at","updated_at"],"title":"PromptAPIResponse"},"PromptAPIUpdate":{"properties":{"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},"type":"object","title":"PromptAPIUpdate"},"PromptGenerationInputAPI":{"properties":{"prompt":{"type":"string","title":"Prompt","description":"The base prompt to build upon","examples":["\nMy Company is: {{company description}}\n\nMy company's website: {{company website URL}}\n\nThe use case for the AI is: {{use case}}\n\nTopics the AI should be able to handle and reply to: {{topics to include}}\n\nTopics the AI should not answer: {{topics to exclude}}\n\nThe AI should reply in this format: {{output format instructions}}\n\nOther special Instructions: {{special instructions}}\n"]}},"type":"object","required":["prompt"],"title":"PromptGenerationInputAPI"},"PromptInterfaceType":{"type":"string","enum":["chat","navigator","search","api","form"],"title":"PromptInterfaceType","description":"Coarser grouping of EmbedType for prompt scoping.\n\nFollows the same pattern as StyleType in the interface_styles domain.\nEach value maps to one or more EmbedType values via ``embed_type_to_interface_type``."},"PromptListAPIResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PromptAPIResponse"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","total"],"title":"PromptListAPIResponse"},"PromptPersonaType":{"type":"string","enum":["default","technical_support_agent","product_advisor","tourism_information_guide"],"title":"PromptPersonaType"},"PromptSubtype":{"type":"string","enum":["routing_instructions","output_instructions"],"title":"PromptSubtype","description":"Subtypes for prompts - used for routing vs output instructions."},"PromptTemplatesAPI":{"properties":{"prompt_personas":{"additionalProperties":{"type":"string"},"propertyNames":{"$ref":"#/components/schemas/PromptPersonaType"},"type":"object","title":"Prompt Personas"},"output_instructions":{"additionalProperties":{"type":"string"},"propertyNames":{"$ref":"#/components/schemas/PromptPersonaType"},"type":"object","title":"Output Instructions"}},"type":"object","required":["prompt_personas","output_instructions"],"title":"PromptTemplatesAPI"},"PromptType":{"type":"string","enum":["chat","search_answering","suggested_questions","chat_evaluation"],"title":"PromptType","description":"Types of prompts in the system."},"PromptUpdateRecommendation":{"properties":{"type":{"type":"string","const":"prompt:update","title":"Type","default":"prompt:update"},"reasoning":{"type":"string","title":"Reasoning","description":"Why the change is needed and what effect it will have."},"subtype":{"type":"string","enum":["routing_instructions","output_instructions"],"title":"Subtype","description":"routing_instructions = Prompt Persona (which AI Action fires); output_instructions = Output Instructions (response style/format)."},"prompt":{"type":"string","title":"Prompt","description":"The new prompt text."}},"type":"object","required":["reasoning","subtype","prompt"],"title":"PromptUpdateRecommendation"},"ProviderInfo":{"properties":{"provider":{"$ref":"#/components/schemas/IntegrationProvider"},"auth_type":{"$ref":"#/components/schemas/AuthType"},"display_name":{"type":"string","title":"Display Name"}},"type":"object","required":["provider","auth_type","display_name"],"title":"ProviderInfo"},"QAHistoryItem":{"properties":{"query":{"type":"string","title":"Query"},"answer":{"type":"string","title":"Answer"},"type":{"$ref":"#/components/schemas/HistoryItemType"}},"type":"object","required":["query","answer","type"],"title":"QAHistoryItem"},"QARequest":{"properties":{"session_id":{"type":"string","title":"Session Id"},"navigator_id":{"type":"string","title":"Navigator Id"},"embed_type":{"anyOf":[{"$ref":"#/components/schemas/EmbedType"},{"type":"null"}]},"entry":{"anyOf":[{"$ref":"#/components/schemas/EmbedRequestType"},{"type":"null"}]},"query":{"type":"string","title":"Query"},"locale":{"type":"string","title":"Locale"},"browser_locale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Browser Locale"},"history":{"anyOf":[{"items":{"anyOf":[{"$ref":"#/components/schemas/QAHistoryItem"},{"$ref":"#/components/schemas/NavigationHistoryItem-Input"}]},"type":"array"},{"type":"null"}],"title":"History"},"url":{"anyOf":[{"type":"string","minLength":1,"format":"uri"},{"type":"null"}],"title":"Url"},"is_suggested_question":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Suggested Question"},"use_page_as_context":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Use Page As Context","default":false}},"type":"object","required":["session_id","navigator_id","query","locale"],"title":"QARequest"},"QARequestItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"type":{"$ref":"#/components/schemas/EmbedRequestType","default":"qa"},"order":{"type":"integer","title":"Order"},"locale":{"type":"string","title":"Locale"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"query":{"type":"string","title":"Query"},"rephrased_query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rephrased Query"},"answer":{"type":"string","title":"Answer"},"tool_calls":{"items":{"$ref":"#/components/schemas/ToolCall"},"type":"array","title":"Tool Calls"},"documents":{"items":{"$ref":"#/components/schemas/DocumentChunk"},"type":"array","title":"Documents"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags"},"answer_type":{"anyOf":[{"$ref":"#/components/schemas/AnswerType"},{"type":"null"}]},"sentiment":{"anyOf":[{"$ref":"#/components/schemas/SentimentType"},{"type":"null"}]},"url":{"anyOf":[{"type":"string","minLength":1,"format":"uri"},{"type":"null"}],"title":"Url"},"is_suggested_question":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Suggested Question"},"use_page_as_context":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Use Page As Context","default":false},"cacheable":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Cacheable","description":"Indicates if the response is suitable for caching (i.e. it was generated). Can be invalidated."},"is_dynamic_query":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Dynamic Query","description":"Indicates if the query is dynamic and shouldn't be cached."},"is_cached_response":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Cached Response","description":"Indicates if the response was served from cache."},"is_cancelled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Cancelled","description":"Indicates if the request was cancelled by the user before completion."},"is_fallback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Fallback","description":"Indicates if the response is a fallback message and must not be cached."},"geography":{"anyOf":[{"$ref":"#/components/schemas/GeographyInfo"},{"type":"null"}]},"device":{"anyOf":[{"$ref":"#/components/schemas/DeviceType"},{"type":"null"}]},"classification_topic_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Classification Topic Id"},"classification_intent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Classification Intent Id"},"classification_topic_suggestion_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Classification Topic Suggestion Id"},"classification_intent_suggestion_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Classification Intent Suggestion Id"}},"type":"object","required":["order","locale","query","answer","documents"],"title":"QARequestItem","description":"Save a request from the /qa/ endpoint in db"},"QAResponse":{"properties":{"navigator_id":{"type":"string","title":"Navigator Id"},"session_id":{"type":"string","title":"Session Id"},"entry":{"anyOf":[{"$ref":"#/components/schemas/EmbedRequestType"},{"type":"null"}],"default":"qa"},"answer":{"type":"string","title":"Answer"},"locale":{"type":"string","title":"Locale"},"history":{"anyOf":[{"items":{"anyOf":[{"$ref":"#/components/schemas/QAHistoryItem"},{"$ref":"#/components/schemas/NavigationHistoryItem-Output"}]},"type":"array"},{"type":"null"}],"title":"History"}},"type":"object","required":["navigator_id","session_id","answer","locale"],"title":"QAResponse"},"RAGSource":{"properties":{"index":{"type":"integer","title":"Index"},"url":{"type":"string","minLength":1,"format":"uri","title":"Url"},"title":{"type":"string","title":"Title"},"data_source_type":{"anyOf":[{"$ref":"#/components/schemas/DataSourceType"},{"type":"null"}]}},"type":"object","required":["index","url","title"],"title":"RAGSource"},"RAGSourcesEventAPI":{"properties":{"sources":{"items":{"$ref":"#/components/schemas/RAGSource"},"type":"array","title":"Sources"}},"type":"object","required":["sources"],"title":"RAGSourcesEventAPI"},"RAGSourcesSSEEvent":{"properties":{"event":{"type":"string","const":"rag_sources","title":"Event","default":"rag_sources"},"data":{"$ref":"#/components/schemas/RAGSourcesEventAPI"}},"type":"object","required":["data"],"title":"RAGSourcesSSEEvent"},"RegiondoToolArguments-Input":{"properties":{"object":{"type":"string","const":"regiondo_tool_arguments","title":"Object","default":"regiondo_tool_arguments"},"secret_key":{"type":"string","title":"Secret Key"},"public_key":{"type":"string","title":"Public Key"},"event":{"anyOf":[{"$ref":"#/components/schemas/FrontendEventMapping"},{"type":"null"}],"description":"Optional frontend event mapping."}},"type":"object","required":["secret_key","public_key"],"title":"RegiondoToolArguments"},"RegiondoToolArguments-Output":{"properties":{"object":{"type":"string","const":"regiondo_tool_arguments","title":"Object","default":"regiondo_tool_arguments"},"secret_key":{"type":"string","title":"Secret Key"},"public_key":{"type":"string","title":"Public Key"},"event":{"anyOf":[{"$ref":"#/components/schemas/FrontendEventMapping"},{"type":"null"}],"description":"Optional frontend event mapping."}},"type":"object","required":["secret_key","public_key"],"title":"RegiondoToolArguments"},"ReindexRecordsRequest":{"properties":{"vertex_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Vertex Ids","description":"List of vertex IDs to reindex. If not provided, all vertices will be reindexed."}},"type":"object","title":"ReindexRecordsRequest"},"RelationshipsAPI":{"properties":{"outgoing_nodes":{"items":{"$ref":"#/components/schemas/ExtendedEdgeAPI"},"type":"array","title":"Outgoing Nodes"},"ingoing_nodes":{"items":{"$ref":"#/components/schemas/ExtendedEdgeAPI"},"type":"array","title":"Ingoing Nodes"}},"type":"object","title":"RelationshipsAPI"},"ResolvedChatNavigatorStyleAPI":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"application_id":{"type":"string","format":"uuid","title":"Application Id"},"label":{"$ref":"#/components/schemas/VertexType"},"font_family":{"type":"string","title":"Font Family"},"font_color":{"type":"string","title":"Font Color"},"background_color":{"type":"string","title":"Background Color"},"send_button_color":{"type":"string","title":"Send Button Color"},"user_message_background_color":{"type":"string","title":"User Message Background Color"},"assistant_message_background_color":{"type":"string","title":"Assistant Message Background Color"},"bubble_color":{"$ref":"#/components/schemas/BubbleColor"},"enable_user_uploads":{"type":"boolean","title":"Enable User Uploads"},"suggested_questions_strategy":{"$ref":"#/components/schemas/SuggestedQuestionsStrategy"},"hide_widget_url_patterns":{"items":{"type":"string"},"type":"array","title":"Hide Widget Url Patterns"},"show_branding":{"type":"boolean","title":"Show Branding"},"suggested_questions":{"items":{"type":"string"},"type":"array","title":"Suggested Questions"},"ai_disclaimer":{"type":"string","title":"Ai Disclaimer"},"greeting":{"type":"string","title":"Greeting"},"assistant_name":{"type":"string","title":"Assistant Name"},"chat_input_placeholder":{"type":"string","title":"Chat Input Placeholder"},"response_locale":{"type":"string","title":"Response Locale"},"analytics_providers":{"items":{"$ref":"#/components/schemas/AnalyticsProvider"},"type":"array","title":"Analytics Providers"}},"type":"object","required":["id","application_id","label","font_family","font_color","background_color","send_button_color","user_message_background_color","assistant_message_background_color","bubble_color","enable_user_uploads","suggested_questions_strategy","hide_widget_url_patterns","show_branding","ai_disclaimer","greeting","assistant_name","chat_input_placeholder","response_locale"],"title":"ResolvedChatNavigatorStyleAPI"},"ResolvedFormStyleAPI":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"application_id":{"type":"string","format":"uuid","title":"Application Id"},"bubble_color":{"$ref":"#/components/schemas/BubbleColor"},"font_family":{"type":"string","title":"Font Family"},"font_color":{"type":"string","title":"Font Color"},"background_color":{"type":"string","title":"Background Color"},"primary_color":{"type":"string","title":"Primary Color"},"secondary_color":{"type":"string","title":"Secondary Color"},"show_branding":{"type":"boolean","title":"Show Branding"},"title":{"type":"string","title":"Title"},"subtitle":{"type":"string","title":"Subtitle"},"description_input_placeholder":{"type":"string","title":"Description Input Placeholder"},"description_input_label":{"type":"string","title":"Description Input Label"},"submit_button_text":{"type":"string","title":"Submit Button Text"},"continue_button_text":{"type":"string","title":"Continue Button Text"},"resolved_button_text":{"type":"string","title":"Resolved Button Text"},"ai_disclaimer":{"type":"string","title":"Ai Disclaimer"},"response_locale":{"type":"string","title":"Response Locale"}},"type":"object","required":["id","application_id","bubble_color","font_family","font_color","background_color","primary_color","secondary_color","show_branding","title","subtitle","description_input_placeholder","description_input_label","submit_button_text","continue_button_text","resolved_button_text","ai_disclaimer","response_locale"],"title":"ResolvedFormStyleAPI"},"ResolvedNavigatorStyleAPI":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"application_id":{"type":"string","format":"uuid","title":"Application Id"},"label":{"$ref":"#/components/schemas/VertexType"},"font_family":{"type":"string","title":"Font Family"},"font_color":{"type":"string","title":"Font Color"},"background_color":{"type":"string","title":"Background Color"},"background_image_url":{"type":"string","title":"Background Image Url"},"button_color":{"type":"string","title":"Button Color"},"home_button_color":{"type":"string","title":"Home Button Color"},"button_font_color":{"type":"string","title":"Button Font Color"},"next_nodes_color":{"type":"string","title":"Next Nodes Color"},"next_nodes_font_color":{"type":"string","title":"Next Nodes Font Color"},"next_nodes_border_color":{"type":"string","title":"Next Nodes Border Color"},"selected_nodes_color":{"type":"string","title":"Selected Nodes Color"},"selected_nodes_font_color":{"type":"string","title":"Selected Nodes Font Color"},"selected_nodes_border_color":{"type":"string","title":"Selected Nodes Border Color"},"contact_nodes_color":{"type":"string","title":"Contact Nodes Color"},"contact_nodes_font_color":{"type":"string","title":"Contact Nodes Font Color"},"element_border_radius":{"$ref":"#/components/schemas/ElementBorderRadius"},"node_shadow":{"type":"boolean","title":"Node Shadow"},"sticky_searchbar_mobile":{"type":"boolean","title":"Sticky Searchbar Mobile"},"sticky_searchbar_desktop":{"type":"boolean","title":"Sticky Searchbar Desktop"},"sticky_searchbar_position":{"$ref":"#/components/schemas/StickySearchbarPosition"},"sticky_searchbar_color":{"type":"string","title":"Sticky Searchbar Color"},"max_nodes_displayed":{"type":"integer","title":"Max Nodes Displayed"},"navigator_title_alignment":{"$ref":"#/components/schemas/NavigatorTitleAlignmentEnum"},"bubble_color":{"$ref":"#/components/schemas/BubbleColor"},"tags_display_source":{"$ref":"#/components/schemas/TagsDisplaySource"},"show_branding":{"type":"boolean","title":"Show Branding"},"navigator_title":{"type":"string","title":"Navigator Title"},"search_input_placeholder":{"type":"string","title":"Search Input Placeholder"},"ai_disclaimer":{"type":"string","title":"Ai Disclaimer"},"response_locale":{"type":"string","title":"Response Locale"}},"type":"object","required":["id","application_id","label","font_family","font_color","background_color","background_image_url","button_color","home_button_color","button_font_color","next_nodes_color","next_nodes_font_color","next_nodes_border_color","selected_nodes_color","selected_nodes_font_color","selected_nodes_border_color","contact_nodes_color","contact_nodes_font_color","element_border_radius","node_shadow","sticky_searchbar_mobile","sticky_searchbar_desktop","sticky_searchbar_position","sticky_searchbar_color","max_nodes_displayed","navigator_title_alignment","bubble_color","tags_display_source","show_branding","navigator_title","search_input_placeholder","ai_disclaimer","response_locale"],"title":"ResolvedNavigatorStyleAPI"},"ResolvedSearchStyleAPI":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"application_id":{"type":"string","format":"uuid","title":"Application Id"},"label":{"$ref":"#/components/schemas/VertexType"},"font_family":{"type":"string","title":"Font Family"},"font_color":{"type":"string","title":"Font Color"},"background_color":{"type":"string","title":"Background Color"},"button_color":{"type":"string","title":"Button Color"},"bubble_color":{"$ref":"#/components/schemas/BubbleColor"},"suggested_questions_strategy":{"$ref":"#/components/schemas/SuggestedQuestionsStrategy"},"show_contact_nodes":{"type":"boolean","title":"Show Contact Nodes"},"contact_node_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Contact Node Ids"},"tags_display_source":{"$ref":"#/components/schemas/TagsDisplaySource"},"show_branding":{"type":"boolean","title":"Show Branding"},"title":{"type":"string","title":"Title"},"input_placeholder":{"type":"string","title":"Input Placeholder"},"submit_button_text":{"type":"string","title":"Submit Button Text"},"suggested_questions_title":{"type":"string","title":"Suggested Questions Title"},"suggested_questions_description":{"type":"string","title":"Suggested Questions Description"},"suggested_questions":{"items":{"type":"string"},"type":"array","title":"Suggested Questions"},"generated_answer_message":{"type":"string","title":"Generated Answer Message"},"ai_disclaimer":{"type":"string","title":"Ai Disclaimer"},"response_locale":{"type":"string","title":"Response Locale"},"analytics_providers":{"items":{"$ref":"#/components/schemas/AnalyticsProvider"},"type":"array","title":"Analytics Providers"}},"type":"object","required":["id","application_id","label","font_family","font_color","background_color","button_color","bubble_color","suggested_questions_strategy","show_contact_nodes","tags_display_source","show_branding","title","input_placeholder","submit_button_text","suggested_questions_title","suggested_questions_description","generated_answer_message","ai_disclaimer","response_locale"],"title":"ResolvedSearchStyleAPI"},"RetrievalFormatter":{"type":"string","enum":["chunks_with_source","numbered_chunks_with_source","grouped_chunks","grouped_chunks_with_custom_metadata","grouped_chunks_with_page_metadata"],"title":"RetrievalFormatter"},"RetrievalMethod":{"type":"string","enum":["default","parent_context"],"title":"RetrievalMethod"},"SARequest":{"properties":{"session_id":{"type":"string","title":"Session Id"},"navigator_id":{"type":"string","title":"Navigator Id"},"embed_type":{"$ref":"#/components/schemas/EmbedType"},"query":{"type":"string","title":"Query"},"locale":{"type":"string","title":"Locale"},"browser_locale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Browser Locale"},"url":{"anyOf":[{"type":"string","minLength":1,"format":"uri"},{"type":"null"}],"title":"Url"},"origin":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Origin"},"is_suggested_question":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Suggested Question"},"use_page_as_context":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Use Page As Context","default":false}},"type":"object","required":["session_id","navigator_id","embed_type","query","locale"],"title":"SARequest"},"SARequestItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"type":{"$ref":"#/components/schemas/EmbedRequestType","default":"sa"},"order":{"type":"integer","title":"Order"},"locale":{"type":"string","title":"Locale"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"query":{"type":"string","title":"Query"},"answer":{"type":"string","title":"Answer"},"documents":{"items":{"$ref":"#/components/schemas/DocumentChunk"},"type":"array","title":"Documents"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags"},"answer_type":{"anyOf":[{"$ref":"#/components/schemas/AnswerType"},{"type":"null"}]},"sentiment":{"anyOf":[{"$ref":"#/components/schemas/SentimentType"},{"type":"null"}]},"origin":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Origin"},"url":{"anyOf":[{"type":"string","minLength":1,"format":"uri"},{"type":"null"}],"title":"Url"},"is_suggested_question":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Suggested Question"},"use_page_as_context":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Use Page As Context","default":false},"geography":{"anyOf":[{"$ref":"#/components/schemas/GeographyInfo"},{"type":"null"}]},"device":{"anyOf":[{"$ref":"#/components/schemas/DeviceType"},{"type":"null"}]},"rephrased_query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rephrased Query"}},"type":"object","required":["order","locale","query","answer","documents"],"title":"SARequestItem","description":"Save a request from the /sa/ endpoint in db"},"SAResponse":{"properties":{"navigator_id":{"type":"string","title":"Navigator Id"},"session_id":{"type":"string","title":"Session Id"},"answer":{"type":"string","title":"Answer"},"locale":{"type":"string","title":"Locale"},"url":{"anyOf":[{"type":"string","minLength":1,"format":"uri"},{"type":"null"}],"title":"Url"},"origin":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Origin"}},"type":"object","required":["navigator_id","session_id","answer","locale"],"title":"SAResponse"},"SearchMode":{"type":"string","enum":["dense","sparse","hybrid"],"title":"SearchMode"},"SearchOutputSensitivity":{"type":"number","enum":[0.2,0.15,0.1],"title":"SearchOutputSensitivity"},"SearchRequest":{"properties":{"session_id":{"type":"string","title":"Session Id"},"navigator_id":{"type":"string","title":"Navigator Id"},"embed_type":{"anyOf":[{"$ref":"#/components/schemas/EmbedType"},{"type":"null"}]},"query":{"type":"string","minLength":1,"title":"Query"},"filters":{"items":{"$ref":"#/components/schemas/FacetFilter"},"type":"array","title":"Filters","description":"List of filters to apply."},"locale":{"type":"string","title":"Locale"},"url":{"anyOf":[{"type":"string","minLength":1,"format":"uri"},{"type":"null"}],"title":"Url"}},"type":"object","required":["session_id","navigator_id","query","locale"],"title":"SearchRequest"},"SearchRequestItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"type":{"$ref":"#/components/schemas/EmbedRequestType","default":"search"},"order":{"type":"integer","title":"Order"},"locale":{"type":"string","title":"Locale"},"query":{"type":"string","title":"Query"},"search_results":{"items":{"$ref":"#/components/schemas/DocumentChunk"},"type":"array","title":"Search Results"},"url":{"anyOf":[{"type":"string","minLength":1,"format":"uri"},{"type":"null"}],"title":"Url"},"geography":{"anyOf":[{"$ref":"#/components/schemas/GeographyInfo"},{"type":"null"}]},"device":{"anyOf":[{"$ref":"#/components/schemas/DeviceType"},{"type":"null"}]}},"type":"object","required":["order","locale","query","search_results"],"title":"SearchRequestItem"},"SearchRerankSettings-Input":{"properties":{"datetime_reranking":{"anyOf":[{"$ref":"#/components/schemas/DatetimeRerankSettings"},{"type":"null"}]},"record_source_reranking":{"anyOf":[{"$ref":"#/components/schemas/IndexRecordSourceRerankSettings"},{"type":"null"}]},"custom_boosting":{"anyOf":[{"$ref":"#/components/schemas/CustomBoostSettings"},{"type":"null"}]}},"type":"object","title":"SearchRerankSettings"},"SearchRerankSettings-Output":{"properties":{"datetime_reranking":{"anyOf":[{"$ref":"#/components/schemas/DatetimeRerankSettings"},{"type":"null"}]},"record_source_reranking":{"anyOf":[{"$ref":"#/components/schemas/IndexRecordSourceRerankSettings"},{"type":"null"}]},"custom_boosting":{"anyOf":[{"$ref":"#/components/schemas/CustomBoostSettings"},{"type":"null"}]}},"type":"object","title":"SearchRerankSettings"},"SearchResultAPI":{"properties":{"score":{"type":"number","title":"Score"},"vertex_id":{"type":"string","title":"Vertex Id"},"chunk_id":{"type":"string","title":"Chunk Id"},"highlight":{"type":"string","title":"Highlight"},"title":{"type":"string","title":"Title"},"locale":{"type":"string","title":"Locale"},"label":{"$ref":"#/components/schemas/VertexType"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"page_metadata":{"anyOf":[{"$ref":"#/components/schemas/PageMetadata"},{"type":"null"}]},"custom_metadata":{"additionalProperties":true,"type":"object","title":"Custom Metadata"},"html_element_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Html Element Id"}},"type":"object","required":["score","vertex_id","chunk_id","highlight","title","locale","label"],"title":"SearchResultAPI"},"SearchResultHighlight":{"type":"string","enum":["page_metadata_description","chunk"],"title":"SearchResultHighlight"},"SearchStyleAPI":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"pk":{"type":"string","format":"uuid","title":"Pk"},"label":{"$ref":"#/components/schemas/VertexType","default":"search_style"},"font_family":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Font Family"},"font_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Font Color"},"background_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Background Color"},"button_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Button Color"},"bubble_color":{"anyOf":[{"$ref":"#/components/schemas/BubbleColor"},{"type":"null"}],"default":"purple"},"title":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Title"},"input_placeholder":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Input Placeholder"},"submit_button_text":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Submit Button Text"},"suggested_questions_title":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Suggested Questions Title"},"suggested_questions_description":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Suggested Questions Description"},"suggested_questions":{"anyOf":[{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},{"type":"null"}],"title":"Suggested Questions"},"suggested_questions_strategy":{"$ref":"#/components/schemas/SuggestedQuestionsStrategy","default":"manual"},"generated_answer_message":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Generated Answer Message"},"show_contact_nodes":{"type":"boolean","title":"Show Contact Nodes","default":false},"contact_node_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Contact Node Ids"},"tags_display_source":{"anyOf":[{"$ref":"#/components/schemas/TagsDisplaySource"},{"type":"null"}]},"ai_disclaimer":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Ai Disclaimer"},"show_branding":{"type":"boolean","title":"Show Branding","default":true},"analytics_providers":{"items":{"$ref":"#/components/schemas/AnalyticsProvider"},"type":"array","title":"Analytics Providers"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","pk"],"title":"SearchStyleAPI"},"SearchStyleAPICreate":{"properties":{"pk":{"type":"string","format":"uuid","title":"Pk"},"label":{"$ref":"#/components/schemas/VertexType","default":"search_style"},"font_family":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Font Family","default":"'Inter', sans-serif"},"font_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Font Color","default":"#000000"},"background_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Background Color","default":"#ffffff"},"button_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Button Color","default":"#085f63"},"bubble_color":{"anyOf":[{"$ref":"#/components/schemas/BubbleColor"},{"type":"null"}],"default":"purple"},"title":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Title"},"input_placeholder":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Input Placeholder"},"submit_button_text":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Submit Button Text"},"suggested_questions_title":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Suggested Questions Title"},"suggested_questions_description":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Suggested Questions Description"},"suggested_questions":{"anyOf":[{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},{"type":"null"}],"title":"Suggested Questions"},"suggested_questions_strategy":{"$ref":"#/components/schemas/SuggestedQuestionsStrategy","default":"manual"},"generated_answer_message":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Generated Answer Message"},"show_contact_nodes":{"type":"boolean","title":"Show Contact Nodes","default":false},"contact_node_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Contact Node Ids"},"tags_display_source":{"anyOf":[{"$ref":"#/components/schemas/TagsDisplaySource"},{"type":"null"}]},"ai_disclaimer":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Ai Disclaimer"},"show_branding":{"type":"boolean","title":"Show Branding","default":true},"analytics_providers":{"items":{"$ref":"#/components/schemas/AnalyticsProvider"},"type":"array","title":"Analytics Providers"}},"type":"object","required":["pk"],"title":"SearchStyleAPICreate"},"SearchStyleAPIUpdate":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"pk":{"type":"string","format":"uuid","title":"Pk"},"label":{"$ref":"#/components/schemas/VertexType","default":"search_style"},"font_family":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Font Family"},"font_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Font Color"},"background_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Background Color"},"button_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Button Color"},"bubble_color":{"anyOf":[{"$ref":"#/components/schemas/BubbleColor"},{"type":"null"}]},"title":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Title"},"input_placeholder":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Input Placeholder"},"submit_button_text":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Submit Button Text"},"suggested_questions_title":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Suggested Questions Title"},"suggested_questions_description":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Suggested Questions Description"},"suggested_questions":{"anyOf":[{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},{"type":"null"}],"title":"Suggested Questions"},"suggested_questions_strategy":{"$ref":"#/components/schemas/SuggestedQuestionsStrategy","default":"manual"},"generated_answer_message":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Generated Answer Message"},"show_contact_nodes":{"type":"boolean","title":"Show Contact Nodes","default":false},"contact_node_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Contact Node Ids"},"tags_display_source":{"anyOf":[{"$ref":"#/components/schemas/TagsDisplaySource"},{"type":"null"}]},"ai_disclaimer":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Ai Disclaimer"},"show_branding":{"type":"boolean","title":"Show Branding","default":true},"analytics_providers":{"items":{"$ref":"#/components/schemas/AnalyticsProvider"},"type":"array","title":"Analytics Providers"}},"type":"object","required":["pk"],"title":"SearchStyleAPIUpdate"},"SearchTranslationAPI":{"properties":{"title":{"type":"string","title":"Title"},"input_placeholder":{"type":"string","title":"Input Placeholder"},"submit_button_text":{"type":"string","title":"Submit Button Text"},"suggested_questions_title":{"type":"string","title":"Suggested Questions Title"},"suggested_questions_description":{"type":"string","title":"Suggested Questions Description"},"suggested_questions":{"items":{"type":"string"},"type":"array","title":"Suggested Questions"},"generated_answer_message":{"type":"string","title":"Generated Answer Message"},"ai_disclaimer":{"type":"string","title":"Ai Disclaimer"}},"type":"object","required":["title","input_placeholder","submit_button_text","suggested_questions_title","suggested_questions_description","generated_answer_message","ai_disclaimer"],"title":"SearchTranslationAPI"},"SearchesResult":{"properties":{"query":{"type":"string","title":"Query"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["query","count"],"title":"SearchesResult","description":"Model for search query counts."},"SelectFieldAPI":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"required":{"type":"boolean","title":"Required","default":false},"field_type":{"type":"string","const":"select","title":"Field Type","default":"select"},"enum":{"items":{"type":"string"},"type":"array","title":"Enum"}},"type":"object","required":["name","enum"],"title":"SelectFieldAPI"},"SendEmailToolArguments":{"properties":{"object":{"type":"string","const":"send_email_tool_arguments","title":"Object","default":"send_email_tool_arguments"},"sender_email":{"type":"string","format":"email","title":"Sender Email"}},"type":"object","required":["sender_email"],"title":"SendEmailToolArguments"},"SentimentResult":{"properties":{"positive":{"type":"integer","title":"Positive","default":0},"negative":{"type":"integer","title":"Negative","default":0},"neutral":{"type":"integer","title":"Neutral","default":0}},"type":"object","title":"SentimentResult","description":"Model for sentiment analysis results."},"SentimentType":{"type":"string","enum":["positive","negative","neutral"],"title":"SentimentType"},"SessionAPI":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"pk":{"type":"string","format":"uuid","title":"Pk"},"embed_type":{"anyOf":[{"$ref":"#/components/schemas/EmbedType"},{"type":"null"}]},"start_timestamp":{"anyOf":[{"type":"string"},{"type":"string","format":"date-time"}],"title":"Start Timestamp"},"status":{"anyOf":[{"type":"string","enum":["active","closed","abandoned"]},{"type":"null"}],"title":"Status"},"history":{"items":{"oneOf":[{"$ref":"#/components/schemas/NavigationRequestItem"},{"$ref":"#/components/schemas/SearchRequestItem"},{"$ref":"#/components/schemas/QARequestItem"},{"$ref":"#/components/schemas/SARequestItem"},{"$ref":"#/components/schemas/FormSubmissionItem"},{"$ref":"#/components/schemas/ClickEventItem"},{"$ref":"#/components/schemas/VoiceRequestItem"},{"$ref":"#/components/schemas/FormRequestItem"},{"$ref":"#/components/schemas/FormRoutingRequestItem"}]},"type":"array","title":"History","default":[]},"preview":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preview"},"with_interaction":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"With Interaction"},"interactions":{"anyOf":[{"items":{"$ref":"#/components/schemas/UIInteractionType"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Interactions"},"tool_calls":{"anyOf":[{"items":{"type":"string"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Tool Calls"}},"type":"object","required":["id","pk","start_timestamp"],"title":"SessionAPI"},"SessionCreateRequest":{"properties":{"navigator_id":{"type":"string","format":"uuid","title":"Navigator Id"},"id":{"type":"string","format":"uuid","title":"Id"},"embed_type":{"$ref":"#/components/schemas/EmbedType"}},"type":"object","required":["navigator_id","id","embed_type"],"title":"SessionCreateRequest"},"SessionHistoryAPI":{"properties":{"items":{"items":{"$ref":"#/components/schemas/SessionAPI"},"type":"array","title":"Items"},"total_items":{"type":"integer","title":"Total Items"}},"type":"object","required":["items","total_items"],"title":"SessionHistoryAPI"},"SessionMetrics":{"properties":{"total_interactions":{"type":"integer","title":"Total Interactions"},"chat_interactions":{"type":"integer","title":"Chat Interactions"},"navigation_interactions":{"type":"integer","title":"Navigation Interactions"},"search_interactions":{"type":"integer","title":"Search Interactions"}},"type":"object","required":["total_interactions","chat_interactions","navigation_interactions","search_interactions"],"title":"SessionMetrics"},"SessionMetricsAPI":{"properties":{"time_period_days":{"type":"integer","title":"Time Period Days"},"current_period":{"$ref":"#/components/schemas/SessionMetrics"},"prior_period":{"$ref":"#/components/schemas/SessionMetrics"},"change":{"$ref":"#/components/schemas/SessionMetricsChange"}},"type":"object","required":["time_period_days","current_period","prior_period","change"],"title":"SessionMetricsAPI"},"SessionMetricsChange":{"properties":{"total_interactions":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Interactions"},"chat_interactions":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Chat Interactions"},"navigation_interactions":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Navigation Interactions"},"search_interactions":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Search Interactions"}},"type":"object","required":["total_interactions","chat_interactions","navigation_interactions","search_interactions"],"title":"SessionMetricsChange"},"SessionPersonalizationSettings":{"properties":{"suggested_questions":{"anyOf":[{"$ref":"#/components/schemas/SuggestedQuestionsPersonalization"},{"type":"null"}]}},"type":"object","title":"SessionPersonalizationSettings","description":"Per-application session personalization config.\n\nEach element type has its own optional sub-config."},"SparseEmbeddingModel":{"type":"string","enum":["bm25"],"title":"SparseEmbeddingModel"},"StickySearchbarPosition":{"type":"string","enum":["top","bottom"],"title":"StickySearchbarPosition"},"StringFieldAPI":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"required":{"type":"boolean","title":"Required","default":false},"field_type":{"type":"string","const":"string","title":"Field Type","default":"string"},"format":{"type":"string","enum":["text","email","tel"],"title":"Format","description":"HTML input type","default":"text"}},"type":"object","required":["name"],"title":"StringFieldAPI"},"SuggestedQuestionsPersonalization":{"properties":{"enabled":{"type":"boolean","title":"Enabled","default":false}},"type":"object","title":"SuggestedQuestionsPersonalization"},"SuggestedQuestionsReponse":{"properties":{"questions":{"items":{"type":"string"},"type":"array","title":"Questions","description":"List of suggested questions users might ask the AI."}},"type":"object","title":"SuggestedQuestionsReponse"},"SuggestedQuestionsRequest":{"properties":{"session_id":{"type":"string","title":"Session Id"},"navigator_id":{"type":"string","title":"Navigator Id"},"url":{"type":"string","minLength":1,"format":"uri","title":"Url"},"locale":{"type":"string","title":"Locale"},"browser_locale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Browser Locale"},"embed_type":{"$ref":"#/components/schemas/EmbedType"}},"type":"object","required":["session_id","navigator_id","url","locale","embed_type"],"title":"SuggestedQuestionsRequest"},"SuggestedQuestionsResponseAPI":{"properties":{"questions":{"items":{"type":"string"},"type":"array","title":"Questions","description":"List of suggested questions users might ask the chatbot"},"content_hashes":{"items":{"type":"string"},"type":"array","title":"Content Hashes","description":"Hashes of the content used to generate the suggested questions"},"vertex_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Vertex Ids","description":"IDs of the vertices used to generate the suggested questions"},"id":{"type":"string","format":"uuid","title":"Id"},"application_id":{"type":"string","format":"uuid","title":"Application Id","description":"The ID of the application"},"url":{"type":"string","minLength":1,"format":"uri","title":"Url","description":"The URL associated with the node"},"locale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locale","description":"The locale of the suggested questions"},"session_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Session Id","description":"The session ID if these questions are personalized for a specific session"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp","description":"When the suggested questions were generated"}},"type":"object","required":["questions","id","application_id","url","timestamp"],"title":"SuggestedQuestionsResponseAPI","description":"Response containing suggested questions for a node."},"SuggestedQuestionsStrategy":{"type":"string","enum":["manual","dynamic_from_page"],"title":"SuggestedQuestionsStrategy"},"TagCount":{"properties":{"tag":{"type":"string","title":"Tag"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["tag","count"],"title":"TagCount","description":"Model for tag occurrence counts from chat requests."},"TagsDisplaySource":{"type":"string","enum":["custom_metadata","page_metadata"],"title":"TagsDisplaySource"},"TextAreaFieldAPI":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"required":{"type":"boolean","title":"Required","default":false},"field_type":{"type":"string","const":"text_area","title":"Field Type","default":"text_area"},"format":{"type":"string","const":"text","title":"Format","description":"HTML input type","default":"text"}},"type":"object","required":["name"],"title":"TextAreaFieldAPI"},"TimeFieldAPI":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"required":{"type":"boolean","title":"Required","default":false},"field_type":{"type":"string","const":"time","title":"Field Type","default":"time"},"format":{"type":"string","const":"time","title":"Format","default":"time"}},"type":"object","required":["name"],"title":"TimeFieldAPI"},"TimeFilterType":{"type":"string","enum":["this_month","this_year","last_month","last_30_days","last_6_months","last_12_months"],"title":"TimeFilterType"},"TokenEndpointConfig":{"properties":{"token_url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Token Url"},"method":{"type":"string","enum":["POST","GET"],"title":"Method","description":"HTTP method for the token request: 'POST' (default) or 'GET'.","default":"POST"},"auth_scheme":{"type":"string","enum":["body","basic_auth"],"title":"Auth Scheme","description":"How credentials are sent to the token endpoint: 'body' (default) or 'basic_auth'.","default":"body"},"body_type":{"type":"string","enum":["json","form_urlencoded"],"title":"Body Type","description":"Request body format: 'json' (default) or 'form_urlencoded'.","default":"json"},"payload_template":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Payload Template","description":"Login request body. Mustache placeholders like {{api_key}} reference credential fields. Defaults to posting the credentials directly."},"credential_headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Credential Headers","description":"Extra headers for the login request. Mustache placeholders like {{api_key}} reference credential fields."},"token_source":{"type":"string","enum":["body","cookie"],"title":"Token Source","description":"Source to extract the token from: 'body' (JSON response) or 'cookie' (Set-Cookie response header).","default":"body"},"cookie_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cookie Name","description":"Name of the cookie to extract when token_source='cookie'."},"token_field":{"type":"string","title":"Token Field","description":"Dot-notation path to the bearer token in the login response.","default":"access_token"},"expiry_field":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expiry Field","description":"Dot-notation path to the token lifetime in seconds. Set to None if the response has no expiry.","default":"expires_in"},"header_format":{"type":"string","title":"Header Format","description":"Header injected into authenticated requests. Must contain {{token}}.","default":"Authorization: Bearer {{token}}"}},"type":"object","required":["token_url"],"title":"TokenEndpointConfig","description":"Configuration of the login endpoint a token_endpoint integration authenticates against."},"TokenEndpointIntegrationCreate":{"properties":{"provider":{"type":"string","const":"token_endpoint","title":"Provider"},"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name"},"credentials":{"oneOf":[{"$ref":"#/components/schemas/APIKeyTokenCredentials"},{"$ref":"#/components/schemas/UserPasswordTokenCredentials"}],"title":"Credentials","discriminator":{"propertyName":"credential_type","mapping":{"api_key":"#/components/schemas/APIKeyTokenCredentials","user_password":"#/components/schemas/UserPasswordTokenCredentials"}}},"config":{"$ref":"#/components/schemas/TokenEndpointConfig"}},"type":"object","required":["provider","credentials","config"],"title":"TokenEndpointIntegrationCreate"},"TokenSSEEvent":{"properties":{"event":{"type":"string","const":"token","title":"Event","default":"token"},"data":{"type":"string","title":"Data","description":"Raw text token"}},"type":"object","required":["data"],"title":"TokenSSEEvent"},"ToolAPI":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"application_id":{"type":"string","format":"uuid","title":"Application Id"},"tool_type":{"$ref":"#/components/schemas/ToolType"},"active":{"type":"boolean","title":"Active"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"tool_config":{"anyOf":[{"$ref":"#/components/schemas/FormAPISchema"},{"$ref":"#/components/schemas/APIToolConfig-Output"},{"type":"null"}],"title":"Tool Config","description":"Configuration for actual tool that is sent to LLM as a function."},"function_arguments":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/KnowledgeBaseToolArguments"},{"$ref":"#/components/schemas/NodeLookupToolArguments"},{"$ref":"#/components/schemas/SendEmailToolArguments"},{"$ref":"#/components/schemas/WebSearchToolArguments"},{"$ref":"#/components/schemas/WebPageReaderToolArguments"},{"$ref":"#/components/schemas/FormToolArguments"},{"$ref":"#/components/schemas/VenusKnowledgeGraphToolArguments-Output"},{"$ref":"#/components/schemas/RegiondoToolArguments-Output"},{"$ref":"#/components/schemas/MCPServerToolArguments-Output"},{"$ref":"#/components/schemas/APIToolArguments-Output"},{"$ref":"#/components/schemas/ButtonsToolArguments-Output"},{"$ref":"#/components/schemas/GoogleMapsLinkToolArguments"},{"$ref":"#/components/schemas/GoogleMapsEmbedToolArguments"},{"$ref":"#/components/schemas/CalendlyToolArguments"}],"discriminator":{"propertyName":"object","mapping":{"api_tool_arguments":"#/components/schemas/APIToolArguments-Output","buttons_tool_arguments":"#/components/schemas/ButtonsToolArguments-Output","calendly_tool_arguments":"#/components/schemas/CalendlyToolArguments","form_tool_arguments":"#/components/schemas/FormToolArguments","google_maps_embed_tool_arguments":"#/components/schemas/GoogleMapsEmbedToolArguments","google_maps_link_tool_arguments":"#/components/schemas/GoogleMapsLinkToolArguments","knowledge_base_tool_arguments":"#/components/schemas/KnowledgeBaseToolArguments","mcp_server_tool_arguments":"#/components/schemas/MCPServerToolArguments-Output","node_lookup_tool_arguments":"#/components/schemas/NodeLookupToolArguments","regiondo_tool_arguments":"#/components/schemas/RegiondoToolArguments-Output","send_email_tool_arguments":"#/components/schemas/SendEmailToolArguments","venus_knowledge_graph_tool_arguments":"#/components/schemas/VenusKnowledgeGraphToolArguments-Output","web_page_reader_tool_arguments":"#/components/schemas/WebPageReaderToolArguments","web_search_tool_arguments":"#/components/schemas/WebSearchToolArguments"}}},{"type":"null"}],"title":"Function Arguments","description":"Additional arguments when calling the actual function."},"agents":{"items":{"$ref":"#/components/schemas/AgentType"},"type":"array","uniqueItems":true,"title":"Agents","description":"Set of agents that can use this tool."}},"type":"object","required":["id","application_id","tool_type","active","name","description"],"title":"ToolAPI"},"ToolAPICreate":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"application_id":{"type":"string","format":"uuid","title":"Application Id"},"tool_type":{"$ref":"#/components/schemas/ToolType"},"active":{"type":"boolean","title":"Active","default":true},"name":{"type":"string","pattern":"^[a-z0-9_]{1,64}$","title":"Name"},"description":{"type":"string","title":"Description"},"tool_config":{"anyOf":[{"$ref":"#/components/schemas/FormAPISchema"},{"$ref":"#/components/schemas/APIToolConfig-Input"},{"type":"null"}],"title":"Tool Config","description":"Configuration for actual tool that is sent to LLM as a function."},"function_arguments":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/KnowledgeBaseToolArguments"},{"$ref":"#/components/schemas/NodeLookupToolArguments"},{"$ref":"#/components/schemas/SendEmailToolArguments"},{"$ref":"#/components/schemas/WebSearchToolArguments"},{"$ref":"#/components/schemas/WebPageReaderToolArguments"},{"$ref":"#/components/schemas/FormToolArguments"},{"$ref":"#/components/schemas/VenusKnowledgeGraphToolArguments-Input"},{"$ref":"#/components/schemas/RegiondoToolArguments-Input"},{"$ref":"#/components/schemas/MCPServerToolArguments-Input"},{"$ref":"#/components/schemas/APIToolArguments-Input"},{"$ref":"#/components/schemas/ButtonsToolArguments-Input"},{"$ref":"#/components/schemas/GoogleMapsLinkToolArguments"},{"$ref":"#/components/schemas/GoogleMapsEmbedToolArguments"},{"$ref":"#/components/schemas/CalendlyToolArguments"}],"discriminator":{"propertyName":"object","mapping":{"api_tool_arguments":"#/components/schemas/APIToolArguments-Input","buttons_tool_arguments":"#/components/schemas/ButtonsToolArguments-Input","calendly_tool_arguments":"#/components/schemas/CalendlyToolArguments","form_tool_arguments":"#/components/schemas/FormToolArguments","google_maps_embed_tool_arguments":"#/components/schemas/GoogleMapsEmbedToolArguments","google_maps_link_tool_arguments":"#/components/schemas/GoogleMapsLinkToolArguments","knowledge_base_tool_arguments":"#/components/schemas/KnowledgeBaseToolArguments","mcp_server_tool_arguments":"#/components/schemas/MCPServerToolArguments-Input","node_lookup_tool_arguments":"#/components/schemas/NodeLookupToolArguments","regiondo_tool_arguments":"#/components/schemas/RegiondoToolArguments-Input","send_email_tool_arguments":"#/components/schemas/SendEmailToolArguments","venus_knowledge_graph_tool_arguments":"#/components/schemas/VenusKnowledgeGraphToolArguments-Input","web_page_reader_tool_arguments":"#/components/schemas/WebPageReaderToolArguments","web_search_tool_arguments":"#/components/schemas/WebSearchToolArguments"}}},{"type":"null"}],"title":"Function Arguments","description":"Additional arguments when calling the actual function."},"agents":{"items":{"$ref":"#/components/schemas/AgentType"},"type":"array","uniqueItems":true,"title":"Agents","description":"Set of agents that can use this tool."}},"type":"object","required":["application_id","tool_type","name","description"],"title":"ToolAPICreate"},"ToolAddRecommendation":{"properties":{"type":{"type":"string","const":"tool:add","title":"Type","default":"tool:add"},"reasoning":{"type":"string","title":"Reasoning","description":"Why the change is needed and what effect it will have."},"name":{"type":"string","title":"Name"},"tool_description":{"type":"string","title":"Tool Description","description":"The proposed tool's description (clear trigger conditions)."},"function_arguments":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Function Arguments","description":"Proposed tool config / function arguments."}},"type":"object","required":["reasoning","name","tool_description"],"title":"ToolAddRecommendation"},"ToolCall":{"properties":{"tool_call_id":{"type":"string","title":"Tool Call Id"},"tool_id":{"type":"string","title":"Tool Id"},"tool_name":{"type":"string","title":"Tool Name"},"tool_type":{"$ref":"#/components/schemas/ToolTypeDB"},"arguments":{"type":"string","title":"Arguments"},"content":{"type":"string","title":"Content"}},"type":"object","required":["tool_call_id","tool_id","tool_name","tool_type","arguments","content"],"title":"ToolCall","description":"branchly Tool Call saved in session history"},"ToolCallEventAPI":{"properties":{"tool_name":{"type":"string","title":"Tool Name"},"tool_call_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool Call Id"},"status":{"type":"string","enum":["started","completed"],"title":"Status","default":"started"},"arguments":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"},{"type":"null"}],"title":"Arguments"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["tool_name"],"title":"ToolCallEventAPI","description":"Event model to signal tool call execution state to the frontend."},"ToolCallSSEEvent":{"properties":{"event":{"type":"string","const":"tool_call","title":"Event","default":"tool_call"},"data":{"$ref":"#/components/schemas/ToolCallEventAPI"}},"type":"object","required":["data"],"title":"ToolCallSSEEvent"},"ToolType":{"type":"string","enum":["knowledge_base","openAPI","node_lookup","send_email","form","contact_information","web_search","web_page_reader","weather","venus_knowledge_graph","regiondo","mcp_server","api","buttons","google_maps_link","google_maps_embed","calendly"],"title":"ToolType"},"ToolTypeDB":{"type":"string","enum":["contact_information","form","knowledge_base","node_lookup","venus_knowledge_graph","send_email","openAPI","weather","web_page_reader","web_search","regiondo","mcp_server","api","buttons","google_maps_link","google_maps_embed","calendly","fallback","further_instructions"],"title":"ToolTypeDB"},"ToolUpdateRecommendation":{"properties":{"type":{"type":"string","const":"tool:update","title":"Type","default":"tool:update"},"reasoning":{"type":"string","title":"Reasoning","description":"Why the change is needed and what effect it will have."},"tool_id":{"type":"string","format":"uuid","title":"Tool Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"tool_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool Description","description":"The tool's new description (clear trigger conditions for the routing agent)."},"active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Active"},"function_arguments":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Function Arguments","description":"Retrieval/config changes, e.g. document_limit_default, retrieval_method, data_source_ids_filter."}},"type":"object","required":["reasoning","tool_id"],"title":"ToolUpdateRecommendation"},"TopPathResult":{"properties":{"path":{"type":"string","title":"Path"},"sessions":{"type":"integer","title":"Sessions"},"is_contact_in_path":{"type":"boolean","title":"Is Contact In Path"},"path_length":{"type":"integer","title":"Path Length"}},"type":"object","required":["path","sessions","is_contact_in_path","path_length"],"title":"TopPathResult"},"TriageResponseAPI":{"properties":{"chat_request_id":{"type":"string","format":"uuid","title":"Chat Request Id"},"session_id":{"type":"string","format":"uuid","title":"Session Id"},"application_id":{"type":"string","format":"uuid","title":"Application Id"},"resolution_type":{"type":"string","enum":["Manual FAQ Node","Amended Output Prompt","Adjusted AI Action Params","Amended Routing Prompt","Other","Code Adjustments","Adjust Customer Web Page Settings","Adjust Data Source","Create AI Action","Deleted Cached Response","Ignore","Bugfix","No Action","Technical","Delete Outdated Pages"],"title":"Resolution Type"},"recommendations":{"items":{"oneOf":[{"$ref":"#/components/schemas/PromptUpdateRecommendation"},{"$ref":"#/components/schemas/DataSourceUpdateRecommendation"},{"$ref":"#/components/schemas/NodeAddRecommendation"},{"$ref":"#/components/schemas/ToolUpdateRecommendation"},{"$ref":"#/components/schemas/ToolAddRecommendation"}],"discriminator":{"propertyName":"type","mapping":{"data_source:update":"#/components/schemas/DataSourceUpdateRecommendation","node:add":"#/components/schemas/NodeAddRecommendation","prompt:update":"#/components/schemas/PromptUpdateRecommendation","tool:add":"#/components/schemas/ToolAddRecommendation","tool:update":"#/components/schemas/ToolUpdateRecommendation"}}},"type":"array","title":"Recommendations"},"analysis":{"type":"string","title":"Analysis"},"meta":{"additionalProperties":true,"type":"object","title":"Meta"}},"type":"object","required":["chat_request_id","session_id","application_id","resolution_type","recommendations","analysis"],"title":"TriageResponseAPI"},"UIInteractionType":{"type":"string","enum":["navigation","search","chat","form_submission","voice"],"title":"UIInteractionType"},"UnavailableSourcePolicy":{"type":"string","enum":["ignore","delete_unavailable"],"title":"UnavailableSourcePolicy","description":"Policy for handling unavailable URLs during data source sync."},"UserPasswordTokenCredentials":{"properties":{"credential_type":{"type":"string","const":"user_password","title":"Credential Type"},"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"}},"type":"object","required":["credential_type","username","password"],"title":"UserPasswordTokenCredentials","description":"Username/password exchanged for a bearer token at the login endpoint."},"UserPreferencesAPI":{"properties":{"weekly_digest":{"type":"boolean","title":"Weekly Digest","default":false}},"type":"object","title":"UserPreferencesAPI"},"UserPreferencesUpdate":{"properties":{"weekly_digest":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Weekly Digest"}},"type":"object","title":"UserPreferencesUpdate"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VenusKnowledgeGraphToolArguments-Input":{"properties":{"object":{"type":"string","const":"venus_knowledge_graph_tool_arguments","title":"Object","default":"venus_knowledge_graph_tool_arguments"},"projects":{"type":"string","title":"Projects"},"channels":{"type":"string","title":"Channels"},"entity_type":{"type":"string","const":"Event","title":"Entity Type","default":"Event"},"domain":{"type":"string","title":"Domain"},"event":{"anyOf":[{"$ref":"#/components/schemas/FrontendEventMapping"},{"type":"null"}],"description":"Optional frontend event mapping."}},"type":"object","required":["projects","channels","domain"],"title":"VenusKnowledgeGraphToolArguments"},"VenusKnowledgeGraphToolArguments-Output":{"properties":{"object":{"type":"string","const":"venus_knowledge_graph_tool_arguments","title":"Object","default":"venus_knowledge_graph_tool_arguments"},"projects":{"type":"string","title":"Projects"},"channels":{"type":"string","title":"Channels"},"entity_type":{"type":"string","const":"Event","title":"Entity Type","default":"Event"},"domain":{"type":"string","title":"Domain"},"event":{"anyOf":[{"$ref":"#/components/schemas/FrontendEventMapping"},{"type":"null"}],"description":"Optional frontend event mapping."}},"type":"object","required":["projects","channels","domain"],"title":"VenusKnowledgeGraphToolArguments"},"VertexAPI-Input":{"properties":{"id":{"type":"string","title":"Id"},"pk":{"type":"string","title":"Pk"},"label":{"$ref":"#/components/schemas/VertexType"},"title":{"additionalProperties":{"type":"string"},"type":"object","title":"Title"},"text":{"additionalProperties":{"type":"string"},"type":"object","title":"Text"},"icon_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon Url"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"data_source_type":{"anyOf":[{"$ref":"#/components/schemas/DataSourceType"},{"type":"null"}]},"data_source_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Source Id"},"tool_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool Id"},"page_metadata":{"anyOf":[{"$ref":"#/components/schemas/PageMetadata"},{"type":"null"}]},"custom_metadata":{"additionalProperties":true,"type":"object","title":"Custom Metadata"},"score_boost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Score Boost"},"manual_suggested_questions":{"anyOf":[{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},{"type":"null"}],"title":"Manual Suggested Questions"},"content_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Hash"},"quality_metrics":{"anyOf":[{"$ref":"#/components/schemas/PageQualityMetrics"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","pk","label","title","text"],"title":"VertexAPI"},"VertexAPI-Output":{"properties":{"id":{"type":"string","title":"Id"},"pk":{"type":"string","title":"Pk"},"label":{"$ref":"#/components/schemas/VertexType"},"title":{"additionalProperties":{"type":"string"},"type":"object","title":"Title"},"text":{"additionalProperties":{"type":"string"},"type":"object","title":"Text"},"icon_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon Url"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"data_source_type":{"anyOf":[{"$ref":"#/components/schemas/DataSourceType"},{"type":"null"}]},"data_source_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Source Id"},"tool_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool Id"},"page_metadata":{"anyOf":[{"$ref":"#/components/schemas/PageMetadata"},{"type":"null"}]},"custom_metadata":{"additionalProperties":true,"type":"object","title":"Custom Metadata"},"score_boost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Score Boost"},"manual_suggested_questions":{"anyOf":[{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},{"type":"null"}],"title":"Manual Suggested Questions"},"content_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Hash"},"quality_metrics":{"anyOf":[{"$ref":"#/components/schemas/PageQualityMetrics"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","pk","label","title","text"],"title":"VertexAPI"},"VertexAPICreate":{"properties":{"pk":{"type":"string","title":"Pk"},"label":{"$ref":"#/components/schemas/VertexType"},"title":{"additionalProperties":{"type":"string"},"type":"object","title":"Title"},"text":{"additionalProperties":{"type":"string"},"type":"object","title":"Text"},"icon_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon Url"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"data_source_type":{"anyOf":[{"$ref":"#/components/schemas/DataSourceType"},{"type":"null"}]},"data_source_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Source Id"},"tool_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool Id"},"page_metadata":{"anyOf":[{"$ref":"#/components/schemas/PageMetadata"},{"type":"null"}]},"custom_metadata":{"additionalProperties":true,"type":"object","title":"Custom Metadata"},"score_boost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Score Boost"},"manual_suggested_questions":{"anyOf":[{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},{"type":"null"}],"title":"Manual Suggested Questions"}},"type":"object","required":["pk","label","title","text"],"title":"VertexAPICreate"},"VertexAPIInShort":{"properties":{"id":{"type":"string","title":"Id"},"label":{"anyOf":[{"$ref":"#/components/schemas/VertexType"},{"type":"null"}]},"title":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Title"},"icon_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon Url"}},"type":"object","required":["id"],"title":"VertexAPIInShort"},"VertexAPIOut":{"properties":{"id":{"type":"string","title":"Id"},"pk":{"type":"string","title":"Pk"},"label":{"$ref":"#/components/schemas/VertexType"},"title":{"additionalProperties":{"type":"string"},"type":"object","title":"Title"},"text":{"additionalProperties":{"type":"string"},"type":"object","title":"Text"},"icon_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon Url"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"form":{"anyOf":[{"$ref":"#/components/schemas/FormAPI-Output"},{"type":"null"}]}},"type":"object","required":["id","pk","label"],"title":"VertexAPIOut"},"VertexAPIOutShort":{"properties":{"id":{"type":"string","title":"Id"},"label":{"$ref":"#/components/schemas/VertexType"},"title":{"additionalProperties":{"type":"string"},"type":"object","title":"Title"},"icon_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon Url"}},"type":"object","required":["id","label"],"title":"VertexAPIOutShort"},"VertexAPIOutText":{"properties":{"id":{"type":"string","title":"Id"},"label":{"$ref":"#/components/schemas/VertexType"},"title":{"additionalProperties":{"type":"string"},"type":"object","title":"Title"},"icon_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon Url"},"text":{"additionalProperties":{"type":"string"},"type":"object","title":"Text"},"form":{"anyOf":[{"$ref":"#/components/schemas/FormAPI-Output"},{"type":"null"}]}},"type":"object","required":["id","label"],"title":"VertexAPIOutText"},"VertexAPIUpdate":{"properties":{"id":{"type":"string","title":"Id"},"pk":{"type":"string","title":"Pk"},"label":{"$ref":"#/components/schemas/VertexType"},"title":{"additionalProperties":{"type":"string"},"type":"object","title":"Title"},"text":{"additionalProperties":{"type":"string"},"type":"object","title":"Text"},"icon_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon Url"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"data_source_type":{"anyOf":[{"$ref":"#/components/schemas/DataSourceType"},{"type":"null"}],"default":"node_editor"},"data_source_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Source Id"},"tool_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool Id"},"page_metadata":{"anyOf":[{"$ref":"#/components/schemas/PageMetadata"},{"type":"null"}]},"custom_metadata":{"additionalProperties":true,"type":"object","title":"Custom Metadata"},"score_boost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Score Boost"},"manual_suggested_questions":{"anyOf":[{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},{"type":"null"}],"title":"Manual Suggested Questions"}},"additionalProperties":false,"type":"object","required":["id","pk","label","title","text"],"title":"VertexAPIUpdate"},"VertexSummary":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"}},"type":"object","required":["id"],"title":"VertexSummary"},"VertexType":{"type":"string","enum":["entry","content","contact","tool","fallback","integration","style","chat_navigator_style","search_style","search_result","navigator","feedback"],"title":"VertexType"},"VerticesAPI":{"properties":{"items":{"items":{"$ref":"#/components/schemas/VertexAPI-Output"},"type":"array","title":"Items"},"total_items":{"type":"integer","title":"Total Items"}},"type":"object","required":["items","total_items"],"title":"VerticesAPI"},"VerticesSummaryResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/VertexSummary"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"VerticesSummaryResponse"},"VoiceRequestItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"type":{"$ref":"#/components/schemas/EmbedRequestType","default":"voice"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp","description":"Timestamp of the interaction"},"query":{"type":"string","title":"Query","description":"User query or prompt"},"answer":{"type":"string","title":"Answer","description":"System response"}},"type":"object","required":["query","answer"],"title":"VoiceRequestItem"},"WebMCPExecRequest":{"properties":{"application_id":{"type":"string","format":"uuid","title":"Application Id"},"session_id":{"type":"string","format":"uuid","title":"Session Id"},"tool_name":{"type":"string","title":"Tool Name"},"args":{"additionalProperties":true,"type":"object","title":"Args"},"locale":{"type":"string","title":"Locale"},"browser_locale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Browser Locale"},"embed_type":{"$ref":"#/components/schemas/EmbedType"}},"type":"object","required":["application_id","session_id","tool_name","locale","embed_type"],"title":"WebMCPExecRequest"},"WebMCPExecResponse":{"properties":{"result":{"type":"string","title":"Result"}},"type":"object","required":["result"],"title":"WebMCPExecResponse"},"WebMCPToolDefinitionAPI":{"properties":{"name":{"type":"string","title":"Name"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"inputSchema":{"additionalProperties":true,"type":"object","title":"Inputschema"}},"type":"object","required":["name","title","description","inputSchema"],"title":"WebMCPToolDefinitionAPI"},"WebMCPToolsResponse":{"properties":{"tools":{"items":{"$ref":"#/components/schemas/WebMCPToolDefinitionAPI"},"type":"array","title":"Tools"}},"type":"object","required":["tools"],"title":"WebMCPToolsResponse"},"WebPageReaderToolArguments":{"properties":{"object":{"type":"string","const":"web_page_reader_tool_arguments","title":"Object","default":"web_page_reader_tool_arguments"},"url":{"type":"string","title":"Url"},"target_selector":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Selector","description":"Only returns elements from CSS selector."},"wait_for_selector":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wait For Selector","description":"Wait for a specific element to appear before returning. For dynamic content."}},"type":"object","required":["url"],"title":"WebPageReaderToolArguments"},"WebSearchToolArguments":{"properties":{"object":{"type":"string","const":"web_search_tool_arguments","title":"Object","default":"web_search_tool_arguments"},"limit":{"type":"integer","title":"Limit","default":5}},"type":"object","title":"WebSearchToolArguments"},"WebhookAppCreate":{"properties":{"pk":{"type":"string","title":"Pk"},"name":{"type":"string","title":"Name"}},"type":"object","required":["pk","name"],"title":"WebhookAppCreate"},"WebhookSettings-Input":{"properties":{"type":{"type":"string","const":"webhook","title":"Type","default":"webhook"},"data_template_mapping":{"anyOf":[{"$ref":"#/components/schemas/DataTemplateMapper-Input"},{"type":"null"}],"description":"Optional template mapping for custom webhook payloads. If provided, incoming data will be mapped to internal format."}},"type":"object","title":"WebhookSettings","description":"Settings for webhook data source."},"WebhookSettings-Output":{"properties":{"type":{"type":"string","const":"webhook","title":"Type","default":"webhook"},"data_template_mapping":{"anyOf":[{"$ref":"#/components/schemas/DataTemplateMapper-Output"},{"type":"null"}],"description":"Optional template mapping for custom webhook payloads. If provided, incoming data will be mapped to internal format."}},"type":"object","title":"WebhookSettings","description":"Settings for webhook data source."},"WebsiteCrawlerSettingsCreate-Input":{"properties":{"type":{"type":"string","const":"website_crawler","title":"Type","default":"website_crawler"},"crawler_type":{"$ref":"#/components/schemas/CrawlerType","default":"cheerio"},"actor":{"$ref":"#/components/schemas/Actor","default":"apify/website-content-crawler"},"urls":{"$ref":"#/components/schemas/ApifyStartURLs"},"max_pages_per_crawl":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Pages Per Crawl","default":30},"max_crawl_depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Crawl Depth","default":20},"include_url_globs":{"items":{"type":"string"},"type":"array","title":"Include Url Globs"},"exclude_url_globs":{"items":{"type":"string"},"type":"array","title":"Exclude Url Globs"},"ignore_errors":{"type":"boolean","title":"Ignore Errors","description":"Ignore any page-specific errors (Lang-Tab not available, status code etc.) and continue crawling.","default":false},"ignore_canonical_url":{"type":"boolean","title":"Ignore Canonical Url","description":"Ignore canonical URLs when crawling if they are incorrectly defined or the crawler should consider Query Parameters as well.","default":false},"remove_html_elements":{"type":"string","title":"Remove Html Elements","description":"List of CSS selectors to remove from the HTML content. List should be separated by commas.","default":"footer, div.footer, #footer, header, div.pageheader, #pageheader, script, style, noscript, svg, [role=\"alert\"], [role=\"banner\"], [role=\"dialog\"], [role=\"alertdialog\"], [role=\"region\"][aria-label*=\"skip\" i], [aria-modal=\"true\"], #branchly-chat-widget-container, #branchly-embed-container, #branchly-chat-embed-container, #branchly-search-interface-container"},"filters":{"anyOf":[{"$ref":"#/components/schemas/PageMetadataFilters-Input"},{"type":"null"}]},"title_suffix_to_remove":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title Suffix To Remove","description":"Remove suffix or prefix from page titles."},"custom_tags":{"items":{"type":"string"},"type":"array","title":"Custom Tags","description":"Tags defined by the user that are displayed as badges in frontend. Applies to all pages crawled with this data source."},"unavailable_source_policy":{"anyOf":[{"$ref":"#/components/schemas/UnavailableSourcePolicy"},{"type":"null"}],"description":"Policy for handling unavailable Sources/URLs during data source run.","default":"delete_unavailable"}},"type":"object","required":["urls"],"title":"WebsiteCrawlerSettingsCreate"},"WebsiteCrawlerSettingsCreate-Output":{"properties":{"type":{"type":"string","const":"website_crawler","title":"Type","default":"website_crawler"},"crawler_type":{"$ref":"#/components/schemas/CrawlerType","default":"cheerio"},"actor":{"$ref":"#/components/schemas/Actor","default":"apify/website-content-crawler"},"urls":{"$ref":"#/components/schemas/ApifyStartURLs"},"max_pages_per_crawl":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Pages Per Crawl","default":30},"max_crawl_depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Crawl Depth","default":20},"include_url_globs":{"items":{"type":"string"},"type":"array","title":"Include Url Globs"},"exclude_url_globs":{"items":{"type":"string"},"type":"array","title":"Exclude Url Globs"},"ignore_errors":{"type":"boolean","title":"Ignore Errors","description":"Ignore any page-specific errors (Lang-Tab not available, status code etc.) and continue crawling.","default":false},"ignore_canonical_url":{"type":"boolean","title":"Ignore Canonical Url","description":"Ignore canonical URLs when crawling if they are incorrectly defined or the crawler should consider Query Parameters as well.","default":false},"remove_html_elements":{"type":"string","title":"Remove Html Elements","description":"List of CSS selectors to remove from the HTML content. List should be separated by commas.","default":"footer, div.footer, #footer, header, div.pageheader, #pageheader, script, style, noscript, svg, [role=\"alert\"], [role=\"banner\"], [role=\"dialog\"], [role=\"alertdialog\"], [role=\"region\"][aria-label*=\"skip\" i], [aria-modal=\"true\"], #branchly-chat-widget-container, #branchly-embed-container, #branchly-chat-embed-container, #branchly-search-interface-container"},"filters":{"anyOf":[{"$ref":"#/components/schemas/PageMetadataFilters-Output"},{"type":"null"}]},"title_suffix_to_remove":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title Suffix To Remove","description":"Remove suffix or prefix from page titles."},"custom_tags":{"items":{"type":"string"},"type":"array","title":"Custom Tags","description":"Tags defined by the user that are displayed as badges in frontend. Applies to all pages crawled with this data source."},"unavailable_source_policy":{"anyOf":[{"$ref":"#/components/schemas/UnavailableSourcePolicy"},{"type":"null"}],"description":"Policy for handling unavailable Sources/URLs during data source run.","default":"delete_unavailable"}},"type":"object","required":["urls"],"title":"WebsiteCrawlerSettingsCreate"},"WordPressIntegrationCreate":{"properties":{"provider":{"type":"string","const":"wordpress","title":"Provider"},"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name"},"base_url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Base Url"},"site_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Site Name"},"credentials":{"oneOf":[{"$ref":"#/components/schemas/AppPasswordCredentials"},{"$ref":"#/components/schemas/BasicAuthCredentials"},{"$ref":"#/components/schemas/ApiKeyCredentials"}],"title":"Credentials","discriminator":{"propertyName":"auth_type","mapping":{"api_key":"#/components/schemas/ApiKeyCredentials","application_password":"#/components/schemas/AppPasswordCredentials","basic_auth":"#/components/schemas/BasicAuthCredentials"}}}},"type":"object","required":["provider","base_url","credentials"],"title":"WordPressIntegrationCreate"},"WordPressLocaleDetection":{"type":"string","enum":["static","path_prefix","subdomain","query_param","wpml"],"title":"WordPressLocaleDetection"},"WordPressSettings-Input":{"properties":{"type":{"type":"string","const":"wordpress","title":"Type","default":"wordpress"},"api_path":{"type":"string","title":"Api Path","default":"/wp-json/wp/v2"},"verify_ssl":{"type":"boolean","title":"Verify Ssl","default":true},"timeout":{"type":"integer","maximum":120.0,"minimum":5.0,"title":"Timeout","default":30},"post_types":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Post Types"},"post_status":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Post Status"},"excluded_categories":{"items":{"type":"integer"},"type":"array","title":"Excluded Categories"},"locale_detection":{"$ref":"#/components/schemas/WordPressLocaleDetection","description":"Strategy for inferring the locale from a post's URL. 'static' uses default_locale for all posts. 'path_prefix' reads the first path segment (domain.com/en/page). 'subdomain' reads the subdomain (en.domain.com). 'query_param' reads the ?lang= query parameter. 'wpml' queries the WPML REST API per language (?lang=xx) and tags each post with the queried language code.","default":"static"},"default_site_locale":{"type":"string","title":"Default Site Locale","description":"Locale assigned to all posts in 'static' mode, or used as fallback in detection modes.","default":"de"},"locale_mapping":{"additionalProperties":{"type":"string"},"type":"object","title":"Locale Mapping","description":"Map detected URL language codes to app locales. e.g. {'en': 'en', 'de': 'de', 'fr_FR': 'fr'}. Applied after locale_detection; unmatched codes are used as-is. Falls back to default_locale when no locale is detected.Locale mapping is used to filter posts in 'wpml' language detection mode."},"unavailable_source_policy":{"anyOf":[{"$ref":"#/components/schemas/UnavailableSourcePolicy"},{"type":"null"}],"default":"delete_unavailable"},"filters":{"anyOf":[{"$ref":"#/components/schemas/PageMetadataFilters-Input"},{"type":"null"}]}},"type":"object","title":"WordPressSettings"},"WordPressSettings-Output":{"properties":{"type":{"type":"string","const":"wordpress","title":"Type","default":"wordpress"},"api_path":{"type":"string","title":"Api Path","default":"/wp-json/wp/v2"},"verify_ssl":{"type":"boolean","title":"Verify Ssl","default":true},"timeout":{"type":"integer","maximum":120.0,"minimum":5.0,"title":"Timeout","default":30},"post_types":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Post Types"},"post_status":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Post Status"},"excluded_categories":{"items":{"type":"integer"},"type":"array","title":"Excluded Categories"},"locale_detection":{"$ref":"#/components/schemas/WordPressLocaleDetection","description":"Strategy for inferring the locale from a post's URL. 'static' uses default_locale for all posts. 'path_prefix' reads the first path segment (domain.com/en/page). 'subdomain' reads the subdomain (en.domain.com). 'query_param' reads the ?lang= query parameter. 'wpml' queries the WPML REST API per language (?lang=xx) and tags each post with the queried language code.","default":"static"},"default_site_locale":{"type":"string","title":"Default Site Locale","description":"Locale assigned to all posts in 'static' mode, or used as fallback in detection modes.","default":"de"},"locale_mapping":{"additionalProperties":{"type":"string"},"type":"object","title":"Locale Mapping","description":"Map detected URL language codes to app locales. e.g. {'en': 'en', 'de': 'de', 'fr_FR': 'fr'}. Applied after locale_detection; unmatched codes are used as-is. Falls back to default_locale when no locale is detected.Locale mapping is used to filter posts in 'wpml' language detection mode."},"unavailable_source_policy":{"anyOf":[{"$ref":"#/components/schemas/UnavailableSourcePolicy"},{"type":"null"}],"default":"delete_unavailable"},"filters":{"anyOf":[{"$ref":"#/components/schemas/PageMetadataFilters-Output"},{"type":"null"}]}},"type":"object","title":"WordPressSettings"},"ContactClickEventData":{"properties":{"title":{"description":"The title of the contact element.","title":"Title","type":"string"},"locale":{"description":"The locale of the contact element.","title":"Locale","type":"string"},"vertex_id":{"description":"The vertex ID of the contact element.","format":"uuid","title":"Vertex Id","type":"string"}},"required":["title","locale","vertex_id"],"title":"ContactClickEventData","type":"object"},"ContactClickEventRequest":{"properties":{"application_id":{"format":"uuid","title":"Application Id","type":"string"},"session_id":{"format":"uuid","title":"Session Id","type":"string"},"embed_type":{"$ref":"#/components/schemas/EmbedType"},"event_type":{"const":"contact","default":"contact","title":"Event Type","type":"string"},"data":{"$ref":"#/components/schemas/ContactClickEventData"}},"required":["application_id","session_id","embed_type","data"],"title":"ContactClickEventRequest","type":"object"},"CustomClickEventData":{"properties":{"url":{"description":"The URL where the event was triggered.","format":"uri","minLength":1,"title":"Url","type":"string"},"metadata":{"additionalProperties":true,"description":"Additional metadata for the event.","title":"Metadata","type":"object"},"event_name":{"description":"The name of the custom event.","minLength":1,"title":"Event Name","type":"string"},"element_text":{"default":"","description":"The text of the clicked element.","title":"Element Text","type":"string"}},"required":["url","event_name"],"title":"CustomClickEventData","type":"object"},"CustomClickEventRequest":{"properties":{"application_id":{"format":"uuid","title":"Application Id","type":"string"},"session_id":{"format":"uuid","title":"Session Id","type":"string"},"embed_type":{"$ref":"#/components/schemas/EmbedType"},"event_type":{"const":"custom","default":"custom","title":"Event Type","type":"string"},"data":{"$ref":"#/components/schemas/CustomClickEventData"}},"required":["application_id","session_id","embed_type","data"],"title":"CustomClickEventRequest","type":"object"},"FollowUpNavigationClickEventData":{"properties":{"url":{"description":"The URL of the follow-up navigation.","format":"uri","minLength":1,"title":"Url","type":"string"},"locale":{"description":"The locale of the follow-up navigation.","title":"Locale","type":"string"}},"required":["url","locale"],"title":"FollowUpNavigationClickEventData","type":"object"},"FollowUpNavigationClickEventRequest":{"properties":{"application_id":{"format":"uuid","title":"Application Id","type":"string"},"session_id":{"format":"uuid","title":"Session Id","type":"string"},"embed_type":{"$ref":"#/components/schemas/EmbedType"},"event_type":{"const":"follow_up_navigation","default":"follow_up_navigation","title":"Event Type","type":"string"},"data":{"$ref":"#/components/schemas/FollowUpNavigationClickEventData"}},"required":["application_id","session_id","embed_type","data"],"title":"FollowUpNavigationClickEventRequest","type":"object"},"FollowUpQuestionClickEventData":{"properties":{"question":{"description":"The follow-up question.","minLength":1,"title":"Question","type":"string"}},"required":["question"],"title":"FollowUpQuestionClickEventData","type":"object"},"FollowUpQuestionClickEventRequest":{"properties":{"application_id":{"format":"uuid","title":"Application Id","type":"string"},"session_id":{"format":"uuid","title":"Session Id","type":"string"},"embed_type":{"$ref":"#/components/schemas/EmbedType"},"event_type":{"const":"follow_up_question","default":"follow_up_question","title":"Event Type","type":"string"},"data":{"$ref":"#/components/schemas/FollowUpQuestionClickEventData"}},"required":["application_id","session_id","embed_type","data"],"title":"FollowUpQuestionClickEventRequest","type":"object"},"LinkClickEventData":{"properties":{"url":{"description":"The URL of the clicked link.","format":"uri","minLength":1,"title":"Url","type":"string"},"locale":{"description":"The locale of the link.","title":"Locale","type":"string"}},"required":["url","locale"],"title":"LinkClickEventData","type":"object"},"LinkClickEventRequest":{"properties":{"application_id":{"format":"uuid","title":"Application Id","type":"string"},"session_id":{"format":"uuid","title":"Session Id","type":"string"},"embed_type":{"$ref":"#/components/schemas/EmbedType"},"event_type":{"const":"link","default":"link","title":"Event Type","type":"string"},"data":{"$ref":"#/components/schemas/LinkClickEventData"}},"required":["application_id","session_id","embed_type","data"],"title":"LinkClickEventRequest","type":"object"},"SearchResultClickEventData":{"properties":{"url":{"description":"The URL of the clicked search result.","format":"uri","minLength":1,"title":"Url","type":"string"},"index":{"description":"The position/index of the search result.","title":"Index","type":"integer"},"title":{"description":"The title of the search result.","title":"Title","type":"string"},"locale":{"description":"The locale of the search result.","title":"Locale","type":"string"},"vertex_id":{"description":"The vertex ID of the search result.","format":"uuid","title":"Vertex Id","type":"string"}},"required":["url","index","title","locale","vertex_id"],"title":"SearchResultClickEventData","type":"object"},"SearchResultClickEventRequest":{"properties":{"application_id":{"format":"uuid","title":"Application Id","type":"string"},"session_id":{"format":"uuid","title":"Session Id","type":"string"},"embed_type":{"$ref":"#/components/schemas/EmbedType"},"event_type":{"const":"search_result","default":"search_result","title":"Event Type","type":"string"},"data":{"$ref":"#/components/schemas/SearchResultClickEventData"}},"required":["application_id","session_id","embed_type","data"],"title":"SearchResultClickEventRequest","type":"object"},"ToolClickEventData":{"properties":{"title":{"description":"The title of the tool element.","title":"Title","type":"string"},"locale":{"description":"The locale of the tool element.","title":"Locale","type":"string"}},"required":["title","locale"],"title":"ToolClickEventData","type":"object"},"ToolClickEventRequest":{"properties":{"application_id":{"format":"uuid","title":"Application Id","type":"string"},"session_id":{"format":"uuid","title":"Session Id","type":"string"},"embed_type":{"$ref":"#/components/schemas/EmbedType"},"event_type":{"const":"tool","default":"tool","title":"Event Type","type":"string"},"data":{"$ref":"#/components/schemas/ToolClickEventData"}},"required":["application_id","session_id","embed_type","data"],"title":"ToolClickEventRequest","type":"object"},"ClickEventRequest":{"discriminator":{"mapping":{"contact":"#/components/schemas/ContactClickEventRequest","custom":"#/components/schemas/CustomClickEventRequest","follow_up_navigation":"#/components/schemas/FollowUpNavigationClickEventRequest","follow_up_question":"#/components/schemas/FollowUpQuestionClickEventRequest","link":"#/components/schemas/LinkClickEventRequest","search_result":"#/components/schemas/SearchResultClickEventRequest","tool":"#/components/schemas/ToolClickEventRequest"},"propertyName":"event_type"},"oneOf":[{"$ref":"#/components/schemas/CustomClickEventRequest"},{"$ref":"#/components/schemas/SearchResultClickEventRequest"},{"$ref":"#/components/schemas/ContactClickEventRequest"},{"$ref":"#/components/schemas/LinkClickEventRequest"},{"$ref":"#/components/schemas/FollowUpNavigationClickEventRequest"},{"$ref":"#/components/schemas/FollowUpQuestionClickEventRequest"},{"$ref":"#/components/schemas/ToolClickEventRequest"}]}},"securitySchemes":{"HTTPBearerCookie":{"type":"http","scheme":"bearer"},"APIKeyHeader":{"type":"apiKey","in":"header","name":"x_api_key"},"branchly-api-key":{"type":"apiKey","in":"header","name":"branchly-api-key"},"HTTPBearer":{"type":"http","scheme":"bearer"}}}}