{"openapi":"3.1.0","info":{"title":"Thoth Sovereign Oracle & Companion","version":"0.1.0"},"paths":{"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/{profile}/bootstrap":{"get":{"summary":"Bootstrap","operationId":"bootstrap_api__profile__bootstrap_get","parameters":[{"name":"profile","in":"path","required":true,"schema":{"type":"string","title":"Profile"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/{profile}/auth":{"post":{"summary":"Auth Profile","operationId":"auth_profile_api__profile__auth_post","parameters":[{"name":"profile","in":"path","required":true,"schema":{"type":"string","title":"Profile"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/{profile}/session/{session_id}":{"get":{"summary":"Get Session Messages","operationId":"get_session_messages_api__profile__session__session_id__get","parameters":[{"name":"profile","in":"path","required":true,"schema":{"type":"string","title":"Profile"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/{profile}/stt":{"post":{"summary":"Speech To Text","operationId":"speech_to_text_api__profile__stt_post","parameters":[{"name":"profile","in":"path","required":true,"schema":{"type":"string","title":"Profile"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_speech_to_text_api__profile__stt_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/{profile}/tts":{"post":{"summary":"Text To Speech","operationId":"text_to_speech_api__profile__tts_post","parameters":[{"name":"profile","in":"path","required":true,"schema":{"type":"string","title":"Profile"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/{profile}/chat/stream":{"post":{"summary":"Chat Turn Stream","description":"Live Server-Sent Events (SSE) streaming endpoint for instant <think> + response feedback.","operationId":"chat_turn_stream_api__profile__chat_stream_post","parameters":[{"name":"profile","in":"path","required":true,"schema":{"type":"string","title":"Profile"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/{profile}/chat":{"post":{"summary":"Chat Turn","operationId":"chat_turn_api__profile__chat_post","parameters":[{"name":"profile","in":"path","required":true,"schema":{"type":"string","title":"Profile"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/{profile}/memory":{"post":{"summary":"Add Manual Memory","operationId":"add_manual_memory_api__profile__memory_post","parameters":[{"name":"profile","in":"path","required":true,"schema":{"type":"string","title":"Profile"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/{profile}/memory/{mem_id}":{"delete":{"summary":"Delete Memory","operationId":"delete_memory_api__profile__memory__mem_id__delete","parameters":[{"name":"profile","in":"path","required":true,"schema":{"type":"string","title":"Profile"}},{"name":"mem_id","in":"path","required":true,"schema":{"type":"string","title":"Mem Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/{profile}/settings":{"post":{"summary":"Update Settings","operationId":"update_settings_api__profile__settings_post","parameters":[{"name":"profile","in":"path","required":true,"schema":{"type":"string","title":"Profile"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth":{"get":{"summary":"Clear Old Openwebui Sw","operationId":"clear_old_openwebui_sw_auth_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/favicon.ico":{"get":{"summary":"Favicon","operationId":"favicon_favicon_ico_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/{profile}/":{"get":{"summary":"Serve Profile Ui","operationId":"serve_profile_ui__profile___get","parameters":[{"name":"profile","in":"path","required":true,"schema":{"type":"string","title":"Profile"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{profile}":{"get":{"summary":"Serve Profile Ui","operationId":"serve_profile_ui__profile__get","parameters":[{"name":"profile","in":"path","required":true,"schema":{"type":"string","title":"Profile"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/":{"get":{"summary":"Root Redirect","operationId":"root_redirect__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}}},"components":{"schemas":{"Body_speech_to_text_api__profile__stt_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_speech_to_text_api__profile__stt_post"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"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"}}}}