{"openapi":"3.1.0","info":{"title":"Hermes Agent","version":"0.15.1"},"paths":{"/api/status":{"get":{"summary":"Get Status","operationId":"get_status_api_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/gateway/restart":{"post":{"summary":"Restart Gateway","description":"Kick off a ``hermes gateway restart`` in the background.","operationId":"restart_gateway_api_gateway_restart_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/hermes/update":{"post":{"summary":"Update Hermes","description":"Kick off ``hermes update`` in the background.","operationId":"update_hermes_api_hermes_update_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/actions/{name}/status":{"get":{"summary":"Get Action Status","description":"Tail an action log and report whether the process is still running.","operationId":"get_action_status_api_actions__name__status_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"lines","in":"query","required":false,"schema":{"type":"integer","default":200,"title":"Lines"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sessions":{"get":{"summary":"Get Sessions","operationId":"get_sessions_api_sessions_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sessions/search":{"get":{"summary":"Search Sessions","description":"Full-text search across session message content using FTS5.","operationId":"search_sessions_api_sessions_search_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/config":{"get":{"summary":"Get Config","operationId":"get_config_api_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"put":{"summary":"Update Config","operationId":"update_config_api_config_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/config/defaults":{"get":{"summary":"Get Defaults","operationId":"get_defaults_api_config_defaults_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/config/schema":{"get":{"summary":"Get Schema","operationId":"get_schema_api_config_schema_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/model/info":{"get":{"summary":"Get Model Info","description":"Return resolved model metadata for the currently configured model.\n\nCalls the same context-length resolution chain the agent uses, so the\nfrontend can display \"Auto-detected: 200K\" alongside the override field.\nAlso returns model capabilities (vision, reasoning, tools) when available.","operationId":"get_model_info_api_model_info_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/model/options":{"get":{"summary":"Get Model Options","description":"Return authenticated providers + their curated model lists.\n\nREST equivalent of the ``model.options`` JSON-RPC on tui_gateway, so the\ndashboard Models page can render the picker without a live chat session.\nThe response shape matches ``model.options`` 1:1 so ``ModelPickerDialog``\ncan share the same types.","operationId":"get_model_options_api_model_options_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/model/auxiliary":{"get":{"summary":"Get Auxiliary Models","description":"Return current auxiliary task assignments.\n\nShape:\n  {\n    \"tasks\": [\n      {\"task\": \"vision\", \"provider\": \"auto\", \"model\": \"\", \"base_url\": \"\"},\n      ...\n    ],\n    \"main\": {\"provider\": \"openrouter\", \"model\": \"anthropic/claude-opus-4.7\"},\n  }","operationId":"get_auxiliary_models_api_model_auxiliary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/model/set":{"post":{"summary":"Set Model Assignment","description":"Assign a model to the main slot or an auxiliary task slot.\n\nWrites to ``~/.hermes/config.yaml`` — applies to **new** sessions only.\nThe currently running chat PTY (if any) is not affected; use the\n``/model`` slash command inside a chat to hot-swap that specific session.","operationId":"set_model_assignment_api_model_set_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelAssignment"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/env":{"get":{"summary":"Get Env Vars","operationId":"get_env_vars_api_env_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"put":{"summary":"Set Env Var","operationId":"set_env_var_api_env_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvVarUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Remove Env Var","operationId":"remove_env_var_api_env_delete","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvVarDelete"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/env/reveal":{"post":{"summary":"Reveal Env Var","description":"Return the real (unredacted) value of a single env var.\n\nProtected by:\n- Ephemeral session token (generated per server start, injected into SPA)\n- Rate limiting (max 5 reveals per 30s window)\n- Audit logging","operationId":"reveal_env_var_api_env_reveal_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvVarReveal"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/providers/oauth":{"get":{"summary":"List Oauth Providers","description":"Enumerate every OAuth-capable LLM provider with current status.\n\nResponse shape (per provider):\n    id              stable identifier (used in DELETE path)\n    name            human label\n    flow            \"pkce\" | \"device_code\" | \"external\"\n    cli_command     fallback CLI command for users to run manually\n    docs_url        external docs/portal link for the \"Learn more\" link\n    status:\n      logged_in        bool — currently has usable creds\n      source           short slug (\"hermes_pkce\", \"claude_code\", ...)\n      source_label     human-readable origin (file path, env var name)\n      token_preview    last N chars of the token, never the full token\n      expires_at       ISO timestamp string or null\n      has_refresh_token bool","operationId":"list_oauth_providers_api_providers_oauth_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/providers/oauth/{provider_id}":{"delete":{"summary":"Disconnect Oauth Provider","description":"Disconnect an OAuth provider. Token-protected (matches /env/reveal).","operationId":"disconnect_oauth_provider_api_providers_oauth__provider_id__delete","parameters":[{"name":"provider_id","in":"path","required":true,"schema":{"type":"string","title":"Provider Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/providers/oauth/{provider_id}/start":{"post":{"summary":"Start Oauth Login","description":"Initiate an OAuth login flow. Token-protected.","operationId":"start_oauth_login_api_providers_oauth__provider_id__start_post","parameters":[{"name":"provider_id","in":"path","required":true,"schema":{"type":"string","title":"Provider Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/providers/oauth/{provider_id}/submit":{"post":{"summary":"Submit Oauth Code","description":"Submit the auth code for PKCE flows. Token-protected.","operationId":"submit_oauth_code_api_providers_oauth__provider_id__submit_post","parameters":[{"name":"provider_id","in":"path","required":true,"schema":{"type":"string","title":"Provider Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthSubmitBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/providers/oauth/{provider_id}/poll/{session_id}":{"get":{"summary":"Poll Oauth Session","description":"Poll a device-code session's status (no auth — read-only state).","operationId":"poll_oauth_session_api_providers_oauth__provider_id__poll__session_id__get","parameters":[{"name":"provider_id","in":"path","required":true,"schema":{"type":"string","title":"Provider Id"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/providers/oauth/sessions/{session_id}":{"delete":{"summary":"Cancel Oauth Session","description":"Cancel a pending OAuth session. Token-protected.","operationId":"cancel_oauth_session_api_providers_oauth_sessions__session_id__delete","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"}}}}}}},"/api/sessions/{session_id}":{"get":{"summary":"Get Session Detail","operationId":"get_session_detail_api_sessions__session_id__get","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"}}}}}},"delete":{"summary":"Delete Session Endpoint","operationId":"delete_session_endpoint_api_sessions__session_id__delete","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"}}}}}}},"/api/sessions/{session_id}/latest-descendant":{"get":{"summary":"Get Session Latest Descendant","operationId":"get_session_latest_descendant_api_sessions__session_id__latest_descendant_get","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"}}}}}}},"/api/sessions/{session_id}/messages":{"get":{"summary":"Get Session Messages","operationId":"get_session_messages_api_sessions__session_id__messages_get","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"}}}}}}},"/api/logs":{"get":{"summary":"Get Logs","operationId":"get_logs_api_logs_get","parameters":[{"name":"file","in":"query","required":false,"schema":{"type":"string","default":"agent","title":"File"}},{"name":"lines","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Lines"}},{"name":"level","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Level"}},{"name":"component","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Component"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/cron/jobs":{"get":{"summary":"List Cron Jobs","operationId":"list_cron_jobs_api_cron_jobs_get","parameters":[{"name":"profile","in":"query","required":false,"schema":{"type":"string","default":"all","title":"Profile"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Cron Job","operationId":"create_cron_job_api_cron_jobs_post","parameters":[{"name":"profile","in":"query","required":false,"schema":{"type":"string","default":"default","title":"Profile"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CronJobCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/cron/jobs/{job_id}":{"get":{"summary":"Get Cron Job","operationId":"get_cron_job_api_cron_jobs__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profile"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Cron Job","operationId":"update_cron_job_api_cron_jobs__job_id__put","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profile"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CronJobUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Cron Job","operationId":"delete_cron_job_api_cron_jobs__job_id__delete","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profile"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/cron/jobs/{job_id}/pause":{"post":{"summary":"Pause Cron Job","operationId":"pause_cron_job_api_cron_jobs__job_id__pause_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profile"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/cron/jobs/{job_id}/resume":{"post":{"summary":"Resume Cron Job","operationId":"resume_cron_job_api_cron_jobs__job_id__resume_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profile"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/cron/jobs/{job_id}/trigger":{"post":{"summary":"Trigger Cron Job","operationId":"trigger_cron_job_api_cron_jobs__job_id__trigger_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profile"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/profiles":{"get":{"summary":"List Profiles Endpoint","operationId":"list_profiles_endpoint_api_profiles_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Create Profile Endpoint","operationId":"create_profile_endpoint_api_profiles_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/profiles/{name}/setup-command":{"get":{"summary":"Get Profile Setup Command","operationId":"get_profile_setup_command_api_profiles__name__setup_command_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/profiles/{name}/open-terminal":{"post":{"summary":"Open Profile Terminal Endpoint","operationId":"open_profile_terminal_endpoint_api_profiles__name__open_terminal_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/profiles/{name}":{"patch":{"summary":"Rename Profile Endpoint","operationId":"rename_profile_endpoint_api_profiles__name__patch","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileRename"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Profile Endpoint","description":"Delete a profile. The dashboard collects the user's confirmation in\nits own dialog before this request, so we always pass ``yes=True`` to\nskip the CLI's interactive prompt.","operationId":"delete_profile_endpoint_api_profiles__name__delete","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/profiles/{name}/soul":{"get":{"summary":"Get Profile Soul","operationId":"get_profile_soul_api_profiles__name__soul_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Profile Soul","operationId":"update_profile_soul_api_profiles__name__soul_put","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileSoulUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/skills":{"get":{"summary":"Get Skills","operationId":"get_skills_api_skills_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/skills/toggle":{"put":{"summary":"Toggle Skill","operationId":"toggle_skill_api_skills_toggle_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkillToggle"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/tools/toolsets":{"get":{"summary":"Get Toolsets","operationId":"get_toolsets_api_tools_toolsets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/config/raw":{"get":{"summary":"Get Config Raw","operationId":"get_config_raw_api_config_raw_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"put":{"summary":"Update Config Raw","operationId":"update_config_raw_api_config_raw_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RawConfigUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/analytics/usage":{"get":{"summary":"Get Usage Analytics","operationId":"get_usage_analytics_api_analytics_usage_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/analytics/models":{"get":{"summary":"Get Models Analytics","description":"Rich per-model analytics for the Models dashboard page.\n\nReturns token/cost/session breakdown per model plus capability metadata\nfrom models.dev (context window, vision, tools, reasoning, etc.).","operationId":"get_models_analytics_api_analytics_models_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/dashboard/themes":{"get":{"summary":"Get Dashboard Themes","description":"Return available themes and the currently active one.\n\nBuilt-in entries ship name/label/description only (the frontend owns\ntheir full definitions in `web/src/themes/presets.ts`).  User themes\nfrom `~/.hermes/dashboard-themes/*.yaml` ship with their full\nnormalised definition under `definition`, so the client can apply\nthem without a stub.","operationId":"get_dashboard_themes_api_dashboard_themes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/dashboard/theme":{"put":{"summary":"Set Dashboard Theme","description":"Set the active dashboard theme (persists to config.yaml).","operationId":"set_dashboard_theme_api_dashboard_theme_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThemeSetBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/dashboard/plugins":{"get":{"summary":"Get Dashboard Plugins","description":"Return discovered dashboard plugins (excludes user-hidden ones).","operationId":"get_dashboard_plugins_api_dashboard_plugins_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/dashboard/plugins/rescan":{"get":{"summary":"Rescan Dashboard Plugins","description":"Force re-scan of dashboard plugins.","operationId":"rescan_dashboard_plugins_api_dashboard_plugins_rescan_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/dashboard/plugins/hub":{"get":{"summary":"Get Plugins Hub","description":"Unified agent plugins + dashboard extension metadata (session protected).","operationId":"get_plugins_hub_api_dashboard_plugins_hub_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/dashboard/agent-plugins/install":{"post":{"summary":"Post Agent Plugin Install","operationId":"post_agent_plugin_install_api_dashboard_agent_plugins_install_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_AgentPluginInstallBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/dashboard/agent-plugins/{name}/enable":{"post":{"summary":"Post Agent Plugin Enable","operationId":"post_agent_plugin_enable_api_dashboard_agent_plugins__name__enable_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/dashboard/agent-plugins/{name}/disable":{"post":{"summary":"Post Agent Plugin Disable","operationId":"post_agent_plugin_disable_api_dashboard_agent_plugins__name__disable_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/dashboard/agent-plugins/{name}/update":{"post":{"summary":"Post Agent Plugin Update","operationId":"post_agent_plugin_update_api_dashboard_agent_plugins__name__update_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/dashboard/agent-plugins/{name}":{"delete":{"summary":"Delete Agent Plugin","operationId":"delete_agent_plugin_api_dashboard_agent_plugins__name__delete","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/dashboard/plugin-providers":{"put":{"summary":"Put Plugin Providers","description":"Persist memory provider / context engine selection (writes config.yaml).","operationId":"put_plugin_providers_api_dashboard_plugin_providers_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_PluginProvidersPutBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/dashboard/plugins/{name}/visibility":{"post":{"summary":"Post Plugin Visibility","description":"Toggle a plugin's sidebar visibility (persists to config.yaml dashboard.hidden_plugins).","operationId":"post_plugin_visibility_api_dashboard_plugins__name__visibility_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_PluginVisibilityBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard-plugins/{plugin_name}/{file_path}":{"get":{"summary":"Serve Plugin Asset","description":"Serve static assets from a dashboard plugin directory.\n\nOnly serves files from the plugin's ``dashboard/`` subdirectory.\nPath traversal is blocked by checking ``resolve().is_relative_to()``.\n\nRestricted to a browser-fetchable suffix allowlist (JS/CSS/JSON/HTML/\nSVG/PNG/JPG/WOFF). The dashboard loads plugin JS via ``<script src>``\nand CSS via ``<link href>``, neither of which can attach a custom\nauth header — so this route stays unauthenticated to keep the SPA\nworking. But user-installed plugins ship a ``plugin_api.py``\nbackend module that the browser never fetches; it's only imported\nby :func:`_mount_plugin_api_routes` at startup. Without a suffix\nallowlist, anyone on the loopback port can curl the ``.py`` source\nof a private third-party plugin. Reject everything outside the\nbrowser-asset set.","operationId":"serve_plugin_asset_dashboard_plugins__plugin_name___file_path__get","parameters":[{"name":"plugin_name","in":"path","required":true,"schema":{"type":"string","title":"Plugin Name"}},{"name":"file_path","in":"path","required":true,"schema":{"type":"string","title":"File Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugins/example/hello":{"get":{"summary":"Hello","description":"Simple greeting endpoint to demonstrate plugin API routes.","operationId":"hello_api_plugins_example_hello_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/plugins/hermes-achievements/achievements":{"get":{"summary":"Achievements","operationId":"achievements_api_plugins_hermes_achievements_achievements_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/plugins/hermes-achievements/scan-status":{"get":{"summary":"Scan Status","operationId":"scan_status_api_plugins_hermes_achievements_scan_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/plugins/hermes-achievements/recent-unlocks":{"get":{"summary":"Recent Unlocks","operationId":"recent_unlocks_api_plugins_hermes_achievements_recent_unlocks_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/plugins/hermes-achievements/sessions/{session_id}/badges":{"get":{"summary":"Session Badges","operationId":"session_badges_api_plugins_hermes_achievements_sessions__session_id__badges_get","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"}}}}}}},"/api/plugins/hermes-achievements/rescan":{"post":{"summary":"Rescan","operationId":"rescan_api_plugins_hermes_achievements_rescan_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/plugins/hermes-achievements/reset-state":{"post":{"summary":"Reset State","operationId":"reset_state_api_plugins_hermes_achievements_reset_state_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/plugins/kanban/board":{"get":{"summary":"Get Board","description":"Return the full board grouped by status column.\n\n``_conn()`` auto-initializes ``kanban.db`` on first call so a fresh\ninstall doesn't surface a \"failed to load\" error on the plugin tab.\n\n``board`` selects which board to read from. Omitting it falls\nthrough to the active board (``HERMES_KANBAN_BOARD`` env → on-disk\n``current`` pointer → ``default``).","operationId":"get_board_api_plugins_kanban_board_get","parameters":[{"name":"tenant","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter to a single tenant","title":"Tenant"},"description":"Filter to a single tenant"},{"name":"include_archived","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Archived"}},{"name":"board","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Kanban board slug (omit for current)","title":"Board"},"description":"Kanban board slug (omit for current)"},{"name":"workflow_template_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Restrict to tasks using this workflow template id","title":"Workflow Template Id"},"description":"Restrict to tasks using this workflow template id"},{"name":"current_step_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Restrict to tasks at this workflow step key","title":"Current Step Key"},"description":"Restrict to tasks at this workflow step key"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugins/kanban/tasks/{task_id}":{"get":{"summary":"Get Task","operationId":"get_task_api_plugins_kanban_tasks__task_id__get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"board","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Board"}},{"name":"run_state_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"With run_state_name: filter runs by column 'status' or 'outcome'","title":"Run State Type"},"description":"With run_state_name: filter runs by column 'status' or 'outcome'"},{"name":"run_state_name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"With run_state_type: exact value for that run column","title":"Run State Name"},"description":"With run_state_type: exact value for that run column"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Update Task","operationId":"update_task_api_plugins_kanban_tasks__task_id__patch","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"board","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Board"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTaskBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Task","operationId":"delete_task_api_plugins_kanban_tasks__task_id__delete","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"board","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Board"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugins/kanban/tasks":{"post":{"summary":"Create Task","operationId":"create_task_api_plugins_kanban_tasks_post","parameters":[{"name":"board","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Board"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTaskBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugins/kanban/tasks/{task_id}/attachments":{"get":{"summary":"List Task Attachments","operationId":"list_task_attachments_api_plugins_kanban_tasks__task_id__attachments_get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"board","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Board"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Upload Task Attachment","description":"Store an uploaded file for a task and record its metadata.\n\nThe blob lands under ``attachments_root(board)/<task_id>/`` with a\nsanitised, collision-resolved name. The worker reads it via the\nabsolute path surfaced in ``build_worker_context``.","operationId":"upload_task_attachment_api_plugins_kanban_tasks__task_id__attachments_post","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"board","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Board"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_task_attachment_api_plugins_kanban_tasks__task_id__attachments_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugins/kanban/attachments/{attachment_id}":{"get":{"summary":"Download Attachment","operationId":"download_attachment_api_plugins_kanban_attachments__attachment_id__get","parameters":[{"name":"attachment_id","in":"path","required":true,"schema":{"type":"integer","title":"Attachment Id"}},{"name":"board","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Board"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Remove Attachment","operationId":"remove_attachment_api_plugins_kanban_attachments__attachment_id__delete","parameters":[{"name":"attachment_id","in":"path","required":true,"schema":{"type":"integer","title":"Attachment Id"}},{"name":"board","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Board"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugins/kanban/tasks/{task_id}/comments":{"post":{"summary":"Add Comment","operationId":"add_comment_api_plugins_kanban_tasks__task_id__comments_post","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"board","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Board"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugins/kanban/links":{"post":{"summary":"Add Link","operationId":"add_link_api_plugins_kanban_links_post","parameters":[{"name":"board","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Board"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Link","operationId":"delete_link_api_plugins_kanban_links_delete","parameters":[{"name":"parent_id","in":"query","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"query","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"board","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Board"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugins/kanban/tasks/bulk":{"post":{"summary":"Bulk Update","description":"Apply the same patch to every id in ``payload.ids``.\n\nThis is an *independent* iteration — per-task failures don't abort\nsiblings. Returns per-id outcome so the UI can surface partials.","operationId":"bulk_update_api_plugins_kanban_tasks_bulk_post","parameters":[{"name":"board","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Board"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkTaskBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugins/kanban/diagnostics":{"get":{"summary":"List Diagnostics","description":"Return ``[{task_id, task_title, task_status, task_assignee,\ndiagnostics: [...]}, ...]`` for every task on the board with at\nleast one active diagnostic.\n\nSeverity-filterable so the UI can render \"just the critical ones\"\nor the CLI can grep. Useful for the board-header attention strip\nAND for ``hermes kanban diagnostics`` which shells to this\nendpoint when the dashboard's running, or invokes the engine\ndirectly when it isn't.","operationId":"list_diagnostics_api_plugins_kanban_diagnostics_get","parameters":[{"name":"board","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Kanban board slug (omit for current)","title":"Board"},"description":"Kanban board slug (omit for current)"},{"name":"severity","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by severity: warning|error|critical","title":"Severity"},"description":"Filter by severity: warning|error|critical"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugins/kanban/workers/active":{"get":{"summary":"List Active Workers","description":"Return every currently-running worker on the board.\n\nA worker is a ``task_runs`` row whose ``ended_at`` is NULL and whose\n``worker_pid`` is non-NULL, belonging to a task with ``status='running'``.\n\nReturns ``{workers: [...], count: N, checked_at: <epoch>}``.  Each\nworker entry carries enough context for the dashboard to link back to\nits task without a second round-trip.","operationId":"list_active_workers_api_plugins_kanban_workers_active_get","parameters":[{"name":"board","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Kanban board slug (omit for current)","title":"Board"},"description":"Kanban board slug (omit for current)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugins/kanban/runs/{run_id}":{"get":{"summary":"Get Run Endpoint","description":"Direct lookup of a ``task_runs`` row by its integer id.\n\nReturns ``{run: {...}}`` using the same serialisation as the\nper-task run history embedded in ``GET /tasks/{task_id}``.\n404 when no such run exists.","operationId":"get_run_endpoint_api_plugins_kanban_runs__run_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"integer","title":"Run Id"}},{"name":"board","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Kanban board slug (omit for current)","title":"Board"},"description":"Kanban board slug (omit for current)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugins/kanban/runs/{run_id}/inspect":{"get":{"summary":"Inspect Run Endpoint","description":"Live PID stats for a run's worker process via psutil.\n\nIf the run has already ended, or has no recorded ``worker_pid``,\nreturns ``{alive: false}`` with a human-readable ``reason``.\n\nWhen the process is live, returns CPU, memory, thread count, fd count,\nstatus, create_time, and cmdline.  ``access_denied`` is set when the\nOS refuses inspection rather than raising a 500.\n\npsutil availability: if psutil is not installed the endpoint still\nworks but ``alive`` is always returned as ``false`` with\n``reason=\"psutil not available\"``.","operationId":"inspect_run_endpoint_api_plugins_kanban_runs__run_id__inspect_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"integer","title":"Run Id"}},{"name":"board","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Kanban board slug (omit for current)","title":"Board"},"description":"Kanban board slug (omit for current)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugins/kanban/runs/{run_id}/terminate":{"post":{"summary":"Terminate Run Endpoint","description":"Terminate the worker process backing an in-flight run.\n\nResolves ``run_id`` to its parent ``task_id`` and routes through\n:func:`kanban_db.reclaim_task` so the SIGTERM->SIGKILL flow,\nrun-outcome bookkeeping, and event-log append all match what the\nexisting ``POST /tasks/{task_id}/reclaim`` endpoint does.\n\nResponses:\n  * 200 ``{\"ok\": true, \"run_id\": ..., \"task_id\": ...}`` on success.\n  * 404 when ``run_id`` is unknown.\n  * 409 when the run has already ended, or the task is no longer in\n    a claimable state.\n\nCloses the gap left by PR #28432, which shipped the read-only\nsibling endpoints (``/workers/active``, ``/runs/{run_id}``,\n``/runs/{run_id}/inspect``) but no termination control surface.","operationId":"terminate_run_endpoint_api_plugins_kanban_runs__run_id__terminate_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"integer","title":"Run Id"}},{"name":"board","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Kanban board slug (omit for current)","title":"Board"},"description":"Kanban board slug (omit for current)"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TerminateRunBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugins/kanban/tasks/{task_id}/reclaim":{"post":{"summary":"Reclaim Task Endpoint","description":"Release an active worker claim on a running task.\n\nUsed by the dashboard recovery popover when an operator wants to\nabort a stuck worker (e.g. one that keeps hallucinating card ids)\nwithout waiting for the claim TTL. Maps 1:1 to\n``hermes kanban reclaim <task_id> --reason ...``.","operationId":"reclaim_task_endpoint_api_plugins_kanban_tasks__task_id__reclaim_post","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"board","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Board"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReclaimBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugins/kanban/tasks/{task_id}/specify":{"post":{"summary":"Specify Task Endpoint","description":"Flesh out a triage-column task via the auxiliary LLM and promote\nit to ``todo``. Maps 1:1 to ``hermes kanban specify <task_id>``.\n\nReturns the outcome shape used by the CLI: ``{ok, task_id, reason,\nnew_title}``. A non-OK outcome is NOT an HTTP error — the UI renders\nthe reason inline (e.g. \"no auxiliary client configured\") so the\noperator knows what to fix, and retries without a page reload.\n\nThis endpoint runs in FastAPI's threadpool (sync ``def``) because\nthe underlying LLM call can take tens of seconds to minutes on\nreasoning models, which would block the event loop if we used\n``async def`` without an explicit ``run_in_executor``.","operationId":"specify_task_endpoint_api_plugins_kanban_tasks__task_id__specify_post","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"board","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Board"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpecifyBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugins/kanban/tasks/{task_id}/reassign":{"post":{"summary":"Reassign Task Endpoint","description":"Reassign a task to a different profile, optionally reclaiming first.\n\nUsed by the dashboard recovery popover when an operator wants to\nretry a task with a different worker profile (e.g. switch to a\nsmarter model after the assigned profile keeps hallucinating).\nMaps 1:1 to ``hermes kanban reassign <task_id> <profile> [--reclaim]``.","operationId":"reassign_task_endpoint_api_plugins_kanban_tasks__task_id__reassign_post","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"board","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Board"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReassignBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugins/kanban/config":{"get":{"summary":"Get Config","description":"Return kanban dashboard preferences from ~/.hermes/config.yaml.\n\nReads the ``dashboard.kanban`` section if present; defaults otherwise.\nUsed by the UI to pre-select tenant filters, toggle markdown rendering,\nor set column-width preferences without a round-trip per page load.","operationId":"get_config_api_plugins_kanban_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/plugins/kanban/home-channels":{"get":{"summary":"Get Home Channels","description":"List every platform with a home channel, plus whether *task_id*\n(if given) is currently subscribed to that home.\n\nWhen ``task_id`` is omitted, every entry's ``subscribed`` is ``false``\n— useful for the \"no task selected\" state of the UI.","operationId":"get_home_channels_api_plugins_kanban_home_channels_get","parameters":[{"name":"task_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Id"}},{"name":"board","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Board"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugins/kanban/tasks/{task_id}/home-subscribe/{platform}":{"post":{"summary":"Subscribe Home","description":"Subscribe *task_id* to notifications routed to *platform*'s home channel.\n\nIdempotent — re-subscribing is a no-op at the DB layer. 404 if the\nplatform has no home channel configured. 404 if the task doesn't exist.","operationId":"subscribe_home_api_plugins_kanban_tasks__task_id__home_subscribe__platform__post","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"board","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Board"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Unsubscribe Home","description":"Remove any notify subscription on *task_id* that matches *platform*'s home.","operationId":"unsubscribe_home_api_plugins_kanban_tasks__task_id__home_subscribe__platform__delete","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"board","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Board"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugins/kanban/stats":{"get":{"summary":"Get Stats","description":"Per-status + per-assignee counts + oldest-ready age.\n\nDesigned for the dashboard HUD and for router profiles that need to\nanswer \"is this specialist overloaded?\" without scanning the whole\nboard themselves.","operationId":"get_stats_api_plugins_kanban_stats_get","parameters":[{"name":"board","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Board"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugins/kanban/assignees":{"get":{"summary":"Get Assignees","description":"Known profiles + per-profile task counts.\n\nReturns the union of ``~/.hermes/profiles/*`` on disk and every\ndistinct assignee currently used on the board. The dashboard uses\nthis to populate its assignee dropdown so a freshly-created profile\nappears in the picker before it's been given any task.","operationId":"get_assignees_api_plugins_kanban_assignees_get","parameters":[{"name":"board","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Board"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugins/kanban/tasks/{task_id}/log":{"get":{"summary":"Get Task Log","description":"Return the worker's stdout/stderr log.\n\n``tail`` caps the response size (bytes) so the dashboard drawer\ndoesn't paginate megabytes into the browser. Returns 404 if the task\nhas never spawned. The on-disk log is rotated at 2 MiB per\n``_rotate_worker_log`` — a single ``.log.1`` is kept, no further\ngenerations, so disk usage per task is bounded at ~4 MiB.","operationId":"get_task_log_api_plugins_kanban_tasks__task_id__log_get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"tail","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":2000000,"minimum":1},{"type":"null"}],"title":"Tail"}},{"name":"board","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Board"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugins/kanban/dispatch":{"post":{"summary":"Dispatch","operationId":"dispatch_api_plugins_kanban_dispatch_post","parameters":[{"name":"dry_run","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Dry Run"}},{"name":"max","in":"query","required":false,"schema":{"type":"integer","default":8,"title":"Max"}},{"name":"board","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Board"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugins/kanban/boards":{"get":{"summary":"List Boards","description":"Return every board on disk with task counts and the active slug.","operationId":"list_boards_api_plugins_kanban_boards_get","parameters":[{"name":"include_archived","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Archived"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Board Endpoint","description":"Create a new board. Idempotent — ``slug`` collision returns existing.","operationId":"create_board_endpoint_api_plugins_kanban_boards_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBoardBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugins/kanban/boards/{slug}":{"patch":{"summary":"Rename Board","description":"Update a board's display metadata (slug is immutable — create a new one to rename the directory).","operationId":"rename_board_api_plugins_kanban_boards__slug__patch","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenameBoardBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Board","description":"Archive (default) or hard-delete a board.","operationId":"delete_board_api_plugins_kanban_boards__slug__delete","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"delete","in":"query","required":false,"schema":{"type":"boolean","description":"Hard-delete instead of archive","default":false,"title":"Delete"},"description":"Hard-delete instead of archive"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugins/kanban/boards/{slug}/switch":{"post":{"summary":"Switch Board","description":"Persist ``slug`` as the active board for subsequent CLI / slash calls.\n\nDashboard users pick boards via a client-side ``localStorage`` — this\nendpoint is for ``/kanban boards switch`` parity so gateway slash\ncommands and the CLI share the same current-board pointer.","operationId":"switch_board_api_plugins_kanban_boards__slug__switch_post","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugins/kanban/profiles":{"get":{"summary":"List Profile Roster","description":"Return every installed profile with its description.\n\nConsumed by the dashboard's settings panel (orchestrator picker)\nand the profile-description editing UI. Profiles without a\ndescription still appear here — they're routable on name alone,\njust less precisely.","operationId":"list_profile_roster_api_plugins_kanban_profiles_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/plugins/kanban/profiles/{profile_name}":{"patch":{"summary":"Update Profile Description","description":"Set or clear the description of a profile.\n\nEmpty string clears the description; non-empty stores it as a\nuser-authored description (``description_auto: false``) so the\nauto-describer won't overwrite it on a sweep without\n``--overwrite``.","operationId":"update_profile_description_api_plugins_kanban_profiles__profile_name__patch","parameters":[{"name":"profile_name","in":"path","required":true,"schema":{"type":"string","title":"Profile Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DescribeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugins/kanban/profiles/{profile_name}/describe-auto":{"post":{"summary":"Auto Describe Profile","description":"Generate a description for the named profile via the auxiliary\nLLM (``auxiliary.profile_describer``). Persists with\n``description_auto: true`` so the dashboard can surface a \"review\"\nbadge.\n\nMaps 1:1 to ``hermes profile describe <name> --auto``. Non-OK\noutcomes are NOT HTTP errors — the UI renders the reason inline\n(e.g. \"no auxiliary client configured\") so the operator can fix\nconfig and retry without a page reload.","operationId":"auto_describe_profile_api_plugins_kanban_profiles__profile_name__describe_auto_post","parameters":[{"name":"profile_name","in":"path","required":true,"schema":{"type":"string","title":"Profile Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DescribeAutoBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugins/kanban/tasks/{task_id}/decompose":{"post":{"summary":"Decompose Task Endpoint","description":"Fan a triage-column task out into a graph of child tasks via the\nauxiliary LLM, routed to specialist profiles by description. Maps\n1:1 to ``hermes kanban decompose <task_id>``.\n\nReturns the outcome shape used by the CLI: ``{ok, task_id, reason,\nfanout, child_ids, new_title}``. A non-OK outcome is NOT an HTTP\nerror — the UI renders the reason inline.\n\nRuns in FastAPI's threadpool (sync ``def``) because the LLM call\ncan take minutes on reasoning models.","operationId":"decompose_task_endpoint_api_plugins_kanban_tasks__task_id__decompose_post","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"board","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Board"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecomposeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugins/kanban/orchestration":{"get":{"summary":"Get Orchestration Settings","description":"Return the current kanban orchestration knobs from config.yaml\nplus the resolved effective values (filling in fallbacks).","operationId":"get_orchestration_settings_api_plugins_kanban_orchestration_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"put":{"summary":"Set Orchestration Settings","description":"Update the kanban orchestration knobs in ~/.hermes/config.yaml.\n\nEach field is optional — only fields explicitly passed are\nwritten. ``orchestrator_profile`` / ``default_assignee`` accept\nempty strings to clear the override and fall back to the default\nprofile.","operationId":"set_orchestration_settings_api_plugins_kanban_orchestration_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrchestrationSettingsBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/login":{"get":{"summary":"Login Page","operationId":"login_page_login_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/providers":{"get":{"summary":"Auth Providers","operationId":"auth_providers_api_auth_providers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Auth Providers Api Auth Providers Get"}}}}}}},"/auth/login":{"get":{"summary":"Auth Login","operationId":"auth_login_auth_login_get","parameters":[{"name":"provider","in":"query","required":true,"schema":{"type":"string","title":"Provider"}},{"name":"next","in":"query","required":false,"schema":{"type":"string","default":"","title":"Next"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/callback":{"get":{"summary":"Auth Callback","operationId":"auth_callback_auth_callback_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"type":"string","default":"","title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"type":"string","default":"","title":"State"}},{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}},{"name":"error_description","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error Description"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/logout":{"post":{"summary":"Auth Logout","operationId":"auth_logout_auth_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/me":{"get":{"summary":"Auth Me","description":"Return the verified session as JSON. Auth-required (gate enforces).","operationId":"auth_me_api_auth_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/auth/ws-ticket":{"post":{"summary":"Auth Ws Ticket","description":"Mint a short-lived single-use ticket for the authenticated session.\n\nBrowsers cannot set ``Authorization`` on a WebSocket upgrade, so in\ngated mode the SPA POSTs this endpoint to get a ``?ticket=`` value to\nappend to ``/api/pty``, ``/api/ws``, ``/api/pub``, or ``/api/events``.\n\nThe ticket has a 30-second TTL and is single-use. Calling this endpoint\nmultiple times in quick succession (e.g. one ticket per WS) is the\nexpected pattern.","operationId":"auth_ws_ticket_api_auth_ws_ticket_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/assets/{filename}.css":{"get":{"summary":"Serve Css","operationId":"serve_css_assets__filename__css_get","parameters":[{"name":"filename","in":"path","required":true,"schema":{"type":"string","title":"Filename"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/{full_path}":{"get":{"summary":"Serve Spa","operationId":"serve_spa__full_path__get","parameters":[{"name":"full_path","in":"path","required":true,"schema":{"type":"string","title":"Full Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"Body_upload_task_attachment_api_plugins_kanban_tasks__task_id__attachments_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"},"uploaded_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uploaded By"}},"type":"object","required":["file"],"title":"Body_upload_task_attachment_api_plugins_kanban_tasks__task_id__attachments_post"},"BulkTaskBody":{"properties":{"ids":{"items":{"type":"string"},"type":"array","title":"Ids"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"assignee":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assignee"},"priority":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Priority"},"archive":{"type":"boolean","title":"Archive","default":false},"result":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"},"reclaim_first":{"type":"boolean","title":"Reclaim First","default":false}},"type":"object","required":["ids"],"title":"BulkTaskBody"},"CommentBody":{"properties":{"body":{"type":"string","title":"Body"},"author":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Author","default":"dashboard"}},"type":"object","required":["body"],"title":"CommentBody"},"ConfigUpdate":{"properties":{"config":{"additionalProperties":true,"type":"object","title":"Config"}},"type":"object","required":["config"],"title":"ConfigUpdate"},"CreateBoardBody":{"properties":{"slug":{"type":"string","title":"Slug"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"icon":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon"},"color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color"},"switch":{"type":"boolean","title":"Switch","default":false}},"type":"object","required":["slug"],"title":"CreateBoardBody"},"CreateTaskBody":{"properties":{"title":{"type":"string","title":"Title"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"},"assignee":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assignee"},"tenant":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tenant"},"priority":{"type":"integer","title":"Priority","default":0},"workspace_kind":{"type":"string","title":"Workspace Kind","default":"scratch"},"workspace_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspace Path"},"parents":{"items":{"type":"string"},"type":"array","title":"Parents"},"triage":{"type":"boolean","title":"Triage","default":false},"idempotency_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency Key"},"max_runtime_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Runtime Seconds"},"skills":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Skills"},"goal_mode":{"type":"boolean","title":"Goal Mode","default":false},"goal_max_turns":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Goal Max Turns"}},"type":"object","required":["title"],"title":"CreateTaskBody"},"CronJobCreate":{"properties":{"prompt":{"type":"string","title":"Prompt"},"schedule":{"type":"string","title":"Schedule"},"name":{"type":"string","title":"Name","default":""},"deliver":{"type":"string","title":"Deliver","default":"local"}},"type":"object","required":["prompt","schedule"],"title":"CronJobCreate"},"CronJobUpdate":{"properties":{"updates":{"additionalProperties":true,"type":"object","title":"Updates"}},"type":"object","required":["updates"],"title":"CronJobUpdate"},"DecomposeBody":{"properties":{"author":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Author"}},"type":"object","title":"DecomposeBody"},"DescribeAutoBody":{"properties":{"overwrite":{"type":"boolean","title":"Overwrite","default":false}},"type":"object","title":"DescribeAutoBody"},"DescribeBody":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","title":"DescribeBody"},"EnvVarDelete":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EnvVarDelete"},"EnvVarReveal":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"EnvVarReveal"},"EnvVarUpdate":{"properties":{"key":{"type":"string","title":"Key"},"value":{"type":"string","title":"Value"}},"type":"object","required":["key","value"],"title":"EnvVarUpdate"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"LinkBody":{"properties":{"parent_id":{"type":"string","title":"Parent Id"},"child_id":{"type":"string","title":"Child Id"}},"type":"object","required":["parent_id","child_id"],"title":"LinkBody"},"ModelAssignment":{"properties":{"scope":{"type":"string","title":"Scope"},"provider":{"type":"string","title":"Provider"},"model":{"type":"string","title":"Model"},"task":{"type":"string","title":"Task","default":""}},"type":"object","required":["scope","provider","model"],"title":"ModelAssignment","description":"Payload for POST /api/model/set — assign a provider/model to a slot.\n\nscope=\"main\"        → writes model.provider + model.default\nscope=\"auxiliary\"   → writes auxiliary.<task>.provider + auxiliary.<task>.model\nscope=\"auxiliary\" with task=\"\"  → applied to every auxiliary.* slot\nscope=\"auxiliary\" with task=\"__reset__\"  → resets every slot to provider=\"auto\""},"OAuthSubmitBody":{"properties":{"session_id":{"type":"string","title":"Session Id"},"code":{"type":"string","title":"Code"}},"type":"object","required":["session_id","code"],"title":"OAuthSubmitBody"},"OrchestrationSettingsBody":{"properties":{"orchestrator_profile":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Orchestrator Profile"},"default_assignee":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default Assignee"},"auto_decompose":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Auto Decompose"},"auto_promote_children":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Auto Promote Children"}},"type":"object","title":"OrchestrationSettingsBody"},"ProfileCreate":{"properties":{"name":{"type":"string","title":"Name"},"clone_from_default":{"type":"boolean","title":"Clone From Default","default":false},"no_skills":{"type":"boolean","title":"No Skills","default":false}},"type":"object","required":["name"],"title":"ProfileCreate"},"ProfileRename":{"properties":{"new_name":{"type":"string","title":"New Name"}},"type":"object","required":["new_name"],"title":"ProfileRename"},"ProfileSoulUpdate":{"properties":{"content":{"type":"string","title":"Content"}},"type":"object","required":["content"],"title":"ProfileSoulUpdate"},"RawConfigUpdate":{"properties":{"yaml_text":{"type":"string","title":"Yaml Text"}},"type":"object","required":["yaml_text"],"title":"RawConfigUpdate"},"ReassignBody":{"properties":{"profile":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profile"},"reclaim_first":{"type":"boolean","title":"Reclaim First","default":false},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","title":"ReassignBody"},"ReclaimBody":{"properties":{"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","title":"ReclaimBody"},"RenameBoardBody":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"icon":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon"},"color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color"}},"type":"object","title":"RenameBoardBody"},"SkillToggle":{"properties":{"name":{"type":"string","title":"Name"},"enabled":{"type":"boolean","title":"Enabled"}},"type":"object","required":["name","enabled"],"title":"SkillToggle"},"SpecifyBody":{"properties":{"author":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Author"}},"type":"object","title":"SpecifyBody","description":"Optional author override. Nothing else is configurable from the\ndashboard — model + prompt come from ``auxiliary.triage_specifier``\nin config.yaml, same as the CLI."},"TerminateRunBody":{"properties":{"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","title":"TerminateRunBody"},"ThemeSetBody":{"properties":{"name":{"type":"string","title":"Name"}},"type":"object","required":["name"],"title":"ThemeSetBody"},"UpdateTaskBody":{"properties":{"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"assignee":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assignee"},"priority":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Priority"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"},"result":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result"},"block_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Block Reason"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","title":"UpdateTaskBody"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"_AgentPluginInstallBody":{"properties":{"identifier":{"type":"string","title":"Identifier"},"force":{"type":"boolean","title":"Force","default":false},"enable":{"type":"boolean","title":"Enable","default":true}},"type":"object","required":["identifier"],"title":"_AgentPluginInstallBody"},"_PluginProvidersPutBody":{"properties":{"memory_provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Memory Provider"},"context_engine":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Context Engine"}},"type":"object","title":"_PluginProvidersPutBody"},"_PluginVisibilityBody":{"properties":{"hidden":{"type":"boolean","title":"Hidden"}},"type":"object","required":["hidden"],"title":"_PluginVisibilityBody"}}}}