OEC.sh Api API

Platform for deploying Odoo Community Edition

GitHub OpenAPI

Operations 904

Showing the first 250 of 904. The full set is in the contract, and via get_provider_operations.

GET /health Health Check #
GET /ready Readiness Probe #
GET / Root #
GET /api/v1/auth/providers Get Auth Providers #
POST /api/v1/auth/register Register #
POST /api/v1/auth/login Login #
POST /api/v1/auth/refresh Refresh Token #
GET /api/v1/auth/me Get Current User Info #
GET /api/v1/auth/me/sign-ins List My Sign Ins #
POST /api/v1/auth/logout Logout #
GET /api/v1/auth/onboarding-status Get Onboarding Status #
POST /api/v1/auth/change-password Change Password #
POST /api/v1/auth/set-password Set Password #
POST /api/v1/auth/forgot-password Forgot Password #
POST /api/v1/auth/reset-password Reset Password #
POST /api/v1/auth/verify-email Verify Email #
POST /api/v1/auth/login-email-change/preview Preview Login Email Change #
POST /api/v1/auth/login-email-change/confirm Confirm Login Email Change #
POST /api/v1/auth/resend-verification Resend Verification Email #
POST /api/v1/auth/verify-2fa Verify 2Fa #
POST /api/v1/auth/2fa/step-up Step Up 2Fa #
POST /api/v1/auth/2fa/setup Setup 2Fa #
POST /api/v1/auth/2fa/enable Enable 2Fa #
POST /api/v1/auth/2fa/disable Disable 2Fa #
GET /api/v1/auth/2fa/backup-codes Get Backup Codes #
POST /api/v1/auth/2fa/regenerate-backup-codes Regenerate Backup Codes #
GET /api/v1/auth/2fa/status Get 2Fa Status #
POST /api/v1/auth/mfa/setup Setup Mfa #
POST /api/v1/auth/mfa/verify Verify Mfa #
POST /api/v1/auth/mfa/enable Enable Mfa #
POST /api/v1/auth/mfa/disable Disable Mfa #
GET /api/v1/auth/mfa/status Get Mfa Status #
POST /api/v1/auth/mfa/backup-codes/regenerate Regenerate Backup Codes #
GET /api/v1/auth/mfa/backup-codes/remaining Get Backup Codes Remaining #
GET /api/v1/auth/github/login Github Login Url #
GET /api/v1/auth/gitlab/login Gitlab Login Url #
GET /api/v1/auth/google/login Google Login Url #
GET /api/v1/auth/microsoft/login Microsoft Login Url #
GET /api/v1/auth/bitbucket/login Bitbucket Login Url #
GET /api/v1/auth/github/connect Github Connect Url #
GET /api/v1/auth/gitlab/connect Gitlab Connect Url #
GET /api/v1/auth/google/connect Google Connect Url #
GET /api/v1/auth/microsoft/connect Microsoft Connect Url #
GET /api/v1/auth/bitbucket/connect Bitbucket Connect Url #
GET /api/v1/auth/github/callback Github Callback #
GET /api/v1/auth/gitlab/callback Gitlab Callback #
GET /api/v1/auth/google/callback Google Callback #
GET /api/v1/auth/microsoft/callback Microsoft Callback #
GET /api/v1/auth/bitbucket/callback Bitbucket Callback #
GET /api/v1/auth/connected-accounts List Connected Accounts #
DELETE /api/v1/auth/connected-accounts/{provider} Disconnect Account #
GET /api/v1/auth/sso/discover Sso Discover #
GET /api/v1/auth/sso/login Sso Login #
GET /api/v1/auth/sso/callback Sso Callback #
GET /api/v1/users/me Get Current User #
PATCH /api/v1/users/me Update Current User #
POST /api/v1/users/me/avatar Upload Avatar #
DELETE /api/v1/users/me/avatar Delete Avatar #
GET /api/v1/users/me/organizations Get User Organizations #
GET /api/v1/users List Users #
GET /api/v1/users/count Get Users Count #
GET /api/v1/users/{user_id} Get User #
PATCH /api/v1/users/{user_id} Update User #
DELETE /api/v1/users/{user_id} Deactivate User #
GET /api/v1/organizations/by-platform-hostname Resolve a Host header to an org id (Next.js middleware). #
POST /api/v1/organizations Create Organization #
GET /api/v1/organizations List Organizations #
GET /api/v1/organizations/{org_id} Get Organization #
PATCH /api/v1/organizations/{org_id} Update Organization #
DELETE /api/v1/organizations/{org_id} Delete Organization #
GET /api/v1/organizations/{org_id}/members List Members #
POST /api/v1/organizations/{org_id}/members Add Member #
PATCH /api/v1/organizations/{org_id}/members/{user_id} Update Member Role #
DELETE /api/v1/organizations/{org_id}/members/{user_id} Remove Member #
GET /api/v1/organizations/{org_id}/servers List Organization Servers #
POST /api/v1/organizations/{org_id}/switch-mode Switch Server Mode #
GET /api/v1/organizations/{organization_id}/impersonation-settings Get organization Connect As settings #
PATCH /api/v1/organizations/{organization_id}/impersonation-settings Update organization Connect As settings #
GET /api/v1/organizations/{organization_id}/migration-allowed-domains List per-org trusted download domains for the migration validator #
PUT /api/v1/organizations/{organization_id}/migration-allowed-domains Replace the per-org trusted download domains list #
POST /api/v1/invitations/organizations/{organization_id} Create Invitation #
GET /api/v1/invitations/organizations/{organization_id} List Invitations #
GET /api/v1/invitations/organizations/{organization_id}/{invitation_id} Get Invitation #
DELETE /api/v1/invitations/organizations/{organization_id}/{invitation_id} Revoke Invitation #
DELETE /api/v1/invitations/organizations/{organization_id}/cleanup Cleanup Expired Invitations #
POST /api/v1/invitations/organizations/{organization_id}/{invitation_id}/resend Resend Invitation #
POST /api/v1/invitations/validate Validate Invitation #
POST /api/v1/invitations/accept Accept Invitation #
GET /api/v1/invitations/me List My Invitations #
POST /api/v1/projects Create Project #
GET /api/v1/projects List Projects #
GET /api/v1/projects/{project_id} Get Project #
PATCH /api/v1/projects/{project_id} Update Project #
DELETE /api/v1/projects/{project_id} Delete Project #
POST /api/v1/projects/{project_id}/regenerate-webhook-secret Regenerate Webhook Secret #
POST /api/v1/projects/{project_id}/setup-webhook Setup Webhook #
GET /api/v1/projects/{project_id}/environments List Environments #
POST /api/v1/projects/{project_id}/environments Create Environment #
GET /api/v1/projects/{project_id}/environments/{env_id} Get Environment #
PATCH /api/v1/projects/{project_id}/environments/{env_id} Update Environment #
DELETE /api/v1/projects/{project_id}/environments/{env_id} Delete Environment #
POST /api/v1/projects/{project_id}/environments/{env_id}/admin-password/reveal Reveal Environment Admin Password #
POST /api/v1/projects/{project_id}/environments/{env_id}/admin-password/acknowledge Acknowledge Environment Admin Password #
GET /api/v1/projects/{project_id}/environments/{env_id}/backup-info Get Environment Backup Info #
GET /api/v1/projects/{project_id}/webhook-deliveries List Webhook Deliveries #
GET /api/v1/projects/{project_id}/environments/{environment_id}/webhook-health Get Webhook Health #
GET /api/v1/projects/{project_id}/environments/{env_id}/auto-tune Get Environment Auto Tune #
POST /api/v1/projects/{project_id}/environments/{env_id}/image/freeze Freeze Environment Build #
POST /api/v1/projects/{project_id}/environments/{env_id}/image/unfreeze Unfreeze Environment Build #
GET /api/v1/projects/{project_id}/environments/{env_id}/image/builds List Environment Builds #
POST /api/v1/projects/{project_id}/environments/{env_id}/image/pin Pin Environment Build Route #
POST /api/v1/projects/{project_id}/environments/{env_id}/deploy Deploy Environment #
POST /api/v1/projects/{project_id}/environments/{env_id}/stop Stop Environment #
POST /api/v1/projects/{project_id}/environments/{env_id}/start Start Environment #
POST /api/v1/projects/{project_id}/deploy Deploy Project #
POST /api/v1/projects/{project_id}/stop Stop Project #
POST /api/v1/projects/{project_id}/start Start Project #
GET /api/v1/projects/{project_id}/deployments List Project Deployments #
GET /api/v1/projects/{project_id}/environments/{env_id}/deployments List Environment Deployments #
POST /api/v1/projects/{project_id}/environments/{env_id}/clear-assets Clear Environment Assets #
POST /api/v1/projects/{project_id}/subdomains/preview Preview Subdomain Endpoint #
POST /api/v1/projects/{project_id}/environments/{env_id}/subdomain/regenerate Regenerate Subdomain #
POST /api/v1/projects/{project_id}/environments/{env_id}/custom-domain Set Custom Domain #
DELETE /api/v1/projects/{project_id}/environments/{env_id}/custom-domain Remove Custom Domain #
POST /api/v1/projects/{project_id}/environments/{env_id}/custom-domain/verify Verify Custom Domain #
POST /api/v1/projects/{project_id}/environments/{env_id}/domains Add Domain #
GET /api/v1/projects/{project_id}/environments/{env_id}/domains List Domains #
POST /api/v1/projects/{project_id}/environments/{env_id}/domains/{domain_id}/verify Verify Domain #
DELETE /api/v1/projects/{project_id}/environments/{env_id}/domains/{domain_id} Remove Domain #
PATCH /api/v1/projects/{project_id}/environments/{env_id}/domains/{domain_id}/primary Set Primary Domain #
GET /api/v1/projects/{project_id}/environments/{env_id}/logs Get Environment Logs #
GET /api/v1/projects/{project_id}/environments/{environment_id}/impersonation/users List active Odoo users available for Connect As #
POST /api/v1/projects/{project_id}/environments/{environment_id}/impersonation/initiate Initiate a Connect As session for an Odoo user #
GET /api/v1/projects/{project_id}/environments/{environment_id}/impersonation/audit List Connect As audit events for an environment #
POST /api/v1/projects/{project_id}/environments/{environment_id}/impersonation/revoke Revoke an active Connect As token and kill the session #
GET /api/v1/impersonation/redeem Public — redeem a Connect As token and create the Odoo session #
GET /api/v1/install.sh Get Install Script #
POST /api/v1/vms/registration-tokens Create Registration Token #
GET /api/v1/vms/registration-tokens List Registration Tokens #
DELETE /api/v1/vms/registration-tokens/{token_id} Revoke Registration Token #
POST /api/v1/vms/register Register Server #
POST /api/v1/vms/{server_id}/setup-progress Report Setup Progress #
POST /api/v1/vms/{server_id}/setup-complete Complete Setup #
POST /api/v1/vms/{server_id}/test-connectivity Test Connectivity #
POST /api/v1/vms Create Vm #
GET /api/v1/vms List Vms #
GET /api/v1/vms/{vm_id} Get Vm #
PATCH /api/v1/vms/{vm_id} Update Vm #
DELETE /api/v1/vms/{vm_id} Delete Vm #
GET /api/v1/vms/{vm_id}/ssh-public-key Get Vm Ssh Public Key #
POST /api/v1/vms/{vm_id}/provision Provision Vm #
POST /api/v1/vms/{vm_id}/stop Stop Vm #
POST /api/v1/vms/{vm_id}/start Start Vm #
POST /api/v1/vms/{vm_id}/reboot Reboot Vm #
GET /api/v1/vms/{vm_id}/environments Get Vm Environments #
GET /api/v1/vms/{vm_id}/projects Get Vm Projects #
GET /api/v1/vms/{vm_id}/stats Get Vm Stats #
POST /api/v1/vms/{vm_id}/test-connection Test Server Connection #
PUT /api/v1/vms/{vm_id}/ssh-password Update Ssh Password #
PUT /api/v1/vms/{vm_id}/ssh-key Update Ssh Key #
POST /api/v1/vms/{vm_id}/secure Secure Server #
GET /api/v1/vms/{vm_id}/cleanup/status Get Cleanup Status #
GET /api/v1/vms/{vm_id}/cleanup/history Get Cleanup History #
POST /api/v1/vms/{vm_id}/cleanup/preview Preview Cleanup #
POST /api/v1/vms/{vm_id}/cleanup/execute Execute Cleanup #
POST /api/v1/vms/{vm_id}/tunnel/enable Enable Tunnel #
DELETE /api/v1/vms/{vm_id}/tunnel Disable Tunnel #
GET /api/v1/vms/{vm_id}/tunnel/status Get Tunnel Status #
GET /api/v1/vms/{vm_id}/tunnel/install-script Get Tunnel Install Script #
POST /api/v1/vms/{vm_id}/qualify Qualify Vm Tunnel #
GET /api/v1/vms/{vm_id}/tunnel/diagnostics Get Vm Tunnel Diagnostics #
POST /api/v1/vms/{vm_id}/os-auto-update Set Os Auto Update #
POST /api/v1/vms/{vm_id}/preflight Run Preflight Checks #
DELETE /api/v1/vms/{vm_id}/preflight Cancel Preflight Check #
POST /api/v1/vms/{vm_id}/preflight/install-docker Install Docker #
POST /api/v1/vms/{vm_id}/preflight/install-netdata Install Netdata #
POST /api/v1/vms/{vm_id}/preflight/auto-fix-all Auto Fix All #
GET /api/v1/vms/{vm_id}/preflight/status Get Preflight Status #
GET /api/v1/vms/{vm_id}/preflight/history Get Preflight History #
GET /api/v1/vms/{vm_id}/preflight/history/{history_id} Get Preflight History Detail #
POST /api/v1/vms/{vm_id}/preflight/fix Fix Preflight Issue #
POST /api/v1/deployments Create Deployment #
GET /api/v1/deployments List Deployments #
GET /api/v1/deployments/{deployment_id} Get Deployment #
GET /api/v1/deployments/{deployment_id}/logs Get Deployment Logs #
POST /api/v1/deployments/{deployment_id}/cancel Cancel Deployment #
POST /api/v1/deployments/{deployment_id}/retry Retry Deployment #
POST /api/v1/deployments/{deployment_id}/rollback Rollback Deployment #
GET /api/v1/deployments/project/{project_id}/latest Get Latest Deployment #
GET /api/v1/deployments/project/{project_id}/stats Get Deployment Stats #
GET /api/v1/deployments/{deployment_id}/progress Get Deployment Progress #
DELETE /api/v1/deployments/environment/{environment_id}/destroy Destroy Environment #
GET /api/v1/deployments/environment/{environment_id}/latest Get Latest Deployment For Environment #
POST /api/v1/webhooks/github Github Webhook #
POST /api/v1/webhooks/gitlab Gitlab Webhook #
GET /api/v1/webhooks/status Webhook Status #
GET /api/v1/git/github/orgs List Github Orgs #
GET /api/v1/git/github/repos List Github Repos #
POST /api/v1/git/github/repos Create Github Repo #
GET /api/v1/git/github/branches List Github Branches #
POST /api/v1/git/github/webhooks Setup Github Webhook #
GET /api/v1/git/gitlab/orgs List Gitlab Orgs #
GET /api/v1/git/gitlab/repos List Gitlab Repos #
POST /api/v1/git/gitlab/repos Create Gitlab Repo #
GET /api/v1/git/gitlab/branches List Gitlab Branches #
POST /api/v1/git/gitlab/webhooks Setup Gitlab Webhook #
GET /api/v1/git/connections/{connection_id}/orgs List Connection Orgs #
GET /api/v1/git/connections/{connection_id}/repos List Connection Repos #
GET /api/v1/terminal/access/{environment_id} Get Terminal Access #
GET /api/v1/terminal/server/{vm_id}/access Get Server Terminal Access #
GET /api/v1/terminal/environment/{environment_id}/access Get Environment Terminal Access #
GET /api/v1/terminal/project/{project_id}/access Get Project Terminal Access #
POST /api/v1/shell/environments/{environment_id}/access Setup Shell Access #
DELETE /api/v1/shell/environments/{environment_id}/access Revoke Shell Access #
POST /api/v1/shell/generate-key Generate Ssh Key #
GET /api/v1/audit-logs/actions List Audit Actions #
GET /api/v1/audit-logs List Audit Logs #
GET /api/v1/audit-logs/filters Get Audit Filter Options #
GET /api/v1/audit-logs/export/csv Export Audit Logs Csv #
GET /api/v1/audit-logs/export/xlsx Export Audit Logs Xlsx #
GET /api/v1/audit-logs/{log_id} Get Audit Log #
GET /api/v1/dns/providers List Dns Providers #
POST /api/v1/dns/verify-credentials Verify Credentials And List Zones #
GET /api/v1/dns/cloud-accounts/{cloud_account_id}/zones List Zones From Cloud Account #
POST /api/v1/dns/configs Create Dns Config #
GET /api/v1/dns/configs/org/{organization_id} List Dns Configs #
GET /api/v1/dns/configs/{config_id} Get Dns Config #
PATCH /api/v1/dns/configs/{config_id} Update Dns Config #
DELETE /api/v1/dns/configs/{config_id} Delete Dns Config #
POST /api/v1/dns/configs/{config_id}/verify Verify Dns Config #
POST /api/v1/dns/configs/{config_id}/request-wildcard-ssl Request Wildcard Ssl #
GET /api/v1/dns/configs/{config_id}/zones List Dns Zones #
POST /api/v1/dns/domains Create Domain #
GET /api/v1/dns/domains/environment/{environment_id} List Environment Domains #
GET /api/v1/dns/domains/{domain_id} Get Domain #
PATCH /api/v1/dns/domains/{domain_id} Update Domain #
DELETE /api/v1/dns/domains/{domain_id} Delete Domain #
POST /api/v1/dns/domains/{domain_id}/verify Verify Domain #
POST /api/v1/dns/configs/{config_id}/records Create Dns Record #
GET /api/v1/dns/configs/{config_id}/zones/{zone_id}/records List Dns Records #
GET /api/v1/agency-domain/organizations/{organization_id}/config Get agency domain configuration #
PUT /api/v1/agency-domain/organizations/{organization_id}/config Configure agency domain #
DELETE /api/v1/agency-domain/organizations/{organization_id}/config Remove agency domain #
POST /api/v1/agency-domain/organizations/{organization_id}/cert/repush Re-push agency domain cert to all VMs #
GET /api/v1/agency-domain/organizations/{organization_id}/subdomains List agency subdomains #
PUT /api/v1/agency-domain/environments/{environment_id}/subdomain Set agency subdomain #
DELETE /api/v1/agency-domain/environments/{environment_id}/subdomain Remove agency subdomain #
GET /api/v1/agency-domain/environments/{environment_id}/subdomain Get agency subdomain #
GET /api/v1/organizations/{organization_id}/theme Get organization theme (Phase 2.5) #
PATCH /api/v1/organizations/{organization_id}/theme Update theme colours (Agency) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/oec-sh:oec-sh-api-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

oec-sh-api-openapi.json Raw ↑
{"openapi":"3.1.0","info":{"title":"OEC.sh","description":"Platform for deploying Odoo Community Edition","version":"1.88.14"},"paths":{"/health":{"get":{"summary":"Health Check","description":"Health check with actual DB and Redis connectivity checks.","operationId":"health_check_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Health Check Health Get"}}}}}}},"/ready":{"get":{"summary":"Readiness Probe","description":"Lightweight readiness probe — no DB/Redis calls.\n\nUse this for load balancer health checks and high-frequency polling.\nReserve /health for deep diagnostics.","operationId":"readiness_probe_ready_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":"object","title":"Response Readiness Probe Ready Get"}}}}}}},"/":{"get":{"summary":"Root","description":"Root endpoint","operationId":"root__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/auth/providers":{"get":{"tags":["Authentication"],"summary":"Get Auth Providers","description":"Get list of enabled authentication providers.\n\nReturns which OAuth providers and email/password auth are enabled\nfor this deployment. Frontend uses this to show/hide login options.","operationId":"get_auth_providers_api_v1_auth_providers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthProvidersResponse"}}}}}}},"/api/v1/auth/register":{"post":{"tags":["Authentication"],"summary":"Register","description":"Register a new user with email and password.\n\nCreates a new user account. The user will need to verify their email\nto access all features.","operationId":"register_api_v1_auth_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/login":{"post":{"tags":["Authentication"],"summary":"Login","description":"Login with email and password.\n\nReturns JWT tokens on successful authentication.\nIf 2FA is enabled, returns a temporary token that must be verified.\n\nQuery param ``fallback=password`` (committee S5): allows an SSO-only org\nOWNER to bypass the IdP. The owner-membership check runs BEFORE password\nverification to avoid leaking a timing oracle on user existence /\npassword correctness for non-owners. Spec §5.11.","operationId":"login_api_v1_auth_login_post","parameters":[{"name":"fallback","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fallback"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserLogin"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TokenResponse"},{"$ref":"#/components/schemas/TwoFactorRequiredResponse"},{"$ref":"#/components/schemas/TokenResponse"},{"$ref":"#/components/schemas/TwoFactorRequiredResponse"}],"title":"Response 200 Login Api V1 Auth Login Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/refresh":{"post":{"tags":["Authentication"],"summary":"Refresh Token","description":"Refresh access token using refresh token.\n\nThe refresh token can be provided either:\n1. In the request body (for backward compatibility with localStorage-based auth)\n2. In an httpOnly cookie (preferred, more secure)\n\nSecurity: Validates that the refresh token was issued after the user's last password change.\n\nArgs:\n    request: FastAPI request object (for reading cookies)\n    response: FastAPI response object (for setting new cookies)\n    refresh_token: Valid refresh token (optional if using cookies)\n\nReturns:\n    New access and refresh tokens (also sets httpOnly cookies)","operationId":"refresh_token_api_v1_auth_refresh_post","parameters":[{"name":"refresh_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refresh Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/me":{"get":{"tags":["Authentication"],"summary":"Get Current User Info","description":"Get current authenticated user's information.\n\nReachable by a staff session that is not yet MFA-verified, so the frontend\ncan show the forced \"Set up two-factor authentication\" step\n(``staff_mfa_required``).","operationId":"get_current_user_info_api_v1_auth_me_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/me/sign-ins":{"get":{"tags":["Authentication"],"summary":"List My Sign Ins","description":"#1431 (DPA): the caller's last 50 sign-in, failed sign-in, two-factor and\npassword events. Self-service: only rows whose user_id is the caller, so\nno org permission applies (these rows are written without an org).","operationId":"list_my_sign_ins_api_v1_auth_me_sign_ins_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignInListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/logout":{"post":{"tags":["Authentication"],"summary":"Logout","description":"Logout current user.\n\nOWASP A07:2021 - Proper session invalidation:\n1. Adds the access token to Redis blacklist (prevents reuse)\n2. Clears httpOnly authentication cookies from the browser\n\nThe token remains in the blacklist until its natural expiration time.","operationId":"logout_api_v1_auth_logout_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Logout Api V1 Auth Logout Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/onboarding-status":{"get":{"tags":["Authentication"],"summary":"Get Onboarding Status","description":"Get the current user's onboarding status.\n\nReturns information about:\n- Whether user needs to complete onboarding (no organizations)\n- List of user's organizations\n- Pending invitations for the user's email","operationId":"get_onboarding_status_api_v1_auth_onboarding_status_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/change-password":{"post":{"tags":["Authentication"],"summary":"Change Password","description":"Change password for the current user.\n\nRequires the current password for verification.","operationId":"change_password_api_v1_auth_change_password_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordChange"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Change Password Api V1 Auth Change Password Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/set-password":{"post":{"tags":["Authentication"],"summary":"Set Password","description":"Set a password for a social login user.\n\nAllows users who signed up via OAuth to set a password\nfor email/password login as an alternative.","operationId":"set_password_api_v1_auth_set_password_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Set Password Api V1 Auth Set Password Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/forgot-password":{"post":{"tags":["Authentication"],"summary":"Forgot Password","description":"Request a password reset email.\n\nAlways returns success to prevent email enumeration.\nGenerates a JWT token valid for 60 minutes and sends it via email.","operationId":"forgot_password_api_v1_auth_forgot_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordReset"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Forgot Password Api V1 Auth Forgot Password Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/reset-password":{"post":{"tags":["Authentication"],"summary":"Reset Password","description":"Reset password using reset token.\n\nThe token is a JWT received via email after requesting password reset.","operationId":"reset_password_api_v1_auth_reset_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordResetConfirm"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Reset Password Api V1 Auth Reset Password Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/verify-email":{"post":{"tags":["Authentication"],"summary":"Verify Email","description":"Verify user email using verification token.\n\nMarks the user as verified and invalidates the token.","operationId":"verify_email_api_v1_auth_verify_email_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailVerificationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Verify Email Api V1 Auth Verify Email Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/login-email-change/preview":{"post":{"tags":["Authentication"],"summary":"Preview Login Email Change","description":"Read-only: the masked new address and whether a 2FA code is needed.","operationId":"preview_login_email_change_api_v1_auth_login_email_change_preview_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginEmailChangePreviewRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"boolean"}]},"title":"Response Preview Login Email Change Api V1 Auth Login Email Change Preview Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/login-email-change/confirm":{"post":{"tags":["Authentication"],"summary":"Confirm Login Email Change","description":"Apply a login email change started by support (#1175). Step-up as\n/auth/change-password (current password), plus the 2FA code when 2FA is on.\nSigns the user out everywhere.","operationId":"confirm_login_email_change_api_v1_auth_login_email_change_confirm_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginEmailChangeConfirmRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Confirm Login Email Change Api V1 Auth Login Email Change Confirm Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/resend-verification":{"post":{"tags":["Authentication"],"summary":"Resend Verification Email","description":"Resend verification email to user.\n\nRate-limited to prevent spam. Always returns success to prevent email enumeration.","operationId":"resend_verification_email_api_v1_auth_resend_verification_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResendVerificationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Resend Verification Email Api V1 Auth Resend Verification Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/verify-2fa":{"post":{"tags":["Authentication"],"summary":"Verify 2Fa","description":"Verify 2FA code and complete login.\n\nAfter successful email/password login when 2FA is enabled,\nthis endpoint verifies the TOTP code and returns final tokens.\nAlso sets httpOnly cookies for XSS protection.","operationId":"verify_2fa_api_v1_auth_verify_2fa_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TwoFactorVerify"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/2fa/step-up":{"post":{"tags":["Authentication"],"summary":"Step Up 2Fa","description":"Upgrade the current session to MFA-verified with a TOTP or backup code.\n\nUsed when a staff member signed in without the second factor (GitHub /\nGoogle / SSO login, or a session from before staff MFA enforcement):\nplatform staff capabilities need an MFA-verified session (core.staff_mfa).\nIssues new tokens (httpOnly cookies) carrying the MFA claim.","operationId":"step_up_2fa_api_v1_auth_2fa_step_up_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TOTPEnableRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/2fa/setup":{"post":{"tags":["Authentication"],"summary":"Setup 2Fa","description":"Generate a new TOTP secret for 2FA setup.\n\nReturns the secret, QR code URI, and backup codes.\nThe user must verify with /2fa/enable to actually enable 2FA.","operationId":"setup_2fa_api_v1_auth_2fa_setup_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TOTPSetupResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/2fa/enable":{"post":{"tags":["Authentication"],"summary":"Enable 2Fa","description":"Enable 2FA by verifying a TOTP code.\n\nMust be called after /2fa/setup with a valid code from the authenticator app.\nThe code just proved possession of the factor, so the current session is\nupgraded to MFA-verified (new httpOnly cookies); a staff member completing\nthe forced setup step can continue without signing in again.","operationId":"enable_2fa_api_v1_auth_2fa_enable_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TOTPEnableRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Enable 2Fa Api V1 Auth 2Fa Enable Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/2fa/disable":{"post":{"tags":["Authentication"],"summary":"Disable 2Fa","description":"Disable 2FA.\n\nRequires both a valid TOTP code and the account password for security.","operationId":"disable_2fa_api_v1_auth_2fa_disable_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TOTPDisableRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Disable 2Fa Api V1 Auth 2Fa Disable Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/2fa/backup-codes":{"get":{"tags":["Authentication"],"summary":"Get Backup Codes","description":"Get remaining backup codes.\n\nReturns the current backup codes and how many are remaining.","operationId":"get_backup_codes_api_v1_auth_2fa_backup_codes_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"integer"}]},"title":"Response Get Backup Codes Api V1 Auth 2Fa Backup Codes Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/2fa/regenerate-backup-codes":{"post":{"tags":["Authentication"],"summary":"Regenerate Backup Codes","description":"Regenerate backup codes.\n\nRequires a valid TOTP code. Previous backup codes will be invalidated.","operationId":"regenerate_backup_codes_api_v1_auth_2fa_regenerate_backup_codes_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TOTPEnableRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}},"title":"Response Regenerate Backup Codes Api V1 Auth 2Fa Regenerate Backup Codes Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/2fa/status":{"get":{"tags":["Authentication"],"summary":"Get 2Fa Status","description":"Get 2FA status for current user.","operationId":"get_2fa_status_api_v1_auth_2fa_status_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"integer"}]},"title":"Response Get 2Fa Status Api V1 Auth 2Fa Status Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/mfa/setup":{"post":{"tags":["Authentication","MFA"],"summary":"Setup Mfa","description":"Generate a new TOTP secret for MFA setup.\n\nThis endpoint initiates the MFA setup process by:\n1. Generating a new TOTP secret key\n2. Creating a QR code URI for authenticator apps\n3. Storing the secret temporarily (not enabled yet)\n\nThe secret will only be activated after verification via /mfa/verify.\n\nReturns:\n    MFASetupResponse: Contains secret, QR URI (backup codes only after verification)","operationId":"setup_mfa_api_v1_auth_mfa_setup_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MFASetupResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/mfa/verify":{"post":{"tags":["Authentication","MFA"],"summary":"Verify Mfa","description":"Verify MFA code during login or for MFA operations.\n\nThis endpoint can be used for:\n1. Verifying TOTP code during login (when MFA is enabled)\n2. Verifying backup code as fallback\n3. Testing MFA setup before enabling\n\nArgs:\n    data: Contains the TOTP code or backup code\n\nReturns:\n    MFAVerifyResponse: Verification result with success message","operationId":"verify_mfa_api_v1_auth_mfa_verify_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MFAVerifyRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MFAVerifyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/mfa/enable":{"post":{"tags":["Authentication","MFA"],"summary":"Enable Mfa","description":"Enable MFA by verifying a TOTP code.\n\nThis endpoint:\n1. Verifies the provided TOTP code\n2. Enables MFA on the account\n3. Generates backup codes for recovery\n4. Returns backup codes (SAVE THESE SECURELY!)\n\nArgs:\n    data: Contains the TOTP code for verification\n\nReturns:\n    MFAEnableResponse: Success status, message, and backup codes","operationId":"enable_mfa_api_v1_auth_mfa_enable_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MFAEnableRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MFAEnableResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/mfa/disable":{"post":{"tags":["Authentication","MFA"],"summary":"Disable Mfa","description":"Disable MFA for the current user.\n\nThis endpoint:\n1. Disables MFA on the account\n2. Removes TOTP secret and backup codes\n3. Logs the security event\n\nArgs:\n    data: Optional password for additional verification\n\nReturns:\n    MFADisableResponse: Success status and message","operationId":"disable_mfa_api_v1_auth_mfa_disable_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MFADisableRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MFADisableResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/mfa/status":{"get":{"tags":["Authentication","MFA"],"summary":"Get Mfa Status","description":"Get MFA status for the current user.\n\nReturns:\n    MFAStatusResponse: Whether MFA is enabled and backup codes remaining","operationId":"get_mfa_status_api_v1_auth_mfa_status_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MFAStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/mfa/backup-codes/regenerate":{"post":{"tags":["Authentication","MFA"],"summary":"Regenerate Backup Codes","description":"Regenerate backup codes for MFA recovery.\n\nThis endpoint:\n1. Generates new backup codes\n2. Invalidates all previous backup codes\n3. Resets the used codes list\n\nReturns:\n    RegenerateBackupCodesResponse: New backup codes (SAVE THESE!)","operationId":"regenerate_backup_codes_api_v1_auth_mfa_backup_codes_regenerate_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegenerateBackupCodesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/mfa/backup-codes/remaining":{"get":{"tags":["Authentication","MFA"],"summary":"Get Backup Codes Remaining","description":"Get the number of remaining backup codes.\n\nReturns:\n    dict: Number of unused backup codes remaining","operationId":"get_backup_codes_remaining_api_v1_auth_mfa_backup_codes_remaining_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer"},"title":"Response Get Backup Codes Remaining Api V1 Auth Mfa Backup Codes Remaining Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/github/login":{"get":{"tags":["Authentication"],"summary":"Github Login Url","description":"Get GitHub OAuth login URL.\n\nReturns:\n    URL to redirect user to for GitHub authentication","operationId":"github_login_url_api_v1_auth_github_login_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Github Login Url Api V1 Auth Github Login Get"}}}}}}},"/api/v1/auth/gitlab/login":{"get":{"tags":["Authentication"],"summary":"Gitlab Login Url","description":"Get GitLab OAuth login URL.\n\nReturns:\n    URL to redirect user to for GitLab authentication","operationId":"gitlab_login_url_api_v1_auth_gitlab_login_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Gitlab Login Url Api V1 Auth Gitlab Login Get"}}}}}}},"/api/v1/auth/google/login":{"get":{"tags":["Authentication"],"summary":"Google Login Url","description":"Get Google OAuth login URL.\n\nReturns:\n    URL to redirect user to for Google authentication","operationId":"google_login_url_api_v1_auth_google_login_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Google Login Url Api V1 Auth Google Login Get"}}}}}}},"/api/v1/auth/microsoft/login":{"get":{"tags":["Authentication"],"summary":"Microsoft Login Url","description":"Get Microsoft OAuth login URL.\n\nReturns:\n    URL to redirect user to for Microsoft authentication","operationId":"microsoft_login_url_api_v1_auth_microsoft_login_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Microsoft Login Url Api V1 Auth Microsoft Login Get"}}}}}}},"/api/v1/auth/bitbucket/login":{"get":{"tags":["Authentication"],"summary":"Bitbucket Login Url","description":"Get Bitbucket OAuth login URL.\n\nReturns:\n    URL to redirect user to for Bitbucket authentication","operationId":"bitbucket_login_url_api_v1_auth_bitbucket_login_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Bitbucket Login Url Api V1 Auth Bitbucket Login Get"}}}}}}},"/api/v1/auth/github/connect":{"get":{"tags":["Authentication"],"summary":"Github Connect Url","description":"Get GitHub OAuth URL to connect account to existing user.\n\nRequires: User must be logged in.","operationId":"github_connect_url_api_v1_auth_github_connect_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"access_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object",

# --- truncated at 32 KB (1697 KB total) ---
# Full source: https://artifacts.apis.io/oec-sh/openapi/_original/oec-sh-api-openapi.json