{"openapi":"3.1.0","info":{"title":"VibeCoderz API","description":"FastAPI backend for VibeCoderz application","version":"0.0.1"},"paths":{"/v1/auth/register":{"post":{"tags":["Auth"],"summary":"Register","operationId":"register_v1_auth_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/token":{"post":{"tags":["Auth"],"summary":"Login","operationId":"login_v1_auth_token_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_login_v1_auth_token_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/login":{"post":{"tags":["Auth"],"summary":"Login Post","operationId":"login_post_v1_auth_login_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_login_post_v1_auth_login_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/google-login":{"get":{"tags":["Auth"],"summary":"Google Login","operationId":"google_login_v1_auth_google_login_get","parameters":[{"name":"source","in":"query","required":false,"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/auth/callback":{"get":{"tags":["Auth"],"summary":"Callback","operationId":"callback_v1_auth_callback_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/auth/github-login":{"get":{"tags":["Auth"],"summary":"Github Login","operationId":"github_login_v1_auth_github_login_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/auth/github-callback":{"get":{"tags":["Auth"],"summary":"Github Callback","operationId":"github_callback_v1_auth_github_callback_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/auth/linkedin-login":{"get":{"tags":["Auth"],"summary":"Linkedin Login","operationId":"linkedin_login_v1_auth_linkedin_login_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/auth/linkedin-callback":{"get":{"tags":["Auth"],"summary":"Linkedin Callback","operationId":"linkedin_callback_v1_auth_linkedin_callback_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/auth/user":{"get":{"tags":["Auth"],"summary":"Get User","operationId":"get_user_v1_auth_user_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/auth/verify-access-code":{"post":{"tags":["Auth"],"summary":"Verify Access Code","description":"Verify the access code and grant access to the user","operationId":"verify_access_code_v1_auth_verify_access_code_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyAccessCodeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/auth/resend-access-code":{"post":{"tags":["Auth"],"summary":"Resend Access Code","description":"Generate and send a new access code to the user's email","operationId":"resend_access_code_v1_auth_resend_access_code_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/auth/check-access-status":{"get":{"tags":["Auth"],"summary":"Check Access Status","description":"Check if the current user has access granted","operationId":"check_access_status_v1_auth_check_access_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/auth/forgot-password":{"post":{"tags":["Auth"],"summary":"Forgot Password","operationId":"forgot_password_v1_auth_forgot_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForgotPasswordRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/verify-otp":{"post":{"tags":["Auth"],"summary":"Verify Otp","operationId":"verify_otp_v1_auth_verify_otp_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyOTPRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/reset-password":{"post":{"tags":["Auth"],"summary":"Reset Password","operationId":"reset_password_v1_auth_reset_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetPasswordRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/onboarding/{user_id}":{"post":{"tags":["Onboarding"],"summary":"Create Or Update Onboarding","description":"Create or update onboarding data for a user progressively.\nEach call can contain any subset of onboarding fields.\nWhen completed=True, uses atomic transaction to update both\nonboarding_data and users tables together.","operationId":"create_or_update_onboarding_v1_onboarding__user_id__post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Onboarding"],"summary":"Get Onboarding","description":"Get onboarding data for a user","operationId":"get_onboarding_v1_onboarding__user_id__get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/static":{"get":{"tags":["Proof of Concept APIs"],"summary":"Root","description":"Serves the index.html","operationId":"root_v1_static_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/chat-api/initialize":{"post":{"tags":["Proof of Concept APIs"],"summary":"Initialize Course Session","description":"Initialize ADK session with course steps before starting SSE connection.\nThis endpoint injects course steps into the session state.","operationId":"initialize_course_session_v1_chat_api_initialize_post","parameters":[{"name":"session_id","in":"query","required":true,"schema":{"type":"string","description":"Session ID from frontend","title":"Session Id"},"description":"Session ID from frontend"},{"name":"topic","in":"query","required":true,"schema":{"type":"string","description":"The topic/course title","title":"Topic"},"description":"The topic/course title"},{"name":"role","in":"query","required":false,"schema":{"type":"string","description":"Role from the client","default":"user","title":"Role"},"description":"Role from the client"},{"name":"token","in":"query","required":false,"schema":{"type":"string","description":"Authentication token","title":"Token"},"description":"Authentication token"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StepsPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/chat-api":{"get":{"tags":["Proof of Concept APIs"],"summary":"Api","description":"SSE endpoint for interactive chat with different modes (tutor/expert/friend)","operationId":"api_v1_chat_api_get","parameters":[{"name":"topic","in":"query","required":true,"schema":{"type":"string","description":"The topic to get tutoring for","title":"Topic"},"description":"The topic to get tutoring for"},{"name":"token","in":"query","required":false,"schema":{"type":"string","description":"Authentication token for SSE","title":"Token"},"description":"Authentication token for SSE"},{"name":"session_id","in":"query","required":false,"schema":{"type":"string","description":"Session ID from frontend","title":"Session Id"},"description":"Session ID from frontend"},{"name":"role","in":"query","required":false,"schema":{"type":"string","description":"role from the client","default":"user","title":"Role"},"description":"role from the client"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/session":{"get":{"tags":["Proof of Concept APIs"],"summary":"Get Current Session","description":"Returns the current session details (session_id, user_id, app_name) for the authenticated user.\nSupports secret key bypass for public access.","operationId":"get_current_session_v1_session_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"session_id","in":"query","required":false,"schema":{"type":"string","title":"Session Id"}},{"name":"secret","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},{"name":"user_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/session/{session_id}/artifact":{"patch":{"tags":["Proof of Concept APIs"],"summary":"Update Session Artifact","description":"Updates the current_artifact for a session.","operationId":"update_session_artifact_v1_session__session_id__artifact_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Artifact"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sessions":{"get":{"tags":["Proof of Concept APIs"],"summary":"Get Sessions","description":"Returns paginated list of sessions for the authenticated user.\n\nQuery Parameters:\n    - page: Page number (default: 1)\n    - page_size: Number of sessions per page (default: 10, max: 100)\n\nReturns:\n    - sessions: List of session objects\n    - total: Total number of sessions\n    - page: Current page number\n    - page_size: Number of sessions per page\n    - total_pages: Total number of pages\n    \nRaises:\n    - 400: Invalid pagination parameters\n    - 500: Internal server error","operationId":"get_sessions_v1_sessions_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Number of sessions per page","default":10,"title":"Page Size"},"description":"Number of sessions per page"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/send":{"post":{"tags":["Proof of Concept APIs"],"summary":"Send Message Endpoint","description":"HTTP endpoint for client to agent communication","operationId":"send_message_endpoint_v1_send_post","parameters":[{"name":"token","in":"query","required":false,"schema":{"type":"string","description":"Authentication token","title":"Token"},"description":"Authentication token"},{"name":"session_id","in":"query","required":false,"schema":{"type":"string","description":"Session ID from frontend","title":"Session Id"},"description":"Session ID from frontend"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/prompt-enhancer":{"post":{"tags":["Prompt Enhancer"],"summary":"Enhance Prompt","operationId":"enhance_prompt_v1_prompt_enhancer_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromptEnhancerRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromptEnhancerResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/claude/generate-presentation":{"get":{"tags":["Claude Streaming","claude-streaming"],"summary":"Generate Presentation Stream","description":"Generate a presentation with streaming progress updates.\n\nThis endpoint streams the generation process, providing real-time updates\nas slides are being created. The final response contains the complete\nPPTGeneratorOutput matching the presentation agent schema.\n\nSecurity:\n    - Requires valid JWT authentication\n    - Input validation and sanitization\n    - Rate limiting (implement via middleware)\n    \nArgs:\n    request: Presentation generation request\n    current_user: Authenticated user from JWT token\n    db: Database service dependency\n    \nReturns:\n    StreamingResponse with SSE events\n    \nRaises:\n    HTTPException: For authentication, validation, or API errors","operationId":"generate_presentation_stream_v1_claude_generate_presentation_get","parameters":[{"name":"topic","in":"query","required":true,"schema":{"type":"string","description":"Topic for the presentation","title":"Topic"},"description":"Topic for the presentation"},{"name":"num_slides","in":"query","required":false,"schema":{"type":"integer","maximum":10,"minimum":1,"description":"Number of slides to generate","default":3,"title":"Num Slides"},"description":"Number of slides to generate"},{"name":"max_tokens","in":"query","required":false,"schema":{"type":"integer","maximum":20000,"minimum":1000,"description":"Maximum tokens for generation","default":16000,"title":"Max Tokens"},"description":"Maximum tokens for generation"},{"name":"token","in":"query","required":true,"schema":{"type":"string","description":"JWT authentication token","title":"Token"},"description":"JWT authentication token"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/claude/generate-swimlane":{"get":{"tags":["Claude Streaming","claude-streaming"],"summary":"Generate Swimlane Stream","description":"Generate a swimlane diagram with streaming progress updates.","operationId":"generate_swimlane_stream_v1_claude_generate_swimlane_get","parameters":[{"name":"topic","in":"query","required":true,"schema":{"type":"string","description":"Topic for the swimlane diagram","title":"Topic"},"description":"Topic for the swimlane diagram"},{"name":"context","in":"query","required":true,"schema":{"type":"string","description":"Context/Steps for the diagram","title":"Context"},"description":"Context/Steps for the diagram"},{"name":"token","in":"query","required":true,"schema":{"type":"string","description":"JWT authentication token","title":"Token"},"description":"JWT authentication token"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/claude/generate-mindmap":{"get":{"tags":["Claude Streaming","claude-streaming"],"summary":"Generate Mindmap Stream","description":"Generate a mind map diagram with streaming progress updates.","operationId":"generate_mindmap_stream_v1_claude_generate_mindmap_get","parameters":[{"name":"topic","in":"query","required":true,"schema":{"type":"string","description":"Topic for the mind map","title":"Topic"},"description":"Topic for the mind map"},{"name":"context","in":"query","required":false,"schema":{"type":"string","description":"Additional context for the mind map","default":"","title":"Context"},"description":"Additional context for the mind map"},{"name":"token","in":"query","required":true,"schema":{"type":"string","description":"JWT authentication token","title":"Token"},"description":"JWT authentication token"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/claude/generate-architecture":{"get":{"tags":["Claude Streaming","claude-streaming"],"summary":"Generate Architecture Stream","description":"Generate an architecture transformation diagram with streaming progress updates.","operationId":"generate_architecture_stream_v1_claude_generate_architecture_get","parameters":[{"name":"topic","in":"query","required":true,"schema":{"type":"string","description":"Topic for the architecture diagram","title":"Topic"},"description":"Topic for the architecture diagram"},{"name":"context","in":"query","required":false,"schema":{"type":"string","description":"Additional context for the diagram","default":"","title":"Context"},"description":"Additional context for the diagram"},{"name":"token","in":"query","required":true,"schema":{"type":"string","description":"JWT authentication token","title":"Token"},"description":"JWT authentication token"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/claude/generate-erd":{"get":{"tags":["Claude Streaming","claude-streaming"],"summary":"Generate Erd Stream","description":"Generate an Entity Relationship Diagram (ERD) with streaming progress updates.","operationId":"generate_erd_stream_v1_claude_generate_erd_get","parameters":[{"name":"topic","in":"query","required":true,"schema":{"type":"string","description":"Topic for the ERD diagram","title":"Topic"},"description":"Topic for the ERD diagram"},{"name":"context","in":"query","required":false,"schema":{"type":"string","description":"Additional context for the ERD","default":"","title":"Context"},"description":"Additional context for the ERD"},{"name":"token","in":"query","required":true,"schema":{"type":"string","description":"JWT authentication token","title":"Token"},"description":"JWT authentication token"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/claude/health":{"get":{"tags":["Claude Streaming","claude-streaming"],"summary":"Health Check","description":"Health check endpoint for Claude streaming service.\n\nReturns:\n    Service status and configuration","operationId":"health_check_v1_claude_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/payments/stripe/create-subscription-session":{"post":{"tags":["Stripe Payments"],"summary":"Create Subscription Session","operationId":"create_subscription_session_v1_payments_stripe_create_subscription_session_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionSessionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/payments/stripe/webhook":{"post":{"tags":["Stripe Payments"],"summary":"Stripe Webhook","operationId":"stripe_webhook_v1_payments_stripe_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/artifacts/generate":{"post":{"tags":["Artifacts"],"summary":"Generate Artifact","description":"Generate an artifact based on the specified type and parameters.\n\nSupports multiple artifact types:\n- **image**: Generate images from text prompts using Gemini\n- **video**: Generate videos from text prompts using Veo2\n- More types coming soon (audio, documents, etc.)\n\nArgs:\n    request: Artifact generation request with type and parameters\n    user: Authenticated user (injected by dependency)\n    \nReturns:\n    ArtifactGenerationResponse with URL and metadata\n    \nRaises:\n    HTTPException 400: Invalid artifact type or parameters\n    HTTPException 500: Artifact generation failed","operationId":"generate_artifact_v1_artifacts_generate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArtifactGenerationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArtifactGenerationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/artifacts/health":{"get":{"tags":["Artifacts"],"summary":"Artifacts Health Check","description":"Health check endpoint for the artifacts service.\n\nReturns:\n    Status information about the artifacts service","operationId":"artifacts_health_check_v1_artifacts_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/profile/profile-tab":{"get":{"tags":["Profile"],"summary":"Get Profile Tab Data","operationId":"get_profile_tab_data_v1_profile_profile_tab_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileTabResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/profile/profile-tab/activity-heatmap":{"get":{"tags":["Profile"],"summary":"Get Activity Heatmap","operationId":"get_activity_heatmap_v1_profile_profile_tab_activity_heatmap_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"userId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Userid"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":365,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivityHeatmap"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/profile/profile-tab/learning-velocity":{"get":{"tags":["Profile"],"summary":"Get Learning Velocity","description":"Get learning velocity data","operationId":"get_learning_velocity_v1_profile_profile_tab_learning_velocity_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LearningVelocity"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/profile/profile-tab/skills-and-memory":{"get":{"tags":["Profile"],"summary":"Get Skills And Memory","description":"Get skills and memory data","operationId":"get_skills_and_memory_v1_profile_profile_tab_skills_and_memory_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkillsAndMemory"}}}}}}},"/v1/profile/profile-tab/learning-stats":{"get":{"tags":["Profile"],"summary":"Get Learning Stats","description":"Get learning stats data","operationId":"get_learning_stats_v1_profile_profile_tab_learning_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LearningStats"}}}}}}},"/v1/profile/profile-tab/learning-dna-old":{"get":{"tags":["Profile"],"summary":"Get Learning Dna Old","description":"Get learning DNA data (OLD FORMAT - DEPRECATED)","operationId":"get_learning_dna_old_v1_profile_profile_tab_learning_dna_old_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LearningDNA"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/profile/profile-tab/next-skills":{"get":{"tags":["Profile"],"summary":"Get Next Skills","description":"Get next skills recommendations","operationId":"get_next_skills_v1_profile_profile_tab_next_skills_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NextSkills"}}}}}}},"/v1/profile/profile-tab/achievements":{"get":{"tags":["Profile"],"summary":"Get Achievements","description":"Get achievements data","operationId":"get_achievements_v1_profile_profile_tab_achievements_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Achievements"}}}}}}},"/v1/profile/profile-tab/skills-earned":{"get":{"tags":["Profile"],"summary":"Get Skills Earned","description":"Get skills earned data","operationId":"get_skills_earned_v1_profile_profile_tab_skills_earned_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkillsEarned"}}}}}}},"/v1/profile/profile-tab/certificates":{"get":{"tags":["Profile"],"summary":"Get Certificates","description":"Get certificates data","operationId":"get_certificates_v1_profile_profile_tab_certificates_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Certificates"}}}}}}},"/v1/profile/profile-tab/knowledge-graph":{"get":{"tags":["Profile"],"summary":"Get Knowledge Graph","description":"Get knowledge graph data","operationId":"get_knowledge_graph_v1_profile_profile_tab_knowledge_graph_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeGraph"}}}}}}},"/v1/profile/lvi":{"get":{"tags":["Profile"],"summary":"Get Lvi","description":"Get Learning Velocity Index (LVI) for a user.\n\nQuery Parameters:\n- userId: User ID (optional, defaults to current user)\n- week: 'current' for current week, or ISO date string (YYYY-MM-DD)\n- force_refresh: Force recalculation even if cached data exists (optional, for testing)\n\nExample: GET /v1/profile/lvi?userId={userId}&week=current&force_refresh=true","operationId":"get_lvi_v1_profile_lvi_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"userId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Userid"}},{"name":"week","in":"query","required":false,"schema":{"type":"string","default":"current","title":"Week"}},{"name":"force_refresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Force Refresh"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LVIResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/profile/skill-confidence":{"get":{"tags":["Profile"],"summary":"Get Skill Confidence Index","description":"Get top skills by confidence for radar chart","operationId":"get_skill_confidence_index_v1_profile_skill_confidence_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"userId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Userid"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":10,"minimum":1,"default":6,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkillConfidenceIndexResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/profile/users/{user_id}":{"get":{"tags":["Profile"],"summary":"Get User Profile","description":"Get user profile data","operationId":"get_user_profile_v1_profile_users__user_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProfile"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Profile"],"summary":"Update User Profile","description":"Update user profile data - accepts flexible data dict","operationId":"update_user_profile_v1_profile_users__user_id__put","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Profile Data"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProfile"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/profile/engagement-stats":{"get":{"tags":["Engagement Stats"],"summary":"Get Engagement Stats","operationId":"get_engagement_stats_v1_profile_engagement_stats_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"userId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Userid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EngagementStatsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/github/analyze-pr":{"post":{"tags":["GitHub"],"summary":"Analyze Pr","operationId":"analyze_pr_v1_github_analyze_pr_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyzePRRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyzePRResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/github/tokens":{"get":{"tags":["GitHub"],"summary":"Get Github Tokens","description":"Get all GitHub tokens for the current user from github_tokens table\nSame approach as users table - direct database query\n\nReturns list of tokens (supports multiple GitHub accounts per user)\nFalls back to users.github_access_token if github_tokens table doesn't exist","operationId":"get_github_tokens_v1_github_tokens_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"include_inactive","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Inactive"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GitHubTokenResponse"},"title":"Response Get Github Tokens V1 Github Tokens Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["GitHub"],"summary":"Create Github Token","description":"Create or update a GitHub token for the current user in github_tokens table\nSame approach as users table - direct database operation\n\nThis endpoint is called from the OAuth callback to store tokens.\nUses UPSERT pattern - if token exists for (user_id, github_user_id), updates it.\nSupports multiple GitHub accounts per user.\nFalls back to users.github_access_token if github_tokens table doesn't exist","operationId":"create_github_token_v1_github_tokens_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GitHubTokenCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GitHubTokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/github/tokens/{token_id}":{"get":{"tags":["GitHub"],"summary":"Get Github Token","description":"Get a specific GitHub token by ID (with decrypted access_token)\n\nUsed when making GitHub API calls that require the token","operationId":"get_github_token_v1_github_tokens__token_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"token_id","in":"path","required":true,"schema":{"type":"string","title":"Token Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GitHubTokenWithAccessToken"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["GitHub"],"summary":"Delete Github Token","description":"Delete or deactivate a GitHub token\n\nBy default, performs soft delete (sets is_active=false).\nSet soft_delete=false to permanently delete the record.","operationId":"delete_github_token_v1_github_tokens__token_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"token_id","in":"path","required":true,"schema":{"type":"string","title":"Token Id"}},{"name":"soft_delete","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Soft Delete"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/github/tokens/github-user/{github_user_id}":{"get":{"tags":["GitHub"],"summary":"Get Github Token By Github User Id","description":"Get GitHub token by GitHub user ID from github_tokens table (with decrypted access_token)\nSame approach as users table - direct database query\n\nConvenience endpoint to get token by GitHub user ID instead of token record ID\nSupports multiple GitHub accounts per user\nFalls back to users.github_access_token if github_tokens table doesn't exist","operationId":"get_github_token_by_github_user_id_v1_github_tokens_github_user__github_user_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"github_user_id","in":"path","required":true,"schema":{"type":"integer","title":"Github User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GitHubTokenWithAccessToken"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/feedback":{"post":{"tags":["Feedback"],"summary":"Submit Feedback","description":"Submit feedback, create Linear issue, and save to database","operationId":"submit_feedback_v1_feedback_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/quiz/generate":{"post":{"tags":["Quiz"],"summary":"Generate Quiz","description":"Generates a quiz based on the session context using an LLM.\nChecks if a quiz already exists for the session and returns it if so.\nOtherwise, generates a new quiz and saves it to the session.","operationId":"generate_quiz_v1_quiz_generate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuizGenerationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Assesment"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/quiz/evaluate":{"post":{"tags":["Quiz"],"summary":"Evaluate And Save Quiz Result","description":"Evaluates a quiz submission, saves the result to the database,\nand returns the official result.","operationId":"evaluate_and_save_quiz_result_v1_quiz_evaluate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuizSubmission"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuizResultResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/gradient-flo/sessions":{"post":{"tags":["Gradient Flo Sessions"],"summary":"Create Session","description":"Create a new Gradient Flo session.","operationId":"create_session_v1_gradient_flo_sessions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GradientSessionCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GradientSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/gradient-flo/sessions/":{"get":{"tags":["Gradient Flo Sessions"],"summary":"List Sessions","description":"List all Gradient Flo sessions for the current user.","operationId":"list_sessions_v1_gradient_flo_sessions__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GradientSessionResponse"},"title":"Response List Sessions V1 Gradient Flo Sessions  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/gradient-flo/sessions/completed":{"get":{"tags":["Gradient Flo Sessions"],"summary":"List Completed Sessions","description":"List all completed Gradient Flo sessions for the current user.","operationId":"list_completed_sessions_v1_gradient_flo_sessions_completed_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GradientSessionResponse"},"title":"Response List Completed Sessions V1 Gradient Flo Sessions Completed Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/gradient-flo/sessions/{session_id}":{"get":{"tags":["Gradient Flo Sessions"],"summary":"Get Session","description":"Get a specific Gradient Flo session by ID.\nSupports secret key bypass for public access.","operationId":"get_session_v1_gradient_flo_sessions__session_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"secret","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GradientSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Gradient Flo Sessions"],"summary":"Update Session","description":"Update a Gradient Flo session.","operationId":"update_session_v1_gradient_flo_sessions__session_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GradientSessionUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GradientSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Gradient Flo Sessions"],"summary":"Delete Session","description":"Delete a Gradient Flo session.","operationId":"delete_session_v1_gradient_flo_sessions__session_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/gradient-flo/sessions/{session_id}/enrich":{"post":{"tags":["Gradient Flo Sessions"],"summary":"Enrich Session With Llm","description":"Enrich a session using LLM structured output to populate LVI-required fields.\n\nThis endpoint analyzes the session's transcriptions and state using an LLM\nto automatically extract:\n- Skills learned and confidence levels\n- Concepts covered\n- Quiz/assessment results\n- Interaction metrics\n- Duration estimate\n- Overall confidence score\n\nThese fields are required for LVI (Learning Velocity Index) calculation.","operationId":"enrich_session_with_llm_v1_gradient_flo_sessions__session_id__enrich_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GradientSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/transcriptions/{session_id}":{"get":{"tags":["Transcriptions"],"summary":"Get Transcriptions","description":"Fetch transcriptions for a session based on the session ID.\nThis session should be from ADK only.\nReturns a list of finalized messages (role, content).","operationId":"get_transcriptions_v1_transcriptions__session_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"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"}}}}}}},"/v1/knowledge-graph/":{"get":{"tags":["Knowledge Graph"],"summary":"Get Knowledge Graph","description":"Get the knowledge graph for a user.\nReturns nodes (skills) and edges (relationships) for visualization.","operationId":"get_knowledge_graph_v1_knowledge_graph__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"userId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"User ID (defaults to current user)","title":"Userid"},"description":"User ID (defaults to current user)"},{"name":"minConfidence","in":"query","required":false,"schema":{"type":"number","maximum":100,"minimum":0,"description":"Minimum confidence threshold","default":0.0,"title":"Minconfidence"},"description":"Minimum confidence threshold"},{"name":"includeRelationships","in":"query","required":false,"schema":{"type":"boolean","description":"Include skill relationships","default":true,"title":"Includerelationships"},"description":"Include skill relationships"},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by category","title":"Category"},"description":"Filter by category"},{"name":"layout","in":"query","required":false,"schema":{"type":"string","description":"Graph layout algorithm","default":"force-directed","title":"Layout"},"description":"Graph layout algorithm"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeGraphResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/knowledge-graph/stats":{"get":{"tags":["Knowledge Graph"],"summary":"Get User Knowledge Stats","description":"Get statistics about user's knowledge graph","operationId":"get_user_knowledge_stats_v1_knowledge_graph_stats_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"userId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"User ID (defaults to current user)","title":"Userid"},"description":"User ID (defaults to current user)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserKnowledgeStatsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/knowledge-graph/skills/graph":{"get":{"tags":["Knowledge Graph"],"summary":"Get Skills Graph","description":"Get user's personal knowledge graph in nodes + edges format for visualization.\nPerfect for React Flow, D3.js, Cytoscape.js, etc.\n\nReturns:\n    - nodes: Array of skill nodes the user has learned\n    - edges: Array of relationships (RELATES_TO, PREREQUISITE_OF)\n    - metadata: Statistics and categories","operationId":"get_skills_graph_v1_knowledge_graph_skills_graph_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by category","title":"Category"},"description":"Filter by category"},{"name":"includeUsers","in":"query","required":false,"schema":{"type":"boolean","description":"Include user nodes","default":false,"title":"Includeusers"},"description":"Include user nodes"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/knowledge-graph/skills/hierarchy":{"get":{"tags":["Knowledge Graph"],"summary":"Get Skills Hierarchy","description":"Get skills in hierarchical/tree format.\nPerfect for tree visualizations, sunburst charts, treemaps, etc.\n\nReturns nested structure with parent-child relationships based on prerequisites.","operationId":"get_skills_hierarchy_v1_knowledge_graph_skills_hierarchy_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"rootCategory","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Root category to start from","title":"Rootcategory"},"description":"Root category to start from"},{"name":"maxDepth","in":"query","required":false,"schema":{"type":"integer","maximum":10,"minimum":1,"description":"Maximum depth of hierarchy","default":3,"title":"Maxdepth"},"description":"Maximum depth of hierarchy"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/knowledge-graph/skills":{"get":{"tags":["Knowledge Graph"],"summary":"List Skills","description":"List all available skills","operationId":"list_skills_v1_knowledge_graph_skills_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by category","title":"Category"},"description":"Filter by category"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SkillResponse"},"title":"Response List Skills V1 Knowledge Graph Skills Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Knowledge Graph"],"summary":"Create Skill","description":"Create a new skill","operationId":"create_skill_v1_knowledge_graph_skills_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkillCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkillResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/knowledge-graph/skills/{skill_id}":{"get":{"tags":["Knowledge Graph"],"summary":"Get Skill","description":"Get a specific skill with its relationships","operationId":"get_skill_v1_knowledge_graph_skills__skill_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"skill_id","in":"path","required":true,"schema":{"type":"string","title":"Skill Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkillWithRelationships"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/knowledge-graph/relationships":{"post":{"tags":["Knowledge Graph"],"summary":"Create Relationship","description":"Create a relationship between two skills","operationId":"create_relationship_v1_knowledge_graph_relationships_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RelationshipCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RelationshipResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/knowledge-graph/relationships/analyze":{"post":{"tags":["Knowledge Graph"],"summary":"Analyze Skill Relationships","description":"Use Graph RAG to analyze and suggest relationships for a skill.\nThis endpoint uses LLM to intelligently detect relationships.","operationId":"analyze_skill_relationships_v1_knowledge_graph_relationships_analyze_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RelationshipAnalysisRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RelationshipAnalysisResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/knowledge-graph/learned":{"post":{"tags":["Knowledge Graph"],"summary":"Record Skill Learned","description":"Record that a user has learned a skill","operationId":"record_skill_learned_v1_knowledge_graph_learned_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserSkillLearned"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Knowledge Graph"],"summary":"Get User Learned Skills","description":"Get all skills the current user has learned","operationId":"get_user_learned_skills_v1_knowledge_graph_learned_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"minConfidence","in":"query","required":false,"schema":{"type":"number","maximum":100,"minimum":0,"default":0.0,"title":"Minconfidence"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SkillResponse"},"title":"Response Get User Learned Skills V1 Knowledge Graph Learned Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/knowledge-graph/learned/batch":{"post":{"tags":["Knowledge Graph"],"summary":"Record Batch Skills Learned","description":"Record multiple skills learned (e.g., from a session)","operationId":"record_batch_skills_learned_v1_knowledge_graph_learned_batch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchSkillsLearned"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/knowledge-graph/sync/status":{"get":{"tags":["Knowledge Graph"],"summary":"Get Sync Status","description":"Get current synchronization status between PostgreSQL and Neo4j","operationId":"get_sync_status_v1_knowledge_graph_sync_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyncStatusResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/knowledge-graph/sync/migrate":{"post":{"tags":["Knowledge Graph"],"summary":"Migrate Data","description":"Migrate data from PostgreSQL to Neo4j.\nThis is a long-running operation that should be used carefully.","operationId":"migrate_data_v1_knowledge_graph_sync_migrate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MigrationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MigrationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/knowledge-graph/sync/user/check":{"get":{"tags":["Knowledge Graph"],"summary":"Check User Id Consistency","description":"Check if user ID is consistent between PostgreSQL and Neo4j\n\nThis endpoint verifies:\n- User exists in PostgreSQL (source of truth)\n- User exists in Neo4j with the same ID\n- Recommends sync action if needed","operationId":"check_user_id_consistency_v1_knowledge_graph_sync_user_check_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/knowledge-graph/sync/user":{"post":{"tags":["Knowledge Graph"],"summary":"Sync Current User","description":"Sync current user's data from PostgreSQL to Neo4j\n\nThis ensures:\n- User ID from PostgreSQL is used in Neo4j\n- If user exists in Neo4j, update their data\n- If user doesn't exist in Neo4j, create with PostgreSQL ID\n- All user skills are synced with the correct user ID","operationId":"sync_current_user_v1_knowledge_graph_sync_user_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/knowledge-graph/session/complete":{"post":{"tags":["Knowledge Graph"],"summary":"Handle Session Completion","description":"Handle session completion event.\nThis endpoint is called when a learning session completes.","operationId":"handle_session_completion_v1_knowledge_graph_session_complete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionCompletionEvent"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/sync-webhooks/user-created":{"post":{"tags":["Sync Webhooks","Sync Webhooks"],"summary":"Webhook User Created","description":"Webhook: Called when a new user is created in PostgreSQL\nAutomatically syncs the user to Neo4j\n\nUsage:\n```python\n# After creating a user in PostgreSQL:\nimport httpx\nawait httpx.post(\"http://localhost:8000/v1/sync-webhooks/user-created\", json={\n    \"user_id\": \"user_123\",\n    \"username\": \"john_doe\",\n    \"email\": \"john@example.com\"\n})\n```","operationId":"webhook_user_created_v1_sync_webhooks_user_created_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCreatedWebhook"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sync-webhooks/skill-created":{"post":{"tags":["Sync Webhooks","Sync Webhooks"],"summary":"Webhook Skill Created","description":"Webhook: Called when a new skill is created in PostgreSQL\nAutomatically syncs the skill to Neo4j\n\nUsage:\n```python\n# After creating a skill in PostgreSQL:\nimport httpx\nawait httpx.post(\"http://localhost:8000/v1/sync-webhooks/skill-created\", json={\n    \"skill_id\": 1,\n    \"skill_name\": \"Python\",\n    \"category\": \"Language\",\n    \"description\": \"Programming language\",\n    \"difficulty_level\": 2,\n    \"tags\": [\"programming\", \"backend\"]\n})\n```","operationId":"webhook_skill_created_v1_sync_webhooks_skill_created_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkillCreatedWebhook"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sync-webhooks/user-skill-updated":{"post":{"tags":["Sync Webhooks","Sync Webhooks"],"summary":"Webhook User Skill Updated","description":"Webhook: Called when a user learns or updates a skill\nAutomatically syncs the relationship to Neo4j\n\nUsage:\n```python\n# After updating user_skills in PostgreSQL:\nimport httpx\nawait httpx.post(\"http://localhost:8000/v1/sync-webhooks/user-skill-updated\", json={\n    \"user_id\": \"user_123\",\n    \"skill_id\": 1,\n    \"mastery_score\": 85,\n    \"session_id\": \"session_abc\",\n    \"hours_spent\": 5.0\n})\n```","operationId":"webhook_user_skill_updated_v1_sync_webhooks_user_skill_updated_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserSkillUpdatedWebhook"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sync-webhooks/skill-updated":{"post":{"tags":["Sync Webhooks","Sync Webhooks"],"summary":"Webhook Skill Updated","description":"Webhook: Called when a skill is updated in PostgreSQL\nAutomatically syncs the changes to Neo4j\n\nUsage:\n```python\n# After updating a skill in PostgreSQL:\nimport httpx\nawait httpx.post(\"http://localhost:8000/v1/sync-webhooks/skill-updated\", json={\n    \"skill_id\": 1,\n    \"updates\": {\n        \"description\": \"Updated description\",\n        \"difficulty_level\": 3\n    }\n})\n```","operationId":"webhook_skill_updated_v1_sync_webhooks_skill_updated_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkillUpdatedWebhook"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sync-webhooks/full-sync":{"post":{"tags":["Sync Webhooks","Sync Webhooks"],"summary":"Webhook Full Sync","description":"Webhook: Trigger a full sync of all data from PostgreSQL to Neo4j\nThis will sync all users, skills, and relationships\n\nUsage:\n```python\nimport httpx\nawait httpx.post(\"http://localhost:8000/v1/sync-webhooks/full-sync\")\n```","operationId":"webhook_full_sync_v1_sync_webhooks_full_sync_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/sync-webhooks/enable":{"post":{"tags":["Sync Webhooks","Sync Webhooks"],"summary":"Enable Auto Sync","description":"Enable automatic synchronization","operationId":"enable_auto_sync_v1_sync_webhooks_enable_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/sync-webhooks/disable":{"post":{"tags":["Sync Webhooks","Sync Webhooks"],"summary":"Disable Auto Sync","description":"Disable automatic synchronization","operationId":"disable_auto_sync_v1_sync_webhooks_disable_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/sync-webhooks/generate-ai-relationships":{"post":{"tags":["Sync Webhooks","Sync Webhooks"],"summary":"Generate Ai Relationships","description":"🤖 Generate AI-powered RELATES_TO and PREREQUISITE_OF relationships\n\nAnalyzes all skills in Neo4j using OpenAI to intelligently detect:\n- RELATES_TO: Skills that are similar, complementary, or often used together\n- PREREQUISITE_OF: Skills that should be learned before others\n\nThis uses the LEARNED relationships as context to understand how users\nlearn skills and generates intelligent connections.\n\nParameters:\n- batch_size: Number of skills to process at once (default: 5)\n- max_skills: Maximum number of skills to analyze (None = all)\n\nUsage:\n```bash\ncurl -X POST \"http://localhost:8000/v1/sync-webhooks/generate-ai-relationships?batch_size=5&max_skills=20\"\n```\n\n⚠️ Note: This will make API calls to OpenAI and may take several minutes","operationId":"generate_ai_relationships_v1_sync_webhooks_generate_ai_relationships_post","parameters":[{"name":"batch_size","in":"query","required":false,"schema":{"type":"integer","default":5,"title":"Batch Size"}},{"name":"max_skills","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Skills"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/profile/memory-layers":{"get":{"tags":["Memory Layers"],"summary":"Get Memory Layers","operationId":"get_memory_layers_v1_profile_memory_layers_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"userId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Userid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemoryLayersResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/profile/concepts":{"post":{"tags":["Memory Layers"],"summary":"Create Concept","operationId":"create_concept_v1_profile_concepts_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"sync_neo4j","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Sync Neo4J"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConceptCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConceptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Memory Layers"],"summary":"Get Concepts","operationId":"get_concepts_v1_profile_concepts_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"layer","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Layer"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConceptListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/profile/concepts/batch":{"post":{"tags":["Memory Layers"],"summary":"Batch Create Concepts","operationId":"batch_create_concepts_v1_profile_concepts_batch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchConceptCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchConceptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/profile/concepts/{concept_id}/access":{"put":{"tags":["Memory Layers"],"summary":"Access Concept","operationId":"access_concept_v1_profile_concepts__concept_id__access_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"concept_id","in":"path","required":true,"schema":{"type":"string","title":"Concept Id"}},{"name":"sync_neo4j","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Sync Neo4J"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConceptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/profile/analytics":{"get":{"tags":["Memory Layers"],"summary":"Get Memory Analytics","operationId":"get_memory_analytics_v1_profile_analytics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemoryAnalytics"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/community-courses/community/post/{course_id}":{"post":{"tags":["Community Courses"],"summary":"Post Course To Community","description":"Post a course to the community. Updates state and stores in CommunityCourse.","operationId":"post_course_to_community_v1_community_courses_community_post__course_id__post","parameters":[{"name":"course_id","in":"path","required":true,"schema":{"type":"string","title":"Course Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/community-courses/community/get/{course_id}":{"get":{"tags":["Community Courses"],"summary":"Get Community Course By Courseid","description":"Get a community course by course_id.","operationId":"get_community_course_by_courseid_v1_community_courses_community_get__course_id__get","parameters":[{"name":"course_id","in":"path","required":true,"schema":{"type":"string","title":"Course Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/community-courses/community/list":{"get":{"tags":["Community Courses"],"summary":"List Community Courses","description":"List community courses with pagination, search, and filter options.","operationId":"list_community_courses_v1_community_courses_community_list_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Number of courses per page","default":10,"title":"Page Size"},"description":"Number of courses per page"},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Search by course title or topic","title":"Search"},"description":"Search by course title or topic"},{"name":"owner_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by owner_id","title":"Owner Id"},"description":"Filter by owner_id"},{"name":"is_public","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Filter by public status","default":true,"title":"Is Public"},"description":"Filter by public status"},{"name":"topic","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by topic","title":"Topic"},"description":"Filter by topic"},{"name":"complexity_level","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by complexity level","title":"Complexity Level"},"description":"Filter by complexity level"},{"name":"language","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by language","title":"Language"},"description":"Filter by language"},{"name":"course_title","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by course title","title":"Course Title"},"description":"Filter by course title"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/profile/profile-tab/learning-dna":{"get":{"tags":["Learning DNA"],"summary":"Get Learning Dna Frontend","operationId":"get_learning_dna_frontend_v1_profile_profile_tab_learning_dna_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LearningDNAFrontendResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/profile/learning-dna":{"get":{"tags":["Learning DNA"],"summary":"Get Learning Dna","description":"Get complete Learning DNA profile with all 6 behavioral traits (Internal format)\n\nReturns:\n- All 6 traits with current strength and stage\n- Evolution timeline showing how traits developed over time\n- Metadata about computation\n\nExample: GET /v1/profile/learning-dna?userId={userId}&useCache=true","operationId":"get_learning_dna_v1_profile_learning_dna_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"userId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"User ID (defaults to current user)","title":"Userid"},"description":"User ID (defaults to current user)"},{"name":"useCache","in":"query","required":false,"schema":{"type":"boolean","description":"Use cached data if available","default":true,"title":"Usecache"},"description":"Use cached data if available"},{"name":"includeEvolution","in":"query","required":false,"schema":{"type":"boolean","description":"Include evolution timeline","default":true,"title":"Includeevolution"},"description":"Include evolution timeline"},{"name":"evolutionLimit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"description":"Max evolution entries per trait","default":50,"title":"Evolutionlimit"},"description":"Max evolution entries per trait"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LearningDNAResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/profile/learning-dna/{trait_key}":{"get":{"tags":["Learning DNA"],"summary":"Get Single Trait","description":"Get detailed information for a single trait\n\nPath Parameters:\n- trait_key: One of problem_solving, communication, technical_depth, creativity, leadership, collaboration\n\nExample: GET /v1/profile/learning-dna/problem_solving","operationId":"get_single_trait_v1_profile_learning_dna__trait_key__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"trait_key","in":"path","required":true,"schema":{"type":"string","title":"Trait Key"}},{"name":"evolutionLimit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Evolutionlimit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TraitWithEvolution"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/profile/learning-dna/analyze-session":{"post":{"tags":["Learning DNA"],"summary":"Analyze Session","description":"Analyze a specific session for trait detections\nUseful for debugging or retroactive analysis\n\nExample: POST /v1/profile/learning-dna/analyze-session\n{\n  \"sessionId\": \"session_123\",\n  \"forceRecompute\": false\n}","operationId":"analyze_session_v1_profile_learning_dna_analyze_session_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionAnalysisRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionAnalysisResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/profile/learning-dna/refresh":{"post":{"tags":["Learning DNA"],"summary":"Refresh Learning Dna","description":"Force recomputation of Learning DNA (clears cache)\n\nExample: POST /v1/profile/learning-dna/refresh","operationId":"refresh_learning_dna_v1_profile_learning_dna_refresh_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/dna-config/traits":{"get":{"tags":["Learning DNA Config"],"summary":"Get All Traits","description":"Get all learning DNA traits","operationId":"get_all_traits_v1_dna_config_traits_get","parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Learning DNA Config"],"summary":"Create Or Update Trait","description":"Create or update a trait (admin only)","operationId":"create_or_update_trait_v1_dna_config_traits_post","parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TraitCreateUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dna-config/traits/{trait_key}":{"get":{"tags":["Learning DNA Config"],"summary":"Get Trait","description":"Get a specific trait by key","operationId":"get_trait_v1_dna_config_traits__trait_key__get","parameters":[{"name":"trait_key","in":"path","required":true,"schema":{"type":"string","title":"Trait Key"}},{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Learning DNA Config"],"summary":"Delete Trait","description":"Delete a trait (soft delete, admin only)","operationId":"delete_trait_v1_dna_config_traits__trait_key__delete","parameters":[{"name":"trait_key","in":"path","required":true,"schema":{"type":"string","title":"Trait Key"}},{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dna-config/keywords":{"get":{"tags":["Learning DNA Config"],"summary":"Get All Keywords","description":"Get all keywords grouped by trait","operationId":"get_all_keywords_v1_dna_config_keywords_get","parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dna-config/keywords/{trait_key}":{"get":{"tags":["Learning DNA Config"],"summary":"Get Keywords For Trait","description":"Get keywords for a specific trait","operationId":"get_keywords_for_trait_v1_dna_config_keywords__trait_key__get","parameters":[{"name":"trait_key","in":"path","required":true,"schema":{"type":"string","title":"Trait Key"}},{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Learning DNA Config"],"summary":"Add Keyword","description":"Add a keyword to a trait (admin only)","operationId":"add_keyword_v1_dna_config_keywords__trait_key__post","parameters":[{"name":"trait_key","in":"path","required":true,"schema":{"type":"string","title":"Trait Key"}},{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeywordCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dna-config/keywords/{trait_key}/bulk":{"post":{"tags":["Learning DNA Config"],"summary":"Bulk Add Keywords","description":"Bulk add keywords to a trait (admin only)","operationId":"bulk_add_keywords_v1_dna_config_keywords__trait_key__bulk_post","parameters":[{"name":"trait_key","in":"path","required":true,"schema":{"type":"string","title":"Trait Key"}},{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkKeywordCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dna-config/keywords/{trait_key}/{keyword}":{"delete":{"tags":["Learning DNA Config"],"summary":"Delete Keyword","description":"Delete a keyword (admin only)","operationId":"delete_keyword_v1_dna_config_keywords__trait_key___keyword__delete","parameters":[{"name":"trait_key","in":"path","required":true,"schema":{"type":"string","title":"Trait Key"}},{"name":"keyword","in":"path","required":true,"schema":{"type":"string","title":"Keyword"}},{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dna-config/stages":{"get":{"tags":["Learning DNA Config"],"summary":"Get All Stages","description":"Get all DNA stages","operationId":"get_all_stages_v1_dna_config_stages_get","parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Learning DNA Config"],"summary":"Create Or Update Stage","description":"Create or update a stage definition (admin only)","operationId":"create_or_update_stage_v1_dna_config_stages_post","parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StageCreateUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dna-config/thresholds/{config_key}":{"get":{"tags":["Learning DNA Config"],"summary":"Get Threshold","description":"Get a specific threshold value","operationId":"get_threshold_v1_dna_config_thresholds__config_key__get","parameters":[{"name":"config_key","in":"path","required":true,"schema":{"type":"string","title":"Config Key"}},{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dna-config/thresholds/category/{category}":{"get":{"tags":["Learning DNA Config"],"summary":"Get Thresholds By Category","description":"Get all thresholds for a category","operationId":"get_thresholds_by_category_v1_dna_config_thresholds_category__category__get","parameters":[{"name":"category","in":"path","required":true,"schema":{"type":"string","title":"Category"}},{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dna-config/thresholds":{"post":{"tags":["Learning DNA Config"],"summary":"Set Threshold","description":"Set or update a threshold value (admin only)","operationId":"set_threshold_v1_dna_config_thresholds_post","parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThresholdSet"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dna-config/settings":{"get":{"tags":["Learning DNA Config"],"summary":"Get All Settings","description":"Get all DNA settings","operationId":"get_all_settings_v1_dna_config_settings_get","parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Learning DNA Config"],"summary":"Set Setting","description":"Set or update a setting value (admin only)","operationId":"set_setting_v1_dna_config_settings_post","parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingSet"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dna-config/settings/{setting_key}":{"get":{"tags":["Learning DNA Config"],"summary":"Get Setting","description":"Get a specific setting value","operationId":"get_setting_v1_dna_config_settings__setting_key__get","parameters":[{"name":"setting_key","in":"path","required":true,"schema":{"type":"string","title":"Setting Key"}},{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/dna-config/cache/clear":{"post":{"tags":["Learning DNA Config"],"summary":"Clear Config Cache","description":"Clear the configuration cache (admin only)","operationId":"clear_config_cache_v1_dna_config_cache_clear_post","parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/projects":{"get":{"tags":["Projects"],"summary":"Get Projects","description":"Get all projects for the current user.\n\nReturns projects sorted by last_edited_at (most recent first).\nIncludes page_count for each project.\nSupports pagination via limit/offset parameters.","operationId":"get_projects_v1_projects_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Maximum number of projects to return","default":50,"title":"Limit"},"description":"Maximum number of projects to return"},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Number of projects to skip","default":0,"title":"Offset"},"description":"Number of projects to skip"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Project"},"title":"Response Get Projects V1 Projects Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Projects"],"summary":"Create Project","description":"Create a new project.\n\nThe project will be created with status 'active'.","operationId":"create_project_v1_projects_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProjectRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Project"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/projects/{project_id}":{"patch":{"tags":["Projects"],"summary":"Update Project","description":"Update project metadata (title, description, icon, status).\n\nOnly provided fields will be updated.","operationId":"update_project_v1_projects__project_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","description":"Project ID","title":"Project Id"},"description":"Project ID"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProjectRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Project"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/projects/{project_id}/pages":{"get":{"tags":["Pages"],"summary":"Get Pages","description":"Get all pages for a project.\n\nReturns a list of pages sorted by position (descending), filtered to only active pages.\nOnly returns minimal data needed for sidebar display.\nSupports pagination via limit/offset parameters.","operationId":"get_pages_v1_projects__project_id__pages_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"description":"Maximum number of pages to return","default":100,"title":"Limit"},"description":"Maximum number of pages to return"},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Number of pages to skip","default":0,"title":"Offset"},"description":"Number of pages to skip"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PageListItem"},"title":"Response Get Pages V1 Projects  Project Id  Pages Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Pages"],"summary":"Create Page","description":"Create a new page in a project.\n\nThe page will be created with status 'active' and positioned at the end.","operationId":"create_page_v1_projects__project_id__pages_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePageRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/projects/{project_id}/pages/{page_id}":{"get":{"tags":["Pages"],"summary":"Get Page","description":"Get a single page by ID.\n\nReturns the full page data including content.\nOnly returns active pages by default.","operationId":"get_page_v1_projects__project_id__pages__page_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"page_id","in":"path","required":true,"schema":{"type":"string","title":"Page Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Pages"],"summary":"Update Page","description":"Update page metadata (title and/or icon).\n\nOnly provided fields will be updated.","operationId":"update_page_v1_projects__project_id__pages__page_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"page_id","in":"path","required":true,"schema":{"type":"string","title":"Page Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePageRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Pages"],"summary":"Delete Page","description":"Soft delete a page.\n\nSets the page status to 'deleted' instead of physically removing it.\nReturns 204 No Content on success.","operationId":"delete_page_v1_projects__project_id__pages__page_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"page_id","in":"path","required":true,"schema":{"type":"string","title":"Page Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/projects/{project_id}/pages/{page_id}/content":{"patch":{"tags":["Pages"],"summary":"Save Content","description":"Auto-save page content.\n\nThis endpoint is optimized for frequent auto-save operations.\nReturns 204 No Content on success.","operationId":"save_content_v1_projects__project_id__pages__page_id__content_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"page_id","in":"path","required":true,"schema":{"type":"string","title":"Page Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveContentRequest"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/projects/{project_id}/pages/{page_id}/archive":{"patch":{"tags":["Pages"],"summary":"Archive Page","description":"Archive a page.\n\nSets the page status to 'archived'.\nReturns 204 No Content on success.","operationId":"archive_page_v1_projects__project_id__pages__page_id__archive_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"page_id","in":"path","required":true,"schema":{"type":"string","title":"Page Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/projects/{project_id}/pages/{page_id}/restore":{"patch":{"tags":["Pages"],"summary":"Restore Page","description":"Restore an archived or deleted page.\n\nSets the page status back to 'active'.\nReturns 204 No Content on success.","operationId":"restore_page_v1_projects__project_id__pages__page_id__restore_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"page_id","in":"path","required":true,"schema":{"type":"string","title":"Page Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/session-analysis/analyze/{session_id}":{"post":{"tags":["Session Analysis"],"summary":"Trigger Manual Analysis","description":"Manually trigger full session analysis.\nUseful for debugging or backfilling data for old sessions.\n\nPopulates:\n- Learning DNA\n- Memory Layers\n- Knowledge Graph (Neo4j)\n- Learning Velocity Index (LVI)","operationId":"trigger_manual_analysis_v1_session_analysis_analyze__session_id__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"user_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/resume/upload":{"post":{"tags":["Resume"],"summary":"Upload And Parse Resume","description":"Upload a PDF resume and parse it using LLM to extract structured data\n\n- **file**: PDF file of the resume\n\nReturns structured resume data including personal info, skills, certifications, etc.","operationId":"upload_and_parse_resume_v1_resume_upload_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_and_parse_resume_v1_resume_upload_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeParseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/resume/data":{"get":{"tags":["Resume"],"summary":"Get User Resume Data","description":"Get saved resume data for the current user","operationId":"get_user_resume_data_v1_resume_data_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/planner":{"post":{"tags":["Planner"],"summary":"Generate Learning Plan","description":"Generate a structured learning plan for a given topic.\nReturns exactly 5 steps with AI-determined complexity level.","operationId":"generate_learning_plan_v1_planner_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlannerRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlannerResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/url-planner":{"post":{"tags":["URL Planner"],"summary":"Generate Url Learning Plan","description":"Generate a structured learning plan from URL content using Gemini's URL context tool.\nFetches content from provided URLs and creates exactly 5 learning steps.","operationId":"generate_url_learning_plan_v1_url_planner_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UrlPlannerRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UrlPlannerResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/summary":{"post":{"tags":["Summary"],"summary":"Generate Session Summary","description":"Generate a summary of the session based on the transcripts.","operationId":"generate_session_summary_v1_summary_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SummaryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SummaryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/gemini/token":{"post":{"tags":["Gemini"],"summary":"Create Ephemeral Token","operationId":"create_ephemeral_token_v1_gemini_token_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeminiTokenRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/prompts/course-prompt":{"post":{"tags":["Course Prompts"],"summary":"Get Course Prompt","description":"Fetch course prompts from Langfuse based on course stage.\n\nReturns a compiled prompt ready for use with ElevenLabs or other LLM providers.","operationId":"get_course_prompt_v1_prompts_course_prompt_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoursePromptRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/credits":{"get":{"tags":["Credits"],"summary":"Get User Credits","description":"Get user's credit/session information.\n\nReturns:\n    - sessions_used: Number of sessions (all statuses)\n    - sessions_limit: Maximum allowed sessions (20 for free tier)\n    - sessions_remaining: Remaining sessions available\n    - can_create_session: Whether user can create a new session","operationId":"get_user_credits_v1_credits_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Get User Credits V1 Credits Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/credits/sessions":{"delete":{"tags":["Credits"],"summary":"Delete Sessions By Email","description":"Delete all Gradient Flo sessions for the user identified by email, freeing credits.\n\nThe provided email must match the authenticated user's email (users can only\ndelete their own sessions). Returns the number of sessions deleted.","operationId":"delete_sessions_by_email_v1_credits_sessions_delete","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteSessionsByEmailRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Delete Sessions By Email V1 Credits Sessions Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/webscrape/scrape":{"post":{"tags":["webscrape"],"summary":"Scrape Website","description":"Scrape a single URL using Firecrawl v2 API.\nReturns content in markdown or html format.","operationId":"scrape_website_v1_webscrape_scrape_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebScrapeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebScrapeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/webscrape/scrape-for-learning":{"post":{"tags":["webscrape"],"summary":"Scrape For Learning","description":"Scrape a website and format content for learning context.\nOptimized for the GradientFlo learning platform.","operationId":"scrape_for_learning_v1_webscrape_scrape_for_learning_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebScrapeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/auth/register":{"post":{"tags":["Auth (Legacy)"],"summary":"Register","operationId":"register_auth_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"deprecated":true}},"/auth/token":{"post":{"tags":["Auth (Legacy)"],"summary":"Login","operationId":"login_auth_token_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_login_auth_token_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"deprecated":true}},"/auth/login":{"post":{"tags":["Auth (Legacy)"],"summary":"Login Post","operationId":"login_post_auth_login_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_login_post_auth_login_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"deprecated":true}},"/auth/google-login":{"get":{"tags":["Auth (Legacy)"],"summary":"Google Login","operationId":"google_login_auth_google_login_get","deprecated":true,"parameters":[{"name":"source","in":"query","required":false,"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"}}}}}}},"/auth/callback":{"get":{"tags":["Auth (Legacy)"],"summary":"Callback","operationId":"callback_auth_callback_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"deprecated":true}},"/auth/github-login":{"get":{"tags":["Auth (Legacy)"],"summary":"Github Login","operationId":"github_login_auth_github_login_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"deprecated":true}},"/auth/github-callback":{"get":{"tags":["Auth (Legacy)"],"summary":"Github Callback","operationId":"github_callback_auth_github_callback_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"deprecated":true}},"/auth/linkedin-login":{"get":{"tags":["Auth (Legacy)"],"summary":"Linkedin Login","operationId":"linkedin_login_auth_linkedin_login_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"deprecated":true}},"/auth/linkedin-callback":{"get":{"tags":["Auth (Legacy)"],"summary":"Linkedin Callback","operationId":"linkedin_callback_auth_linkedin_callback_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"deprecated":true}},"/auth/user":{"get":{"tags":["Auth (Legacy)"],"summary":"Get User","operationId":"get_user_auth_user_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"deprecated":true,"security":[{"HTTPBearer":[]}]}},"/auth/verify-access-code":{"post":{"tags":["Auth (Legacy)"],"summary":"Verify Access Code","description":"Verify the access code and grant access to the user","operationId":"verify_access_code_auth_verify_access_code_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyAccessCodeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"deprecated":true,"security":[{"HTTPBearer":[]}]}},"/auth/resend-access-code":{"post":{"tags":["Auth (Legacy)"],"summary":"Resend Access Code","description":"Generate and send a new access code to the user's email","operationId":"resend_access_code_auth_resend_access_code_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"deprecated":true,"security":[{"HTTPBearer":[]}]}},"/auth/check-access-status":{"get":{"tags":["Auth (Legacy)"],"summary":"Check Access Status","description":"Check if the current user has access granted","operationId":"check_access_status_auth_check_access_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"deprecated":true,"security":[{"HTTPBearer":[]}]}},"/auth/forgot-password":{"post":{"tags":["Auth (Legacy)"],"summary":"Forgot Password","operationId":"forgot_password_auth_forgot_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForgotPasswordRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"deprecated":true}},"/auth/verify-otp":{"post":{"tags":["Auth (Legacy)"],"summary":"Verify Otp","operationId":"verify_otp_auth_verify_otp_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyOTPRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"deprecated":true}},"/auth/reset-password":{"post":{"tags":["Auth (Legacy)"],"summary":"Reset Password","operationId":"reset_password_auth_reset_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetPasswordRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"deprecated":true}},"/onboarding/{user_id}":{"post":{"tags":["Onboarding (Legacy)"],"summary":"Create Or Update Onboarding","description":"Create or update onboarding data for a user progressively.\nEach call can contain any subset of onboarding fields.\nWhen completed=True, uses atomic transaction to update both\nonboarding_data and users tables together.","operationId":"create_or_update_onboarding_onboarding__user_id__post","deprecated":true,"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Onboarding (Legacy)"],"summary":"Get Onboarding","description":"Get onboarding data for a user","operationId":"get_onboarding_onboarding__user_id__get","deprecated":true,"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/static":{"get":{"tags":["Proof of Concept APIs (Legacy)"],"summary":"Root","description":"Serves the index.html","operationId":"root_static_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"deprecated":true}},"/chat-api/initialize":{"post":{"tags":["Proof of Concept APIs (Legacy)"],"summary":"Initialize Course Session","description":"Initialize ADK session with course steps before starting SSE connection.\nThis endpoint injects course steps into the session state.","operationId":"initialize_course_session_chat_api_initialize_post","deprecated":true,"parameters":[{"name":"session_id","in":"query","required":true,"schema":{"type":"string","description":"Session ID from frontend","title":"Session Id"},"description":"Session ID from frontend"},{"name":"topic","in":"query","required":true,"schema":{"type":"string","description":"The topic/course title","title":"Topic"},"description":"The topic/course title"},{"name":"role","in":"query","required":false,"schema":{"type":"string","description":"Role from the client","default":"user","title":"Role"},"description":"Role from the client"},{"name":"token","in":"query","required":false,"schema":{"type":"string","description":"Authentication token","title":"Token"},"description":"Authentication token"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StepsPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/chat-api":{"get":{"tags":["Proof of Concept APIs (Legacy)"],"summary":"Api","description":"SSE endpoint for interactive chat with different modes (tutor/expert/friend)","operationId":"api_chat_api_get","deprecated":true,"parameters":[{"name":"topic","in":"query","required":true,"schema":{"type":"string","description":"The topic to get tutoring for","title":"Topic"},"description":"The topic to get tutoring for"},{"name":"token","in":"query","required":false,"schema":{"type":"string","description":"Authentication token for SSE","title":"Token"},"description":"Authentication token for SSE"},{"name":"session_id","in":"query","required":false,"schema":{"type":"string","description":"Session ID from frontend","title":"Session Id"},"description":"Session ID from frontend"},{"name":"role","in":"query","required":false,"schema":{"type":"string","description":"role from the client","default":"user","title":"Role"},"description":"role from the client"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/session":{"get":{"tags":["Proof of Concept APIs (Legacy)"],"summary":"Get Current Session","description":"Returns the current session details (session_id, user_id, app_name) for the authenticated user.\nSupports secret key bypass for public access.","operationId":"get_current_session_session_get","deprecated":true,"security":[{"HTTPBearer":[]}],"parameters":[{"name":"session_id","in":"query","required":false,"schema":{"type":"string","title":"Session Id"}},{"name":"secret","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},{"name":"user_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/session/{session_id}/artifact":{"patch":{"tags":["Proof of Concept APIs (Legacy)"],"summary":"Update Session Artifact","description":"Updates the current_artifact for a session.","operationId":"update_session_artifact_session__session_id__artifact_patch","deprecated":true,"security":[{"HTTPBearer":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Artifact"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessions":{"get":{"tags":["Proof of Concept APIs (Legacy)"],"summary":"Get Sessions","description":"Returns paginated list of sessions for the authenticated user.\n\nQuery Parameters:\n    - page: Page number (default: 1)\n    - page_size: Number of sessions per page (default: 10, max: 100)\n\nReturns:\n    - sessions: List of session objects\n    - total: Total number of sessions\n    - page: Current page number\n    - page_size: Number of sessions per page\n    - total_pages: Total number of pages\n    \nRaises:\n    - 400: Invalid pagination parameters\n    - 500: Internal server error","operationId":"get_sessions_sessions_get","deprecated":true,"security":[{"HTTPBearer":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Number of sessions per page","default":10,"title":"Page Size"},"description":"Number of sessions per page"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/send":{"post":{"tags":["Proof of Concept APIs (Legacy)"],"summary":"Send Message Endpoint","description":"HTTP endpoint for client to agent communication","operationId":"send_message_endpoint_send_post","deprecated":true,"parameters":[{"name":"token","in":"query","required":false,"schema":{"type":"string","description":"Authentication token","title":"Token"},"description":"Authentication token"},{"name":"session_id","in":"query","required":false,"schema":{"type":"string","description":"Session ID from frontend","title":"Session Id"},"description":"Session ID from frontend"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/prompt-enhancer":{"post":{"tags":["Prompt Enhancer (Legacy)"],"summary":"Enhance Prompt","operationId":"enhance_prompt_prompt_enhancer_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromptEnhancerRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromptEnhancerResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"deprecated":true,"security":[{"HTTPBearer":[]}]}},"/claude/generate-presentation":{"get":{"tags":["Claude Streaming (Legacy)","claude-streaming"],"summary":"Generate Presentation Stream","description":"Generate a presentation with streaming progress updates.\n\nThis endpoint streams the generation process, providing real-time updates\nas slides are being created. The final response contains the complete\nPPTGeneratorOutput matching the presentation agent schema.\n\nSecurity:\n    - Requires valid JWT authentication\n    - Input validation and sanitization\n    - Rate limiting (implement via middleware)\n    \nArgs:\n    request: Presentation generation request\n    current_user: Authenticated user from JWT token\n    db: Database service dependency\n    \nReturns:\n    StreamingResponse with SSE events\n    \nRaises:\n    HTTPException: For authentication, validation, or API errors","operationId":"generate_presentation_stream_claude_generate_presentation_get","deprecated":true,"parameters":[{"name":"topic","in":"query","required":true,"schema":{"type":"string","description":"Topic for the presentation","title":"Topic"},"description":"Topic for the presentation"},{"name":"num_slides","in":"query","required":false,"schema":{"type":"integer","maximum":10,"minimum":1,"description":"Number of slides to generate","default":3,"title":"Num Slides"},"description":"Number of slides to generate"},{"name":"max_tokens","in":"query","required":false,"schema":{"type":"integer","maximum":20000,"minimum":1000,"description":"Maximum tokens for generation","default":16000,"title":"Max Tokens"},"description":"Maximum tokens for generation"},{"name":"token","in":"query","required":true,"schema":{"type":"string","description":"JWT authentication token","title":"Token"},"description":"JWT authentication token"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/claude/generate-swimlane":{"get":{"tags":["Claude Streaming (Legacy)","claude-streaming"],"summary":"Generate Swimlane Stream","description":"Generate a swimlane diagram with streaming progress updates.","operationId":"generate_swimlane_stream_claude_generate_swimlane_get","deprecated":true,"parameters":[{"name":"topic","in":"query","required":true,"schema":{"type":"string","description":"Topic for the swimlane diagram","title":"Topic"},"description":"Topic for the swimlane diagram"},{"name":"context","in":"query","required":true,"schema":{"type":"string","description":"Context/Steps for the diagram","title":"Context"},"description":"Context/Steps for the diagram"},{"name":"token","in":"query","required":true,"schema":{"type":"string","description":"JWT authentication token","title":"Token"},"description":"JWT authentication token"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/claude/generate-mindmap":{"get":{"tags":["Claude Streaming (Legacy)","claude-streaming"],"summary":"Generate Mindmap Stream","description":"Generate a mind map diagram with streaming progress updates.","operationId":"generate_mindmap_stream_claude_generate_mindmap_get","deprecated":true,"parameters":[{"name":"topic","in":"query","required":true,"schema":{"type":"string","description":"Topic for the mind map","title":"Topic"},"description":"Topic for the mind map"},{"name":"context","in":"query","required":false,"schema":{"type":"string","description":"Additional context for the mind map","default":"","title":"Context"},"description":"Additional context for the mind map"},{"name":"token","in":"query","required":true,"schema":{"type":"string","description":"JWT authentication token","title":"Token"},"description":"JWT authentication token"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/claude/generate-architecture":{"get":{"tags":["Claude Streaming (Legacy)","claude-streaming"],"summary":"Generate Architecture Stream","description":"Generate an architecture transformation diagram with streaming progress updates.","operationId":"generate_architecture_stream_claude_generate_architecture_get","deprecated":true,"parameters":[{"name":"topic","in":"query","required":true,"schema":{"type":"string","description":"Topic for the architecture diagram","title":"Topic"},"description":"Topic for the architecture diagram"},{"name":"context","in":"query","required":false,"schema":{"type":"string","description":"Additional context for the diagram","default":"","title":"Context"},"description":"Additional context for the diagram"},{"name":"token","in":"query","required":true,"schema":{"type":"string","description":"JWT authentication token","title":"Token"},"description":"JWT authentication token"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/claude/generate-erd":{"get":{"tags":["Claude Streaming (Legacy)","claude-streaming"],"summary":"Generate Erd Stream","description":"Generate an Entity Relationship Diagram (ERD) with streaming progress updates.","operationId":"generate_erd_stream_claude_generate_erd_get","deprecated":true,"parameters":[{"name":"topic","in":"query","required":true,"schema":{"type":"string","description":"Topic for the ERD diagram","title":"Topic"},"description":"Topic for the ERD diagram"},{"name":"context","in":"query","required":false,"schema":{"type":"string","description":"Additional context for the ERD","default":"","title":"Context"},"description":"Additional context for the ERD"},{"name":"token","in":"query","required":true,"schema":{"type":"string","description":"JWT authentication token","title":"Token"},"description":"JWT authentication token"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/claude/health":{"get":{"tags":["Claude Streaming (Legacy)","claude-streaming"],"summary":"Health Check","description":"Health check endpoint for Claude streaming service.\n\nReturns:\n    Service status and configuration","operationId":"health_check_claude_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"deprecated":true}},"/payments/stripe/create-subscription-session":{"post":{"tags":["Stripe Payments (Legacy)"],"summary":"Create Subscription Session","operationId":"create_subscription_session_payments_stripe_create_subscription_session_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionSessionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"deprecated":true}},"/payments/stripe/webhook":{"post":{"tags":["Stripe Payments (Legacy)"],"summary":"Stripe Webhook","operationId":"stripe_webhook_payments_stripe_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"deprecated":true}},"/artifacts/generate":{"post":{"tags":["Artifacts (Legacy)"],"summary":"Generate Artifact","description":"Generate an artifact based on the specified type and parameters.\n\nSupports multiple artifact types:\n- **image**: Generate images from text prompts using Gemini\n- **video**: Generate videos from text prompts using Veo2\n- More types coming soon (audio, documents, etc.)\n\nArgs:\n    request: Artifact generation request with type and parameters\n    user: Authenticated user (injected by dependency)\n    \nReturns:\n    ArtifactGenerationResponse with URL and metadata\n    \nRaises:\n    HTTPException 400: Invalid artifact type or parameters\n    HTTPException 500: Artifact generation failed","operationId":"generate_artifact_artifacts_generate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArtifactGenerationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArtifactGenerationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"deprecated":true,"security":[{"HTTPBearer":[]}]}},"/artifacts/health":{"get":{"tags":["Artifacts (Legacy)"],"summary":"Artifacts Health Check","description":"Health check endpoint for the artifacts service.\n\nReturns:\n    Status information about the artifacts service","operationId":"artifacts_health_check_artifacts_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"deprecated":true}},"/profile/profile-tab":{"get":{"tags":["Profile (Legacy)"],"summary":"Get Profile Tab Data","operationId":"get_profile_tab_data_profile_profile_tab_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileTabResponse"}}}}},"deprecated":true,"security":[{"HTTPBearer":[]}]}},"/profile/profile-tab/activity-heatmap":{"get":{"tags":["Profile (Legacy)"],"summary":"Get Activity Heatmap","operationId":"get_activity_heatmap_profile_profile_tab_activity_heatmap_get","deprecated":true,"security":[{"HTTPBearer":[]}],"parameters":[{"name":"userId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Userid"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":365,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivityHeatmap"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile/profile-tab/learning-velocity":{"get":{"tags":["Profile (Legacy)"],"summary":"Get Learning Velocity","description":"Get learning velocity data","operationId":"get_learning_velocity_profile_profile_tab_learning_velocity_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LearningVelocity"}}}}},"deprecated":true,"security":[{"HTTPBearer":[]}]}},"/profile/profile-tab/skills-and-memory":{"get":{"tags":["Profile (Legacy)"],"summary":"Get Skills And Memory","description":"Get skills and memory data","operationId":"get_skills_and_memory_profile_profile_tab_skills_and_memory_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkillsAndMemory"}}}}},"deprecated":true}},"/profile/profile-tab/learning-stats":{"get":{"tags":["Profile (Legacy)"],"summary":"Get Learning Stats","description":"Get learning stats data","operationId":"get_learning_stats_profile_profile_tab_learning_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LearningStats"}}}}},"deprecated":true}},"/profile/profile-tab/learning-dna-old":{"get":{"tags":["Profile (Legacy)"],"summary":"Get Learning Dna Old","description":"Get learning DNA data (OLD FORMAT - DEPRECATED)","operationId":"get_learning_dna_old_profile_profile_tab_learning_dna_old_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LearningDNA"}}}}},"deprecated":true,"security":[{"HTTPBearer":[]}]}},"/profile/profile-tab/next-skills":{"get":{"tags":["Profile (Legacy)"],"summary":"Get Next Skills","description":"Get next skills recommendations","operationId":"get_next_skills_profile_profile_tab_next_skills_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NextSkills"}}}}},"deprecated":true}},"/profile/profile-tab/achievements":{"get":{"tags":["Profile (Legacy)"],"summary":"Get Achievements","description":"Get achievements data","operationId":"get_achievements_profile_profile_tab_achievements_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Achievements"}}}}},"deprecated":true}},"/profile/profile-tab/skills-earned":{"get":{"tags":["Profile (Legacy)"],"summary":"Get Skills Earned","description":"Get skills earned data","operationId":"get_skills_earned_profile_profile_tab_skills_earned_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkillsEarned"}}}}},"deprecated":true}},"/profile/profile-tab/certificates":{"get":{"tags":["Profile (Legacy)"],"summary":"Get Certificates","description":"Get certificates data","operationId":"get_certificates_profile_profile_tab_certificates_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Certificates"}}}}},"deprecated":true}},"/profile/profile-tab/knowledge-graph":{"get":{"tags":["Profile (Legacy)"],"summary":"Get Knowledge Graph","description":"Get knowledge graph data","operationId":"get_knowledge_graph_profile_profile_tab_knowledge_graph_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KnowledgeGraph"}}}}},"deprecated":true}},"/profile/lvi":{"get":{"tags":["Profile (Legacy)"],"summary":"Get Lvi","description":"Get Learning Velocity Index (LVI) for a user.\n\nQuery Parameters:\n- userId: User ID (optional, defaults to current user)\n- week: 'current' for current week, or ISO date string (YYYY-MM-DD)\n- force_refresh: Force recalculation even if cached data exists (optional, for testing)\n\nExample: GET /v1/profile/lvi?userId={userId}&week=current&force_refresh=true","operationId":"get_lvi_profile_lvi_get","deprecated":true,"security":[{"HTTPBearer":[]}],"parameters":[{"name":"userId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Userid"}},{"name":"week","in":"query","required":false,"schema":{"type":"string","default":"current","title":"Week"}},{"name":"force_refresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Force Refresh"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LVIResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile/skill-confidence":{"get":{"tags":["Profile (Legacy)"],"summary":"Get Skill Confidence Index","description":"Get top skills by confidence for radar chart","operationId":"get_skill_confidence_index_profile_skill_confidence_get","deprecated":true,"security":[{"HTTPBearer":[]}],"parameters":[{"name":"userId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Userid"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":10,"minimum":1,"default":6,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkillConfidenceIndexResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile/users/{user_id}":{"get":{"tags":["Profile (Legacy)"],"summary":"Get User Profile","description":"Get user profile data","operationId":"get_user_profile_profile_users__user_id__get","deprecated":true,"security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProfile"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Profile (Legacy)"],"summary":"Update User Profile","description":"Update user profile data - accepts flexible data dict","operationId":"update_user_profile_profile_users__user_id__put","deprecated":true,"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Profile Data"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProfile"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile/memory-layers":{"get":{"tags":["Memory Layers (Legacy)"],"summary":"Get Memory Layers","operationId":"get_memory_layers_profile_memory_layers_get","deprecated":true,"security":[{"HTTPBearer":[]}],"parameters":[{"name":"userId","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Userid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemoryLayersResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile/concepts":{"post":{"tags":["Memory Layers (Legacy)"],"summary":"Create Concept","operationId":"create_concept_profile_concepts_post","deprecated":true,"security":[{"HTTPBearer":[]}],"parameters":[{"name":"sync_neo4j","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Sync Neo4J"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConceptCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConceptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Memory Layers (Legacy)"],"summary":"Get Concepts","operationId":"get_concepts_profile_concepts_get","deprecated":true,"security":[{"HTTPBearer":[]}],"parameters":[{"name":"layer","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Layer"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConceptListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile/concepts/batch":{"post":{"tags":["Memory Layers (Legacy)"],"summary":"Batch Create Concepts","operationId":"batch_create_concepts_profile_concepts_batch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchConceptCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchConceptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"deprecated":true,"security":[{"HTTPBearer":[]}]}},"/profile/concepts/{concept_id}/access":{"put":{"tags":["Memory Layers (Legacy)"],"summary":"Access Concept","operationId":"access_concept_profile_concepts__concept_id__access_put","deprecated":true,"security":[{"HTTPBearer":[]}],"parameters":[{"name":"concept_id","in":"path","required":true,"schema":{"type":"string","title":"Concept Id"}},{"name":"sync_neo4j","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Sync Neo4J"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConceptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile/analytics":{"get":{"tags":["Memory Layers (Legacy)"],"summary":"Get Memory Analytics","operationId":"get_memory_analytics_profile_analytics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemoryAnalytics"}}}}},"deprecated":true,"security":[{"HTTPBearer":[]}]}},"/":{"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":{"AchievementItem":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"iconKey":{"type":"string","title":"Iconkey"}},"type":"object","required":["id","title","iconKey"],"title":"AchievementItem"},"Achievements":{"properties":{"items":{"items":{"$ref":"#/components/schemas/AchievementItem"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"Achievements"},"ActivityDay":{"properties":{"date":{"type":"string","title":"Date"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["date","count"],"title":"ActivityDay"},"ActivityHeatmap":{"properties":{"days":{"items":{"$ref":"#/components/schemas/ActivityDay"},"type":"array","title":"Days"},"totalDays":{"type":"integer","title":"Totaldays","default":0},"totalSessions":{"type":"integer","title":"Totalsessions","default":0},"currentStreak":{"type":"integer","title":"Currentstreak","default":0}},"type":"object","required":["days"],"title":"ActivityHeatmap"},"AnalyzePRRequest":{"properties":{"pr_url":{"type":"string","title":"Pr Url"},"artifact_type":{"type":"string","title":"Artifact Type"}},"type":"object","required":["pr_url","artifact_type"],"title":"AnalyzePRRequest"},"AnalyzePRResponse":{"properties":{"summary":{"type":"string","title":"Summary"},"mermaid_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mermaid Code"},"learning_steps":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Learning Steps"}},"type":"object","required":["summary","learning_steps"],"title":"AnalyzePRResponse"},"ArtifactGenerationRequest":{"properties":{"artifact_type":{"type":"string","title":"Artifact Type","description":"Type of artifact to generate (e.g., 'image', 'video', 'audio')"},"params":{"additionalProperties":true,"type":"object","title":"Params","description":"Type-specific parameters for artifact generation"}},"type":"object","required":["artifact_type","params"],"title":"ArtifactGenerationRequest","description":"Request model for artifact generation","example":{"artifact_type":"image","params":{"prompt":"A modern tech presentation slide with dark theme"}}},"ArtifactGenerationResponse":{"properties":{"artifact_type":{"type":"string","title":"Artifact Type","description":"Type of artifact generated"},"url":{"type":"string","title":"Url","description":"URL to access the generated artifact"},"filename":{"type":"string","title":"Filename","description":"Filename of the generated artifact"},"created_at":{"type":"string","title":"Created At","description":"ISO timestamp of when the artifact was created"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata","description":"Additional metadata about the artifact"}},"type":"object","required":["artifact_type","url","filename","created_at"],"title":"ArtifactGenerationResponse","description":"Response model for artifact generation","example":{"artifact_type":"image","created_at":"2025-11-20T12:00:00Z","filename":"abc123.png","metadata":{"prompt":"A modern tech presentation slide"},"url":"https://storage.googleapis.com/bucket/image.png"}},"Assesment":{"properties":{"quiz":{"$ref":"#/components/schemas/Quiz","description":"The quiz being administered"},"contentType":{"type":"string","title":"Contenttype","description":"MIME type for quiz content","default":"quiz"},"assesmentStatus":{"type":"string","title":"Assesmentstatus","description":"Status of the assessment (COMPLETED, PENDING)","default":"PENDING"}},"type":"object","required":["quiz"],"title":"Assesment"},"BatchConceptCreate":{"properties":{"concepts":{"items":{"$ref":"#/components/schemas/ConceptCreate"},"type":"array","minItems":1,"title":"Concepts","description":"List of concepts to create"},"sessionId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sessionid","description":"Common session ID for all concepts"}},"type":"object","required":["concepts"],"title":"BatchConceptCreate","description":"Model for batch creating concepts"},"BatchConceptResponse":{"properties":{"created":{"items":{"$ref":"#/components/schemas/ConceptResponse"},"type":"array","title":"Created","description":"Successfully created concepts"},"updated":{"items":{"$ref":"#/components/schemas/ConceptResponse"},"type":"array","title":"Updated","description":"Updated existing concepts"},"failed":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Failed","description":"Failed concepts with error messages"},"totalProcessed":{"type":"integer","title":"Totalprocessed","description":"Total number of concepts processed"}},"type":"object","required":["totalProcessed"],"title":"BatchConceptResponse","description":"Response for batch concept creation"},"BatchSkillsLearned":{"properties":{"skills":{"items":{"$ref":"#/components/schemas/UserSkillLearned"},"type":"array","title":"Skills","description":"List of skills learned"},"sessionId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sessionid","description":"Associated session ID"}},"type":"object","required":["skills"],"title":"BatchSkillsLearned","description":"Model for batch recording skills learned"},"Body_login_auth_token_post":{"properties":{"grant_type":{"anyOf":[{"type":"string","pattern":"^password$"},{"type":"null"}],"title":"Grant Type"},"username":{"type":"string","title":"Username"},"password":{"type":"string","format":"password","title":"Password"},"scope":{"type":"string","title":"Scope","default":""},"client_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Id"},"client_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"format":"password","title":"Client Secret"}},"type":"object","required":["username","password"],"title":"Body_login_auth_token_post"},"Body_login_post_auth_login_post":{"properties":{"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"}},"type":"object","required":["username","password"],"title":"Body_login_post_auth_login_post"},"Body_login_post_v1_auth_login_post":{"properties":{"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"}},"type":"object","required":["username","password"],"title":"Body_login_post_v1_auth_login_post"},"Body_login_v1_auth_token_post":{"properties":{"grant_type":{"anyOf":[{"type":"string","pattern":"^password$"},{"type":"null"}],"title":"Grant Type"},"username":{"type":"string","title":"Username"},"password":{"type":"string","format":"password","title":"Password"},"scope":{"type":"string","title":"Scope","default":""},"client_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Id"},"client_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"format":"password","title":"Client Secret"}},"type":"object","required":["username","password"],"title":"Body_login_v1_auth_token_post"},"Body_upload_and_parse_resume_v1_resume_upload_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_and_parse_resume_v1_resume_upload_post"},"BottomStat":{"properties":{"key":{"type":"string","title":"Key"},"label":{"type":"string","title":"Label"},"value":{"type":"string","title":"Value"}},"type":"object","required":["key","label","value"],"title":"BottomStat"},"BulkKeywordCreate":{"properties":{"keywords":{"items":{"$ref":"#/components/schemas/KeywordCreate"},"type":"array","title":"Keywords"}},"type":"object","required":["keywords"],"title":"BulkKeywordCreate"},"CareerContribution":{"properties":{"id":{"type":"string","title":"Id"},"text":{"type":"string","title":"Text"}},"type":"object","required":["id","text"],"title":"CareerContribution"},"CertificateAssessment":{"properties":{"themeTitle":{"type":"string","title":"Themetitle"},"themeTag":{"type":"string","title":"Themetag"},"objective":{"type":"string","title":"Objective"},"deliverable":{"type":"string","title":"Deliverable"},"evaluationCriteria":{"items":{"type":"string"},"type":"array","title":"Evaluationcriteria"}},"type":"object","required":["themeTitle","themeTag","objective","deliverable","evaluationCriteria"],"title":"CertificateAssessment"},"CertificateDemo":{"properties":{"videoTitle":{"type":"string","title":"Videotitle"},"videoDescription":{"type":"string","title":"Videodescription"},"videoUrl":{"type":"string","title":"Videourl"},"repoTitle":{"type":"string","title":"Repotitle"},"repoDescription":{"type":"string","title":"Repodescription"},"repoUrl":{"type":"string","title":"Repourl"}},"type":"object","required":["videoTitle","videoDescription","videoUrl","repoTitle","repoDescription","repoUrl"],"title":"CertificateDemo"},"CertificateItem":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"recipientName":{"type":"string","title":"Recipientname"},"score":{"type":"integer","title":"Score"},"totalScore":{"type":"integer","title":"Totalscore"},"skills":{"items":{"type":"string"},"type":"array","title":"Skills"},"issueDate":{"type":"string","title":"Issuedate"},"assessment":{"$ref":"#/components/schemas/CertificateAssessment"},"demo":{"$ref":"#/components/schemas/CertificateDemo"}},"type":"object","required":["id","title","description","recipientName","score","totalScore","skills","issueDate","assessment","demo"],"title":"CertificateItem"},"Certificates":{"properties":{"items":{"items":{"$ref":"#/components/schemas/CertificateItem"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"Certificates"},"ConceptCreate":{"properties":{"conceptName":{"type":"string","maxLength":255,"minLength":1,"title":"Conceptname","description":"Display name of the concept"},"conceptDescription":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conceptdescription","description":"Detailed description of the concept"},"skillId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Skillid","description":"Associated skill ID from knowledge graph"},"conceptId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conceptid","description":"Unique concept identifier (auto-generated if not provided)"},"sessionId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sessionid","description":"Session where concept was learned"}},"type":"object","required":["conceptName"],"title":"ConceptCreate","description":"Model for creating a new concept"},"ConceptListResponse":{"properties":{"concepts":{"items":{"$ref":"#/components/schemas/ConceptResponse"},"type":"array","title":"Concepts","description":"List of concepts"},"total":{"type":"integer","minimum":0.0,"title":"Total","description":"Total number of concepts matching query"},"limit":{"type":"integer","title":"Limit","description":"Limit used in query"},"offset":{"type":"integer","title":"Offset","description":"Offset used in query"},"hasMore":{"type":"boolean","title":"Hasmore","description":"Whether more results are available"}},"type":"object","required":["total","limit","offset","hasMore"],"title":"ConceptListResponse","description":"Paginated list of concepts"},"ConceptMetrics":{"properties":{"conceptId":{"type":"string","title":"Conceptid"},"conceptName":{"type":"string","title":"Conceptname"},"skillId":{"type":"string","title":"Skillid"}},"type":"object","required":["conceptId","conceptName","skillId"],"title":"ConceptMetrics"},"ConceptResponse":{"properties":{"conceptName":{"type":"string","maxLength":255,"minLength":1,"title":"Conceptname","description":"Display name of the concept"},"conceptDescription":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conceptdescription","description":"Detailed description of the concept"},"skillId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Skillid","description":"Associated skill ID from knowledge graph"},"memoryId":{"type":"string","title":"Memoryid","description":"Unique memory entry identifier"},"conceptId":{"type":"string","title":"Conceptid","description":"Unique concept identifier"},"layer":{"type":"string","title":"Layer","description":"Memory layer: working/core/archival"},"lastAccessed":{"type":"string","format":"date-time","title":"Lastaccessed","description":"Last time concept was accessed"},"accessCount":{"type":"integer","minimum":0.0,"title":"Accesscount","description":"Number of times accessed"},"retentionScore":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Retentionscore","description":"Retention strength score"},"sourceSessionId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sourcesessionid","description":"Session where concept was learned"},"createdAt":{"type":"string","format":"date-time","title":"Createdat","description":"When concept was first created"},"updatedAt":{"type":"string","format":"date-time","title":"Updatedat","description":"Last update timestamp"}},"type":"object","required":["conceptName","memoryId","conceptId","layer","lastAccessed","accessCount","retentionScore","createdAt","updatedAt"],"title":"ConceptResponse","description":"Response model for a concept"},"CourseDetails":{"properties":{"topic":{"type":"string","title":"Topic"},"complexity_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Complexity Level"},"steps":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Steps"},"currentStep":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Currentstep"},"courseStage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Coursestage"}},"type":"object","required":["topic"],"title":"CourseDetails"},"CoursePromptRequest":{"properties":{"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"},"course":{"anyOf":[{"$ref":"#/components/schemas/CourseDetails"},{"type":"null"}]},"currentStep":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Currentstep"},"courseStage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Coursestage"}},"type":"object","title":"CoursePromptRequest"},"CreatePageRequest":{"properties":{"title":{"type":"string","maxLength":500,"minLength":1,"title":"Title","description":"Page title"}},"type":"object","required":["title"],"title":"CreatePageRequest","description":"Request model for creating a new page","example":{"title":"My New Page"}},"CreateProjectRequest":{"properties":{"title":{"type":"string","maxLength":500,"minLength":1,"title":"Title","description":"Project title"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description","description":"Project description"},"icon":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"title":"Icon","description":"Project icon (emoji)"}},"type":"object","required":["title"],"title":"CreateProjectRequest","description":"Request model for creating a new project","example":{"description":"A project for my notes","icon":"📁","title":"My New Project"}},"DeleteSessionsByEmailRequest":{"properties":{"email":{"type":"string","title":"Email","description":"User email; must match the authenticated user's email."}},"type":"object","required":["email"],"title":"DeleteSessionsByEmailRequest","description":"Request body for deleting sessions by user email to free credits."},"DerivedSignals":{"properties":{"conceptsExplained":{"type":"integer","title":"Conceptsexplained"},"confidenceSource":{"type":"string","title":"Confidencesource"}},"type":"object","required":["conceptsExplained","confidenceSource"],"title":"DerivedSignals"},"EdgeRelationship":{"properties":{"source":{"type":"string","title":"Source","description":"Source node ID"},"target":{"type":"string","title":"Target","description":"Target node ID"},"type":{"type":"string","title":"Type","description":"Relationship type: RELATES_TO or PREREQUISITE_OF"},"strength":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Strength","description":"Relationship strength (0-100)","default":50.0},"relationType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Relationtype","description":"For RELATES_TO: similar/complementary/advanced"},"importance":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Importance","description":"For PREREQUISITE_OF: importance score"},"isRequired":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Isrequired","description":"Whether prerequisite is required"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason","description":"Explanation of the relationship"}},"type":"object","required":["source","target","type"],"title":"EdgeRelationship","description":"Edge/relationship in the knowledge graph"},"EngagementStatsResponse":{"properties":{"dailyStreak":{"type":"integer","title":"Dailystreak"},"totalCourses":{"type":"integer","title":"Totalcourses"},"totalSessions":{"type":"integer","title":"Totalsessions"},"totalQuestions":{"type":"integer","title":"Totalquestions"},"avgSessionTime":{"type":"number","title":"Avgsessiontime"},"analogyDepth":{"type":"number","title":"Analogydepth"},"topicsExplored":{"type":"integer","title":"Topicsexplored"},"clarifications":{"type":"integer","title":"Clarifications"},"conceptsExplained":{"type":"integer","title":"Conceptsexplained"},"retrievedAt":{"type":"string","title":"Retrievedat"}},"type":"object","required":["dailyStreak","totalCourses","totalSessions","totalQuestions","avgSessionTime","analogyDepth","topicsExplored","clarifications","conceptsExplained","retrievedAt"],"title":"EngagementStatsResponse"},"FeedbackCreate":{"properties":{"feedback":{"type":"string","title":"Feedback"},"userId":{"type":"string","title":"Userid"},"sentiment":{"anyOf":[{"type":"string","enum":["happy","neutral","sad"]},{"type":"null"}],"title":"Sentiment"}},"type":"object","required":["feedback","userId"],"title":"FeedbackCreate"},"FeedbackResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"issue_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Issue Id"},"issue_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Issue Url"},"identifier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Identifier"}},"type":"object","required":["success"],"title":"FeedbackResponse"},"ForgotPasswordRequest":{"properties":{"email":{"type":"string","title":"Email"}},"type":"object","required":["email"],"title":"ForgotPasswordRequest"},"GeminiTokenRequest":{"properties":{"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"},"course":{"anyOf":[{"$ref":"#/components/schemas/CourseDetails"},{"type":"null"}]},"currentStep":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Currentstep"},"courseStage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Coursestage"}},"type":"object","title":"GeminiTokenRequest"},"GitHubTokenCreate":{"properties":{"github_user_id":{"type":"integer","title":"Github User Id"},"github_username":{"type":"string","title":"Github Username"},"access_token":{"type":"string","title":"Access Token"},"scope":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scope"},"github_avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Github Avatar Url"},"github_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Github Name"},"github_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Github Email"}},"type":"object","required":["github_user_id","github_username","access_token"],"title":"GitHubTokenCreate","description":"Request model for creating/updating GitHub token"},"GitHubTokenResponse":{"properties":{"id":{"type":"string","title":"Id"},"user_id":{"type":"string","title":"User Id"},"github_user_id":{"type":"integer","title":"Github User Id"},"github_username":{"type":"string","title":"Github Username"},"scope":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scope"},"github_avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Github Avatar Url"},"github_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Github Name"},"github_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Github Email"},"is_active":{"type":"boolean","title":"Is Active"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["id","user_id","github_user_id","github_username","is_active","created_at","updated_at"],"title":"GitHubTokenResponse","description":"Response model for GitHub token (without decrypted token)"},"GitHubTokenWithAccessToken":{"properties":{"id":{"type":"string","title":"Id"},"user_id":{"type":"string","title":"User Id"},"github_user_id":{"type":"integer","title":"Github User Id"},"github_username":{"type":"string","title":"Github Username"},"scope":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scope"},"github_avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Github Avatar Url"},"github_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Github Name"},"github_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Github Email"},"is_active":{"type":"boolean","title":"Is Active"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"access_token":{"type":"string","title":"Access Token"}},"type":"object","required":["id","user_id","github_user_id","github_username","is_active","created_at","updated_at","access_token"],"title":"GitHubTokenWithAccessToken","description":"Response model for GitHub token with decrypted access_token"},"GradientSessionCreate":{"properties":{"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"course_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Course Id"},"course_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Course Title"},"learning_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Learning Id"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"ended_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ended At"},"duration_mins":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration Mins"},"session_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Session Date"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"transcriptions":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Transcriptions"},"quiz":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Quiz"},"confidence_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confidence Score"},"interaction_metrics":{"anyOf":[{"$ref":"#/components/schemas/InteractionMetrics"},{"type":"null"}]},"skills":{"items":{"$ref":"#/components/schemas/SkillMetrics"},"type":"array","title":"Skills","default":[]},"concepts":{"items":{"$ref":"#/components/schemas/ConceptMetrics"},"type":"array","title":"Concepts","default":[]},"skill_applications":{"items":{"$ref":"#/components/schemas/SkillApplication"},"type":"array","title":"Skill Applications","default":[]},"derived_signals":{"anyOf":[{"$ref":"#/components/schemas/DerivedSignals"},{"type":"null"}]},"state":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"State"},"current_artifact":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Current Artifact"},"session_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Summary"},"processed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Processed At"},"version":{"type":"integer","title":"Version","default":1}},"type":"object","title":"GradientSessionCreate"},"GradientSessionResponse":{"properties":{"session_id":{"type":"string","title":"Session Id"},"user_id":{"type":"string","title":"User Id"},"course_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Course Id"},"course_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Course Title"},"learning_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Learning Id"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"ended_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ended At"},"duration_mins":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration Mins"},"session_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Session Date"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"transcriptions":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Transcriptions"},"quiz":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Quiz"},"confidence_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confidence Score"},"interaction_metrics":{"anyOf":[{"$ref":"#/components/schemas/InteractionMetrics"},{"type":"null"}]},"skills":{"items":{"$ref":"#/components/schemas/SkillMetrics"},"type":"array","title":"Skills","default":[]},"concepts":{"items":{"$ref":"#/components/schemas/ConceptMetrics"},"type":"array","title":"Concepts","default":[]},"skill_applications":{"items":{"$ref":"#/components/schemas/SkillApplication"},"type":"array","title":"Skill Applications","default":[]},"derived_signals":{"anyOf":[{"$ref":"#/components/schemas/DerivedSignals"},{"type":"null"}]},"state":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"State"},"current_artifact":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Current Artifact"},"session_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Summary"},"processed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Processed At"},"version":{"type":"integer","title":"Version","default":1}},"type":"object","required":["session_id","user_id"],"title":"GradientSessionResponse"},"GradientSessionUpdate":{"properties":{"course_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Course Id"},"course_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Course Title"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"transcriptions":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Transcriptions"},"quiz":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Quiz"},"confidence_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confidence Score"},"interaction_metrics":{"anyOf":[{"$ref":"#/components/schemas/InteractionMetrics"},{"type":"null"}]},"skills":{"anyOf":[{"items":{"$ref":"#/components/schemas/SkillMetrics"},"type":"array"},{"type":"null"}],"title":"Skills"},"concepts":{"anyOf":[{"items":{"$ref":"#/components/schemas/ConceptMetrics"},"type":"array"},{"type":"null"}],"title":"Concepts"},"skill_applications":{"anyOf":[{"items":{"$ref":"#/components/schemas/SkillApplication"},"type":"array"},{"type":"null"}],"title":"Skill Applications"},"derived_signals":{"anyOf":[{"$ref":"#/components/schemas/DerivedSignals"},{"type":"null"}]},"state":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"State"},"current_artifact":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Current Artifact"},"session_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Summary"},"ended_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ended At"},"duration_mins":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration Mins"}},"type":"object","title":"GradientSessionUpdate"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"InteractionMetrics":{"properties":{"questionsAsked":{"type":"integer","title":"Questionsasked"},"clarificationsRequested":{"type":"integer","title":"Clarificationsrequested"},"analogyDepth":{"type":"number","title":"Analogydepth"}},"type":"object","required":["questionsAsked","clarificationsRequested","analogyDepth"],"title":"InteractionMetrics"},"KeywordCreate":{"properties":{"keyword":{"type":"string","title":"Keyword"},"weight":{"type":"number","maximum":5.0,"minimum":0.1,"title":"Weight","default":1.0}},"type":"object","required":["keyword"],"title":"KeywordCreate"},"KnowledgeGraph":{"properties":{"nodes":{"items":{"$ref":"#/components/schemas/KnowledgeGraphNode"},"type":"array","title":"Nodes"}},"type":"object","required":["nodes"],"title":"KnowledgeGraph"},"KnowledgeGraphNode":{"properties":{"name":{"type":"string","title":"Name"},"value":{"type":"integer","title":"Value"},"category":{"type":"string","title":"Category"},"linkWith":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Linkwith","default":[]},"children":{"anyOf":[{"items":{"$ref":"#/components/schemas/KnowledgeGraphNode"},"type":"array"},{"type":"null"}],"title":"Children","default":[]}},"type":"object","required":["name","value","category"],"title":"KnowledgeGraphNode"},"KnowledgeGraphResponse":{"properties":{"nodes":{"items":{"$ref":"#/components/schemas/SkillNode"},"type":"array","title":"Nodes","description":"List of skill nodes"},"edges":{"items":{"$ref":"#/components/schemas/EdgeRelationship"},"type":"array","title":"Edges","description":"List of relationships/edges"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata","description":"Additional metadata about the graph"}},"type":"object","required":["nodes","edges"],"title":"KnowledgeGraphResponse","description":"Complete knowledge graph response"},"LVIResponse":{"properties":{"lviScore":{"type":"integer","title":"Lviscore"},"conceptsMastered":{"type":"integer","title":"Conceptsmastered"},"conceptsPerWeek":{"type":"number","title":"Conceptsperweek"},"avgTimeToMastery":{"type":"number","title":"Avgtimetomastery"},"conceptsApplied":{"type":"integer","title":"Conceptsapplied"},"trend":{"type":"string","title":"Trend"},"weekStart":{"type":"string","title":"Weekstart"},"weekEnd":{"type":"string","title":"Weekend"}},"type":"object","required":["lviScore","conceptsMastered","conceptsPerWeek","avgTimeToMastery","conceptsApplied","trend","weekStart","weekEnd"],"title":"LVIResponse","description":"LVI Response Model"},"LearningDNA":{"properties":{"traits":{"items":{"$ref":"#/components/schemas/LearningDNATrait"},"type":"array","title":"Traits"},"evolution":{"items":{"$ref":"#/components/schemas/LearningDNAEvolution"},"type":"array","title":"Evolution"}},"type":"object","required":["traits","evolution"],"title":"LearningDNA"},"LearningDNAEvolution":{"properties":{"traitId":{"type":"string","title":"Traitid"},"stage":{"type":"string","title":"Stage"},"session":{"type":"string","title":"Session"},"date":{"type":"string","title":"Date"},"description":{"type":"string","title":"Description"},"strength":{"type":"integer","title":"Strength"}},"type":"object","required":["traitId","stage","session","date","description","strength"],"title":"LearningDNAEvolution"},"LearningDNAFrontendResponse":{"properties":{"traits":{"items":{"$ref":"#/components/schemas/TraitResponse"},"type":"array","title":"Traits","default":[]},"evolution":{"items":{"$ref":"#/components/schemas/models__learning_dna_frontend__EvolutionEntry"},"type":"array","title":"Evolution","default":[]}},"type":"object","title":"LearningDNAFrontendResponse"},"LearningDNAResponse":{"properties":{"traits":{"items":{"$ref":"#/components/schemas/TraitWithEvolution"},"type":"array","title":"Traits","description":"All 6 behavioral traits"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata","description":"Additional metadata about computation"}},"type":"object","required":["traits"],"title":"LearningDNAResponse","description":"Complete Learning DNA profile response"},"LearningDNATrait":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"iconKey":{"type":"string","title":"Iconkey"}},"type":"object","required":["id","title","description","iconKey"],"title":"LearningDNATrait"},"LearningStats":{"properties":{"topStats":{"items":{"$ref":"#/components/schemas/TopStat"},"type":"array","title":"Topstats"},"bottomStats":{"items":{"$ref":"#/components/schemas/BottomStat"},"type":"array","title":"Bottomstats"}},"type":"object","required":["topStats","bottomStats"],"title":"LearningStats"},"LearningVelocity":{"properties":{"summary":{"$ref":"#/components/schemas/LearningVelocitySummary"},"trend":{"items":{"$ref":"#/components/schemas/VelocityTrendPoint"},"type":"array","title":"Trend"}},"type":"object","required":["summary","trend"],"title":"LearningVelocity"},"LearningVelocitySummary":{"properties":{"index":{"type":"integer","title":"Index"},"conceptsPerWeek":{"type":"number","title":"Conceptsperweek"},"avgTimeToMasteryHours":{"type":"number","title":"Avgtimetomasteryhours"},"conceptsApplied":{"type":"integer","title":"Conceptsapplied"},"progressPercent":{"type":"integer","title":"Progresspercent"},"status":{"type":"string","title":"Status"},"description":{"type":"string","title":"Description"}},"type":"object","required":["index","conceptsPerWeek","avgTimeToMasteryHours","conceptsApplied","progressPercent","status","description"],"title":"LearningVelocitySummary"},"MemoryAnalytics":{"properties":{"totalConcepts":{"type":"integer","minimum":0.0,"title":"Totalconcepts","description":"Total concepts across all layers"},"averageRetentionScore":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Averageretentionscore","description":"Average retention score"},"layerDistribution":{"additionalProperties":{"type":"integer"},"type":"object","title":"Layerdistribution","description":"Count of concepts per layer"},"mostAccessedConcepts":{"items":{"$ref":"#/components/schemas/ConceptResponse"},"type":"array","title":"Mostaccessedconcepts","description":"Top 10 most accessed concepts"},"recentlyLearned":{"items":{"$ref":"#/components/schemas/ConceptResponse"},"type":"array","title":"Recentlylearned","description":"Recently learned concepts (last 7 days)"},"atRiskConcepts":{"items":{"$ref":"#/components/schemas/ConceptResponse"},"type":"array","title":"Atriskconcepts","description":"Concepts at risk of being forgotten (low retention)"}},"type":"object","required":["totalConcepts","averageRetentionScore","layerDistribution"],"title":"MemoryAnalytics","description":"Analytics data for memory layers"},"MemoryLayer":{"properties":{"title":{"type":"string","title":"Title"},"percentage":{"type":"integer","title":"Percentage"},"items":{"type":"integer","title":"Items"},"description":{"type":"string","title":"Description"},"recent":{"type":"string","title":"Recent"},"lastAccessed":{"type":"string","title":"Lastaccessed"}},"type":"object","required":["title","percentage","items","description","recent","lastAccessed"],"title":"MemoryLayer"},"MemoryLayerStats":{"properties":{"percentage":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Percentage","description":"Capacity percentage (0-100)"},"itemCount":{"type":"integer","minimum":0.0,"title":"Itemcount","description":"Number of concepts in this layer"},"recentConcepts":{"items":{"type":"string"},"type":"array","title":"Recentconcepts","description":"Recently accessed concept names"},"lastAccessed":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Lastaccessed","description":"Most recent access time in this layer"},"description":{"type":"string","title":"Description","description":"Layer description"}},"type":"object","required":["percentage","itemCount","description"],"title":"MemoryLayerStats","description":"Statistics for a single memory layer"},"MemoryLayersResponse":{"properties":{"workingMemory":{"$ref":"#/components/schemas/MemoryLayerStats","description":"Working memory layer (active learning)"},"coreMemory":{"$ref":"#/components/schemas/MemoryLayerStats","description":"Core memory layer (frequently accessed)"},"archivalMemory":{"$ref":"#/components/schemas/MemoryLayerStats","description":"Archival memory layer (long-term storage)"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata","description":"Additional metadata about memory layers"}},"type":"object","required":["workingMemory","coreMemory","archivalMemory"],"title":"MemoryLayersResponse","description":"Complete response for Active Memory Layers widget"},"MigrationRequest":{"properties":{"analyzeRelationships":{"type":"boolean","title":"Analyzerelationships","description":"Whether to analyze and create relationships after migration","default":false},"limitUsers":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limitusers","description":"Limit number of users to migrate"},"limitSkills":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limitskills","description":"Limit number of skills to migrate"}},"type":"object","title":"MigrationRequest","description":"Request model for migration operations"},"MigrationResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"totalTimeSeconds":{"type":"number","title":"Totaltimeseconds"},"skills":{"additionalProperties":true,"type":"object","title":"Skills"},"users":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Users"},"relationships":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Relationships"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["success","totalTimeSeconds","skills","users","relationships"],"title":"MigrationResponse","description":"Response model for migration operations"},"NextSkills":{"properties":{"careerContributions":{"items":{"$ref":"#/components/schemas/CareerContribution"},"type":"array","title":"Careercontributions"},"recommendations":{"items":{"$ref":"#/components/schemas/SkillRecommendation"},"type":"array","title":"Recommendations"}},"type":"object","required":["careerContributions","recommendations"],"title":"NextSkills"},"OnboardingRequest":{"properties":{"data":{"$ref":"#/components/schemas/OnboardingStepData"}},"type":"object","required":["data"],"title":"OnboardingRequest"},"OnboardingResponse":{"properties":{"user_id":{"type":"string","title":"User Id"},"occupation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Occupation"},"learn":{"items":{"type":"string"},"type":"array","title":"Learn","default":[]},"vibe":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vibe"},"pricing":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pricing"},"steps":{"type":"integer","title":"Steps","default":0},"completed":{"type":"boolean","title":"Completed","default":false},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["user_id","created_at","updated_at"],"title":"OnboardingResponse"},"OnboardingStepData":{"properties":{"occupation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Occupation"},"learn":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Learn"},"vibe":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vibe"},"pricing":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pricing"},"steps":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Steps"},"completed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Completed"}},"type":"object","title":"OnboardingStepData"},"Page":{"properties":{"id":{"type":"string","title":"Id"},"project_id":{"type":"string","title":"Project Id"},"title":{"type":"string","title":"Title"},"content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content"},"icon":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon"},"status":{"type":"string","title":"Status","default":"active"},"position":{"type":"integer","title":"Position"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"last_edited_at":{"type":"string","title":"Last Edited At"}},"type":"object","required":["id","project_id","title","position","created_at","updated_at","last_edited_at"],"title":"Page","description":"Full page model with content","example":{"content":"# Hello World\n\nThis is my page content.","created_at":"2025-12-22T10:00:00Z","icon":"📝","id":"page_1703123456789_abc123","last_edited_at":"2025-12-22T10:00:00Z","position":0,"project_id":"proj_123","status":"active","title":"My Notes","updated_at":"2025-12-22T10:00:00Z"}},"PageListItem":{"properties":{"id":{"type":"string","title":"Id"},"project_id":{"type":"string","title":"Project Id"},"title":{"type":"string","title":"Title"},"icon":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon"},"position":{"type":"integer","title":"Position"},"last_edited_at":{"type":"string","title":"Last Edited At"}},"type":"object","required":["id","project_id","title","position","last_edited_at"],"title":"PageListItem","description":"Response model for page list items (minimal data for sidebar)","example":{"icon":"📝","id":"page_1703123456789_abc123","last_edited_at":"2025-12-22T10:00:00Z","position":0,"project_id":"proj_123","title":"My Notes"}},"ParsedResumeData":{"properties":{"personalInfo":{"$ref":"#/components/schemas/ResumePersonalInfo"},"professionalSummary":{"type":"string","title":"Professionalsummary"},"technicalSkills":{"items":{"$ref":"#/components/schemas/ResumeTechnicalSkill"},"type":"array","title":"Technicalskills"},"certifications":{"items":{"$ref":"#/components/schemas/ResumeCertification"},"type":"array","title":"Certifications"},"professionalTraits":{"items":{"$ref":"#/components/schemas/ResumeProfessionalTrait"},"type":"array","title":"Professionaltraits"},"professionalDevelopmentTimeline":{"items":{"$ref":"#/components/schemas/ResumeTimelineItem"},"type":"array","title":"Professionaldevelopmenttimeline"},"workExperience":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Workexperience","default":[]},"education":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Education","default":[]}},"type":"object","required":["personalInfo","professionalSummary","technicalSkills","certifications","professionalTraits","professionalDevelopmentTimeline"],"title":"ParsedResumeData"},"PlannerRequest":{"properties":{"topic":{"type":"string","title":"Topic","description":"The learning topic to generate a plan for."}},"type":"object","required":["topic"],"title":"PlannerRequest"},"PlannerResponse":{"properties":{"topic":{"type":"string","title":"Topic"},"complexity_level":{"type":"string","title":"Complexity Level"},"estimated_duration":{"type":"string","title":"Estimated Duration"},"steps":{"items":{"$ref":"#/components/schemas/Step"},"type":"array","title":"Steps"},"courseConfirmation":{"type":"boolean","title":"Courseconfirmation"},"contentType":{"type":"string","title":"Contenttype"}},"type":"object","required":["topic","complexity_level","estimated_duration","steps","courseConfirmation","contentType"],"title":"PlannerResponse"},"ProfileTabResponse":{"properties":{"activityHeatmap":{"$ref":"#/components/schemas/ActivityHeatmap"},"learningVelocity":{"$ref":"#/components/schemas/LearningVelocity"},"skillsAndMemory":{"$ref":"#/components/schemas/SkillsAndMemory"},"learningStats":{"$ref":"#/components/schemas/LearningStats"},"learningDNA":{"$ref":"#/components/schemas/LearningDNA"},"nextSkills":{"$ref":"#/components/schemas/NextSkills"},"achievements":{"$ref":"#/components/schemas/Achievements"},"skillsEarned":{"$ref":"#/components/schemas/SkillsEarned"},"certificates":{"$ref":"#/components/schemas/Certificates"},"knowledgeGraph":{"$ref":"#/components/schemas/KnowledgeGraph"},"version":{"type":"string","title":"Version"}},"type":"object","required":["activityHeatmap","learningVelocity","skillsAndMemory","learningStats","learningDNA","nextSkills","achievements","skillsEarned","certificates","knowledgeGraph","version"],"title":"ProfileTabResponse"},"Project":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"icon":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon"},"status":{"type":"string","title":"Status","default":"active"},"last_edited_at":{"type":"string","title":"Last Edited At"},"created_at":{"type":"string","title":"Created At"},"page_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Page Count","default":0}},"type":"object","required":["id","title","last_edited_at","created_at"],"title":"Project","description":"Full project model","example":{"created_at":"2025-12-22T10:00:00Z","description":"Project description","icon":"📁","id":"proj_1703123456789_abc123","last_edited_at":"2025-12-22T10:00:00Z","page_count":5,"status":"active","title":"My Project"}},"ProjectStatus":{"type":"string","enum":["active","archived","deleted"],"title":"ProjectStatus","description":"Valid project status values"},"PromptEnhancerRequest":{"properties":{"prompt":{"type":"string","title":"Prompt"}},"type":"object","required":["prompt"],"title":"PromptEnhancerRequest"},"PromptEnhancerResponse":{"properties":{"optimized_prompt":{"type":"string","title":"Optimized Prompt"}},"type":"object","required":["optimized_prompt"],"title":"PromptEnhancerResponse"},"Quiz":{"properties":{"topic":{"type":"string","title":"Topic","description":"The topic being assessed"},"total_questions":{"type":"integer","title":"Total Questions","description":"Number of questions in the quiz","default":10},"questions":{"items":{"$ref":"#/components/schemas/QuizQuestion"},"type":"array","title":"Questions","description":"List of quiz questions"},"passing_score":{"type":"integer","title":"Passing Score","description":"Minimum score to pass (80%)","default":8},"time_limit_minutes":{"type":"integer","title":"Time Limit Minutes","description":"Time limit for the quiz in minutes","default":15}},"type":"object","required":["topic","questions"],"title":"Quiz"},"QuizChoice":{"properties":{"option":{"type":"string","title":"Option","description":"Option identifier (A, B, C, D)"},"text":{"type":"string","title":"Text","description":"The text content of this choice"}},"type":"object","required":["option","text"],"title":"QuizChoice"},"QuizGenerationRequest":{"properties":{"session_id":{"type":"string","title":"Session Id"}},"type":"object","required":["session_id"],"title":"QuizGenerationRequest"},"QuizQuestion":{"properties":{"question":{"type":"string","title":"Question","description":"The question text"},"choices":{"items":{"$ref":"#/components/schemas/QuizChoice"},"type":"array","title":"Choices","description":"List of possible answers"},"correct_option":{"type":"string","title":"Correct Option","description":"The correct option identifier"},"explanation":{"type":"string","title":"Explanation","description":"Explanation of why this answer is correct"}},"type":"object","required":["question","choices","correct_option","explanation"],"title":"QuizQuestion"},"QuizResultResponse":{"properties":{"score":{"type":"number","title":"Score"},"passed":{"type":"boolean","title":"Passed"},"feedback":{"type":"string","title":"Feedback"},"incorrect_questions":{"items":{"type":"integer"},"type":"array","title":"Incorrect Questions"}},"type":"object","required":["score","passed","feedback","incorrect_questions"],"title":"QuizResultResponse","description":"Defines the response sent back to the frontend after evaluation."},"QuizSubmission":{"properties":{"session_id":{"type":"string","title":"Session Id"},"quiz_topic":{"type":"string","title":"Quiz Topic"},"passing_score":{"type":"integer","title":"Passing Score"},"questions":{"items":{"$ref":"#/components/schemas/QuizQuestion"},"type":"array","title":"Questions"},"selected_answers":{"additionalProperties":true,"type":"object","title":"Selected Answers"},"session_data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Session Data"}},"type":"object","required":["session_id","quiz_topic","passing_score","questions","selected_answers"],"title":"QuizSubmission","description":"Defines the payload sent from the frontend for quiz evaluation."},"RelationshipAnalysisRequest":{"properties":{"skillId":{"type":"string","title":"Skillid","description":"Skill to analyze"},"context":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Context","description":"Additional context for analysis"}},"type":"object","required":["skillId"],"title":"RelationshipAnalysisRequest","description":"Request for analyzing skill relationships"},"RelationshipAnalysisResponse":{"properties":{"skillId":{"type":"string","title":"Skillid"},"relatesTo":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Relatesto"},"prerequisites":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Prerequisites"},"leadsTo":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Leadsto"},"analysisTime":{"type":"number","title":"Analysistime","description":"Time taken for analysis (seconds)"}},"type":"object","required":["skillId","analysisTime"],"title":"RelationshipAnalysisResponse","description":"Response from relationship analysis"},"RelationshipCreate":{"properties":{"sourceSkillId":{"type":"string","title":"Sourceskillid","description":"Source skill ID"},"targetSkillId":{"type":"string","title":"Targetskillid","description":"Target skill ID"},"type":{"type":"string","title":"Type","description":"Relationship type: RELATES_TO or PREREQUISITE_OF"},"strength":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Strength","description":"Relationship strength","default":50.0},"relationType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Relationtype","description":"similar/complementary/advanced"},"importance":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Importance","description":"Importance for prerequisites"},"isRequired":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Isrequired","description":"Is prerequisite required","default":false},"bidirectional":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Bidirectional","description":"Create bidirectional relationship","default":true}},"type":"object","required":["sourceSkillId","targetSkillId","type"],"title":"RelationshipCreate","description":"Model for creating a relationship"},"RelationshipResponse":{"properties":{"source":{"$ref":"#/components/schemas/SkillResponse"},"target":{"$ref":"#/components/schemas/SkillResponse"},"type":{"type":"string","title":"Type"},"properties":{"additionalProperties":true,"type":"object","title":"Properties"}},"type":"object","required":["source","target","type"],"title":"RelationshipResponse","description":"Response model for a relationship"},"ResetPasswordRequest":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"ResetPasswordRequest"},"ResumeCertification":{"properties":{"title":{"type":"string","title":"Title"},"issuedDate":{"type":"string","title":"Issueddate"},"description":{"type":"string","title":"Description"},"skills":{"type":"string","title":"Skills"}},"type":"object","required":["title","issuedDate","description","skills"],"title":"ResumeCertification"},"ResumeParseResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"data":{"anyOf":[{"$ref":"#/components/schemas/ParsedResumeData"},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["success"],"title":"ResumeParseResponse"},"ResumePersonalInfo":{"properties":{"name":{"type":"string","title":"Name"},"title":{"type":"string","title":"Title"},"phone":{"type":"string","title":"Phone"},"email":{"type":"string","title":"Email"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"},"github":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Github"},"linkedin":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Linkedin"}},"type":"object","required":["name","title","phone","email"],"title":"ResumePersonalInfo"},"ResumeProfessionalTrait":{"properties":{"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"}},"type":"object","required":["title","description"],"title":"ResumeProfessionalTrait"},"ResumeTechnicalSkill":{"properties":{"name":{"type":"string","title":"Name"},"level":{"type":"integer","title":"Level"}},"type":"object","required":["name","level"],"title":"ResumeTechnicalSkill"},"ResumeTimelineItem":{"properties":{"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"date":{"type":"string","title":"Date"},"iconKey":{"type":"string","title":"Iconkey","default":"star"}},"type":"object","required":["title","description","date"],"title":"ResumeTimelineItem"},"SaveContentRequest":{"properties":{"content":{"type":"string","maxLength":5000000,"title":"Content","description":"Page content (markdown/rich text, max 5MB)"}},"type":"object","required":["content"],"title":"SaveContentRequest","description":"Request model for auto-saving page content","example":{"content":"# My Page\n\nUpdated content here..."}},"SessionAnalysisRequest":{"properties":{"sessionId":{"type":"string","title":"Sessionid"},"forceRecompute":{"type":"boolean","title":"Forcerecompute","default":false}},"type":"object","required":["sessionId"],"title":"SessionAnalysisRequest","description":"Request to analyze a session"},"SessionAnalysisResult":{"properties":{"sessionId":{"type":"string","title":"Sessionid"},"detections":{"items":{"$ref":"#/components/schemas/TraitDetection"},"type":"array","title":"Detections"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"totalTraitsDetected":{"type":"integer","minimum":0.0,"title":"Totaltraitsdetected"}},"type":"object","required":["sessionId","detections","timestamp","totalTraitsDetected"],"title":"SessionAnalysisResult","description":"Result of analyzing a session for traits"},"SessionCompletionEvent":{"properties":{"sessionId":{"type":"string","title":"Sessionid"},"userId":{"type":"string","title":"Userid"},"skills":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Skills","description":"Skills detected in session"},"durationMins":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Durationmins"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confidence"}},"type":"object","required":["sessionId","userId","skills"],"title":"SessionCompletionEvent","description":"Event data for session completion"},"SettingSet":{"properties":{"setting_key":{"type":"string","title":"Setting Key"},"setting_value":{"type":"string","title":"Setting Value"},"value_type":{"type":"string","title":"Value Type"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["setting_key","setting_value","value_type"],"title":"SettingSet"},"SkillApplication":{"properties":{"appId":{"type":"string","title":"Appid"},"skillId":{"type":"string","title":"Skillid"},"appliedInPR":{"type":"boolean","title":"Appliedinpr"},"prUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prurl"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp"}},"type":"object","required":["appId","skillId","appliedInPR","timestamp"],"title":"SkillApplication"},"SkillConfidenceIndexResponse":{"properties":{"skills":{"items":{"$ref":"#/components/schemas/models__knowledge_graph__SkillConfidenceItem"},"type":"array","title":"Skills","description":"Top N skills ordered by confidence (typically 6 for radar chart)"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata","description":"Additional metadata about the skills"}},"type":"object","required":["skills"],"title":"SkillConfidenceIndexResponse","description":"Response model for Skill Confidence Index widget (radar chart data)"},"SkillCreate":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name","description":"Skill name"},"category":{"type":"string","title":"Category","description":"Category: Language/Framework/Concept/Tool/API","default":"Concept"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Skill description"},"difficultyLevel":{"type":"integer","maximum":5.0,"minimum":1.0,"title":"Difficultylevel","description":"Difficulty level (1-5)","default":3},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","description":"Skill tags"}},"type":"object","required":["name"],"title":"SkillCreate","description":"Model for creating a new skill"},"SkillCreatedWebhook":{"properties":{"skill_id":{"type":"integer","title":"Skill Id"},"skill_name":{"type":"string","title":"Skill Name"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"difficulty_level":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Difficulty Level"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags","default":[]}},"type":"object","required":["skill_id","skill_name"],"title":"SkillCreatedWebhook","description":"Webhook payload when a skill is created"},"SkillEarned":{"properties":{"name":{"type":"string","title":"Name"},"percentage":{"type":"integer","title":"Percentage"}},"type":"object","required":["name","percentage"],"title":"SkillEarned"},"SkillMetrics":{"properties":{"skillId":{"type":"string","title":"Skillid"},"skillName":{"type":"string","title":"Skillname"},"confidence":{"type":"number","title":"Confidence"},"hoursSpent":{"type":"number","title":"Hoursspent"}},"type":"object","required":["skillId","skillName","confidence","hoursSpent"],"title":"SkillMetrics"},"SkillNode":{"properties":{"id":{"type":"string","title":"Id","description":"Unique skill identifier"},"label":{"type":"string","title":"Label","description":"Display name of the skill"},"category":{"type":"string","title":"Category","description":"Category: Language/Framework/Concept/Tool/API"},"confidence":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Confidence","description":"User's confidence score (0-100)","default":0.0},"size":{"type":"integer","maximum":80.0,"minimum":20.0,"title":"Size","description":"Visual size of the node","default":30},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Skill description"},"difficultyLevel":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":1.0},{"type":"null"}],"title":"Difficultylevel","description":"Difficulty level (1-5)"},"hoursSpent":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Hoursspent","description":"Hours spent learning this skill"},"lastReviewed":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Lastreviewed","description":"Last time skill was reviewed"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags","description":"Skill tags"}},"type":"object","required":["id","label","category"],"title":"SkillNode","description":"Skill node in the knowledge graph"},"SkillRecommendation":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"level":{"type":"string","title":"Level"},"time":{"type":"string","title":"Time"},"prerequisites":{"type":"string","title":"Prerequisites"},"matchPercent":{"type":"integer","title":"Matchpercent"}},"type":"object","required":["id","title","description","level","time","prerequisites","matchPercent"],"title":"SkillRecommendation"},"SkillResponse":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"category":{"type":"string","title":"Category"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"difficultyLevel":{"type":"integer","title":"Difficultylevel","default":1},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createdat"},"updatedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatedat"}},"type":"object","required":["id","name","category"],"title":"SkillResponse","description":"Response model for a skill"},"SkillUpdatedWebhook":{"properties":{"skill_id":{"type":"integer","title":"Skill Id"},"updates":{"additionalProperties":true,"type":"object","title":"Updates"}},"type":"object","required":["skill_id","updates"],"title":"SkillUpdatedWebhook","description":"Webhook payload when a skill is updated"},"SkillWithRelationships":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"category":{"type":"string","title":"Category"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"difficultyLevel":{"type":"integer","title":"Difficultylevel","default":1},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createdat"},"updatedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatedat"},"relatedSkills":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Relatedskills","description":"Skills related to this one"},"prerequisites":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Prerequisites","description":"Skills that are prerequisites"},"leadsTo":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Leadsto","description":"Skills this leads to"}},"type":"object","required":["id","name","category"],"title":"SkillWithRelationships","description":"Skill with its relationships"},"SkillsAndMemory":{"properties":{"skillConfidence":{"items":{"$ref":"#/components/schemas/routes__profile__SkillConfidenceItem"},"type":"array","title":"Skillconfidence"},"memoryLayers":{"items":{"$ref":"#/components/schemas/MemoryLayer"},"type":"array","title":"Memorylayers"}},"type":"object","required":["skillConfidence","memoryLayers"],"title":"SkillsAndMemory"},"SkillsEarned":{"properties":{"skills":{"items":{"$ref":"#/components/schemas/SkillEarned"},"type":"array","title":"Skills"}},"type":"object","required":["skills"],"title":"SkillsEarned"},"StageCreateUpdate":{"properties":{"stage_name":{"type":"string","title":"Stage Name"},"min_strength":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Min Strength"},"max_strength":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Max Strength"},"display_order":{"type":"integer","minimum":0.0,"title":"Display Order","default":0},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["stage_name","min_strength","max_strength"],"title":"StageCreateUpdate"},"Step":{"properties":{"step_number":{"type":"integer","title":"Step Number","description":"The sequence number of the step."},"title":{"type":"string","title":"Title","description":"Brief title for this learning step."},"content":{"type":"string","title":"Content","description":"Detailed content for this learning step."}},"type":"object","required":["step_number","title","content"],"title":"Step"},"StepsPayload":{"properties":{"steps":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Steps"}},"type":"object","required":["steps"],"title":"StepsPayload"},"SubscriptionSessionRequest":{"properties":{"product_id":{"type":"string","title":"Product Id"},"success_url":{"type":"string","title":"Success Url"},"cancel_url":{"type":"string","title":"Cancel Url"},"coupon":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Coupon"},"customer_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Email"}},"type":"object","required":["product_id","success_url","cancel_url"],"title":"SubscriptionSessionRequest"},"SummaryRequest":{"properties":{"transcripts":{"items":{"$ref":"#/components/schemas/Transcript"},"type":"array","title":"Transcripts","description":"List of transcript objects."}},"type":"object","required":["transcripts"],"title":"SummaryRequest"},"SummaryResponse":{"properties":{"summary":{"type":"string","title":"Summary"}},"type":"object","required":["summary"],"title":"SummaryResponse"},"SyncStatusResponse":{"properties":{"postgresql":{"additionalProperties":{"type":"integer"},"type":"object","title":"Postgresql","description":"PostgreSQL counts"},"neo4j":{"additionalProperties":{"type":"integer"},"type":"object","title":"Neo4J","description":"Neo4j counts"},"syncPercentage":{"additionalProperties":{"type":"number"},"type":"object","title":"Syncpercentage","description":"Sync completion percentages"}},"type":"object","required":["postgresql","neo4j","syncPercentage"],"title":"SyncStatusResponse","description":"Response model for sync status"},"ThresholdSet":{"properties":{"config_key":{"type":"string","title":"Config Key"},"config_value":{"type":"string","title":"Config Value"},"value_type":{"type":"string","title":"Value Type"},"category":{"type":"string","title":"Category"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["config_key","config_value","value_type","category"],"title":"ThresholdSet"},"TopStat":{"properties":{"key":{"type":"string","title":"Key"},"label":{"type":"string","title":"Label"},"value":{"type":"integer","title":"Value"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"}},"type":"object","required":["key","label","value","unit"],"title":"TopStat"},"TraitCreateUpdate":{"properties":{"trait_key":{"type":"string","title":"Trait Key"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"icon_key":{"type":"string","title":"Icon Key"},"base_increment":{"type":"integer","maximum":50.0,"minimum":1.0,"title":"Base Increment","default":5},"high_confidence_increment":{"type":"integer","maximum":50.0,"minimum":1.0,"title":"High Confidence Increment","default":10},"display_order":{"type":"integer","minimum":0.0,"title":"Display Order","default":0}},"type":"object","required":["trait_key","name","description","icon_key"],"title":"TraitCreateUpdate"},"TraitDetection":{"properties":{"traitKey":{"type":"string","title":"Traitkey"},"detected":{"type":"boolean","title":"Detected"},"confidence":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Confidence"},"evidence":{"type":"string","title":"Evidence"},"strengthContribution":{"type":"integer","minimum":0.0,"title":"Strengthcontribution"}},"type":"object","required":["traitKey","detected","confidence","evidence","strengthContribution"],"title":"TraitDetection","description":"Detected trait from session analysis"},"TraitResponse":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","maxLength":50,"minLength":3,"title":"Title"},"description":{"type":"string","maxLength":200,"minLength":20,"title":"Description"},"iconKey":{"type":"string","title":"Iconkey"}},"type":"object","required":["id","title","description","iconKey"],"title":"TraitResponse"},"TraitWithEvolution":{"properties":{"traitKey":{"type":"string","title":"Traitkey","description":"Unique trait identifier"},"traitName":{"type":"string","title":"Traitname","description":"Display name of trait"},"description":{"type":"string","title":"Description","description":"Trait description"},"iconKey":{"type":"string","title":"Iconkey","description":"Icon identifier for frontend"},"currentStrength":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Currentstrength"},"stage":{"type":"string","title":"Stage"},"lastUpdated":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Lastupdated"},"sessionCount":{"type":"integer","title":"Sessioncount","default":0},"evolution":{"items":{"$ref":"#/components/schemas/models__learning_dna__EvolutionEntry"},"type":"array","title":"Evolution"}},"type":"object","required":["traitKey","traitName","description","iconKey","currentStrength","stage"],"title":"TraitWithEvolution","description":"Complete trait data with evolution history"},"Transcript":{"properties":{"role":{"type":"string","title":"Role"},"text":{"type":"string","title":"Text"},"timestamp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timestamp"},"isComplete":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Iscomplete"}},"type":"object","required":["role","text"],"title":"Transcript"},"UpdatePageRequest":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":500,"minLength":1},{"type":"null"}],"title":"Title","description":"Page title"},"icon":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"title":"Icon","description":"Page icon (emoji)"}},"type":"object","title":"UpdatePageRequest","description":"Request model for updating page metadata","example":{"icon":"📚","title":"Updated Title"}},"UpdateProjectRequest":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":500,"minLength":1},{"type":"null"}],"title":"Title","description":"Project title"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description","description":"Project description"},"icon":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"title":"Icon","description":"Project icon (emoji)"},"status":{"anyOf":[{"$ref":"#/components/schemas/ProjectStatus"},{"type":"null"}],"description":"Project status (active, archived, deleted)"}},"type":"object","title":"UpdateProjectRequest","description":"Request model for updating project metadata","example":{"description":"Updated description","icon":"📚","status":"deleted","title":"Updated Title"}},"UrlPlannerRequest":{"properties":{"urls":{"items":{"type":"string"},"type":"array","title":"Urls","description":"List of URLs to extract content from and generate a learning plan."},"topic":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Topic","description":"Optional topic hint for the learning plan."}},"type":"object","required":["urls"],"title":"UrlPlannerRequest"},"UrlPlannerResponse":{"properties":{"topic":{"type":"string","title":"Topic"},"complexity_level":{"type":"string","title":"Complexity Level"},"estimated_duration":{"type":"string","title":"Estimated Duration"},"steps":{"items":{"$ref":"#/components/schemas/Step"},"type":"array","title":"Steps"},"courseConfirmation":{"type":"boolean","title":"Courseconfirmation"},"contentType":{"type":"string","title":"Contenttype"},"source_urls":{"items":{"type":"string"},"type":"array","title":"Source Urls"}},"type":"object","required":["topic","complexity_level","estimated_duration","steps","courseConfirmation","contentType","source_urls"],"title":"UrlPlannerResponse"},"UserCreate":{"properties":{"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"},"bio":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bio"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"},"github":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Github"},"linkedin":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Linkedin"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"}},"type":"object","required":["username","password"],"title":"UserCreate"},"UserCreatedWebhook":{"properties":{"user_id":{"type":"string","title":"User Id"},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"},"email":{"type":"string","title":"Email"}},"type":"object","required":["user_id","email"],"title":"UserCreatedWebhook","description":"Webhook payload when a user is created"},"UserKnowledgeStatsResponse":{"properties":{"userId":{"type":"string","title":"Userid"},"totalSkills":{"type":"integer","title":"Totalskills","description":"Total number of skills learned","default":0},"avgConfidence":{"type":"number","title":"Avgconfidence","description":"Average confidence across all skills","default":0.0},"totalCategories":{"type":"integer","title":"Totalcategories","description":"Number of different skill categories","default":0},"totalHoursSpent":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Totalhoursspent","description":"Total hours spent learning"},"skillsByCategory":{"anyOf":[{"additionalProperties":{"type":"integer"},"type":"object"},{"type":"null"}],"title":"Skillsbycategory","description":"Count of skills by category"}},"type":"object","required":["userId"],"title":"UserKnowledgeStatsResponse","description":"User knowledge statistics"},"UserProfile":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"},"bio":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bio"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"},"github":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Github"},"linkedin":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Linkedin"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"},"voice_provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Voice Provider"}},"type":"object","title":"UserProfile"},"UserSkillLearned":{"properties":{"skillId":{"type":"string","title":"Skillid","description":"Skill ID"},"confidence":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Confidence","description":"Confidence score","default":0.0},"sessionId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sessionid","description":"Session ID where skill was learned"},"hoursSpent":{"type":"number","minimum":0.0,"title":"Hoursspent","description":"Hours spent learning","default":0.0}},"type":"object","required":["skillId"],"title":"UserSkillLearned","description":"Model for recording a skill learned by user"},"UserSkillUpdatedWebhook":{"properties":{"user_id":{"type":"string","title":"User Id"},"skill_id":{"type":"integer","title":"Skill Id"},"mastery_score":{"type":"integer","title":"Mastery Score"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"hours_spent":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Hours Spent"}},"type":"object","required":["user_id","skill_id","mastery_score"],"title":"UserSkillUpdatedWebhook","description":"Webhook payload when a user learns or updates a skill"},"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"},"VelocityTrendPoint":{"properties":{"week":{"type":"string","title":"Week"},"score":{"type":"integer","title":"Score"}},"type":"object","required":["week","score"],"title":"VelocityTrendPoint"},"VerifyAccessCodeRequest":{"properties":{"access_code":{"type":"string","title":"Access Code"}},"type":"object","required":["access_code"],"title":"VerifyAccessCodeRequest"},"VerifyOTPRequest":{"properties":{"email":{"type":"string","title":"Email"},"otp":{"type":"string","title":"Otp"}},"type":"object","required":["email","otp"],"title":"VerifyOTPRequest"},"WebScrapeRequest":{"properties":{"url":{"type":"string","title":"Url"},"formats":{"items":{"type":"string"},"type":"array","title":"Formats","default":["markdown"]},"only_main_content":{"type":"boolean","title":"Only Main Content","default":true},"wait_for":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Wait For"},"timeout":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Timeout","default":30000}},"type":"object","required":["url"],"title":"WebScrapeRequest","description":"Request model for scraping a URL"},"WebScrapeResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"url":{"type":"string","title":"Url"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"content":{"type":"string","title":"Content"},"markdown":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Markdown"},"html":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Html"},"links":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Links"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["success","url","content"],"title":"WebScrapeResponse","description":"Response model for scrape endpoint"},"models__knowledge_graph__SkillConfidenceItem":{"properties":{"skill":{"type":"string","title":"Skill","description":"Skill name"},"confidence":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Confidence","description":"Confidence score (0-100)"},"skillId":{"type":"string","title":"Skillid","description":"Unique skill identifier"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category","description":"Skill category"},"lastReviewed":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Lastreviewed","description":"Last time skill was reviewed"},"hoursSpent":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Hoursspent","description":"Hours spent learning this skill"}},"type":"object","required":["skill","confidence","skillId"],"title":"SkillConfidenceItem","description":"Single skill with confidence for Skill Confidence Index widget"},"models__learning_dna__EvolutionEntry":{"properties":{"sessionId":{"type":"string","title":"Sessionid","description":"Session ID where trait was demonstrated"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp","description":"When this occurred"},"strength":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Strength","description":"Strength at this point"},"stage":{"type":"string","title":"Stage","description":"Stage at this point"},"evidence":{"type":"string","title":"Evidence","description":"What behavior was detected"},"confidenceScore":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Confidencescore","description":"Detection confidence (0-1)"}},"type":"object","required":["sessionId","timestamp","strength","stage","evidence","confidenceScore"],"title":"EvolutionEntry","description":"Single evolution timeline entry"},"models__learning_dna_frontend__EvolutionEntry":{"properties":{"traitId":{"type":"string","title":"Traitid"},"stage":{"type":"string","title":"Stage"},"session":{"type":"string","title":"Session"},"date":{"type":"string","title":"Date"},"description":{"type":"string","maxLength":300,"minLength":20,"title":"Description"},"strength":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Strength"}},"type":"object","required":["traitId","stage","session","date","description","strength"],"title":"EvolutionEntry"},"routes__profile__SkillConfidenceItem":{"properties":{"skill":{"type":"string","title":"Skill"},"confidence":{"type":"integer","title":"Confidence"}},"type":"object","required":["skill","confidence"],"title":"SkillConfidenceItem"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"}}}}