{
 "openapi": "3.1.0",
 "info": {
  "title": "Empire Auth - SSO Magic Link",
  "version": "0.1.0"
 },
 "paths": {
  "/agent-api/v1/company": {
   "get": {
    "operationId": "getCompany",
    "summary": "Company profile and agent entry points",
    "security": [
     {},
     {
      "apiKey": []
     }
    ],
    "x-scope": "company:read",
    "x-free": true,
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "403": {
      "description": "key lacks the scope"
     },
     "429": {
      "description": "rate limited"
     }
    },
    "x-pricing": {
     "price_usd": 0,
     "metered": false,
     "note": "free; anonymous 30 req/min, key 300 req/min"
    }
   }
  },
  "/agent-api/v1/pricing": {
   "get": {
    "operationId": "getPricing",
    "summary": "Plans and USD prices",
    "security": [
     {},
     {
      "apiKey": []
     }
    ],
    "x-scope": "pricing:read",
    "x-free": true,
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "403": {
      "description": "key lacks the scope"
     },
     "429": {
      "description": "rate limited"
     }
    },
    "x-pricing": {
     "price_usd": 0,
     "metered": false,
     "note": "free; anonymous 30 req/min, key 300 req/min"
    }
   }
  },
  "/api/pricing": {
   "get": {
    "operationId": "apiPricing",
    "summary": "Plans and USD prices (plan, interval, amount_usd, currency, what_you_get)",
    "security": [
     {},
     {
      "apiKey": []
     }
    ],
    "x-scope": "pricing:read",
    "x-free": true,
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "403": {
      "description": "key lacks the scope"
     },
     "429": {
      "description": "rate limited"
     }
    },
    "x-pricing": {
     "price_usd": 0,
     "metered": false,
     "note": "free; anonymous 30 req/min, key 300 req/min"
    }
   }
  },
  "/agent-api/v1/search": {
   "get": {
    "operationId": "searchSite",
    "summary": "Search pages on this site",
    "security": [
     {},
     {
      "apiKey": []
     }
    ],
    "x-scope": "search:read",
    "x-free": true,
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "403": {
      "description": "key lacks the scope"
     },
     "429": {
      "description": "rate limited"
     }
    },
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "schema": {
       "type": "integer",
       "default": 5
      }
     }
    ],
    "x-pricing": {
     "price_usd": 0,
     "metered": false,
     "note": "free; anonymous 30 req/min, key 300 req/min"
    }
   }
  },
  "/agent-api/v1/keys": {
   "post": {
    "x-pricing": {
     "price_usd": 0,
     "metered": false,
     "note": "free; anonymous 30 req/min, key 300 req/min"
    },
    "operationId": "createKey",
    "summary": "Issue a scoped API key (shown once)",
    "security": [
     {}
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "scopes": {
          "type": "array",
          "items": {
           "type": "string",
           "enum": [
            "company:read",
            "pricing:read",
            "search:read"
           ]
          }
         },
         "label": {
          "type": "string"
         }
        }
       }
      }
     }
    },
    "responses": {
     "201": {
      "description": "key issued"
     },
     "429": {
      "description": "too many keys from this address"
     }
    }
   }
  },
  "/agent-api/v1/keys/me": {
   "get": {
    "x-pricing": {
     "price_usd": 0,
     "metered": false,
     "note": "free; anonymous 30 req/min, key 300 req/min"
    },
    "operationId": "getKey",
    "summary": "Scopes of the presented key",
    "security": [
     {
      "apiKey": []
     }
    ],
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "missing or unknown key"
     }
    }
   }
  },
  "/mcp": {
   "post": {
    "summary": "Mcp",
    "operationId": "mcp_mcp_post",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/healthz": {
   "get": {
    "summary": "Healthz",
    "operationId": "healthz_healthz_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/terms/": {
   "get": {
    "summary": "Elitesso Terms",
    "operationId": "elitesso_terms_terms__get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/privacy/": {
   "get": {
    "summary": "Elitesso Privacy",
    "operationId": "elitesso_privacy_privacy__get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/refund/": {
   "get": {
    "summary": "Elitesso Refund",
    "operationId": "elitesso_refund_refund__get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/pricing/": {
   "get": {
    "summary": "Elitesso Pricing",
    "operationId": "elitesso_pricing_pricing__get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/service-area/": {
   "get": {
    "summary": "Elitesso Service Area",
    "operationId": "elitesso_service_area_service_area__get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/case-studies/": {
   "get": {
    "summary": "Elitesso Case Studies",
    "operationId": "elitesso_case_studies_case_studies__get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/help-center/articles/{article}": {
   "head": {
    "summary": "Elitesso Help Center",
    "operationId": "elitesso_help_center_help_center_articles__article__head",
    "parameters": [
     {
      "name": "article",
      "in": "path",
      "required": true,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Article"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   },
   "get": {
    "summary": "Elitesso Help Center",
    "operationId": "elitesso_help_center_help_center_articles__article__head",
    "parameters": [
     {
      "name": "article",
      "in": "path",
      "required": true,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Article"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/help-center/": {
   "head": {
    "summary": "Elitesso Help Center",
    "operationId": "elitesso_help_center_help_center__head",
    "parameters": [
     {
      "name": "article",
      "in": "query",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Article"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   },
   "get": {
    "summary": "Elitesso Help Center",
    "operationId": "elitesso_help_center_help_center__head",
    "parameters": [
     {
      "name": "article",
      "in": "query",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Article"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/help-center": {
   "head": {
    "summary": "Elitesso Help Center",
    "operationId": "elitesso_help_center_help_center_head",
    "parameters": [
     {
      "name": "article",
      "in": "query",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Article"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   },
   "get": {
    "summary": "Elitesso Help Center",
    "operationId": "elitesso_help_center_help_center_head",
    "parameters": [
     {
      "name": "article",
      "in": "query",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Article"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/alternatives/enterprise-sso": {
   "get": {
    "summary": "Elitesso Alternatives",
    "operationId": "elitesso_alternatives_alternatives_enterprise_sso_head",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   },
   "head": {
    "summary": "Elitesso Alternatives",
    "operationId": "elitesso_alternatives_alternatives_enterprise_sso_head",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/statistics": {
   "get": {
    "summary": "Elitesso Statistics",
    "operationId": "elitesso_statistics_statistics_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/resources/": {
   "get": {
    "summary": "Elitesso Resources",
    "operationId": "elitesso_resources_resources__get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/": {
   "get": {
    "summary": "Landing",
    "operationId": "landing__get",
    "parameters": [
     {
      "name": "return",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "default": "",
       "title": "Return"
      }
     },
     {
      "name": "client_id",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "default": "",
       "title": "Client Id"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/magic": {
   "post": {
    "summary": "Magic",
    "operationId": "magic_magic_post",
    "requestBody": {
     "content": {
      "application/x-www-form-urlencoded": {
       "schema": {
        "$ref": "#/components/schemas/Body_magic_magic_post"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/sent": {
   "get": {
    "summary": "Sent",
    "operationId": "sent_sent_get",
    "parameters": [
     {
      "name": "email",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "default": "",
       "title": "Email"
      }
     },
     {
      "name": "return",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "default": "",
       "title": "Return"
      }
     },
     {
      "name": "err",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "default": "",
       "title": "Err"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/verify": {
   "get": {
    "summary": "Verify",
    "operationId": "verify_verify_get",
    "parameters": [
     {
      "name": "token",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "title": "Token"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/verify-code": {
   "post": {
    "summary": "Verify Code",
    "description": "6-digit code entry on the /sent page: signs in in the same tab; optional password is saved.",
    "operationId": "verify_code_verify_code_post",
    "requestBody": {
     "content": {
      "application/x-www-form-urlencoded": {
       "schema": {
        "$ref": "#/components/schemas/Body_verify_code_verify_code_post"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/api/logout": {
   "post": {
    "summary": "Logout",
    "description": "Clear cookie. (Token revocation happens via signals-api jti revocation list.)",
    "operationId": "logout_api_logout_post",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/api/whoami": {
   "get": {
    "summary": "Whoami",
    "description": "Helper: returns claims if the empire_sso cookie is valid.",
    "operationId": "whoami_api_whoami_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/api/v1/sso/validate": {
   "post": {
    "summary": "Sso Validate Route",
    "description": "Public \u2014 validate an empire_sso cookie/JWT.\nBody: {\"token\": \"<jwt>\"} \u2192 {valid, email, products, expires_at, customer_id}.\nUsed by the 14 Flask sites' empire_sso middleware on every request.",
    "operationId": "sso_validate_route_api_v1_sso_validate_post",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/api/v1/sso/issue": {
   "post": {
    "summary": "Sso Issue Route",
    "description": "Internal \u2014 mint an empire_sso JWT after successful Stripe checkout.\nAuth: Bearer EMPIRE_SSO_ISSUE_SECRET.\nBody: {email, product?|products?, customer_id?, stripe_customer_id?, ttl_seconds?}.",
    "operationId": "sso_issue_route_api_v1_sso_issue_post",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/api/v1/sso/products": {
   "get": {
    "summary": "Sso Products Route",
    "description": "Public read \u2014 return products for a given email (best-effort).\nFalls back to empty list if signals-api is unreachable. Never raises 500.",
    "operationId": "sso_products_route_api_v1_sso_products_get",
    "parameters": [
     {
      "name": "email",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "default": "",
       "title": "Email"
      }
     },
     {
      "name": "customer_id",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "default": "",
       "title": "Customer Id"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/b2b/": {
   "get": {
    "tags": [
     "b2b-sso"
    ],
    "summary": "B2B Landing",
    "operationId": "b2b_landing_b2b__get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/b2b/signup": {
   "post": {
    "tags": [
     "b2b-sso"
    ],
    "summary": "B2B Signup",
    "operationId": "b2b_signup_b2b_signup_post",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/b2b/api/external/validate": {
   "post": {
    "tags": [
     "b2b-sso"
    ],
    "summary": "B2B Validate",
    "description": "Customer-facing: validate a JWT minted by this B2B SSO for their end-user.\n\nAuth: Bearer eas_b2b_xxx (the customer's api key, NOT the end-user JWT).\nBody: {\"token\": \"<end_user_jwt>\"}\nReturns: {valid, email, customer_id_for_b2b_customer, exp, ...}",
    "operationId": "b2b_validate_b2b_api_external_validate_post",
    "parameters": [
     {
      "name": "authorization",
      "in": "header",
      "required": false,
      "schema": {
       "type": "string",
       "default": "",
       "title": "Authorization"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/b2b/api/external/issue": {
   "post": {
    "tags": [
     "b2b-sso"
    ],
    "summary": "B2B Issue",
    "description": "Customer-facing: mint a JWT for the customer's end-user.\n\nAuth: Bearer eas_b2b_xxx (customer api key).\nBody: {\"email\": \"...\", \"user_id\": \"...\", \"ttl_seconds\": 3600}\nReturns: {token, exp, issued_for}",
    "operationId": "b2b_issue_b2b_api_external_issue_post",
    "parameters": [
     {
      "name": "authorization",
      "in": "header",
      "required": false,
      "schema": {
       "type": "string",
       "default": "",
       "title": "Authorization"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/b2b/api-keys/rotate": {
   "get": {
    "tags": [
     "b2b-sso"
    ],
    "summary": "B2B Rotate",
    "description": "ELITESSO_1117_AUDFIX: was a dead 501 stub; rotation is the email-proof flow at /start/rotate.",
    "operationId": "b2b_rotate_b2b_api_keys_rotate_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/b2b/webhook/stripe": {
   "post": {
    "tags": [
     "b2b-sso"
    ],
    "summary": "B2B Stripe Webhook",
    "description": "Stripe webhook for tier provisioning.\n\nValidates signature against STRIPE_WEBHOOK_SECRET_B2B env (NEEDS_ISKRA).\nOn checkout.session.completed: update customer tier in Redis.",
    "operationId": "b2b_stripe_webhook_b2b_webhook_stripe_post",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/b2b/healthz": {
   "get": {
    "tags": [
     "b2b-sso"
    ],
    "summary": "B2B Health",
    "operationId": "b2b_health_b2b_healthz_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/api/v1/auth/health": {
   "get": {
    "tags": [
     "f1562-mobile"
    ],
    "summary": "Auth Health",
    "description": "Health probe used by mobile-kit AuthModule.",
    "operationId": "auth_health_api_v1_auth_health_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/api/v1/chat/health": {
   "get": {
    "tags": [
     "f1562-mobile"
    ],
    "summary": "Chat Health",
    "description": "Health probe used by mobile-kit ChatModule. Not auth concern \u2014 but the kit hits\nauth's /api/v1/chat/health and expects 200. Lightweight pass-through.",
    "operationId": "chat_health_api_v1_chat_health_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/api/v1/auth/social/apple": {
   "post": {
    "tags": [
     "f1562-mobile"
    ],
    "summary": "Social Apple",
    "description": "Verify Apple Sign-In id_token and mint Empire SSO JWT.\n\nApple may return email only on FIRST sign-in. Subsequent sign-ins only return sub.\nWe accept email_hint from client as fallback but ALWAYS prefer the verified claim.\nPrivate-relay emails (sub@privaterelay.appleid.com) are stored as-is.",
    "operationId": "social_apple_api_v1_auth_social_apple_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/AppleSocialIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/auth/social/google": {
   "post": {
    "tags": [
     "f1562-mobile"
    ],
    "summary": "Social Google",
    "description": "Verify Google Sign-In id_token and mint Empire SSO JWT.\n\nValidates id_token via Google JWKS. Email comes from the verified claim. We require\nemail_verified=true to prevent typosquat impersonation.",
    "operationId": "social_google_api_v1_auth_social_google_post",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/GoogleSocialIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/billing/restore": {
   "post": {
    "tags": [
     "f1562-mobile"
    ],
    "summary": "Billing Restore",
    "description": "Restore purchases \u2014 re-fetch products + mint a fresh Empire JWT.\n\nRequires an existing valid Empire JWT in Authorization: Bearer <token>. The JWT's\nemail must match the requested email (so a user can only restore their own\nsubscription state, not someone else's).\n\nReceipt validation per-platform (Apple StoreKit receipt / Google Play purchase token)\nis NOT done here \u2014 signals-api already polls Stripe webhooks for fleet-level\nsubscription source-of-truth. Mobile IAP receipts would require an Apple/Google\nserver-to-server verify; deferred until we offer Apple IAP / Google Play Billing\n(currently every digital product is Stripe-only and Empire JWT is the entitlement).",
    "operationId": "billing_restore_api_v1_billing_restore_post",
    "parameters": [
     {
      "name": "authorization",
      "in": "header",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Authorization"
      }
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/RestoreIn"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/push/subscribe": {
   "post": {
    "tags": [
     "f1562-mobile"
    ],
    "summary": "Push Subscribe",
    "description": "Register an Expo push token for a given app_slug + bearer-token email.\n\nStored in fleet:f1562:push_tokens:<app_slug> as a HSET keyed by expo_token\nwith fields {email, platform, registered_ms, last_seen_ms}. Idempotent.\nA reverse index fleet:f1562:push_tokens_by_email:<email> ZSET (score=last_seen_ms)\nhelps with per-user fan-out.",
    "operationId": "push_subscribe_api_v1_push_subscribe_post",
    "parameters": [
     {
      "name": "authorization",
      "in": "header",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Authorization"
      }
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/PushSubscribeIn"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/widget.js": {
   "get": {
    "tags": [
     "elitesso-widget"
    ],
    "summary": "Elitesso Widget Js",
    "description": "Serve the drop-in widget JS (static, cacheable).",
    "operationId": "elitesso_widget_js_widget_js_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/.well-known/jwks.json": {
   "get": {
    "tags": [
     "elitesso-widget"
    ],
    "summary": "Elitesso Jwks",
    "description": "Empty JWKS \u2014 the IdP signs with HS256 (symmetric); there is NO public key to publish.\nReturning {\"keys\": []} makes the shim's PyJWKClient path fail cleanly and fall through to\nM2M introspection (the real verifier). Never leaks the shared secret.",
    "operationId": "elitesso_jwks__well_known_jwks_json_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/api/v1/m2m/token": {
   "post": {
    "tags": [
     "elitesso-widget"
    ],
    "summary": "Elitesso M2M Introspect",
    "description": "M2M token introspection. Body {\"token\": \"<jwt>\"} \u2192 claims on success.\n\nReturns {\"active\": false} on any failure (the shim treats a non-active / no-sub response as\n\"not authenticated\" and the caller falls back to legacy auth \u2014 fail-open preserved).",
    "operationId": "elitesso_m2m_introspect_api_v1_m2m_token_post",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/webhook/stripe": {
   "post": {
    "summary": "Stripe Webhook",
    "description": "EliteSSO's own Stripe checkout fulfilment. Filters to EliteSSO's own 5\nproduct ids and ignores every other event delivered to this account-wide\nendpoint (see module docstring).",
    "operationId": "stripe_webhook_webhook_stripe_post",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "title": "Response Stripe Webhook Webhook Stripe Post"
        }
       }
      }
     }
    }
   }
  },
  "/api/access/forward-auth": {
   "get": {
    "summary": "Forward Auth",
    "description": "Traefik forwardAuth target. 2xx passes the original request through.",
    "operationId": "forward_auth_api_access_forward_auth_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/tenant": {
   "get": {
    "summary": "Tenant",
    "operationId": "tenant_tenant_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/tenant/apps": {
   "post": {
    "summary": "Create",
    "operationId": "create_tenant_apps_post",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/docs": {
   "get": {
    "summary": "Old Docs",
    "operationId": "old_docs_docs_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/developers": {
   "get": {
    "summary": "Developers",
    "operationId": "developers_developers_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/contact/form": {
   "get": {
    "summary": "Contact Page",
    "operationId": "contact_page_contact_form_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/contact": {
   "get": {
    "summary": "Contact Page",
    "operationId": "contact_page_contact_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   },
   "post": {
    "summary": "Contact Submit",
    "operationId": "contact_submit_contact_post",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/contact/send": {
   "post": {
    "summary": "Contact Submit",
    "operationId": "contact_submit_contact_send_post",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/lp/saas-founders/": {
   "get": {
    "summary": "Lp Saas Founders",
    "operationId": "lp_saas_founders_lp_saas_founders__get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/lp/saas-founders": {
   "get": {
    "summary": "Lp Saas Founders",
    "operationId": "lp_saas_founders_lp_saas_founders_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/checkout/success": {
   "get": {
    "summary": "Checkout Success",
    "operationId": "checkout_success_checkout_success_get",
    "parameters": [
     {
      "name": "session_id",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "default": "",
       "title": "Session Id"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/checkout/{plan}": {
   "get": {
    "summary": "Checkout Get",
    "operationId": "checkout_get_checkout__plan__get",
    "parameters": [
     {
      "name": "plan",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "title": "Plan"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   },
   "post": {
    "summary": "Checkout Post",
    "operationId": "checkout_post_checkout__plan__post",
    "parameters": [
     {
      "name": "plan",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "title": "Plan"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/checklist": {
   "get": {
    "summary": "Checklist Get",
    "operationId": "checklist_get_checklist_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/lead": {
   "post": {
    "summary": "Lead Post",
    "operationId": "lead_post_lead_post",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/unsubscribe": {
   "get": {
    "summary": "Unsubscribe Confirm",
    "operationId": "unsubscribe_confirm_unsubscribe_get",
    "parameters": [
     {
      "name": "e",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "default": "",
       "title": "E"
      }
     },
     {
      "name": "t",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "default": "",
       "title": "T"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   },
   "post": {
    "summary": "Unsubscribe",
    "operationId": "unsubscribe_unsubscribe_post",
    "parameters": [
     {
      "name": "e",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "default": "",
       "title": "E"
      }
     },
     {
      "name": "t",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "default": "",
       "title": "T"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/webhook/stripe/f7650": {
   "post": {
    "summary": "Stripe Webhook",
    "description": "Same signed events as /webhook/stripe (the Stripe account is at its 16-endpoint cap, so Stripe delivers to the\nexisting endpoint, which calls handle_event); kept as a second door for replays and tests.",
    "operationId": "stripe_webhook_webhook_stripe_f7650_post",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/_f7618/track.js": {
   "get": {
    "summary": "Track Js",
    "operationId": "track_js__f7618_track_js_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/_f7618/order": {
   "get": {
    "summary": "Track Order",
    "operationId": "track_order__f7618_order_get",
    "parameters": [
     {
      "name": "sid",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "default": "",
       "title": "Sid"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/quickstart.js": {
   "get": {
    "summary": "Quickstart Js",
    "operationId": "quickstart_js_quickstart_js_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/quickstart": {
   "get": {
    "summary": "Quickstart",
    "operationId": "quickstart_quickstart_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/quickstart/try": {
   "get": {
    "summary": "Quickstart Try",
    "operationId": "quickstart_try_quickstart_try_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/quickstart-try.js": {
   "get": {
    "summary": "Quickstart Try Js",
    "operationId": "quickstart_try_js_quickstart_try_js_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/api/v1/google/config": {
   "get": {
    "summary": "Google Config",
    "operationId": "google_config_api_v1_google_config_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/google/start": {
   "get": {
    "summary": "Google Start",
    "operationId": "google_start_google_start_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/google/callback": {
   "get": {
    "summary": "Google Callback",
    "operationId": "google_callback_google_callback_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/google/token": {
   "post": {
    "summary": "Google Token",
    "operationId": "google_token_google_token_post",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/api/v1/lifecycle/ingest-done": {
   "post": {
    "summary": " Ingest",
    "operationId": "_ingest_api_v1_lifecycle_ingest_done_post",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/api/v1/lifecycle/invite": {
   "post": {
    "summary": " Invite",
    "operationId": "_invite_api_v1_lifecycle_invite_post",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/api/v1/lifecycle/paid": {
   "post": {
    "summary": " Paid",
    "operationId": "_paid_api_v1_lifecycle_paid_post",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/api/v1/lifecycle/ack": {
   "post": {
    "summary": " Ack",
    "operationId": "_ack_api_v1_lifecycle_ack_post",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/api/v1/lifecycle/security-notice": {
   "post": {
    "summary": " Sec",
    "operationId": "_sec_api_v1_lifecycle_security_notice_post",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/api/v1/lifecycle/activated": {
   "post": {
    "summary": " Active",
    "operationId": "_active_api_v1_lifecycle_activated_post",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/start/preview/{cid}": {
   "post": {
    "summary": "Inspect Callback",
    "operationId": "inspect_callback_start_preview__cid__post",
    "parameters": [
     {
      "name": "cid",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "title": "Cid"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   },
   "get": {
    "summary": "Inspect Callback",
    "operationId": "inspect_callback_start_preview__cid__post",
    "parameters": [
     {
      "name": "cid",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "title": "Cid"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/login/{cid}": {
   "get": {
    "summary": "Hosted Login",
    "operationId": "hosted_login_login__cid__get",
    "parameters": [
     {
      "name": "cid",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "title": "Cid"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/login/{cid}/magic": {
   "post": {
    "summary": "Hosted Magic",
    "operationId": "hosted_magic_login__cid__magic_post",
    "parameters": [
     {
      "name": "cid",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "title": "Cid"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/login-verify": {
   "get": {
    "summary": "Hosted Verify Get",
    "operationId": "hosted_verify_get_login_verify_get",
    "parameters": [
     {
      "name": "t",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "default": "",
       "title": "T"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   },
   "post": {
    "summary": "Hosted Verify Post",
    "operationId": "hosted_verify_post_login_verify_post",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/login/{cid}/done": {
   "get": {
    "summary": "Hosted Done",
    "description": "Preview landing: redeems the handoff itself, shows who signed in.",
    "operationId": "hosted_done_login__cid__done_get",
    "parameters": [
     {
      "name": "cid",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "title": "Cid"
      }
     },
     {
      "name": "code",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "default": "",
       "title": "Code"
      }
     },
     {
      "name": "state",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "default": "",
       "title": "State"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/login/{cid}/p/{provider}": {
   "get": {
    "summary": "Provider Start",
    "operationId": "provider_start_login__cid__p__provider__get",
    "parameters": [
     {
      "name": "cid",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "title": "Cid"
      }
     },
     {
      "name": "provider",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "title": "Provider"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/login/callback/{provider}": {
   "get": {
    "summary": "Cb Get",
    "operationId": "cb_get_login_callback__provider__get",
    "parameters": [
     {
      "name": "provider",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "title": "Provider"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/login/callback/apple": {
   "post": {
    "summary": "Cb Apple",
    "operationId": "cb_apple_login_callback_apple_post",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/api/v1/hosted/token": {
   "post": {
    "summary": "Hosted Token",
    "operationId": "hosted_token_api_v1_hosted_token_post",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/start": {
   "get": {
    "summary": "Start Form",
    "operationId": "start_form_start_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   },
   "post": {
    "summary": "Start Post",
    "operationId": "start_post_start_post",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/start/confirm": {
   "get": {
    "summary": "Confirm Get",
    "operationId": "confirm_get_start_confirm_get",
    "parameters": [
     {
      "name": "t",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "default": "",
       "title": "T"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   },
   "post": {
    "summary": "Confirm Post",
    "operationId": "confirm_post_start_confirm_post",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/start/rotate": {
   "get": {
    "summary": "Rotate Form",
    "operationId": "rotate_form_start_rotate_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   },
   "post": {
    "summary": "Rotate Post",
    "operationId": "rotate_post_start_rotate_post",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/start/rotate/confirm": {
   "get": {
    "summary": "Rotate Confirm Get",
    "operationId": "rotate_confirm_get_start_rotate_confirm_get",
    "parameters": [
     {
      "name": "t",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "default": "",
       "title": "T"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   },
   "post": {
    "summary": "Rotate Confirm Post",
    "operationId": "rotate_confirm_post_start_rotate_confirm_post",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/hosted/apps": {
   "get": {
    "summary": "Api List",
    "operationId": "api_list_api_v1_hosted_apps_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   },
   "post": {
    "summary": "Api Create",
    "operationId": "api_create_api_v1_hosted_apps_post",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/api/v1/hosted/audit": {
   "get": {
    "summary": "Api Audit",
    "operationId": "api_audit_api_v1_hosted_audit_get",
    "parameters": [
     {
      "name": "client_id",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "default": "",
       "title": "Client Id"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "default": 50,
       "title": "Limit"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/mcp": {
   "get": {
    "summary": "Mcp Info",
    "operationId": "mcp_info_api_v1_mcp_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   },
   "post": {
    "summary": "Mcp",
    "operationId": "mcp_api_v1_mcp_post",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/cli/elitesso-cli.tgz": {
   "get": {
    "summary": "Cli Tgz",
    "operationId": "cli_tgz_cli_elitesso_cli_tgz_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/cli": {
   "get": {
    "summary": "Cli Page",
    "operationId": "cli_page_cli_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/hosted/connections": {
   "post": {
    "summary": "Conn Create",
    "operationId": "conn_create_api_v1_hosted_connections_post",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   },
   "get": {
    "summary": "Conn List",
    "operationId": "conn_list_api_v1_hosted_connections_get",
    "parameters": [
     {
      "name": "client_id",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "default": "",
       "title": "Client Id"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/hosted/connections/{conn_id}/scim-token": {
   "post": {
    "summary": "Conn Scim Token",
    "operationId": "conn_scim_token_api_v1_hosted_connections__conn_id__scim_token_post",
    "parameters": [
     {
      "name": "conn_id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "title": "Conn Id"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/hosted/connections/{conn_id}": {
   "delete": {
    "summary": "Conn Delete",
    "operationId": "conn_delete_api_v1_hosted_connections__conn_id__delete",
    "parameters": [
     {
      "name": "conn_id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "title": "Conn Id"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/login/{cid}/sso": {
   "get": {
    "summary": "Sso Start",
    "operationId": "sso_start_login__cid__sso_get",
    "parameters": [
     {
      "name": "cid",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "title": "Cid"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/sso/callback/oidc": {
   "get": {
    "summary": "Oidc Callback",
    "operationId": "oidc_callback_sso_callback_oidc_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/sso/saml/{conn_id}/metadata": {
   "get": {
    "summary": "Saml Metadata",
    "operationId": "saml_metadata_sso_saml__conn_id__metadata_get",
    "parameters": [
     {
      "name": "conn_id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "title": "Conn Id"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/sso/saml/{conn_id}/acs": {
   "post": {
    "summary": "Saml Acs",
    "operationId": "saml_acs_sso_saml__conn_id__acs_post",
    "parameters": [
     {
      "name": "conn_id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "title": "Conn Id"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/scim/v2/{conn_id}/ServiceProviderConfig": {
   "get": {
    "summary": "Scim Spc",
    "operationId": "scim_spc_scim_v2__conn_id__ServiceProviderConfig_get",
    "parameters": [
     {
      "name": "conn_id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "title": "Conn Id"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/scim/v2/{conn_id}/Users": {
   "get": {
    "summary": "Scim List",
    "operationId": "scim_list_scim_v2__conn_id__Users_get",
    "parameters": [
     {
      "name": "conn_id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "title": "Conn Id"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   },
   "post": {
    "summary": "Scim Create",
    "operationId": "scim_create_scim_v2__conn_id__Users_post",
    "parameters": [
     {
      "name": "conn_id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "title": "Conn Id"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/scim/v2/{conn_id}/Users/{uid}": {
   "get": {
    "summary": "Scim Get",
    "operationId": "scim_get_scim_v2__conn_id__Users__uid__get",
    "parameters": [
     {
      "name": "conn_id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "title": "Conn Id"
      }
     },
     {
      "name": "uid",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "title": "Uid"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   },
   "put": {
    "summary": "Scim Put",
    "operationId": "scim_put_scim_v2__conn_id__Users__uid__put",
    "parameters": [
     {
      "name": "conn_id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "title": "Conn Id"
      }
     },
     {
      "name": "uid",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "title": "Uid"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   },
   "patch": {
    "summary": "Scim Patch Route",
    "operationId": "scim_patch_route_scim_v2__conn_id__Users__uid__patch",
    "parameters": [
     {
      "name": "conn_id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "title": "Conn Id"
      }
     },
     {
      "name": "uid",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "title": "Uid"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   },
   "delete": {
    "summary": "Scim Delete",
    "operationId": "scim_delete_scim_v2__conn_id__Users__uid__delete",
    "parameters": [
     {
      "name": "conn_id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "title": "Conn Id"
      }
     },
     {
      "name": "uid",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "title": "Uid"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  }
 },
 "components": {
  "schemas": {
   "AppleSocialIn": {
    "properties": {
     "id_token": {
      "type": "string",
      "minLength": 20,
      "title": "Id Token"
     },
     "nonce": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Nonce"
     },
     "email_hint": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Email Hint"
     },
     "app_slug": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "App Slug"
     }
    },
    "type": "object",
    "required": [
     "id_token"
    ],
    "title": "AppleSocialIn"
   },
   "Body_magic_magic_post": {
    "properties": {
     "email": {
      "type": "string",
      "title": "Email"
     },
     "return_url": {
      "type": "string",
      "title": "Return Url",
      "default": ""
     },
     "password": {
      "type": "string",
      "title": "Password",
      "default": ""
     },
     "client_id": {
      "type": "string",
      "title": "Client Id",
      "default": ""
     }
    },
    "type": "object",
    "required": [
     "email"
    ],
    "title": "Body_magic_magic_post"
   },
   "Body_verify_code_verify_code_post": {
    "properties": {
     "email": {
      "type": "string",
      "title": "Email"
     },
     "code": {
      "type": "string",
      "title": "Code"
     },
     "return_url": {
      "type": "string",
      "title": "Return Url",
      "default": ""
     },
     "password": {
      "type": "string",
      "title": "Password",
      "default": ""
     }
    },
    "type": "object",
    "required": [
     "email",
     "code"
    ],
    "title": "Body_verify_code_verify_code_post"
   },
   "GoogleSocialIn": {
    "properties": {
     "id_token": {
      "type": "string",
      "minLength": 20,
      "title": "Id Token"
     },
     "app_slug": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "App Slug"
     }
    },
    "type": "object",
    "required": [
     "id_token"
    ],
    "title": "GoogleSocialIn"
   },
   "HTTPValidationError": {
    "properties": {
     "detail": {
      "items": {
       "$ref": "#/components/schemas/ValidationError"
      },
      "type": "array",
      "title": "Detail"
     }
    },
    "type": "object",
    "title": "HTTPValidationError"
   },
   "PushSubscribeIn": {
    "properties": {
     "expo_token": {
      "type": "string",
      "minLength": 10,
      "title": "Expo Token"
     },
     "app_slug": {
      "type": "string",
      "minLength": 2,
      "title": "App Slug"
     },
     "platform": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Platform"
     }
    },
    "type": "object",
    "required": [
     "expo_token",
     "app_slug"
    ],
    "title": "PushSubscribeIn"
   },
   "RestoreIn": {
    "properties": {
     "email": {
      "type": "string",
      "title": "Email"
     },
     "customer_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Customer Id"
     },
     "app_slug": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "App Slug"
     }
    },
    "type": "object",
    "required": [
     "email"
    ],
    "title": "RestoreIn"
   },
   "ValidationError": {
    "properties": {
     "loc": {
      "items": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "integer"
        }
       ]
      },
      "type": "array",
      "title": "Location"
     },
     "msg": {
      "type": "string",
      "title": "Message"
     },
     "type": {
      "type": "string",
      "title": "Error Type"
     }
    },
    "type": "object",
    "required": [
     "loc",
     "msg",
     "type"
    ],
    "title": "ValidationError"
   }
  },
  "securitySchemes": {
   "apiKey": {
    "type": "apiKey",
    "in": "header",
    "name": "X-API-Key",
    "description": "Optional scoped key (company:read, pricing:read, search:read). Issue one at POST /agent-api/v1/keys."
   }
  }
 },
 "x-f7455-augmented": "agent endpoints + optional scoped API keys added by the F7455 agent surface"
}