{"openapi":"3.1.0","info":{"title":"AgentHub API","description":"AI-powered agent hub with multi-provider LLM support","version":"1.0.0"},"paths":{"/api/v1/auth/signup":{"post":{"tags":["authentication"],"summary":"Signup","description":"Register a new user account.\n\nThis endpoint uses the LangGraph signup workflow to validate and create a new user.\nValidation includes:\n- Email format and uniqueness\n- Username format (3-30 chars) and uniqueness\n- Password strength (8-72 chars, complexity requirements)\n- Name length (1-50 chars)\n\nArgs:\n request: Signup request containing user details\n \nReturns:\n SignupResponse with success status, message, and tokens if successful","operationId":"signup_api_v1_auth_signup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignupRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignupResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/login":{"post":{"tags":["authentication"],"summary":"Login","description":"Authenticate a user and return JWT tokens.\n\nUsers can log in with either their email or username along with their password.\n\nArgs:\n request: Login request containing identifier (email/username) and password\n \nReturns:\n LoginResponse with success status, message, tokens, and user info if successful","operationId":"login_api_v1_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/refresh":{"post":{"tags":["authentication"],"summary":"Refresh Token","description":"Refresh an access token using a valid refresh token.\n\nThis endpoint allows clients to obtain a new access token without re-authenticating.\nThe refresh token must be valid and not expired.\n\nArgs:\n request: Refresh token request containing the refresh token\n \nReturns:\n RefreshTokenResponse with new access token if successful","operationId":"refresh_token_api_v1_auth_refresh_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshTokenRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshTokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/signup/conversation":{"post":{"tags":["conversational-auth"],"summary":"Conversational Signup","description":"Conversational signup endpoint - handles step-by-step user registration via chatbot interface.\n\nThis endpoint provides a conversational flow for user signup where:\n1. User sends a message (e.g., their email)\n2. Backend validates and responds with next question\n3. Process continues until all required fields are collected\n4. Account is created automatically when complete\n\n**IMPORTANT FOR SWAGGER TESTING:**\n- Each request MUST include `current_step` matching the `next_step` from previous response\n- Use the `session_id` from the first response in all subsequent requests\n\n**Complete Flow Example:**\n\n**Request 1 (Start):**\n```json\n{\n \"message\": \"\",\n \"current_step\": \"start\"\n}\n```\nResponse: `next_step: \"email\"`, `session_id: \"abc-123\"`\n\n**Request 2 (Email):**\n```json\n{\n \"message\": \"john@example.com\",\n \"current_step\": \"email\",\n \"session_id\": \"abc-123\"\n}\n```\nResponse: `next_step: \"username\"`\n\n**Request 3 (Username):**\n```json\n{\n \"message\": \"johndoe\",\n \"current_step\": \"username\",\n \"session_id\": \"abc-123\",\n \"email\": \"john@example.com\"\n}\n```\nResponse: `next_step: \"password\"`\n\n**Request 4 (Password):**\n```json\n{\n \"message\": \"Password123\",\n \"current_step\": \"password\",\n \"session_id\": \"abc-123\",\n \"email\": \"john@example.com\",\n \"username\": \"johndoe\"\n}\n```\nResponse: `next_step: \"firstname\"`\n\n**Request 5 (First Name):**\n```json\n{\n \"message\": \"John\",\n \"current_step\": \"firstname\",\n \"session_id\": \"abc-123\",\n \"email\": \"john@example.com\",\n \"username\": \"johndoe\",\n \"password\": \"Password123\"\n}\n```\nResponse: `next_step: \"lastname\"`\n\n**Request 6 (Last Name - Final):**\n```json\n{\n \"message\": \"Doe\",\n \"current_step\": \"lastname\",\n \"session_id\": \"abc-123\",\n \"email\": \"john@example.com\",\n \"username\": \"johndoe\",\n \"password\": \"Password123\",\n \"firstname\": \"John\"\n}\n```\nResponse: `next_step: \"complete\"`, includes `access_token` and `refresh_token`\n\nArgs:\n request: Conversational signup request with user input and conversation state\n \nReturns:\n ConversationalSignupResponse with bot message, validation feedback, and tokens if complete","operationId":"conversational_signup_api_v1_auth_signup_conversation_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConversationalSignupRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConversationalSignupResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/signup/conversation/start":{"get":{"tags":["conversational-auth"],"summary":"Start Conversational Signup","description":"Start a new conversational signup flow.\n\nThis is a convenience endpoint for initiating the signup conversation.\nIt returns the initial greeting message and a new session ID.\n\nReturns:\n ConversationalSignupResponse with welcome message and session ID","operationId":"start_conversational_signup_api_v1_auth_signup_conversation_start_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConversationalSignupResponse"}}}}}}},"/api/v1/chat/message":{"post":{"tags":["chat"],"summary":"Send Message","description":"Send a message to the AI agent.\n\nRequires authentication via JWT Bearer token.\n\n- **message**: The user's message/question\n- **session_id**: Optional session ID. If not provided, creates a new session\n\nReturns the agent's response with metadata.","operationId":"send_message_api_v1_chat_message_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"JWT":[]}]}},"/api/v1/chat/sessions":{"post":{"tags":["chat"],"summary":"Create Session","description":"Create a new chat session.\n\nRequires authentication via JWT Bearer token.\n\n- **title**: Optional title for the session\n\nReturns the new session details.","operationId":"create_session_api_v1_chat_sessions_post","security":[{"JWT":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSessionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["chat"],"summary":"List User Sessions","description":"List all chat sessions for a user.\n\nRequires authentication via JWT Bearer token.\n\n- **page**: Page number (0-based, default: 0)\n- **limit**: Number of sessions per page (default: 10)\n\nReturns paginated list of user's sessions.","operationId":"list_user_sessions_api_v1_chat_sessions_get","security":[{"JWT":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","description":"Page number (0-based)","default":0,"title":"Page"},"description":"Page number (0-based)"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","description":"Number of sessions per page","default":10,"title":"Limit"},"description":"Number of sessions per page"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/chat/sessions/{session_id}/title":{"put":{"tags":["chat"],"summary":"Update Session Title","description":"Update the title of a chat session.\n\nRequires authentication via JWT Bearer token.\n\n- **session_id**: ID of the session to update\n- **title**: New title for the session\n\nReturns the updated session details.","operationId":"update_session_title_api_v1_chat_sessions__session_id__title_put","security":[{"JWT":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSessionTitleRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSessionTitleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/chat/sessions/{session_id}/messages":{"get":{"tags":["chat"],"summary":"Get Session History","description":"Get the message history for a specific session.\n\nRequires authentication via JWT Bearer token.\n\n- **session_id**: ID of the session\n- **limit**: Maximum number of messages to return (default: 50)\n\nReturns the session's message history.","operationId":"get_session_history_api_v1_chat_sessions__session_id__messages_get","security":[{"JWT":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Maximum number of messages to return","default":50,"title":"Limit"},"description":"Maximum number of messages to return"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/chat/health":{"get":{"tags":["chat"],"summary":"Health Check","description":"Check the health status of the chat service.\n\nReturns service health information including agent status and available tools.\n\nRaises:\n ServiceUnavailableError: If service is unhealthy\n InternalError: If health check fails","operationId":"health_check_api_v1_chat_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/health/test-celery":{"get":{"tags":["health"],"summary":"Test Celery","description":"Test endpoint to verify Celery is working.","operationId":"test_celery_api_v1_health_test_celery_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/data/load/{data_source}":{"post":{"tags":["ingest"],"summary":"Load Data","operationId":"load_data_api_v1_data_load__data_source__post","parameters":[{"name":"data_source","in":"path","required":true,"schema":{"$ref":"#/components/schemas/DataSourceType"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/resilience/circuit-breakers":{"get":{"tags":["resilience","resilience"],"summary":"Get All Circuit Breakers","description":"Get statistics for all circuit breakers.\n\nReturns:\n Dictionary of circuit breaker names to their statistics","operationId":"get_all_circuit_breakers_api_v1_resilience_circuit_breakers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"additionalProperties":true,"type":"object"},"type":"object","title":"Response Get All Circuit Breakers Api V1 Resilience Circuit Breakers Get"}}}}}}},"/api/v1/resilience/circuit-breakers/{circuit_name}":{"get":{"tags":["resilience","resilience"],"summary":"Get Circuit Breaker","description":"Get statistics for a specific circuit breaker.\n\nArgs:\n circuit_name: Name of the circuit breaker\n \nReturns:\n Circuit breaker statistics","operationId":"get_circuit_breaker_api_v1_resilience_circuit_breakers__circuit_name__get","parameters":[{"name":"circuit_name","in":"path","required":true,"schema":{"type":"string","title":"Circuit Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Circuit Breaker Api V1 Resilience Circuit Breakers Circuit Name Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/resilience/health":{"get":{"tags":["resilience","resilience"],"summary":"Get Resilience Health","description":"Get overall resilience health status.\n\nChecks all circuit breakers and reports:\n- Total circuits\n- Circuits by state (closed, open, half_open)\n- Any circuits that are open (indicating problems)\n\nReturns:\n Health status summary","operationId":"get_resilience_health_api_v1_resilience_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Get Resilience Health Api V1 Resilience Health Get"}}}}}}},"/api/v1/resilience/summary":{"get":{"tags":["resilience","resilience"],"summary":"Get Resilience Summary","description":"Get a summary of all circuit breakers with key metrics.\n\nReturns:\n List of circuit breaker summaries","operationId":"get_resilience_summary_api_v1_resilience_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Response Get Resilience Summary Api V1 Resilience Summary Get"}}}}}}},"/":{"get":{"summary":"Root","operationId":"root__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/health":{"get":{"summary":"Health Check","operationId":"health_check_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"ChatRequest":{"properties":{"message":{"type":"string","title":"Message"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"}},"type":"object","required":["message"],"title":"ChatRequest"},"ChatResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"message":{"type":"string","title":"Message"},"session_id":{"type":"string","title":"Session Id"},"user_id":{"type":"string","title":"User Id"},"timestamp":{"type":"string","title":"Timestamp"},"processing_time_ms":{"type":"number","title":"Processing Time Ms"},"tools_used":{"items":{"type":"string"},"type":"array","title":"Tools Used","default":[]},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata","default":{}}},"type":"object","required":["success","message","session_id","user_id","timestamp","processing_time_ms"],"title":"ChatResponse"},"ConversationalSignupRequest":{"properties":{"message":{"type":"string","title":"Message","description":"User's message/input for current step","examples":["john@example.com"]},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id","description":"Session ID from server response (null only for START step)","examples":["abc-123"]},"current_step":{"anyOf":[{"$ref":"#/components/schemas/SignupStep"},{"type":"null"}],"description":"Current step (MUST match next_step from previous response, null only for START)","examples":["email"]}},"type":"object","required":["message"],"title":"ConversationalSignupRequest","description":"Request schema for conversational signup with Redis session management.\n\nClient sends 3 fields:\n1. message: User's input (required)\n2. session_id: Tracking ID (null for START, required for all other steps)\n3. current_step: Current step (null for START, required for all other steps)\n\nAll validated data is stored server-side in Redis.\nThis prevents password exposure and ensures data integrity.\n\nFlow:\n- First request: {\"message\": \"\", \"session_id\": null, \"current_step\": \"start\"}\n- Server returns: session_id in response (e.g., \"abc-123\")\n- Subsequent requests: {\"message\": \"user input\", \"session_id\": \"abc-123\", \"current_step\": \"email\"}","examples":[{"current_step":"start","description":"Step 1: START - Initialize signup (session_id is null)","message":""},{"current_step":"email","description":"Step 2: EMAIL - Provide email (session_id from server response)","message":"john@example.com","session_id":"abc-123-uuid-from-server"},{"current_step":"username","description":"Step 3: USERNAME - Provide username (same session_id)","message":"johndoe","session_id":"abc-123-uuid-from-server"},{"current_step":"password","description":"Step 4: PASSWORD - Provide password (same session_id)","message":"SecurePass123","session_id":"abc-123-uuid-from-server"},{"current_step":"firstname","description":"Step 5: FIRSTNAME - Provide first name (same session_id)","message":"John","session_id":"abc-123-uuid-from-server"},{"current_step":"lastname","description":"Step 6: LASTNAME - Provide last name (same session_id)","message":"Doe","session_id":"abc-123-uuid-from-server"}]},"ConversationalSignupResponse":{"properties":{"success":{"type":"boolean","title":"Success","description":"Whether the current step was successful"},"message":{"type":"string","title":"Message","description":"Bot's response message to user"},"next_step":{"$ref":"#/components/schemas/SignupStep","description":"Next step in the signup process"},"session_id":{"type":"string","title":"Session Id","description":"Session ID for tracking conversation"},"is_valid":{"type":"boolean","title":"Is Valid","description":"Whether current input is valid","default":true},"validation_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Validation Error","description":"Validation error message if any"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id","description":"Created user ID if signup complete"},"access_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token","description":"JWT access token if signup complete"},"refresh_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refresh Token","description":"JWT refresh token if signup complete"},"token_type":{"type":"string","title":"Token Type","description":"Token type","default":"bearer"},"progress_percentage":{"type":"integer","title":"Progress Percentage","description":"Signup completion percentage (0-100)"},"fields_remaining":{"type":"integer","title":"Fields Remaining","description":"Number of fields still needed"}},"type":"object","required":["success","message","next_step","session_id","progress_percentage","fields_remaining"],"title":"ConversationalSignupResponse","description":"Response schema for conversational signup."},"CreateSessionRequest":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"}},"type":"object","title":"CreateSessionRequest"},"CreateSessionResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"session_id":{"type":"string","title":"Session Id"},"title":{"type":"string","title":"Title"},"created_at":{"type":"string","title":"Created At"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["success","session_id","title","created_at"],"title":"CreateSessionResponse"},"DataSourceType":{"type":"string","enum":["s3","confluence","file","sharepoint","database","url","web","jira"],"title":"DataSourceType","description":"Supported data sources types for ingestion."},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"LoginRequest":{"properties":{"identifier":{"type":"string","title":"Identifier","description":"Email or username"},"password":{"type":"string","title":"Password","description":"User password"}},"type":"object","required":["identifier","password"],"title":"LoginRequest","description":"Request schema for user login."},"LoginResponse":{"properties":{"success":{"type":"boolean","title":"Success","description":"Whether login was successful"},"message":{"type":"string","title":"Message","description":"Response message"},"access_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token","description":"JWT access token if successful"},"refresh_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refresh Token","description":"JWT refresh token if successful"},"token_type":{"type":"string","title":"Token Type","description":"Token type","default":"bearer"},"user":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"User","description":"User information if successful"}},"type":"object","required":["success","message"],"title":"LoginResponse","description":"Response schema for user login."},"RefreshTokenRequest":{"properties":{"refresh_token":{"type":"string","title":"Refresh Token","description":"Valid refresh token"}},"type":"object","required":["refresh_token"],"title":"RefreshTokenRequest","description":"Request schema for token refresh."},"RefreshTokenResponse":{"properties":{"success":{"type":"boolean","title":"Success","description":"Whether refresh was successful"},"message":{"type":"string","title":"Message","description":"Response message"},"access_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token","description":"New JWT access token if successful"},"token_type":{"type":"string","title":"Token Type","description":"Token type","default":"bearer"}},"type":"object","required":["success","message"],"title":"RefreshTokenResponse","description":"Response schema for token refresh."},"SessionHistoryResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"session_id":{"type":"string","title":"Session Id"},"messages":{"items":{"$ref":"#/components/schemas/SessionMessage"},"type":"array","title":"Messages"},"count":{"type":"integer","title":"Count"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["success","session_id","messages","count"],"title":"SessionHistoryResponse"},"SessionListItem":{"properties":{"session_id":{"type":"string","title":"Session Id"},"title":{"type":"string","title":"Title"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"last_message_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Message At"},"message_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Message Count"}},"type":"object","required":["session_id","title"],"title":"SessionListItem"},"SessionListResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"sessions":{"items":{"$ref":"#/components/schemas/SessionListItem"},"type":"array","title":"Sessions"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"limit":{"type":"integer","title":"Limit"},"has_more":{"type":"boolean","title":"Has More"},"errors":{"items":{"type":"string"},"type":"array","title":"Errors","default":[]}},"type":"object","required":["success","sessions","total","page","limit","has_more"],"title":"SessionListResponse"},"SessionMessage":{"properties":{"role":{"type":"string","title":"Role"},"content":{"type":"string","title":"Content"},"timestamp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timestamp"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"}},"type":"object","required":["role","content"],"title":"SessionMessage"},"SignupRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email","description":"User's email address"},"username":{"type":"string","maxLength":30,"minLength":3,"title":"Username","description":"Unique username"},"password":{"type":"string","maxLength":72,"minLength":8,"title":"Password","description":"User password"},"firstname":{"type":"string","maxLength":50,"minLength":1,"title":"Firstname","description":"User's first name"},"lastname":{"type":"string","maxLength":50,"minLength":1,"title":"Lastname","description":"User's last name"}},"type":"object","required":["email","username","password","firstname","lastname"],"title":"SignupRequest","description":"Request schema for user signup."},"SignupResponse":{"properties":{"success":{"type":"boolean","title":"Success","description":"Whether signup was successful"},"message":{"type":"string","title":"Message","description":"Response message"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id","description":"Created user ID if successful"},"access_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token","description":"JWT access token if successful"},"refresh_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refresh Token","description":"JWT refresh token if successful"},"token_type":{"type":"string","title":"Token Type","description":"Token type","default":"bearer"}},"type":"object","required":["success","message"],"title":"SignupResponse","description":"Response schema for user signup."},"SignupStep":{"type":"string","enum":["start","email","username","password","firstname","lastname","complete"],"title":"SignupStep","description":"Enumeration of signup conversation steps."},"UpdateSessionTitleRequest":{"properties":{"title":{"type":"string","title":"Title"}},"type":"object","required":["title"],"title":"UpdateSessionTitleRequest"},"UpdateSessionTitleResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"session_id":{"type":"string","title":"Session Id"},"title":{"type":"string","title":"Title"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["success","session_id","title"],"title":"UpdateSessionTitleResponse"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}},"securitySchemes":{"JWT":{"type":"http","description":"JWT authentication using Bearer token","scheme":"bearer"}}}}