{
  "openapi": "3.1.0",
  "info": {
    "title": "LOPJLB Research API",
    "description": "Public and freemium LOPJLB endpoints, callable without authentication. Canonical prefix is /api/v1 (additive-only; breaking changes go to /api/v2 with \u226590 days notice and Deprecation/Sunset headers). /bff/api is the legacy prefix and keeps working. Pro, authenticated, and Enterprise routes are intentionally omitted; see https://www.lopjlb.com/api/llms.txt and https://www.lopjlb.com/developers. RSS/syndication: https://www.lopjlb.com/feeds",
    "version": "1.0.0",
    "contact": {
      "email": "contact@lopjlb.com",
      "url": "https://www.lopjlb.com/contact"
    },
    "termsOfService": "https://www.lopjlb.com/terms",
    "license": {
      "name": "LOPJLB",
      "url": "https://www.lopjlb.com/terms"
    }
  },
  "servers": [
    {
      "url": "https://www.lopjlb.com",
      "description": "Production origin. Prefer /api/v1 paths; /bff/api is the legacy prefix (same handlers)."
    }
  ],
  "tags": [
    {
      "name": "public",
      "description": "No authentication required"
    },
    {
      "name": "freemium",
      "description": "Anonymous OK; some responses clamped for free users"
    }
  ],
  "paths": {
    "/bff/api/congress/trades": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Congress Trades",
        "operationId": "congress_trades_api_congress_trades_get",
        "parameters": [
          {
            "name": "chamber",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "senate|house",
              "title": "Chamber"
            },
            "description": "senate|house"
          },
          {
            "name": "trade_type",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Purchase|Sale|\u2026",
              "title": "Trade Type"
            },
            "description": "Purchase|Sale|\u2026"
          },
          {
            "name": "symbol",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Symbol"
            }
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Politician name or ticker search",
              "title": "Q"
            },
            "description": "Politician name or ticker search"
          },
          {
            "name": "asset_type",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Asset Type"
            }
          },
          {
            "name": "options_only",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Options Only"
            }
          },
          {
            "name": "from",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "From"
            }
          },
          {
            "name": "to",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "To"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "disclosure_date",
              "title": "Sort"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Legacy BFF prefix; prefer /api/v1 (same handlers)."
      }
    },
    "/api/v1/congress/trades": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Congress Trades",
        "operationId": "congress_trades_api_congress_trades_get_v1",
        "parameters": [
          {
            "name": "chamber",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "senate|house",
              "title": "Chamber"
            },
            "description": "senate|house"
          },
          {
            "name": "trade_type",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Purchase|Sale|\u2026",
              "title": "Trade Type"
            },
            "description": "Purchase|Sale|\u2026"
          },
          {
            "name": "symbol",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Symbol"
            }
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Politician name or ticker search",
              "title": "Q"
            },
            "description": "Politician name or ticker search"
          },
          {
            "name": "asset_type",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Asset Type"
            }
          },
          {
            "name": "options_only",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Options Only"
            }
          },
          {
            "name": "from",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "From"
            }
          },
          {
            "name": "to",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "To"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "disclosure_date",
              "title": "Sort"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Canonical /api/v1 alias of /bff/api/congress/trades."
      }
    },
    "/bff/api/congress/summary": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Congress Summary",
        "operationId": "congress_summary_api_congress_summary_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Legacy BFF prefix; prefer /api/v1 (same handlers)."
      }
    },
    "/api/v1/congress/summary": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Congress Summary",
        "operationId": "congress_summary_api_congress_summary_get_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Canonical /api/v1 alias of /bff/api/congress/summary."
      }
    },
    "/bff/api/congress/politicians": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Congress Politicians",
        "operationId": "congress_politicians_api_congress_politicians_get",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Q"
            }
          },
          {
            "name": "chamber",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Chamber"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Legacy BFF prefix; prefer /api/v1 (same handlers)."
      }
    },
    "/api/v1/congress/politicians": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Congress Politicians",
        "operationId": "congress_politicians_api_congress_politicians_get_v1",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Q"
            }
          },
          {
            "name": "chamber",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Chamber"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Canonical /api/v1 alias of /bff/api/congress/politicians."
      }
    },
    "/bff/api/congress/politician/{slug}": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Congress Politician",
        "operationId": "congress_politician_api_congress_politician__slug__get",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Slug"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Legacy BFF prefix; prefer /api/v1 (same handlers)."
      }
    },
    "/api/v1/congress/politician/{slug}": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Congress Politician",
        "operationId": "congress_politician_api_congress_politician__slug__get_v1",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Slug"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Canonical /api/v1 alias of /bff/api/congress/politician/{slug}."
      }
    },
    "/bff/api/congress/symbol/{symbol}": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Congress Symbol",
        "description": "[public] Paged trades for a ticker with full-set stats and monthly activity series. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "congress_symbol_api_congress_symbol__symbol__get",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/v1/congress/symbol/{symbol}": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Congress Symbol",
        "description": "[public] Paged trades for a ticker with full-set stats and monthly activity series. Canonical /api/v1 alias of /bff/api/congress/symbol/{symbol}.",
        "operationId": "congress_symbol_api_congress_symbol__symbol__get_v1",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/bff/api/congress/sitemap-index": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Congress Sitemap Index",
        "description": "[public] Lightweight index for Next.js sitemap generation. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "congress_sitemap_index_api_congress_sitemap_index_get",
        "parameters": [
          {
            "name": "politicians",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 2000,
              "minimum": 0,
              "default": 500,
              "title": "Politicians"
            }
          },
          {
            "name": "symbols",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 2000,
              "minimum": 0,
              "default": 500,
              "title": "Symbols"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/v1/congress/sitemap-index": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Congress Sitemap Index",
        "description": "[public] Lightweight index for Next.js sitemap generation. Canonical /api/v1 alias of /bff/api/congress/sitemap-index.",
        "operationId": "congress_sitemap_index_api_congress_sitemap_index_get_v1",
        "parameters": [
          {
            "name": "politicians",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 2000,
              "minimum": 0,
              "default": 500,
              "title": "Politicians"
            }
          },
          {
            "name": "symbols",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 2000,
              "minimum": 0,
              "default": 500,
              "title": "Symbols"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/bff/api/prediction-markets/summary": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Pm Summary",
        "operationId": "pm_summary_api_prediction_markets_summary_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Legacy BFF prefix; prefer /api/v1 (same handlers)."
      }
    },
    "/api/v1/prediction-markets/summary": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Pm Summary",
        "operationId": "pm_summary_api_prediction_markets_summary_get_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Canonical /api/v1 alias of /bff/api/prediction-markets/summary."
      }
    },
    "/bff/api/prediction-markets/markets": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Pm Markets",
        "operationId": "pm_markets_api_prediction_markets_markets_get",
        "parameters": [
          {
            "name": "venue",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "kalshi|polymarket",
              "title": "Venue"
            },
            "description": "kalshi|polymarket"
          },
          {
            "name": "category",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "fed|inflation|jobs|growth|indices|crypto|equities|macro",
              "title": "Category"
            },
            "description": "fed|inflation|jobs|growth|indices|crypto|equities|macro"
          },
          {
            "name": "symbol",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Linked LOPJLB ticker",
              "title": "Symbol"
            },
            "description": "Linked LOPJLB ticker"
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Search title / question",
              "title": "Q"
            },
            "description": "Search title / question"
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "volume|yes_price|yes_delta|close_time",
              "default": "volume",
              "title": "Sort"
            },
            "description": "volume|yes_price|yes_delta|close_time"
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "asc|desc",
              "default": "desc",
              "title": "Order"
            },
            "description": "asc|desc"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Legacy BFF prefix; prefer /api/v1 (same handlers)."
      }
    },
    "/api/v1/prediction-markets/markets": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Pm Markets",
        "operationId": "pm_markets_api_prediction_markets_markets_get_v1",
        "parameters": [
          {
            "name": "venue",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "kalshi|polymarket",
              "title": "Venue"
            },
            "description": "kalshi|polymarket"
          },
          {
            "name": "category",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "fed|inflation|jobs|growth|indices|crypto|equities|macro",
              "title": "Category"
            },
            "description": "fed|inflation|jobs|growth|indices|crypto|equities|macro"
          },
          {
            "name": "symbol",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Linked LOPJLB ticker",
              "title": "Symbol"
            },
            "description": "Linked LOPJLB ticker"
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Search title / question",
              "title": "Q"
            },
            "description": "Search title / question"
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "volume|yes_price|yes_delta|close_time",
              "default": "volume",
              "title": "Sort"
            },
            "description": "volume|yes_price|yes_delta|close_time"
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "asc|desc",
              "default": "desc",
              "title": "Order"
            },
            "description": "asc|desc"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Canonical /api/v1 alias of /bff/api/prediction-markets/markets."
      }
    },
    "/bff/api/prediction-markets/symbol/{symbol}": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Pm Symbol",
        "operationId": "pm_symbol_api_prediction_markets_symbol__symbol__get",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "volume|yes_price|yes_delta|close_time",
              "default": "volume",
              "title": "Sort"
            },
            "description": "volume|yes_price|yes_delta|close_time"
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "asc|desc",
              "default": "desc",
              "title": "Order"
            },
            "description": "asc|desc"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Legacy BFF prefix; prefer /api/v1 (same handlers)."
      }
    },
    "/api/v1/prediction-markets/symbol/{symbol}": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Pm Symbol",
        "operationId": "pm_symbol_api_prediction_markets_symbol__symbol__get_v1",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "volume|yes_price|yes_delta|close_time",
              "default": "volume",
              "title": "Sort"
            },
            "description": "volume|yes_price|yes_delta|close_time"
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "asc|desc",
              "default": "desc",
              "title": "Order"
            },
            "description": "asc|desc"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Canonical /api/v1 alias of /bff/api/prediction-markets/symbol/{symbol}."
      }
    },
    "/bff/api/prediction-markets/sitemap-index": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Pm Sitemap Index",
        "operationId": "pm_sitemap_index_api_prediction_markets_sitemap_index_get",
        "parameters": [
          {
            "name": "symbols",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 2000,
              "minimum": 0,
              "default": 500,
              "title": "Symbols"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Legacy BFF prefix; prefer /api/v1 (same handlers)."
      }
    },
    "/api/v1/prediction-markets/sitemap-index": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Pm Sitemap Index",
        "operationId": "pm_sitemap_index_api_prediction_markets_sitemap_index_get_v1",
        "parameters": [
          {
            "name": "symbols",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 2000,
              "minimum": 0,
              "default": 500,
              "title": "Symbols"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Canonical /api/v1 alias of /bff/api/prediction-markets/sitemap-index."
      }
    },
    "/bff/api/hold-spreads/summary": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Hold Spread Summary",
        "description": "[public] Latest complete canonical regular-session run and evidence status. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "hold_spread_summary_api_hold_spreads_summary_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HoldSpreadSummary"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/v1/hold-spreads/summary": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Hold Spread Summary",
        "description": "[public] Latest complete canonical regular-session run and evidence status. Canonical /api/v1 alias of /bff/api/hold-spreads/summary.",
        "operationId": "hold_spread_summary_api_hold_spreads_summary_get_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HoldSpreadSummary"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/bff/api/hold-spreads/opportunities": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Hold Spread Opportunities",
        "operationId": "hold_spread_opportunities_api_hold_spreads_opportunities_get",
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Date"
            }
          },
          {
            "name": "symbol",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 15
                },
                {
                  "type": "null"
                }
              ],
              "title": "Symbol"
            }
          },
          {
            "name": "sleeve",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "deep",
                    "mid",
                    "near",
                    "atm",
                    "otm",
                    "far"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Sleeve"
            }
          },
          {
            "name": "cohort",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "HOLD",
                    "OCTANE"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cohort"
            }
          },
          {
            "name": "asset_class",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "stock",
                    "etf"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Asset Class"
            }
          },
          {
            "name": "lane",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "PRIMARY",
                    "SECONDARY",
                    "MIDPOINT_WATCH"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Lane"
            }
          },
          {
            "name": "dte_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 1100,
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Dte Min"
            }
          },
          {
            "name": "dte_max",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 1100,
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Dte Max"
            }
          },
          {
            "name": "apy_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "maximum": 400,
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Apy Min"
            }
          },
          {
            "name": "published_only",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Published Only"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "enum": [
                "score",
                "cushion",
                "return",
                "apy",
                "dte",
                "low_52w",
                "target_cost"
              ],
              "type": "string",
              "description": "target_cost: cheapest natural cost per $1 of payoff at target_move_pct first (needs target_move_pct).",
              "default": "score",
              "title": "Sort"
            },
            "description": "target_cost: cheapest natural cost per $1 of payoff at target_move_pct first (needs target_move_pct)."
          },
          {
            "name": "structure",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "call_debit",
                    "put_credit",
                    "put_debit",
                    "call_credit"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Structure"
            }
          },
          {
            "name": "exh",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "release",
                    "recent",
                    "seller_zone"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Exh"
            }
          },
          {
            "name": "best_per_symbol",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Keep only each symbol's top row under the chosen sort.",
              "default": false,
              "title": "Best Per Symbol"
            },
            "description": "Keep only each symbol's top row under the chosen sort."
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 250,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "schema": {
              "enum": [
                "asc",
                "desc"
              ],
              "type": "string",
              "default": "asc",
              "title": "Order"
            }
          },
          {
            "name": "book",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "long",
                    "short",
                    "leaps"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "long (default): the 90-400 DTE book. short: the display-only 1-45 DTE book, screened from the 20c chain handoff, gated and ranked on friction_share_pct (lowest first). leaps: every listed expiry from 401 to 1,100 DTE, same gates and rank as long. A short or LEAPS dte_bucket implies its book.",
              "title": "Book"
            },
            "description": "long (default): the 90-400 DTE book. short: the display-only 1-45 DTE book, screened from the 20c chain handoff, gated and ranked on friction_share_pct (lowest first). leaps: every listed expiry from 401 to 1,100 DTE, same gates and rank as long. A short or LEAPS dte_bucket implies its book."
          },
          {
            "name": "dte_bucket",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "1_7",
                    "8_21",
                    "22_45",
                    "90_149",
                    "150_210",
                    "211_300",
                    "301_400",
                    "401_600",
                    "601_800",
                    "801_1100"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Dte Bucket"
            }
          },
          {
            "name": "symbols",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 640
                },
                {
                  "type": "null"
                }
              ],
              "description": "Comma-separated tickers (at most 40): keep only these names, for comparing a theme or ticker set.",
              "title": "Symbols"
            },
            "description": "Comma-separated tickers (at most 40): keep only these names, for comparing a theme or ticker set."
          },
          {
            "name": "target_move_pct",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "maximum": 500,
                  "minimum": -95
                },
                {
                  "type": "null"
                }
              ],
              "description": "Underlying move from spot, in percent (+20 = 20% higher). Fills target_price, target_payoff_usd and the cost per $1 of payoff at mid and natural on every row.",
              "title": "Target Move Pct"
            },
            "description": "Underlying move from spot, in percent (+20 = 20% higher). Fills target_price, target_payoff_usd and the cost per $1 of payoff at mid and natural on every row."
          },
          {
            "name": "target_price",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "exclusiveMinimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "description": "One ticker only (symbol= or a one-name symbols=): an exact underlying price target in dollars, used as given instead of target_move_pct.",
              "title": "Target Price"
            },
            "description": "One ticker only (symbol= or a one-name symbols=): an exact underlying price target in dollars, used as given instead of target_move_pct."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpportunityPage"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Legacy BFF prefix; prefer /api/v1 (same handlers)."
      }
    },
    "/api/v1/hold-spreads/opportunities": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Hold Spread Opportunities",
        "operationId": "hold_spread_opportunities_api_hold_spreads_opportunities_get_v1",
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Date"
            }
          },
          {
            "name": "symbol",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 15
                },
                {
                  "type": "null"
                }
              ],
              "title": "Symbol"
            }
          },
          {
            "name": "sleeve",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "deep",
                    "mid",
                    "near",
                    "atm",
                    "otm",
                    "far"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Sleeve"
            }
          },
          {
            "name": "cohort",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "HOLD",
                    "OCTANE"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cohort"
            }
          },
          {
            "name": "asset_class",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "stock",
                    "etf"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Asset Class"
            }
          },
          {
            "name": "lane",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "PRIMARY",
                    "SECONDARY",
                    "MIDPOINT_WATCH"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Lane"
            }
          },
          {
            "name": "dte_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 1100,
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Dte Min"
            }
          },
          {
            "name": "dte_max",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 1100,
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Dte Max"
            }
          },
          {
            "name": "apy_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "maximum": 400,
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Apy Min"
            }
          },
          {
            "name": "published_only",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Published Only"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "enum": [
                "score",
                "cushion",
                "return",
                "apy",
                "dte",
                "low_52w",
                "target_cost"
              ],
              "type": "string",
              "description": "target_cost: cheapest natural cost per $1 of payoff at target_move_pct first (needs target_move_pct).",
              "default": "score",
              "title": "Sort"
            },
            "description": "target_cost: cheapest natural cost per $1 of payoff at target_move_pct first (needs target_move_pct)."
          },
          {
            "name": "structure",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "call_debit",
                    "put_credit",
                    "put_debit",
                    "call_credit"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Structure"
            }
          },
          {
            "name": "exh",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "release",
                    "recent",
                    "seller_zone"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Exh"
            }
          },
          {
            "name": "best_per_symbol",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Keep only each symbol's top row under the chosen sort.",
              "default": false,
              "title": "Best Per Symbol"
            },
            "description": "Keep only each symbol's top row under the chosen sort."
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 250,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "schema": {
              "enum": [
                "asc",
                "desc"
              ],
              "type": "string",
              "default": "asc",
              "title": "Order"
            }
          },
          {
            "name": "book",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "long",
                    "short",
                    "leaps"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "long (default): the 90-400 DTE book. short: the display-only 1-45 DTE book, screened from the 20c chain handoff, gated and ranked on friction_share_pct (lowest first). leaps: every listed expiry from 401 to 1,100 DTE, same gates and rank as long. A short or LEAPS dte_bucket implies its book.",
              "title": "Book"
            },
            "description": "long (default): the 90-400 DTE book. short: the display-only 1-45 DTE book, screened from the 20c chain handoff, gated and ranked on friction_share_pct (lowest first). leaps: every listed expiry from 401 to 1,100 DTE, same gates and rank as long. A short or LEAPS dte_bucket implies its book."
          },
          {
            "name": "dte_bucket",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "1_7",
                    "8_21",
                    "22_45",
                    "90_149",
                    "150_210",
                    "211_300",
                    "301_400",
                    "401_600",
                    "601_800",
                    "801_1100"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Dte Bucket"
            }
          },
          {
            "name": "symbols",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 640
                },
                {
                  "type": "null"
                }
              ],
              "description": "Comma-separated tickers (at most 40): keep only these names, for comparing a theme or ticker set.",
              "title": "Symbols"
            },
            "description": "Comma-separated tickers (at most 40): keep only these names, for comparing a theme or ticker set."
          },
          {
            "name": "target_move_pct",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "maximum": 500,
                  "minimum": -95
                },
                {
                  "type": "null"
                }
              ],
              "description": "Underlying move from spot, in percent (+20 = 20% higher). Fills target_price, target_payoff_usd and the cost per $1 of payoff at mid and natural on every row.",
              "title": "Target Move Pct"
            },
            "description": "Underlying move from spot, in percent (+20 = 20% higher). Fills target_price, target_payoff_usd and the cost per $1 of payoff at mid and natural on every row."
          },
          {
            "name": "target_price",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "exclusiveMinimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "description": "One ticker only (symbol= or a one-name symbols=): an exact underlying price target in dollars, used as given instead of target_move_pct.",
              "title": "Target Price"
            },
            "description": "One ticker only (symbol= or a one-name symbols=): an exact underlying price target in dollars, used as given instead of target_move_pct."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpportunityPage"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Canonical /api/v1 alias of /bff/api/hold-spreads/opportunities."
      }
    },
    "/bff/api/hold-spreads/runs": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Hold Spread Runs",
        "operationId": "hold_spread_runs_api_hold_spreads_runs_get",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 250,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RunPage"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Legacy BFF prefix; prefer /api/v1 (same handlers)."
      }
    },
    "/api/v1/hold-spreads/runs": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Hold Spread Runs",
        "operationId": "hold_spread_runs_api_hold_spreads_runs_get_v1",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 250,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RunPage"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Canonical /api/v1 alias of /bff/api/hold-spreads/runs."
      }
    },
    "/bff/api/hold-spreads/outcomes": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Hold Spread Outcomes",
        "operationId": "hold_spread_outcomes_api_hold_spreads_outcomes_get",
        "parameters": [
          {
            "name": "symbol",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 15
                },
                {
                  "type": "null"
                }
              ],
              "title": "Symbol"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "scored",
                    "missing"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Status"
            }
          },
          {
            "name": "horizon",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 32
                },
                {
                  "type": "null"
                }
              ],
              "title": "Horizon"
            }
          },
          {
            "name": "entry_model",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "mid",
                    "mid_minus_25pct_spread",
                    "natural"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Entry Model"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 250,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "name": "book",
            "in": "query",
            "required": false,
            "schema": {
              "enum": [
                "long",
                "short",
                "leaps"
              ],
              "type": "string",
              "description": "long (default), the observe-only 1-45 DTE book, or the 401-1,100 DTE LEAPS rows (no board selections, so expiry results only).",
              "default": "long",
              "title": "Book"
            },
            "description": "long (default), the observe-only 1-45 DTE book, or the 401-1,100 DTE LEAPS rows (no board selections, so expiry results only)."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutcomePage"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Legacy BFF prefix; prefer /api/v1 (same handlers)."
      }
    },
    "/api/v1/hold-spreads/outcomes": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Hold Spread Outcomes",
        "operationId": "hold_spread_outcomes_api_hold_spreads_outcomes_get_v1",
        "parameters": [
          {
            "name": "symbol",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 15
                },
                {
                  "type": "null"
                }
              ],
              "title": "Symbol"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "scored",
                    "missing"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Status"
            }
          },
          {
            "name": "horizon",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 32
                },
                {
                  "type": "null"
                }
              ],
              "title": "Horizon"
            }
          },
          {
            "name": "entry_model",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "mid",
                    "mid_minus_25pct_spread",
                    "natural"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Entry Model"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 250,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "name": "book",
            "in": "query",
            "required": false,
            "schema": {
              "enum": [
                "long",
                "short",
                "leaps"
              ],
              "type": "string",
              "description": "long (default), the observe-only 1-45 DTE book, or the 401-1,100 DTE LEAPS rows (no board selections, so expiry results only).",
              "default": "long",
              "title": "Book"
            },
            "description": "long (default), the observe-only 1-45 DTE book, or the 401-1,100 DTE LEAPS rows (no board selections, so expiry results only)."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutcomePage"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Canonical /api/v1 alias of /bff/api/hold-spreads/outcomes."
      }
    },
    "/bff/api/bear-spreads/summary": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Bear Hold Spread Summary",
        "description": "[public] Latest complete canonical regular-session run and evidence status. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "bear_hold_spread_summary_api_bear_spreads_summary_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HoldSpreadSummary"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/v1/bear-spreads/summary": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Bear Hold Spread Summary",
        "description": "[public] Latest complete canonical regular-session run and evidence status. Canonical /api/v1 alias of /bff/api/bear-spreads/summary.",
        "operationId": "bear_hold_spread_summary_api_bear_spreads_summary_get_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HoldSpreadSummary"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/bff/api/bear-spreads/opportunities": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Bear Hold Spread Opportunities",
        "operationId": "bear_hold_spread_opportunities_api_bear_spreads_opportunities_get",
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Date"
            }
          },
          {
            "name": "symbol",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 15
                },
                {
                  "type": "null"
                }
              ],
              "title": "Symbol"
            }
          },
          {
            "name": "sleeve",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "deep",
                    "mid",
                    "near",
                    "atm",
                    "otm",
                    "far"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Sleeve"
            }
          },
          {
            "name": "cohort",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "HOLD",
                    "OCTANE"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cohort"
            }
          },
          {
            "name": "asset_class",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "stock",
                    "etf"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Asset Class"
            }
          },
          {
            "name": "lane",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "PRIMARY",
                    "SECONDARY",
                    "MIDPOINT_WATCH"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Lane"
            }
          },
          {
            "name": "dte_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 1100,
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Dte Min"
            }
          },
          {
            "name": "dte_max",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 1100,
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Dte Max"
            }
          },
          {
            "name": "apy_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "maximum": 400,
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Apy Min"
            }
          },
          {
            "name": "published_only",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Published Only"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "enum": [
                "score",
                "cushion",
                "return",
                "apy",
                "dte",
                "low_52w",
                "target_cost"
              ],
              "type": "string",
              "description": "target_cost: cheapest natural cost per $1 of payoff at target_move_pct first (needs target_move_pct).",
              "default": "score",
              "title": "Sort"
            },
            "description": "target_cost: cheapest natural cost per $1 of payoff at target_move_pct first (needs target_move_pct)."
          },
          {
            "name": "structure",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "call_debit",
                    "put_credit",
                    "put_debit",
                    "call_credit"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Structure"
            }
          },
          {
            "name": "exh",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "release",
                    "recent",
                    "seller_zone"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Exh"
            }
          },
          {
            "name": "best_per_symbol",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Keep only each symbol's top row under the chosen sort.",
              "default": false,
              "title": "Best Per Symbol"
            },
            "description": "Keep only each symbol's top row under the chosen sort."
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 250,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "schema": {
              "enum": [
                "asc",
                "desc"
              ],
              "type": "string",
              "default": "asc",
              "title": "Order"
            }
          },
          {
            "name": "book",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "long",
                    "short",
                    "leaps"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "long (default): the 90-400 DTE book. short: the display-only 1-45 DTE book, screened from the 20c chain handoff, gated and ranked on friction_share_pct (lowest first). leaps: every listed expiry from 401 to 1,100 DTE, same gates and rank as long. A short or LEAPS dte_bucket implies its book.",
              "title": "Book"
            },
            "description": "long (default): the 90-400 DTE book. short: the display-only 1-45 DTE book, screened from the 20c chain handoff, gated and ranked on friction_share_pct (lowest first). leaps: every listed expiry from 401 to 1,100 DTE, same gates and rank as long. A short or LEAPS dte_bucket implies its book."
          },
          {
            "name": "dte_bucket",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "1_7",
                    "8_21",
                    "22_45",
                    "90_149",
                    "150_210",
                    "211_300",
                    "301_400",
                    "401_600",
                    "601_800",
                    "801_1100"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Dte Bucket"
            }
          },
          {
            "name": "symbols",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 640
                },
                {
                  "type": "null"
                }
              ],
              "description": "Comma-separated tickers (at most 40): keep only these names, for comparing a theme or ticker set.",
              "title": "Symbols"
            },
            "description": "Comma-separated tickers (at most 40): keep only these names, for comparing a theme or ticker set."
          },
          {
            "name": "target_move_pct",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "maximum": 500,
                  "minimum": -95
                },
                {
                  "type": "null"
                }
              ],
              "description": "Underlying move from spot, in percent (+20 = 20% higher). Fills target_price, target_payoff_usd and the cost per $1 of payoff at mid and natural on every row.",
              "title": "Target Move Pct"
            },
            "description": "Underlying move from spot, in percent (+20 = 20% higher). Fills target_price, target_payoff_usd and the cost per $1 of payoff at mid and natural on every row."
          },
          {
            "name": "target_price",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "exclusiveMinimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "description": "One ticker only (symbol= or a one-name symbols=): an exact underlying price target in dollars, used as given instead of target_move_pct.",
              "title": "Target Price"
            },
            "description": "One ticker only (symbol= or a one-name symbols=): an exact underlying price target in dollars, used as given instead of target_move_pct."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpportunityPage"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Legacy BFF prefix; prefer /api/v1 (same handlers)."
      }
    },
    "/api/v1/bear-spreads/opportunities": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Bear Hold Spread Opportunities",
        "operationId": "bear_hold_spread_opportunities_api_bear_spreads_opportunities_get_v1",
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Date"
            }
          },
          {
            "name": "symbol",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 15
                },
                {
                  "type": "null"
                }
              ],
              "title": "Symbol"
            }
          },
          {
            "name": "sleeve",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "deep",
                    "mid",
                    "near",
                    "atm",
                    "otm",
                    "far"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Sleeve"
            }
          },
          {
            "name": "cohort",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "HOLD",
                    "OCTANE"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cohort"
            }
          },
          {
            "name": "asset_class",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "stock",
                    "etf"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Asset Class"
            }
          },
          {
            "name": "lane",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "PRIMARY",
                    "SECONDARY",
                    "MIDPOINT_WATCH"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Lane"
            }
          },
          {
            "name": "dte_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 1100,
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Dte Min"
            }
          },
          {
            "name": "dte_max",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 1100,
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Dte Max"
            }
          },
          {
            "name": "apy_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "maximum": 400,
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Apy Min"
            }
          },
          {
            "name": "published_only",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Published Only"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "enum": [
                "score",
                "cushion",
                "return",
                "apy",
                "dte",
                "low_52w",
                "target_cost"
              ],
              "type": "string",
              "description": "target_cost: cheapest natural cost per $1 of payoff at target_move_pct first (needs target_move_pct).",
              "default": "score",
              "title": "Sort"
            },
            "description": "target_cost: cheapest natural cost per $1 of payoff at target_move_pct first (needs target_move_pct)."
          },
          {
            "name": "structure",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "call_debit",
                    "put_credit",
                    "put_debit",
                    "call_credit"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Structure"
            }
          },
          {
            "name": "exh",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "release",
                    "recent",
                    "seller_zone"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Exh"
            }
          },
          {
            "name": "best_per_symbol",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Keep only each symbol's top row under the chosen sort.",
              "default": false,
              "title": "Best Per Symbol"
            },
            "description": "Keep only each symbol's top row under the chosen sort."
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 250,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "schema": {
              "enum": [
                "asc",
                "desc"
              ],
              "type": "string",
              "default": "asc",
              "title": "Order"
            }
          },
          {
            "name": "book",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "long",
                    "short",
                    "leaps"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "long (default): the 90-400 DTE book. short: the display-only 1-45 DTE book, screened from the 20c chain handoff, gated and ranked on friction_share_pct (lowest first). leaps: every listed expiry from 401 to 1,100 DTE, same gates and rank as long. A short or LEAPS dte_bucket implies its book.",
              "title": "Book"
            },
            "description": "long (default): the 90-400 DTE book. short: the display-only 1-45 DTE book, screened from the 20c chain handoff, gated and ranked on friction_share_pct (lowest first). leaps: every listed expiry from 401 to 1,100 DTE, same gates and rank as long. A short or LEAPS dte_bucket implies its book."
          },
          {
            "name": "dte_bucket",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "1_7",
                    "8_21",
                    "22_45",
                    "90_149",
                    "150_210",
                    "211_300",
                    "301_400",
                    "401_600",
                    "601_800",
                    "801_1100"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Dte Bucket"
            }
          },
          {
            "name": "symbols",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 640
                },
                {
                  "type": "null"
                }
              ],
              "description": "Comma-separated tickers (at most 40): keep only these names, for comparing a theme or ticker set.",
              "title": "Symbols"
            },
            "description": "Comma-separated tickers (at most 40): keep only these names, for comparing a theme or ticker set."
          },
          {
            "name": "target_move_pct",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "maximum": 500,
                  "minimum": -95
                },
                {
                  "type": "null"
                }
              ],
              "description": "Underlying move from spot, in percent (+20 = 20% higher). Fills target_price, target_payoff_usd and the cost per $1 of payoff at mid and natural on every row.",
              "title": "Target Move Pct"
            },
            "description": "Underlying move from spot, in percent (+20 = 20% higher). Fills target_price, target_payoff_usd and the cost per $1 of payoff at mid and natural on every row."
          },
          {
            "name": "target_price",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "exclusiveMinimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "description": "One ticker only (symbol= or a one-name symbols=): an exact underlying price target in dollars, used as given instead of target_move_pct.",
              "title": "Target Price"
            },
            "description": "One ticker only (symbol= or a one-name symbols=): an exact underlying price target in dollars, used as given instead of target_move_pct."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpportunityPage"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Canonical /api/v1 alias of /bff/api/bear-spreads/opportunities."
      }
    },
    "/bff/api/bear-spreads/runs": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Bear Hold Spread Runs",
        "operationId": "bear_hold_spread_runs_api_bear_spreads_runs_get",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 250,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RunPage"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Legacy BFF prefix; prefer /api/v1 (same handlers)."
      }
    },
    "/api/v1/bear-spreads/runs": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Bear Hold Spread Runs",
        "operationId": "bear_hold_spread_runs_api_bear_spreads_runs_get_v1",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 250,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RunPage"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Canonical /api/v1 alias of /bff/api/bear-spreads/runs."
      }
    },
    "/bff/api/bear-spreads/outcomes": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Bear Hold Spread Outcomes",
        "operationId": "bear_hold_spread_outcomes_api_bear_spreads_outcomes_get",
        "parameters": [
          {
            "name": "symbol",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 15
                },
                {
                  "type": "null"
                }
              ],
              "title": "Symbol"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "scored",
                    "missing"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Status"
            }
          },
          {
            "name": "horizon",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 32
                },
                {
                  "type": "null"
                }
              ],
              "title": "Horizon"
            }
          },
          {
            "name": "entry_model",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "mid",
                    "mid_minus_25pct_spread",
                    "natural"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Entry Model"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 250,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "name": "book",
            "in": "query",
            "required": false,
            "schema": {
              "enum": [
                "long",
                "short",
                "leaps"
              ],
              "type": "string",
              "description": "long (default), the observe-only 1-45 DTE book, or the 401-1,100 DTE LEAPS rows (no board selections, so expiry results only).",
              "default": "long",
              "title": "Book"
            },
            "description": "long (default), the observe-only 1-45 DTE book, or the 401-1,100 DTE LEAPS rows (no board selections, so expiry results only)."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutcomePage"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Legacy BFF prefix; prefer /api/v1 (same handlers)."
      }
    },
    "/api/v1/bear-spreads/outcomes": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Bear Hold Spread Outcomes",
        "operationId": "bear_hold_spread_outcomes_api_bear_spreads_outcomes_get_v1",
        "parameters": [
          {
            "name": "symbol",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 15
                },
                {
                  "type": "null"
                }
              ],
              "title": "Symbol"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "scored",
                    "missing"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Status"
            }
          },
          {
            "name": "horizon",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 32
                },
                {
                  "type": "null"
                }
              ],
              "title": "Horizon"
            }
          },
          {
            "name": "entry_model",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "mid",
                    "mid_minus_25pct_spread",
                    "natural"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Entry Model"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 250,
              "minimum": 1,
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "name": "book",
            "in": "query",
            "required": false,
            "schema": {
              "enum": [
                "long",
                "short",
                "leaps"
              ],
              "type": "string",
              "description": "long (default), the observe-only 1-45 DTE book, or the 401-1,100 DTE LEAPS rows (no board selections, so expiry results only).",
              "default": "long",
              "title": "Book"
            },
            "description": "long (default), the observe-only 1-45 DTE book, or the 401-1,100 DTE LEAPS rows (no board selections, so expiry results only)."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutcomePage"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Canonical /api/v1 alias of /bff/api/bear-spreads/outcomes."
      }
    },
    "/bff/api/cash-secured-puts/summary": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Summary",
        "description": "[public] Return the latest complete canonical research publication. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "cash_secured_put_summary",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncomeOptionSummary"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/v1/cash-secured-puts/summary": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Summary",
        "description": "[public] Return the latest complete canonical research publication. Canonical /api/v1 alias of /bff/api/cash-secured-puts/summary.",
        "operationId": "cash_secured_put_summary_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncomeOptionSummary"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/bff/api/cash-secured-puts/opportunities": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Opportunities",
        "description": "[public] Return filterable quote observations from one canonical run. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "cash_secured_put_opportunities",
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Date"
            }
          },
          {
            "name": "symbol",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 15
                },
                {
                  "type": "null"
                }
              ],
              "title": "Symbol"
            }
          },
          {
            "name": "sleeve",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "near",
                    "mid",
                    "far",
                    "deep"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Sleeve"
            }
          },
          {
            "name": "asset_class",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "stock",
                    "etf"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Asset Class"
            }
          },
          {
            "name": "dte_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 60,
                  "minimum": 7
                },
                {
                  "type": "null"
                }
              ],
              "title": "Dte Min"
            }
          },
          {
            "name": "dte_max",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 60,
                  "minimum": 7
                },
                {
                  "type": "null"
                }
              ],
              "title": "Dte Max"
            }
          },
          {
            "name": "apy_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "maximum": 400,
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Apy Min"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "enum": [
                "score",
                "cushion",
                "premium",
                "apy",
                "dte",
                "oi",
                "low_52w",
                "otm_im",
                "assign_prob",
                "delta"
              ],
              "type": "string",
              "default": "score",
              "title": "Sort"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 250,
              "minimum": 1,
              "default": 25,
              "title": "Limit"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "name": "best_per_symbol",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Best Per Symbol"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "schema": {
              "enum": [
                "asc",
                "desc"
              ],
              "type": "string",
              "default": "asc",
              "title": "Order"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncomeOpportunityPage"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/v1/cash-secured-puts/opportunities": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Opportunities",
        "description": "[public] Return filterable quote observations from one canonical run. Canonical /api/v1 alias of /bff/api/cash-secured-puts/opportunities.",
        "operationId": "cash_secured_put_opportunities_v1",
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Date"
            }
          },
          {
            "name": "symbol",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 15
                },
                {
                  "type": "null"
                }
              ],
              "title": "Symbol"
            }
          },
          {
            "name": "sleeve",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "near",
                    "mid",
                    "far",
                    "deep"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Sleeve"
            }
          },
          {
            "name": "asset_class",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "stock",
                    "etf"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Asset Class"
            }
          },
          {
            "name": "dte_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 60,
                  "minimum": 7
                },
                {
                  "type": "null"
                }
              ],
              "title": "Dte Min"
            }
          },
          {
            "name": "dte_max",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 60,
                  "minimum": 7
                },
                {
                  "type": "null"
                }
              ],
              "title": "Dte Max"
            }
          },
          {
            "name": "apy_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "maximum": 400,
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Apy Min"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "enum": [
                "score",
                "cushion",
                "premium",
                "apy",
                "dte",
                "oi",
                "low_52w",
                "otm_im",
                "assign_prob",
                "delta"
              ],
              "type": "string",
              "default": "score",
              "title": "Sort"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 250,
              "minimum": 1,
              "default": 25,
              "title": "Limit"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "name": "best_per_symbol",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Best Per Symbol"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "schema": {
              "enum": [
                "asc",
                "desc"
              ],
              "type": "string",
              "default": "asc",
              "title": "Order"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncomeOpportunityPage"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/bff/api/cash-secured-puts/runs": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Runs",
        "description": "[public] Return immutable canonical publication history. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "cash_secured_put_runs",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 250,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncomeRunPage"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/v1/cash-secured-puts/runs": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Runs",
        "description": "[public] Return immutable canonical publication history. Canonical /api/v1 alias of /bff/api/cash-secured-puts/runs.",
        "operationId": "cash_secured_put_runs_v1",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 250,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncomeRunPage"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/bff/api/covered-calls/summary": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Summary",
        "description": "[public] Return the latest complete canonical research publication. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "covered_call_summary",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncomeOptionSummary"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/v1/covered-calls/summary": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Summary",
        "description": "[public] Return the latest complete canonical research publication. Canonical /api/v1 alias of /bff/api/covered-calls/summary.",
        "operationId": "covered_call_summary_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncomeOptionSummary"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/bff/api/covered-calls/opportunities": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Opportunities",
        "description": "[public] Return filterable quote observations from one canonical run. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "covered_call_opportunities",
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Date"
            }
          },
          {
            "name": "symbol",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 15
                },
                {
                  "type": "null"
                }
              ],
              "title": "Symbol"
            }
          },
          {
            "name": "sleeve",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "near",
                    "mid",
                    "far",
                    "deep"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Sleeve"
            }
          },
          {
            "name": "asset_class",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "stock",
                    "etf"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Asset Class"
            }
          },
          {
            "name": "dte_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 60,
                  "minimum": 7
                },
                {
                  "type": "null"
                }
              ],
              "title": "Dte Min"
            }
          },
          {
            "name": "dte_max",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 60,
                  "minimum": 7
                },
                {
                  "type": "null"
                }
              ],
              "title": "Dte Max"
            }
          },
          {
            "name": "apy_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "maximum": 400,
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Apy Min"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "enum": [
                "score",
                "cushion",
                "premium",
                "apy",
                "dte",
                "oi",
                "low_52w",
                "otm_im",
                "assign_prob",
                "delta"
              ],
              "type": "string",
              "default": "score",
              "title": "Sort"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 250,
              "minimum": 1,
              "default": 25,
              "title": "Limit"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "name": "best_per_symbol",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Best Per Symbol"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "schema": {
              "enum": [
                "asc",
                "desc"
              ],
              "type": "string",
              "default": "asc",
              "title": "Order"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncomeOpportunityPage"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/v1/covered-calls/opportunities": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Opportunities",
        "description": "[public] Return filterable quote observations from one canonical run. Canonical /api/v1 alias of /bff/api/covered-calls/opportunities.",
        "operationId": "covered_call_opportunities_v1",
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Date"
            }
          },
          {
            "name": "symbol",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 15
                },
                {
                  "type": "null"
                }
              ],
              "title": "Symbol"
            }
          },
          {
            "name": "sleeve",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "near",
                    "mid",
                    "far",
                    "deep"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Sleeve"
            }
          },
          {
            "name": "asset_class",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "stock",
                    "etf"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Asset Class"
            }
          },
          {
            "name": "dte_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 60,
                  "minimum": 7
                },
                {
                  "type": "null"
                }
              ],
              "title": "Dte Min"
            }
          },
          {
            "name": "dte_max",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 60,
                  "minimum": 7
                },
                {
                  "type": "null"
                }
              ],
              "title": "Dte Max"
            }
          },
          {
            "name": "apy_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "maximum": 400,
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Apy Min"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "enum": [
                "score",
                "cushion",
                "premium",
                "apy",
                "dte",
                "oi",
                "low_52w",
                "otm_im",
                "assign_prob",
                "delta"
              ],
              "type": "string",
              "default": "score",
              "title": "Sort"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 250,
              "minimum": 1,
              "default": 25,
              "title": "Limit"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "name": "best_per_symbol",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Best Per Symbol"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "schema": {
              "enum": [
                "asc",
                "desc"
              ],
              "type": "string",
              "default": "asc",
              "title": "Order"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncomeOpportunityPage"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/bff/api/covered-calls/runs": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Runs",
        "description": "[public] Return immutable canonical publication history. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "covered_call_runs",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 250,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncomeRunPage"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/v1/covered-calls/runs": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Runs",
        "description": "[public] Return immutable canonical publication history. Canonical /api/v1 alias of /bff/api/covered-calls/runs.",
        "operationId": "covered_call_runs_v1",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 250,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncomeRunPage"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/bff/api/long-puts/summary": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Summary",
        "description": "[public] Return the latest complete canonical research publication. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "long_put_summary",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LongOptionSummary"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/v1/long-puts/summary": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Summary",
        "description": "[public] Return the latest complete canonical research publication. Canonical /api/v1 alias of /bff/api/long-puts/summary.",
        "operationId": "long_put_summary_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LongOptionSummary"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/bff/api/long-puts/opportunities": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Opportunities",
        "description": "[public] Return filterable quote observations from one canonical run. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "long_put_opportunities",
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Date"
            }
          },
          {
            "name": "symbol",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 15
                },
                {
                  "type": "null"
                }
              ],
              "title": "Symbol"
            }
          },
          {
            "name": "sleeve",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "near",
                    "mid",
                    "far",
                    "deep",
                    "atm"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Sleeve"
            }
          },
          {
            "name": "asset_class",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "stock",
                    "etf"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Asset Class"
            }
          },
          {
            "name": "dte_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 540,
                  "minimum": 21
                },
                {
                  "type": "null"
                }
              ],
              "title": "Dte Min"
            }
          },
          {
            "name": "dte_max",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 540,
                  "minimum": 21
                },
                {
                  "type": "null"
                }
              ],
              "title": "Dte Max"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "enum": [
                "score",
                "rr",
                "target",
                "double",
                "debit_im",
                "be_im",
                "iv_premium",
                "dte",
                "oi",
                "low_52w",
                "strike_im",
                "finish_itm_prob",
                "delta"
              ],
              "type": "string",
              "default": "score",
              "title": "Sort"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 250,
              "minimum": 1,
              "default": 25,
              "title": "Limit"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "name": "best_per_symbol",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Best Per Symbol"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "schema": {
              "enum": [
                "asc",
                "desc"
              ],
              "type": "string",
              "default": "asc",
              "title": "Order"
            }
          },
          {
            "name": "sleeves",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^(near|mid|far|deep|atm)(,(near|mid|far|deep|atm))*$"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Comma-separated sleeves, e.g. atm,near",
              "title": "Sleeves"
            },
            "description": "Comma-separated sleeves, e.g. atm,near"
          },
          {
            "name": "rr_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "maximum": 20,
                  "minimum": -1
                },
                {
                  "type": "null"
                }
              ],
              "title": "Rr Min"
            }
          },
          {
            "name": "target_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "maximum": 100,
                  "minimum": -1
                },
                {
                  "type": "null"
                }
              ],
              "title": "Target Min"
            }
          },
          {
            "name": "iv_rv_max",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "maximum": 10,
                  "exclusiveMinimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Iv Rv Max"
            }
          },
          {
            "name": "oi_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Oi Min"
            }
          },
          {
            "name": "fill_gap_max",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "maximum": 100,
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fill Gap Max"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LongOpportunityPage"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/v1/long-puts/opportunities": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Opportunities",
        "description": "[public] Return filterable quote observations from one canonical run. Canonical /api/v1 alias of /bff/api/long-puts/opportunities.",
        "operationId": "long_put_opportunities_v1",
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Date"
            }
          },
          {
            "name": "symbol",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 15
                },
                {
                  "type": "null"
                }
              ],
              "title": "Symbol"
            }
          },
          {
            "name": "sleeve",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "near",
                    "mid",
                    "far",
                    "deep",
                    "atm"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Sleeve"
            }
          },
          {
            "name": "asset_class",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "stock",
                    "etf"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Asset Class"
            }
          },
          {
            "name": "dte_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 540,
                  "minimum": 21
                },
                {
                  "type": "null"
                }
              ],
              "title": "Dte Min"
            }
          },
          {
            "name": "dte_max",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 540,
                  "minimum": 21
                },
                {
                  "type": "null"
                }
              ],
              "title": "Dte Max"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "enum": [
                "score",
                "rr",
                "target",
                "double",
                "debit_im",
                "be_im",
                "iv_premium",
                "dte",
                "oi",
                "low_52w",
                "strike_im",
                "finish_itm_prob",
                "delta"
              ],
              "type": "string",
              "default": "score",
              "title": "Sort"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 250,
              "minimum": 1,
              "default": 25,
              "title": "Limit"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "name": "best_per_symbol",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Best Per Symbol"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "schema": {
              "enum": [
                "asc",
                "desc"
              ],
              "type": "string",
              "default": "asc",
              "title": "Order"
            }
          },
          {
            "name": "sleeves",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^(near|mid|far|deep|atm)(,(near|mid|far|deep|atm))*$"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Comma-separated sleeves, e.g. atm,near",
              "title": "Sleeves"
            },
            "description": "Comma-separated sleeves, e.g. atm,near"
          },
          {
            "name": "rr_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "maximum": 20,
                  "minimum": -1
                },
                {
                  "type": "null"
                }
              ],
              "title": "Rr Min"
            }
          },
          {
            "name": "target_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "maximum": 100,
                  "minimum": -1
                },
                {
                  "type": "null"
                }
              ],
              "title": "Target Min"
            }
          },
          {
            "name": "iv_rv_max",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "maximum": 10,
                  "exclusiveMinimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Iv Rv Max"
            }
          },
          {
            "name": "oi_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Oi Min"
            }
          },
          {
            "name": "fill_gap_max",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "maximum": 100,
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fill Gap Max"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LongOpportunityPage"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/bff/api/long-puts/runs": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Runs",
        "description": "[public] Return immutable canonical publication history. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "long_put_runs",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 250,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LongRunPage"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/v1/long-puts/runs": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Runs",
        "description": "[public] Return immutable canonical publication history. Canonical /api/v1 alias of /bff/api/long-puts/runs.",
        "operationId": "long_put_runs_v1",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 250,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LongRunPage"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/bff/api/long-calls/summary": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Summary",
        "description": "[public] Return the latest complete canonical research publication. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "long_call_summary",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LongOptionSummary"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/v1/long-calls/summary": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Summary",
        "description": "[public] Return the latest complete canonical research publication. Canonical /api/v1 alias of /bff/api/long-calls/summary.",
        "operationId": "long_call_summary_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LongOptionSummary"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/bff/api/long-calls/opportunities": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Opportunities",
        "description": "[public] Return filterable quote observations from one canonical run. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "long_call_opportunities",
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Date"
            }
          },
          {
            "name": "symbol",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 15
                },
                {
                  "type": "null"
                }
              ],
              "title": "Symbol"
            }
          },
          {
            "name": "sleeve",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "near",
                    "mid",
                    "far",
                    "deep",
                    "atm"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Sleeve"
            }
          },
          {
            "name": "asset_class",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "stock",
                    "etf"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Asset Class"
            }
          },
          {
            "name": "dte_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 540,
                  "minimum": 21
                },
                {
                  "type": "null"
                }
              ],
              "title": "Dte Min"
            }
          },
          {
            "name": "dte_max",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 540,
                  "minimum": 21
                },
                {
                  "type": "null"
                }
              ],
              "title": "Dte Max"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "enum": [
                "score",
                "rr",
                "target",
                "double",
                "debit_im",
                "be_im",
                "iv_premium",
                "dte",
                "oi",
                "low_52w",
                "strike_im",
                "finish_itm_prob",
                "delta"
              ],
              "type": "string",
              "default": "score",
              "title": "Sort"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 250,
              "minimum": 1,
              "default": 25,
              "title": "Limit"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "name": "best_per_symbol",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Best Per Symbol"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "schema": {
              "enum": [
                "asc",
                "desc"
              ],
              "type": "string",
              "default": "asc",
              "title": "Order"
            }
          },
          {
            "name": "sleeves",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^(near|mid|far|deep|atm)(,(near|mid|far|deep|atm))*$"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Comma-separated sleeves, e.g. atm,near",
              "title": "Sleeves"
            },
            "description": "Comma-separated sleeves, e.g. atm,near"
          },
          {
            "name": "rr_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "maximum": 20,
                  "minimum": -1
                },
                {
                  "type": "null"
                }
              ],
              "title": "Rr Min"
            }
          },
          {
            "name": "target_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "maximum": 100,
                  "minimum": -1
                },
                {
                  "type": "null"
                }
              ],
              "title": "Target Min"
            }
          },
          {
            "name": "iv_rv_max",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "maximum": 10,
                  "exclusiveMinimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Iv Rv Max"
            }
          },
          {
            "name": "oi_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Oi Min"
            }
          },
          {
            "name": "fill_gap_max",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "maximum": 100,
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fill Gap Max"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LongOpportunityPage"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/v1/long-calls/opportunities": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Opportunities",
        "description": "[public] Return filterable quote observations from one canonical run. Canonical /api/v1 alias of /bff/api/long-calls/opportunities.",
        "operationId": "long_call_opportunities_v1",
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Date"
            }
          },
          {
            "name": "symbol",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 15
                },
                {
                  "type": "null"
                }
              ],
              "title": "Symbol"
            }
          },
          {
            "name": "sleeve",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "near",
                    "mid",
                    "far",
                    "deep",
                    "atm"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Sleeve"
            }
          },
          {
            "name": "asset_class",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "stock",
                    "etf"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Asset Class"
            }
          },
          {
            "name": "dte_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 540,
                  "minimum": 21
                },
                {
                  "type": "null"
                }
              ],
              "title": "Dte Min"
            }
          },
          {
            "name": "dte_max",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 540,
                  "minimum": 21
                },
                {
                  "type": "null"
                }
              ],
              "title": "Dte Max"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "enum": [
                "score",
                "rr",
                "target",
                "double",
                "debit_im",
                "be_im",
                "iv_premium",
                "dte",
                "oi",
                "low_52w",
                "strike_im",
                "finish_itm_prob",
                "delta"
              ],
              "type": "string",
              "default": "score",
              "title": "Sort"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 250,
              "minimum": 1,
              "default": 25,
              "title": "Limit"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "name": "best_per_symbol",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Best Per Symbol"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "schema": {
              "enum": [
                "asc",
                "desc"
              ],
              "type": "string",
              "default": "asc",
              "title": "Order"
            }
          },
          {
            "name": "sleeves",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^(near|mid|far|deep|atm)(,(near|mid|far|deep|atm))*$"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Comma-separated sleeves, e.g. atm,near",
              "title": "Sleeves"
            },
            "description": "Comma-separated sleeves, e.g. atm,near"
          },
          {
            "name": "rr_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "maximum": 20,
                  "minimum": -1
                },
                {
                  "type": "null"
                }
              ],
              "title": "Rr Min"
            }
          },
          {
            "name": "target_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "maximum": 100,
                  "minimum": -1
                },
                {
                  "type": "null"
                }
              ],
              "title": "Target Min"
            }
          },
          {
            "name": "iv_rv_max",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "maximum": 10,
                  "exclusiveMinimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Iv Rv Max"
            }
          },
          {
            "name": "oi_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Oi Min"
            }
          },
          {
            "name": "fill_gap_max",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "maximum": 100,
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Fill Gap Max"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LongOpportunityPage"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/bff/api/long-calls/runs": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Runs",
        "description": "[public] Return immutable canonical publication history. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "long_call_runs",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 250,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LongRunPage"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/v1/long-calls/runs": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Runs",
        "description": "[public] Return immutable canonical publication history. Canonical /api/v1 alias of /bff/api/long-calls/runs.",
        "operationId": "long_call_runs_v1",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 250,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LongRunPage"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/bff/api/universes/maps": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Universe Maps",
        "description": "[public] Ticker rename map + delisted symbols for point-in-time panel hygiene. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "universe_maps_api_universes_maps_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Response Universe Maps Api Universes Maps Get"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/v1/universes/maps": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Universe Maps",
        "description": "[public] Ticker rename map + delisted symbols for point-in-time panel hygiene. Canonical /api/v1 alias of /bff/api/universes/maps.",
        "operationId": "universe_maps_api_universes_maps_get_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Response Universe Maps Api Universes Maps Get"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/bff/api/universes/{name}/months": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Universe Months",
        "description": "[public] Available YYYY-MM months for a research universe seed. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "universe_months_api_universes__name__months_get",
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Name"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Universe Months Api Universes  Name  Months Get"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/v1/universes/{name}/months": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Universe Months",
        "description": "[public] Available YYYY-MM months for a research universe seed. Canonical /api/v1 alias of /bff/api/universes/{name}/months.",
        "operationId": "universe_months_api_universes__name__months_get_v1",
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Name"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Universe Months Api Universes  Name  Months Get"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/bff/api/universes/{name}": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Universe Membership",
        "description": "[public] Point-in-time SPY25 or SP500 monthly membership (survivorship-free panel). Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "universe_membership_api_universes__name__get",
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Name"
            }
          },
          {
            "name": "asof",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "YYYY-MM; default = latest",
              "title": "Asof"
            },
            "description": "YYYY-MM; default = latest"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Universe Membership Api Universes  Name  Get"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/v1/universes/{name}": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Universe Membership",
        "description": "[public] Point-in-time SPY25 or SP500 monthly membership (survivorship-free panel). Canonical /api/v1 alias of /bff/api/universes/{name}.",
        "operationId": "universe_membership_api_universes__name__get_v1",
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Name"
            }
          },
          {
            "name": "asof",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "YYYY-MM; default = latest",
              "title": "Asof"
            },
            "description": "YYYY-MM; default = latest"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Universe Membership Api Universes  Name  Get"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/bff/api/hmm/history": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Market regime history",
        "description": "[public] Daily market-regime history. Public capped to ~1y; Research+ unlocks full series. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "hmm_history_api_hmm_history_get",
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "YYYY-MM-DD inclusive",
              "title": "Start"
            },
            "description": "YYYY-MM-DD inclusive"
          },
          {
            "name": "end",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "YYYY-MM-DD inclusive",
              "title": "End"
            },
            "description": "YYYY-MM-DD inclusive"
          },
          {
            "name": "full",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Request full history (requires Research+ via BFF)",
              "default": false,
              "title": "Full"
            },
            "description": "Request full history (requires Research+ via BFF)"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HmmHistoryResponse"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "402": {
            "description": "Range is outside the free window, or full=1 without Research.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "end is before start.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/v1/hmm/history": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Market regime history",
        "description": "[public] Daily market-regime history. Public capped to ~1y; Research+ unlocks full series. Canonical /api/v1 alias of /bff/api/hmm/history.",
        "operationId": "hmm_history_api_hmm_history_get_v1",
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "YYYY-MM-DD inclusive",
              "title": "Start"
            },
            "description": "YYYY-MM-DD inclusive"
          },
          {
            "name": "end",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "YYYY-MM-DD inclusive",
              "title": "End"
            },
            "description": "YYYY-MM-DD inclusive"
          },
          {
            "name": "full",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Request full history (requires Research+ via BFF)",
              "default": false,
              "title": "Full"
            },
            "description": "Request full history (requires Research+ via BFF)"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HmmHistoryResponse"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "402": {
            "description": "Range is outside the free window, or full=1 without Research.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "end is before start.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/bff/api/schema/metrics": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Schema Metrics",
        "description": "[public] Public screener metric dictionary (UI id \u2194 API key + tips). Definitions only. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "schema_metrics_api_schema_metrics_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Response Schema Metrics Api Schema Metrics Get"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/v1/schema/metrics": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Schema Metrics",
        "description": "[public] Public screener metric dictionary (UI id \u2194 API key + tips). Definitions only. Canonical /api/v1 alias of /bff/api/schema/metrics.",
        "operationId": "schema_metrics_api_schema_metrics_get_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Response Schema Metrics Api Schema Metrics Get"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/bff/api/schema/presets": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Schema Presets",
        "description": "[public] Public screener preset filter packs (no ranked rows). Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "schema_presets_api_schema_presets_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Response Schema Presets Api Schema Presets Get"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/v1/schema/presets": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Schema Presets",
        "description": "[public] Public screener preset filter packs (no ranked rows). Canonical /api/v1 alias of /bff/api/schema/presets.",
        "operationId": "schema_presets_api_schema_presets_get_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Response Schema Presets Api Schema Presets Get"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/bff/api/schema/scopes": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Schema Scopes",
        "description": "[public] Public screener scope vocabulary (asset / curated / sector / universe). Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "schema_scopes_api_schema_scopes_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Response Schema Scopes Api Schema Scopes Get"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/v1/schema/scopes": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Schema Scopes",
        "description": "[public] Public screener scope vocabulary (asset / curated / sector / universe). Canonical /api/v1 alias of /bff/api/schema/scopes.",
        "operationId": "schema_scopes_api_schema_scopes_get_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Response Schema Scopes Api Schema Scopes Get"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/bff/api/schema/screener": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Schema Screener Bundle",
        "description": "[public] Full public screener schema bundle (metrics + presets + scopes + partitions). Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "schema_screener_bundle_api_schema_screener_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Response Schema Screener Bundle Api Schema Screener Get"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/v1/schema/screener": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Schema Screener Bundle",
        "description": "[public] Full public screener schema bundle (metrics + presets + scopes + partitions). Canonical /api/v1 alias of /bff/api/schema/screener.",
        "operationId": "schema_screener_bundle_api_schema_screener_get_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Response Schema Screener Bundle Api Schema Screener Get"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": []
      }
    },
    "/bff/api/research/chat/quota": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Research Chat Quota",
        "operationId": "research_chat_quota_api_research_chat_quota_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Legacy BFF prefix; prefer /api/v1 (same handlers)."
      }
    },
    "/api/v1/research/chat/quota": {
      "get": {
        "tags": [
          "public"
        ],
        "summary": "Research Chat Quota",
        "operationId": "research_chat_quota_api_research_chat_quota_get_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Canonical /api/v1 alias of /bff/api/research/chat/quota."
      }
    },
    "/bff/api/research/chat": {
      "post": {
        "tags": [
          "public"
        ],
        "summary": "Research Chat",
        "operationId": "research_chat_api_research_chat_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChatRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Legacy BFF prefix; prefer /api/v1 (same handlers)."
      }
    },
    "/api/v1/research/chat": {
      "post": {
        "tags": [
          "public"
        ],
        "summary": "Research Chat",
        "operationId": "research_chat_api_research_chat_post_v1",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChatRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "security": [],
        "description": "[public] Canonical /api/v1 alias of /bff/api/research/chat."
      }
    },
    "/bff/api/healthz": {
      "get": {
        "summary": "Healthz",
        "operationId": "healthz_api_healthz_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": [],
        "description": "[public] Legacy BFF prefix; prefer /api/v1 (same handlers)."
      }
    },
    "/api/v1/healthz": {
      "get": {
        "summary": "Healthz",
        "operationId": "healthz_api_healthz_get_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": [],
        "description": "[public] Canonical /api/v1 alias of /bff/api/healthz."
      }
    },
    "/bff/api/bigfive/search": {
      "get": {
        "summary": "Bigfive Search",
        "description": "[public] Lightweight ticker search. returns [{symbol, name}] for autocomplete. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "bigfive_search_api_bigfive_search_get",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "",
              "title": "Q"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 8,
              "title": "Limit"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SearchHit"
                  },
                  "title": "Response Bigfive Search Api Bigfive Search Get"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/api/v1/bigfive/search": {
      "get": {
        "summary": "Bigfive Search",
        "description": "[public] Lightweight ticker search. returns [{symbol, name}] for autocomplete. Canonical /api/v1 alias of /bff/api/bigfive/search.",
        "operationId": "bigfive_search_api_bigfive_search_get_v1",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "",
              "title": "Q"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 8,
              "title": "Limit"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SearchHit"
                  },
                  "title": "Response Bigfive Search Api Bigfive Search Get"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/bff/api/bigfive/universe-version": {
      "get": {
        "summary": "Bigfive Universe Version",
        "description": "[public] Cheap rollover probe; never serializes or waits on universe payloads. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "bigfive_universe_version_api_bigfive_universe_version_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "304": {
            "description": "Universe version unchanged"
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/api/v1/bigfive/universe-version": {
      "get": {
        "summary": "Bigfive Universe Version",
        "description": "[public] Cheap rollover probe; never serializes or waits on universe payloads. Canonical /api/v1 alias of /bff/api/bigfive/universe-version.",
        "operationId": "bigfive_universe_version_api_bigfive_universe_version_get_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "304": {
            "description": "Universe version unchanged"
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/bff/api/bigfive/showcase": {
      "get": {
        "summary": "Bigfive Showcase",
        "description": "[public] Public showcase allowlist: full signal rows for homepage cards. Fat on purpose (advertising), not a desk leak. No auth required. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "bigfive_showcase_api_bigfive_showcase_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/api/v1/bigfive/showcase": {
      "get": {
        "summary": "Bigfive Showcase",
        "description": "[public] Public showcase allowlist: full signal rows for homepage cards. Fat on purpose (advertising), not a desk leak. No auth required. Canonical /api/v1 alias of /bff/api/bigfive/showcase.",
        "operationId": "bigfive_showcase_api_bigfive_showcase_get_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/bff/api/bigfive/showcase-sparkline/{symbol}": {
      "get": {
        "summary": "Bigfive Showcase Sparkline",
        "description": "[public] Public sparkline for showcase tickers only. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "bigfive_showcase_sparkline_api_bigfive_showcase_sparkline__symbol__get",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          },
          {
            "name": "days",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 120,
              "title": "Days"
            }
          },
          {
            "name": "tf",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "daily",
              "title": "Tf"
            }
          },
          {
            "name": "range",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Range"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/api/v1/bigfive/showcase-sparkline/{symbol}": {
      "get": {
        "summary": "Bigfive Showcase Sparkline",
        "description": "[public] Public sparkline for showcase tickers only. Canonical /api/v1 alias of /bff/api/bigfive/showcase-sparkline/{symbol}.",
        "operationId": "bigfive_showcase_sparkline_api_bigfive_showcase_sparkline__symbol__get_v1",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          },
          {
            "name": "days",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 120,
              "title": "Days"
            }
          },
          {
            "name": "tf",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "daily",
              "title": "Tf"
            }
          },
          {
            "name": "range",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Range"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/bff/api/bigfive/benchmark-sparkline/{symbol}": {
      "get": {
        "summary": "Bigfive Benchmark Sparkline",
        "description": "[public] Public monthly sparkline for the SD50 compare-chart benchmark ETFs. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "bigfive_benchmark_sparkline_api_bigfive_benchmark_sparkline__symbol__get",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          },
          {
            "name": "days",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 7600,
              "title": "Days"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/api/v1/bigfive/benchmark-sparkline/{symbol}": {
      "get": {
        "summary": "Bigfive Benchmark Sparkline",
        "description": "[public] Public monthly sparkline for the SD50 compare-chart benchmark ETFs. Canonical /api/v1 alias of /bff/api/bigfive/benchmark-sparkline/{symbol}.",
        "operationId": "bigfive_benchmark_sparkline_api_bigfive_benchmark_sparkline__symbol__get_v1",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          },
          {
            "name": "days",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 7600,
              "title": "Days"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/bff/api/bigfive/compare-series": {
      "get": {
        "summary": "Bigfive Compare Series",
        "description": "[public] Public total-return closes (tape \u00d7 FMP dividends) for the /vs page. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "bigfive_compare_series_api_bigfive_compare_series_get",
        "parameters": [
          {
            "name": "symbols",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Comma-separated tickers, max 8",
              "title": "Symbols"
            },
            "description": "Comma-separated tickers, max 8"
          },
          {
            "name": "days",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 5000,
              "minimum": 2,
              "default": 30,
              "title": "Days"
            }
          },
          {
            "name": "range",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Range"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/api/v1/bigfive/compare-series": {
      "get": {
        "summary": "Bigfive Compare Series",
        "description": "[public] Public total-return closes (tape \u00d7 FMP dividends) for the /vs page. Canonical /api/v1 alias of /bff/api/bigfive/compare-series.",
        "operationId": "bigfive_compare_series_api_bigfive_compare_series_get_v1",
        "parameters": [
          {
            "name": "symbols",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Comma-separated tickers, max 8",
              "title": "Symbols"
            },
            "description": "Comma-separated tickers, max 8"
          },
          {
            "name": "days",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 5000,
              "minimum": 2,
              "default": 30,
              "title": "Days"
            }
          },
          {
            "name": "range",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Range"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/bff/api/bigfive/universe-preview": {
      "get": {
        "summary": "Bigfive Universe Preview",
        "description": "[public] Public free-tier preview. Returns the same row shape as `/universe` but filtered to SPY25 watchlist members, with an `is_preview` flag and a `locked_count` the UI can render as \"N more rows locked\" / CTA. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "bigfive_universe_preview_api_bigfive_universe_preview_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/api/v1/bigfive/universe-preview": {
      "get": {
        "summary": "Bigfive Universe Preview",
        "description": "[public] Public free-tier preview. Returns the same row shape as `/universe` but filtered to SPY25 watchlist members, with an `is_preview` flag and a `locked_count` the UI can render as \"N more rows locked\" / CTA. Canonical /api/v1 alias of /bff/api/bigfive/universe-preview.",
        "operationId": "bigfive_universe_preview_api_bigfive_universe_preview_get_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/bff/api/bigfive/live-quotes": {
      "post": {
        "summary": "Bigfive Live Quotes",
        "description": "[freemium] Batch-fetch live prices. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "bigfive_live_quotes_api_bigfive_live_quotes_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SymbolBatchBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "freemium"
        ],
        "security": []
      }
    },
    "/api/v1/bigfive/live-quotes": {
      "post": {
        "summary": "Bigfive Live Quotes",
        "description": "[freemium] Batch-fetch live prices. Canonical /api/v1 alias of /bff/api/bigfive/live-quotes.",
        "operationId": "bigfive_live_quotes_api_bigfive_live_quotes_post_v1",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SymbolBatchBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "freemium"
        ],
        "security": []
      }
    },
    "/bff/api/market/overview": {
      "get": {
        "summary": "Market Overview",
        "description": "[public] Single payload with headline indices, sector performance, and movers. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "market_overview_api_market_overview_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/api/v1/market/overview": {
      "get": {
        "summary": "Market Overview",
        "description": "[public] Single payload with headline indices, sector performance, and movers. Canonical /api/v1 alias of /bff/api/market/overview.",
        "operationId": "market_overview_api_market_overview_get_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/bff/api/market/indices": {
      "get": {
        "summary": "Market Indices",
        "description": "[public] Just the headline index quotes. lighter payload for the top bar. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "market_indices_api_market_indices_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/api/v1/market/indices": {
      "get": {
        "summary": "Market Indices",
        "description": "[public] Just the headline index quotes. lighter payload for the top bar. Canonical /api/v1 alias of /bff/api/market/indices.",
        "operationId": "market_indices_api_market_indices_get_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/bff/api/market/exchange-hours": {
      "get": {
        "summary": "Market Exchange Hours",
        "description": "[public] Open/closed state + today's hours for every global exchange. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "market_exchange_hours_api_market_exchange_hours_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/api/v1/market/exchange-hours": {
      "get": {
        "summary": "Market Exchange Hours",
        "description": "[public] Open/closed state + today's hours for every global exchange. Canonical /api/v1 alias of /bff/api/market/exchange-hours.",
        "operationId": "market_exchange_hours_api_market_exchange_hours_get_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/bff/api/market/heatmap": {
      "get": {
        "summary": "Market Heatmap",
        "description": "[public] Finviz-style treemap payload for an index, desk, or asset-class scope. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "market_heatmap_api_market_heatmap_get",
        "parameters": [
          {
            "name": "index",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "sp500",
              "title": "Index"
            }
          },
          {
            "name": "period",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "1d",
              "title": "Period"
            }
          },
          {
            "name": "shape",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "full",
              "title": "Shape"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      },
      "post": {
        "summary": "Market Heatmap Watchlist",
        "description": "[public] Build a heatmap from an arbitrary symbol list (personal watchlist). Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "market_heatmap_watchlist_api_market_heatmap_post",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/api/v1/market/heatmap": {
      "get": {
        "summary": "Market Heatmap",
        "description": "[public] Finviz-style treemap payload for an index, desk, or asset-class scope. Canonical /api/v1 alias of /bff/api/market/heatmap.",
        "operationId": "market_heatmap_api_market_heatmap_get_v1",
        "parameters": [
          {
            "name": "index",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "sp500",
              "title": "Index"
            }
          },
          {
            "name": "period",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "1d",
              "title": "Period"
            }
          },
          {
            "name": "shape",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "full",
              "title": "Shape"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      },
      "post": {
        "summary": "Market Heatmap Watchlist",
        "description": "[public] Build a heatmap from an arbitrary symbol list (personal watchlist). Canonical /api/v1 alias of /bff/api/market/heatmap.",
        "operationId": "market_heatmap_watchlist_api_market_heatmap_post_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/bff/api/market/treasury-rates": {
      "get": {
        "summary": "Market Treasury Rates",
        "description": "[public] US Treasury yield curve (1M\u201330Y) from the poller cache. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "market_treasury_rates_api_market_treasury_rates_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/api/v1/market/treasury-rates": {
      "get": {
        "summary": "Market Treasury Rates",
        "description": "[public] US Treasury yield curve (1M\u201330Y) from the poller cache. Canonical /api/v1 alias of /bff/api/market/treasury-rates.",
        "operationId": "market_treasury_rates_api_market_treasury_rates_get_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/bff/api/bigfive/signal-ledger": {
      "get": {
        "summary": "Bigfive Signal Ledger",
        "description": "[public] Public track-record ledger: every auto-published blog call priced from the nightly daily pickles, with rule-based exits and aggregates. Zero auth \u2014 registered in the BFF PUBLIC_PATHS list; the /track-record page SSRs... Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "bigfive_signal_ledger_api_bigfive_signal_ledger_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/api/v1/bigfive/signal-ledger": {
      "get": {
        "summary": "Bigfive Signal Ledger",
        "description": "[public] Public track-record ledger: every auto-published blog call priced from the nightly daily pickles, with rule-based exits and aggregates. Zero auth \u2014 registered in the BFF PUBLIC_PATHS list; the /track-record page SSRs... Canonical /api/v1 alias of /bff/api/bigfive/signal-ledger.",
        "operationId": "bigfive_signal_ledger_api_bigfive_signal_ledger_get_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/bff/api/bigfive/signal-history": {
      "get": {
        "summary": "Bigfive Signal History",
        "description": "[public] Public systematic signal-history aggregates (backtest layer of /track-record): White Arrow entry/exit calls, Regime round trips, Fixed-horizon Exhaustion events, and qualified net-cost Best Combo round trips as (year... Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "bigfive_signal_history_api_bigfive_signal_history_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/api/v1/bigfive/signal-history": {
      "get": {
        "summary": "Bigfive Signal History",
        "description": "[public] Public systematic signal-history aggregates (backtest layer of /track-record): White Arrow entry/exit calls, Regime round trips, Fixed-horizon Exhaustion events, and qualified net-cost Best Combo round trips as (year... Canonical /api/v1 alias of /bff/api/bigfive/signal-history.",
        "operationId": "bigfive_signal_history_api_bigfive_signal_history_get_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/bff/api/market/news": {
      "get": {
        "summary": "Market News",
        "description": "[public] General market news headlines, served from the SQLite cache. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "market_news_api_market_news_get",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "default": 10,
              "title": "Limit"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/api/v1/market/news": {
      "get": {
        "summary": "Market News",
        "description": "[public] General market news headlines, served from the SQLite cache. Canonical /api/v1 alias of /bff/api/market/news.",
        "operationId": "market_news_api_market_news_get_v1",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "default": 10,
              "title": "Limit"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/bff/api/bigfive/detail/{symbol}": {
      "get": {
        "summary": "Bigfive Detail",
        "description": "[freemium] Daily time-series for a specific symbol's Big Five signals. Optional as_of=YYYY-MM-DD nightly vintage. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "bigfive_detail_api_bigfive_detail__symbol__get",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "YYYY-MM-DD nightly as-published vintage. If a snapshot exists for that date, return it exactly as published; otherwise 422 {error: no_vintage}. Omitted as_of keeps today's live payload. Never silently substituted.",
              "title": "As Of"
            },
            "description": "YYYY-MM-DD nightly as-published vintage. If a snapshot exists for that date, return it exactly as published; otherwise 422 {error: no_vintage}. Omitted as_of keeps today's live payload. Never silently substituted."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DetailResponse"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "as_of is not YYYY-MM-DD (invalid_as_of) or no stored nightly vintage (no_vintage). Body: {error, withheld, earliest_vintage, latest_vintage, as_of}.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                },
                "examples": {
                  "no_vintage": {
                    "summary": "No stored vintage for as_of",
                    "value": {
                      "error": "no_vintage",
                      "withheld": "no vintage before 2026-10-28",
                      "earliest_vintage": "2026-10-28",
                      "latest_vintage": "2026-10-30",
                      "as_of": "2025-01-02"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "freemium"
        ],
        "security": []
      }
    },
    "/api/v1/bigfive/detail/{symbol}": {
      "get": {
        "summary": "Bigfive Detail",
        "description": "[freemium] Daily time-series for a specific symbol's Big Five signals. Optional as_of=YYYY-MM-DD nightly vintage. Canonical /api/v1 alias of /bff/api/bigfive/detail/{symbol}.",
        "operationId": "bigfive_detail_api_bigfive_detail__symbol__get_v1",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "YYYY-MM-DD nightly as-published vintage. If a snapshot exists for that date, return it exactly as published; otherwise 422 {error: no_vintage}. Omitted as_of keeps today's live payload. Never silently substituted.",
              "title": "As Of"
            },
            "description": "YYYY-MM-DD nightly as-published vintage. If a snapshot exists for that date, return it exactly as published; otherwise 422 {error: no_vintage}. Omitted as_of keeps today's live payload. Never silently substituted."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DetailResponse"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "as_of is not YYYY-MM-DD (invalid_as_of) or no stored nightly vintage (no_vintage). Body: {error, withheld, earliest_vintage, latest_vintage, as_of}.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                },
                "examples": {
                  "no_vintage": {
                    "summary": "No stored vintage for as_of",
                    "value": {
                      "error": "no_vintage",
                      "withheld": "no vintage before 2026-10-28",
                      "earliest_vintage": "2026-10-28",
                      "latest_vintage": "2026-10-30",
                      "as_of": "2025-01-02"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "freemium"
        ],
        "security": []
      }
    },
    "/bff/api/bigfive/fundamentals-history/{symbol}": {
      "get": {
        "summary": "Bigfive Fundamentals History",
        "description": "[freemium] Historical annual and quarterly fundamentals for charting (P/E, revenue, margins, etc.). Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "bigfive_fundamentals_history_api_bigfive_fundamentals_history__symbol__get",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "freemium"
        ],
        "security": []
      }
    },
    "/api/v1/bigfive/fundamentals-history/{symbol}": {
      "get": {
        "summary": "Bigfive Fundamentals History",
        "description": "[freemium] Historical annual and quarterly fundamentals for charting (P/E, revenue, margins, etc.). Canonical /api/v1 alias of /bff/api/bigfive/fundamentals-history/{symbol}.",
        "operationId": "bigfive_fundamentals_history_api_bigfive_fundamentals_history__symbol__get_v1",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "freemium"
        ],
        "security": []
      }
    },
    "/bff/api/bigfive/company-info/{symbol}": {
      "get": {
        "summary": "Bigfive Company Info",
        "description": "[freemium] Company profile, employee count, shares float, short interest, and key executives. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "bigfive_company_info_api_bigfive_company_info__symbol__get",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "freemium"
        ],
        "security": []
      }
    },
    "/api/v1/bigfive/company-info/{symbol}": {
      "get": {
        "summary": "Bigfive Company Info",
        "description": "[freemium] Company profile, employee count, shares float, short interest, and key executives. Canonical /api/v1 alias of /bff/api/bigfive/company-info/{symbol}.",
        "operationId": "bigfive_company_info_api_bigfive_company_info__symbol__get_v1",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "freemium"
        ],
        "security": []
      }
    },
    "/bff/api/bigfive/short-interest/{symbol}": {
      "get": {
        "summary": "Bigfive Short Interest",
        "description": "[freemium] FINRA bi-monthly short interest for a symbol (from nightly index pickle). Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "bigfive_short_interest_api_bigfive_short_interest__symbol__get",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "freemium"
        ],
        "security": []
      }
    },
    "/api/v1/bigfive/short-interest/{symbol}": {
      "get": {
        "summary": "Bigfive Short Interest",
        "description": "[freemium] FINRA bi-monthly short interest for a symbol (from nightly index pickle). Canonical /api/v1 alias of /bff/api/bigfive/short-interest/{symbol}.",
        "operationId": "bigfive_short_interest_api_bigfive_short_interest__symbol__get_v1",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "freemium"
        ],
        "security": []
      }
    },
    "/bff/api/bigfive/company-news/{symbol}": {
      "get": {
        "summary": "Bigfive Company News",
        "description": "[freemium] Recent ticker-specific news from FMP. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "bigfive_company_news_api_bigfive_company_news__symbol__get",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 12,
              "title": "Limit"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "freemium"
        ],
        "security": []
      }
    },
    "/api/v1/bigfive/company-news/{symbol}": {
      "get": {
        "summary": "Bigfive Company News",
        "description": "[freemium] Recent ticker-specific news from FMP. Canonical /api/v1 alias of /bff/api/bigfive/company-news/{symbol}.",
        "operationId": "bigfive_company_news_api_bigfive_company_news__symbol__get_v1",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 12,
              "title": "Limit"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "freemium"
        ],
        "security": []
      }
    },
    "/bff/api/bigfive/institutional-holders/{symbol}": {
      "get": {
        "summary": "Bigfive Institutional Holders",
        "description": "[freemium] Top institutional holders (13F) for a symbol. 24h file cache. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "bigfive_institutional_holders_api_bigfive_institutional_holders__symbol__get",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 40,
              "title": "Limit"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "freemium"
        ],
        "security": []
      }
    },
    "/api/v1/bigfive/institutional-holders/{symbol}": {
      "get": {
        "summary": "Bigfive Institutional Holders",
        "description": "[freemium] Top institutional holders (13F) for a symbol. 24h file cache. Canonical /api/v1 alias of /bff/api/bigfive/institutional-holders/{symbol}.",
        "operationId": "bigfive_institutional_holders_api_bigfive_institutional_holders__symbol__get_v1",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 40,
              "title": "Limit"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "freemium"
        ],
        "security": []
      }
    },
    "/bff/api/bigfive/insider-trades/{symbol}": {
      "get": {
        "summary": "Bigfive Insider Trades",
        "description": "[freemium] Form 4 insider trades + quarterly statistics for a symbol. 24h file cache. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "bigfive_insider_trades_api_bigfive_insider_trades__symbol__get",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 50,
              "title": "Limit"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "freemium"
        ],
        "security": []
      }
    },
    "/api/v1/bigfive/insider-trades/{symbol}": {
      "get": {
        "summary": "Bigfive Insider Trades",
        "description": "[freemium] Form 4 insider trades + quarterly statistics for a symbol. 24h file cache. Canonical /api/v1 alias of /bff/api/bigfive/insider-trades/{symbol}.",
        "operationId": "bigfive_insider_trades_api_bigfive_insider_trades__symbol__get_v1",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 50,
              "title": "Limit"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "freemium"
        ],
        "security": []
      }
    },
    "/bff/api/bigfive/earnings/{symbol}": {
      "get": {
        "summary": "Bigfive Earnings",
        "description": "[freemium] Per-symbol earnings beat/miss history (bulk surprises + FMP earnings). Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "bigfive_earnings_api_bigfive_earnings__symbol__get",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 16,
              "title": "Limit"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "freemium"
        ],
        "security": []
      }
    },
    "/api/v1/bigfive/earnings/{symbol}": {
      "get": {
        "summary": "Bigfive Earnings",
        "description": "[freemium] Per-symbol earnings beat/miss history (bulk surprises + FMP earnings). Canonical /api/v1 alias of /bff/api/bigfive/earnings/{symbol}.",
        "operationId": "bigfive_earnings_api_bigfive_earnings__symbol__get_v1",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 16,
              "title": "Limit"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "freemium"
        ],
        "security": []
      }
    },
    "/bff/api/bigfive/earnings-transcript/{symbol}": {
      "get": {
        "summary": "Bigfive Earnings Transcript",
        "description": "[freemium] Full earnings call transcript for one fiscal quarter. 7d file cache. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "bigfive_earnings_transcript_api_bigfive_earnings_transcript__symbol__get",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          },
          {
            "name": "year",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Year"
            }
          },
          {
            "name": "quarter",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Quarter"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "freemium"
        ],
        "security": []
      }
    },
    "/api/v1/bigfive/earnings-transcript/{symbol}": {
      "get": {
        "summary": "Bigfive Earnings Transcript",
        "description": "[freemium] Full earnings call transcript for one fiscal quarter. 7d file cache. Canonical /api/v1 alias of /bff/api/bigfive/earnings-transcript/{symbol}.",
        "operationId": "bigfive_earnings_transcript_api_bigfive_earnings_transcript__symbol__get_v1",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          },
          {
            "name": "year",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Year"
            }
          },
          {
            "name": "quarter",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Quarter"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "freemium"
        ],
        "security": []
      }
    },
    "/bff/api/bigfive/earnings-intel/{symbol}": {
      "get": {
        "summary": "Bigfive Earnings Intel",
        "description": "[freemium] Temporal earnings-call intelligence (CallCard or symbol rollup). Optional as_of=YYYY-MM-DD nightly vintage. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "bigfive_earnings_intel_api_bigfive_earnings_intel__symbol__get",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          },
          {
            "name": "year",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Year"
            }
          },
          {
            "name": "quarter",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Quarter"
            }
          },
          {
            "name": "request",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "1 = enqueue/deepen LLM generation (auth required)",
              "default": 0,
              "title": "Request"
            },
            "description": "1 = enqueue/deepen LLM generation (auth required)"
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "YYYY-MM-DD nightly as-published vintage. If a snapshot exists for that date, return it exactly as published; otherwise 422 {error: no_vintage}. Omitted as_of keeps today's live payload. Never silently substituted.",
              "title": "As Of"
            },
            "description": "YYYY-MM-DD nightly as-published vintage. If a snapshot exists for that date, return it exactly as published; otherwise 422 {error: no_vintage}. Omitted as_of keeps today's live payload. Never silently substituted."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "as_of is not YYYY-MM-DD (invalid_as_of) or no stored nightly vintage (no_vintage). Body: {error, withheld, earliest_vintage, latest_vintage, as_of}.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                },
                "examples": {
                  "no_vintage": {
                    "summary": "No stored vintage for as_of",
                    "value": {
                      "error": "no_vintage",
                      "withheld": "no vintage before 2026-10-28",
                      "earliest_vintage": "2026-10-28",
                      "latest_vintage": "2026-10-30",
                      "as_of": "2025-01-02"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "freemium"
        ],
        "security": []
      }
    },
    "/api/v1/bigfive/earnings-intel/{symbol}": {
      "get": {
        "summary": "Bigfive Earnings Intel",
        "description": "[freemium] Temporal earnings-call intelligence (CallCard or symbol rollup). Optional as_of=YYYY-MM-DD nightly vintage. Canonical /api/v1 alias of /bff/api/bigfive/earnings-intel/{symbol}.",
        "operationId": "bigfive_earnings_intel_api_bigfive_earnings_intel__symbol__get_v1",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          },
          {
            "name": "year",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Year"
            }
          },
          {
            "name": "quarter",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Quarter"
            }
          },
          {
            "name": "request",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "description": "1 = enqueue/deepen LLM generation (auth required)",
              "default": 0,
              "title": "Request"
            },
            "description": "1 = enqueue/deepen LLM generation (auth required)"
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "YYYY-MM-DD nightly as-published vintage. If a snapshot exists for that date, return it exactly as published; otherwise 422 {error: no_vintage}. Omitted as_of keeps today's live payload. Never silently substituted.",
              "title": "As Of"
            },
            "description": "YYYY-MM-DD nightly as-published vintage. If a snapshot exists for that date, return it exactly as published; otherwise 422 {error: no_vintage}. Omitted as_of keeps today's live payload. Never silently substituted."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "as_of is not YYYY-MM-DD (invalid_as_of) or no stored nightly vintage (no_vintage). Body: {error, withheld, earliest_vintage, latest_vintage, as_of}.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                },
                "examples": {
                  "no_vintage": {
                    "summary": "No stored vintage for as_of",
                    "value": {
                      "error": "no_vintage",
                      "withheld": "no vintage before 2026-10-28",
                      "earliest_vintage": "2026-10-28",
                      "latest_vintage": "2026-10-30",
                      "as_of": "2025-01-02"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "freemium"
        ],
        "security": []
      }
    },
    "/bff/api/bigfive/earnings-intel-index": {
      "get": {
        "summary": "Bigfive Earnings Intel Index",
        "description": "[freemium] Public discovery index of recent CallCards + symbols with rollups. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "bigfive_earnings_intel_index_api_bigfive_earnings_intel_index_get",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 50,
              "title": "Limit"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "freemium"
        ],
        "security": []
      }
    },
    "/api/v1/bigfive/earnings-intel-index": {
      "get": {
        "summary": "Bigfive Earnings Intel Index",
        "description": "[freemium] Public discovery index of recent CallCards + symbols with rollups. Canonical /api/v1 alias of /bff/api/bigfive/earnings-intel-index.",
        "operationId": "bigfive_earnings_intel_index_api_bigfive_earnings_intel_index_get_v1",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 50,
              "title": "Limit"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "freemium"
        ],
        "security": []
      }
    },
    "/bff/api/bigfive/sparkline/{symbol}": {
      "get": {
        "summary": "Bigfive Sparkline",
        "description": "[freemium] Sparkline + TA series; may include series.opt_iv_atm and meta.opt_iv_* (52w lo/hi/rank/pctile) for weekly-options names. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "bigfive_sparkline_api_bigfive_sparkline__symbol__get",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          },
          {
            "name": "days",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 180,
              "title": "Days"
            }
          },
          {
            "name": "tf",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "daily",
              "title": "Tf"
            }
          },
          {
            "name": "range",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Range"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "freemium"
        ],
        "security": []
      }
    },
    "/api/v1/bigfive/sparkline/{symbol}": {
      "get": {
        "summary": "Bigfive Sparkline",
        "description": "[freemium] Sparkline + TA series; may include series.opt_iv_atm and meta.opt_iv_* (52w lo/hi/rank/pctile) for weekly-options names. Canonical /api/v1 alias of /bff/api/bigfive/sparkline/{symbol}.",
        "operationId": "bigfive_sparkline_api_bigfive_sparkline__symbol__get_v1",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          },
          {
            "name": "days",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 180,
              "title": "Days"
            }
          },
          {
            "name": "tf",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "daily",
              "title": "Tf"
            }
          },
          {
            "name": "range",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Range"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "freemium"
        ],
        "security": []
      }
    },
    "/bff/api/market/washout-live": {
      "get": {
        "summary": "Washout count (live, provisional)",
        "description": "[public] Provisional washout count for the session in progress, from live quotes. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "washout_live_api_market_washout_live_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WashoutLiveResponse"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/api/v1/market/washout-live": {
      "get": {
        "summary": "Washout count (live, provisional)",
        "description": "[public] Provisional washout count for the session in progress, from live quotes. Canonical /api/v1 alias of /bff/api/market/washout-live.",
        "operationId": "washout_live_api_market_washout_live_get_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WashoutLiveResponse"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/bff/api/market/intraday-flush-breadth": {
      "get": {
        "summary": "Intraday flush breadth (aggregate, provisional)",
        "description": "[public] Aggregate count of core liquid U.S. names firing simultaneous 5m and 1h selling pressure. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "intraday_flush_breadth_api_market_intraday_flush_breadth_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntradayFlushBreadthResponse"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/api/v1/market/intraday-flush-breadth": {
      "get": {
        "summary": "Intraday flush breadth (aggregate, provisional)",
        "description": "[public] Aggregate count of core liquid U.S. names firing simultaneous 5m and 1h selling pressure. Canonical /api/v1 alias of /bff/api/market/intraday-flush-breadth.",
        "operationId": "intraday_flush_breadth_api_market_intraday_flush_breadth_get_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntradayFlushBreadthResponse"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/bff/api/hmm/latest": {
      "get": {
        "summary": "Market regime (latest)",
        "description": "[public] Today's market regime (BULL, RECOVERY, BEAR or CRISIS) from the nightly Undercurrent model, with regime probabilities, circuit breakers, an illustrative hedge playbook (model output, not advice) and recent regime hist... Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "hmm_latest_api_hmm_latest_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HmmLatestResponse"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/api/v1/hmm/latest": {
      "get": {
        "summary": "Market regime (latest)",
        "description": "[public] Today's market regime (BULL, RECOVERY, BEAR or CRISIS) from the nightly Undercurrent model, with regime probabilities, circuit breakers, an illustrative hedge playbook (model output, not advice) and recent regime hist... Canonical /api/v1 alias of /bff/api/hmm/latest.",
        "operationId": "hmm_latest_api_hmm_latest_get_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HmmLatestResponse"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/bff/api/hmm/sparkline": {
      "get": {
        "summary": "Market regime sparkline",
        "description": "[public] Last N days of SPY close + regime label for the header sparkline. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "hmm_sparkline_api_hmm_sparkline_get",
        "parameters": [
          {
            "name": "days",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 90,
              "title": "Days"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/api/v1/hmm/sparkline": {
      "get": {
        "summary": "Market regime sparkline",
        "description": "[public] Last N days of SPY close + regime label for the header sparkline. Canonical /api/v1 alias of /bff/api/hmm/sparkline.",
        "operationId": "hmm_sparkline_api_hmm_sparkline_get_v1",
        "parameters": [
          {
            "name": "days",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 90,
              "title": "Days"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/bff/api/market-pulse": {
      "get": {
        "summary": "Market Pulse",
        "description": "[public] Public market-level summary for the marketing homepage. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "market_pulse_api_market_pulse_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/api/v1/market-pulse": {
      "get": {
        "summary": "Market Pulse",
        "description": "[public] Public market-level summary for the marketing homepage. Canonical /api/v1 alias of /bff/api/market-pulse.",
        "operationId": "market_pulse_api_market_pulse_get_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/bff/api/watch/glance": {
      "get": {
        "summary": "Watch Glance",
        "description": "[public] Public wrist glance: regime, breadth, and a 30-day regime tape. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "watch_glance_api_watch_glance_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/api/v1/watch/glance": {
      "get": {
        "summary": "Watch Glance",
        "description": "[public] Public wrist glance: regime, breadth, and a 30-day regime tape. Canonical /api/v1 alias of /bff/api/watch/glance.",
        "operationId": "watch_glance_api_watch_glance_get_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/bff/api/watch/home": {
      "get": {
        "summary": "Watch Home",
        "description": "[public] Public wrist pages that mirror the phone home strips. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "watch_home_api_watch_home_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/api/v1/watch/home": {
      "get": {
        "summary": "Watch Home",
        "description": "[public] Public wrist pages that mirror the phone home strips. Canonical /api/v1 alias of /bff/api/watch/home.",
        "operationId": "watch_home_api_watch_home_get_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/bff/api/watch/spy25": {
      "get": {
        "summary": "Watch Spy25",
        "description": "[public] Public free SPY25 book: signal, price, and names that just fired. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "watch_spy25_api_watch_spy25_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/api/v1/watch/spy25": {
      "get": {
        "summary": "Watch Spy25",
        "description": "[public] Public free SPY25 book: signal, price, and names that just fired. Canonical /api/v1 alias of /bff/api/watch/spy25.",
        "operationId": "watch_spy25_api_watch_spy25_get_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/bff/api/watch/spy25/{symbol}": {
      "get": {
        "summary": "Watch Spy25 Name",
        "description": "[public] Public 30-session chart for one SPY25 name. 404 outside that book. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "watch_spy25_name_api_watch_spy25__symbol__get",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/api/v1/watch/spy25/{symbol}": {
      "get": {
        "summary": "Watch Spy25 Name",
        "description": "[public] Public 30-session chart for one SPY25 name. 404 outside that book. Canonical /api/v1 alias of /bff/api/watch/spy25/{symbol}.",
        "operationId": "watch_spy25_name_api_watch_spy25__symbol__get_v1",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/bff/api/bigfive/earnings-calendar": {
      "get": {
        "summary": "Earnings Calendar",
        "description": "[public] Upcoming and recent earnings, enriched with our signal data. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "earnings_calendar_api_bigfive_earnings_calendar_get",
        "parameters": [
          {
            "name": "days_ahead",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 120,
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Days Ahead"
            }
          },
          {
            "name": "days_back",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 120,
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Days Back"
            }
          },
          {
            "name": "from_date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                },
                {
                  "type": "null"
                }
              ],
              "title": "From Date"
            }
          },
          {
            "name": "to_date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                },
                {
                  "type": "null"
                }
              ],
              "title": "To Date"
            }
          },
          {
            "name": "preview",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Preview"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 500,
                  "minimum": 1
                },
                {
                  "type": "null"
                }
              ],
              "title": "Limit"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/api/v1/bigfive/earnings-calendar": {
      "get": {
        "summary": "Earnings Calendar",
        "description": "[public] Upcoming and recent earnings, enriched with our signal data. Canonical /api/v1 alias of /bff/api/bigfive/earnings-calendar.",
        "operationId": "earnings_calendar_api_bigfive_earnings_calendar_get_v1",
        "parameters": [
          {
            "name": "days_ahead",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 120,
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Days Ahead"
            }
          },
          {
            "name": "days_back",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 120,
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Days Back"
            }
          },
          {
            "name": "from_date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                },
                {
                  "type": "null"
                }
              ],
              "title": "From Date"
            }
          },
          {
            "name": "to_date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                },
                {
                  "type": "null"
                }
              ],
              "title": "To Date"
            }
          },
          {
            "name": "preview",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Preview"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 500,
                  "minimum": 1
                },
                {
                  "type": "null"
                }
              ],
              "title": "Limit"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/bff/api/bigfive/economic-calendar": {
      "get": {
        "summary": "Economic Calendar",
        "description": "[public] Economic events. Fed dates, CPI, NFP, GDP, etc. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "economic_calendar_api_bigfive_economic_calendar_get",
        "parameters": [
          {
            "name": "days_ahead",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 14,
              "title": "Days Ahead"
            }
          },
          {
            "name": "days_back",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 7,
              "title": "Days Back"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/api/v1/bigfive/economic-calendar": {
      "get": {
        "summary": "Economic Calendar",
        "description": "[public] Economic events. Fed dates, CPI, NFP, GDP, etc. Canonical /api/v1 alias of /bff/api/bigfive/economic-calendar.",
        "operationId": "economic_calendar_api_bigfive_economic_calendar_get_v1",
        "parameters": [
          {
            "name": "days_ahead",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 14,
              "title": "Days Ahead"
            }
          },
          {
            "name": "days_back",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 7,
              "title": "Days Back"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/bff/api/bigfive/fmp-peers/{symbol}": {
      "get": {
        "summary": "Fmp Peer Comparison",
        "description": "[freemium] Traditional FMP comparable companies, ranked by market cap. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "fmp_peer_comparison_api_bigfive_fmp_peers__symbol__get",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 12,
              "title": "Limit"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "freemium"
        ],
        "security": []
      }
    },
    "/api/v1/bigfive/fmp-peers/{symbol}": {
      "get": {
        "summary": "Fmp Peer Comparison",
        "description": "[freemium] Traditional FMP comparable companies, ranked by market cap. Canonical /api/v1 alias of /bff/api/bigfive/fmp-peers/{symbol}.",
        "operationId": "fmp_peer_comparison_api_bigfive_fmp_peers__symbol__get_v1",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 12,
              "title": "Limit"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "freemium"
        ],
        "security": []
      }
    },
    "/bff/api/bigfive/etf-holdings/{symbol}": {
      "get": {
        "summary": "Etf Holdings",
        "description": "[freemium] Top holdings for an ETF, or reverse lookup (which ETFs hold this ticker). Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "etf_holdings_api_bigfive_etf_holdings__symbol__get",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 25,
              "title": "Limit"
            }
          },
          {
            "name": "refresh",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Refresh"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "freemium"
        ],
        "security": []
      }
    },
    "/api/v1/bigfive/etf-holdings/{symbol}": {
      "get": {
        "summary": "Etf Holdings",
        "description": "[freemium] Top holdings for an ETF, or reverse lookup (which ETFs hold this ticker). Canonical /api/v1 alias of /bff/api/bigfive/etf-holdings/{symbol}.",
        "operationId": "etf_holdings_api_bigfive_etf_holdings__symbol__get_v1",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 25,
              "title": "Limit"
            }
          },
          {
            "name": "refresh",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Refresh"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "freemium"
        ],
        "security": []
      }
    },
    "/bff/api/bigfive/signal-card/{symbol}": {
      "get": {
        "summary": "Signal Card",
        "description": "[public] Per-ticker signal summary. Optional as_of=YYYY-MM-DD nightly vintage. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "signal_card_api_bigfive_signal_card__symbol__get",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "YYYY-MM-DD nightly as-published vintage. If a snapshot exists for that date, return it exactly as published; otherwise 422 {error: no_vintage}. Omitted as_of keeps today's live payload. Never silently substituted.",
              "title": "As Of"
            },
            "description": "YYYY-MM-DD nightly as-published vintage. If a snapshot exists for that date, return it exactly as published; otherwise 422 {error: no_vintage}. Omitted as_of keeps today's live payload. Never silently substituted."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignalCardResponse"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "as_of is not YYYY-MM-DD (invalid_as_of) or no stored nightly vintage (no_vintage). Body: {error, withheld, earliest_vintage, latest_vintage, as_of}.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                },
                "examples": {
                  "no_vintage": {
                    "summary": "No stored vintage for as_of",
                    "value": {
                      "error": "no_vintage",
                      "withheld": "no vintage before 2026-10-28",
                      "earliest_vintage": "2026-10-28",
                      "latest_vintage": "2026-10-30",
                      "as_of": "2025-01-02"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/api/v1/bigfive/signal-card/{symbol}": {
      "get": {
        "summary": "Signal Card",
        "description": "[public] Per-ticker signal summary. Optional as_of=YYYY-MM-DD nightly vintage. Canonical /api/v1 alias of /bff/api/bigfive/signal-card/{symbol}.",
        "operationId": "signal_card_api_bigfive_signal_card__symbol__get_v1",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "YYYY-MM-DD nightly as-published vintage. If a snapshot exists for that date, return it exactly as published; otherwise 422 {error: no_vintage}. Omitted as_of keeps today's live payload. Never silently substituted.",
              "title": "As Of"
            },
            "description": "YYYY-MM-DD nightly as-published vintage. If a snapshot exists for that date, return it exactly as published; otherwise 422 {error: no_vintage}. Omitted as_of keeps today's live payload. Never silently substituted."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignalCardResponse"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "as_of is not YYYY-MM-DD (invalid_as_of) or no stored nightly vintage (no_vintage). Body: {error, withheld, earliest_vintage, latest_vintage, as_of}.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                },
                "examples": {
                  "no_vintage": {
                    "summary": "No stored vintage for as_of",
                    "value": {
                      "error": "no_vintage",
                      "withheld": "no vintage before 2026-10-28",
                      "earliest_vintage": "2026-10-28",
                      "latest_vintage": "2026-10-30",
                      "as_of": "2025-01-02"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/bff/api/sd50/mtd-tracker": {
      "get": {
        "summary": "Sd50 Mtd Tracker",
        "description": "[public] Public live MTD for SD50 + SD14 vs SPY/VTI/VTV/FTEC/SPMO (current or historical holding month). Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "sd50_mtd_tracker_api_sd50_mtd_tracker_get",
        "parameters": [
          {
            "name": "signal_month",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Signal Month"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/api/v1/sd50/mtd-tracker": {
      "get": {
        "summary": "Sd50 Mtd Tracker",
        "description": "[public] Public live MTD for SD50 + SD14 vs SPY/VTI/VTV/FTEC/SPMO (current or historical holding month). Canonical /api/v1 alias of /bff/api/sd50/mtd-tracker.",
        "operationId": "sd50_mtd_tracker_api_sd50_mtd_tracker_get_v1",
        "parameters": [
          {
            "name": "signal_month",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Signal Month"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/bff/api/sd50/feed": {
      "get": {
        "summary": "Sd50 Feed",
        "description": "[public] Level 1. RSS 2.0 feed (NYT-style) with monthly allocation history. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "sd50_feed_api_sd50_feed_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/api/v1/sd50/feed": {
      "get": {
        "summary": "Sd50 Feed",
        "description": "[public] Level 1. RSS 2.0 feed (NYT-style) with monthly allocation history. Canonical /api/v1 alias of /bff/api/sd50/feed.",
        "operationId": "sd50_feed_api_sd50_feed_get_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/bff/api/leveraged-etfs/latest": {
      "get": {
        "summary": "Leveraged Etfs Latest",
        "description": "[public] Public read-only live signal state for the diversified leveraged ETF model. Legacy BFF prefix; prefer /api/v1 (same handlers).",
        "operationId": "leveraged_etfs_latest_api_leveraged_etfs_latest_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    },
    "/api/v1/leveraged-etfs/latest": {
      "get": {
        "summary": "Leveraged Etfs Latest",
        "description": "[public] Public read-only live signal state for the diversified leveraged ETF model. Canonical /api/v1 alias of /bff/api/leveraged-etfs/latest.",
        "operationId": "leveraged_etfs_latest_api_leveraged_etfs_latest_get_v1",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid credentials.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Entitlement required, or the requested window is outside the free tier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path or symbol.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation error (including inverted start/end).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "X-RateLimit-Limit": {
                "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
                "schema": {
                  "type": "integer"
                },
                "example": 120
              },
              "X-RateLimit-Remaining": {
                "description": "Requests remaining in the primary window (0 on 429).",
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
                "schema": {
                  "type": "integer"
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          },
          "503": {
            "description": "Upstream timeout or unreachable (congress and other BFF proxies).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                },
                "example": 30
              }
            }
          }
        },
        "tags": [
          "public"
        ],
        "security": []
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-LOPJLB-API-Key",
        "description": "Enterprise API key minted in Settings (prefix lopjlb_live_)."
      },
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "WorkOS AuthKit access token from Agent Registration (https://www.lopjlb.com/auth.md)."
      }
    },
    "schemas": {
      "ChatRequest": {
        "properties": {
          "message": {
            "type": "string",
            "maxLength": 2500,
            "minLength": 1,
            "title": "Message"
          },
          "history": {
            "items": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "type": "array",
            "title": "History"
          },
          "session_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Session Id"
          }
        },
        "type": "object",
        "required": [
          "message"
        ],
        "title": "ChatRequest"
      },
      "CrashPut": {
        "properties": {
          "strike": {
            "type": "number",
            "title": "Strike"
          },
          "mid": {
            "type": "number",
            "title": "Mid"
          },
          "ask": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ask"
          },
          "lane": {
            "type": "string",
            "title": "Lane"
          },
          "package_cost": {
            "type": "number",
            "title": "Package Cost"
          },
          "package_max_return_pct": {
            "type": "number",
            "title": "Package Max Return Pct"
          },
          "package_apy_pct": {
            "type": "number",
            "title": "Package Apy Pct"
          },
          "stress_px": {
            "type": "number",
            "title": "Stress Px"
          },
          "net_at_stress": {
            "type": "number",
            "title": "Net At Stress"
          }
        },
        "type": "object",
        "required": [
          "strike",
          "mid",
          "lane",
          "package_cost",
          "package_max_return_pct",
          "package_apy_pct",
          "stress_px",
          "net_at_stress"
        ],
        "title": "CrashPut"
      },
      "DetailResponse": {
        "properties": {
          "symbol": {
            "type": "string",
            "title": "Symbol"
          },
          "data": {
            "items": {
              "$ref": "#/components/schemas/DetailRow"
            },
            "type": "array",
            "title": "Data"
          },
          "vintage": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vintage"
          },
          "published_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Published At"
          }
        },
        "additionalProperties": true,
        "type": "object",
        "required": [
          "symbol",
          "data"
        ],
        "title": "DetailResponse",
        "description": "/api/bigfive/detail/{symbol}: daily signal time-series rows."
      },
      "DetailRow": {
        "properties": {
          "date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Date"
          },
          "close": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Close"
          },
          "regime": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "enum": [
              "BULL",
              "RECOVERY",
              "BEAR",
              "CRISIS"
            ],
            "title": "Regime",
            "description": "Per-ticker regime proxy. One of BULL, RECOVERY, BEAR, CRISIS."
          }
        },
        "additionalProperties": true,
        "type": "object",
        "title": "DetailRow",
        "description": "One daily row inside ``detail.data[]``. Extra keys pass through."
      },
      "Error": {
        "properties": {
          "error": {
            "type": "string",
            "title": "Error"
          },
          "detail": {
            "anyOf": [
              {},
              {
                "type": "null"
              }
            ],
            "title": "Detail"
          },
          "hint": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hint"
          },
          "upgrade_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Upgrade Url"
          },
          "public_window_days": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Public Window Days"
          },
          "earliest_public_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Earliest Public Date"
          },
          "service": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Service"
          },
          "retry_after_s": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Retry After S"
          }
        },
        "additionalProperties": true,
        "type": "object",
        "required": [
          "error"
        ],
        "title": "Error",
        "description": "Typed error envelope. Machine ``error`` code plus optional context."
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "HmmChart": {
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name",
            "description": "Chart name (the file name without extension).",
            "examples": [
              "regime_timeline"
            ]
          },
          "filename": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Filename",
            "description": "Image file name; fetch it from /bff/api/hmm/chart/{filename} (Research desk).",
            "examples": [
              "regime_timeline.png"
            ]
          }
        },
        "additionalProperties": true,
        "type": "object",
        "title": "HmmChart",
        "description": "A chart image the nightly regime job rendered. The list is empty when no charts are rendered (the case today)."
      },
      "HmmHedgePlaybook": {
        "properties": {
          "action": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Action",
            "description": "What the playbook would do with SPY protective puts today: BUY_PUTS (bullish regime and puts cheap, or drawdown risk elevated), WAIT_VIX_HIGH (bullish regime but puts expensive), TAKE_PROFIT (bearish regime or a VIX spike: close existing puts) or HOLD. Illustrative model output from the regime backtest, not investment advice and not an order.",
            "examples": [
              "TAKE_PROFIT"
            ]
          },
          "vix": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vix",
            "description": "VIX close the playbook used, in index points. Null when VIX was unavailable.",
            "examples": [
              18.39
            ]
          },
          "vix_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vix Date",
            "description": "Market date of that VIX close (YYYY-MM-DD). Null when VIX was unavailable.",
            "examples": [
              "2026-10-26"
            ]
          },
          "vix_cheap": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vix Cheap",
            "description": "True when VIX is below 22, the level under which the playbook treats puts as cheap enough to buy.",
            "examples": [
              true
            ]
          },
          "strike_otm_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Strike Otm Pct",
            "description": "How far below the SPY price the playbook puts its strike, in percent (1 = a strike 1% under the close). Illustrative model output from the regime backtest, not investment advice and not an order.",
            "examples": [
              1
            ]
          },
          "put_dte": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Put Dte",
            "description": "Days to expiration of the put the playbook would buy. Illustrative model output from the regime backtest, not investment advice and not an order.",
            "examples": [
              60
            ]
          },
          "roll_at_dte": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Roll At Dte",
            "description": "Days to expiration at which the playbook rolls an open put into a new one.",
            "examples": [
              21
            ]
          },
          "take_profit_triggers": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Take Profit Triggers",
            "description": "Conditions under which the playbook closes its puts: vix_above_32 (VIX closes above 32) and roll_at_dte_21 (the put reaches 21 days to expiration).",
            "examples": [
              [
                "vix_above_32",
                "roll_at_dte_21"
              ]
            ]
          }
        },
        "additionalProperties": true,
        "type": "object",
        "title": "HmmHedgePlaybook",
        "description": "Illustrative SPY put-hedge playbook the regime model prints each night. Illustrative model output from the regime backtest, not investment advice and not an order."
      },
      "HmmHistoryEntry": {
        "properties": {
          "date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Date",
            "description": "Snapshot date (YYYY-MM-DD).",
            "examples": [
              "2026-10-24"
            ]
          },
          "regime": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Regime",
            "description": "Regime on that date (BULL, RECOVERY, BEAR or CRISIS); '?' if the snapshot did not record one.",
            "examples": [
              "BEAR"
            ]
          },
          "danger_score": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Danger Score",
            "description": "Legacy risk score from older snapshots; 0 when the snapshot did not record it. Use risk_off_prob on the current regime instead.",
            "examples": [
              0
            ]
          },
          "confidence": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Confidence",
            "description": "Legacy confidence value from older snapshots; 0 when the snapshot did not record it.",
            "examples": [
              0
            ]
          }
        },
        "additionalProperties": true,
        "type": "object",
        "title": "HmmHistoryEntry",
        "description": "One archived daily regime snapshot. The list is empty when no snapshot files are archived (the case today); example values show the format only."
      },
      "HmmHistoryPoint": {
        "properties": {
          "date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Date"
          },
          "regime": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "enum": [
              "BULL",
              "RECOVERY",
              "BEAR",
              "CRISIS"
            ],
            "title": "Regime",
            "description": "Market regime state. One of BULL, RECOVERY, BEAR, CRISIS."
          },
          "spy_price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Spy Price"
          },
          "leverage": {
            "anyOf": [
              {},
              {
                "type": "null"
              }
            ],
            "title": "Leverage"
          },
          "vix": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vix",
            "description": "CBOE VIX close from that session when recorded.",
            "examples": [
              23.81
            ]
          },
          "risk_off_prob": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Risk Off Prob",
            "description": "Combined BEAR + CRISIS posterior probability (0-100) when recorded.",
            "examples": [
              23.99
            ]
          },
          "spy_dd60": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Spy Dd60",
            "description": "SPY percentage drawdown from its trailing 60-session closing high when recorded.",
            "examples": [
              -6.52
            ]
          },
          "washout_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Washout Count",
            "description": "Nightly 5-session S&P 500 washout check count (0-4) when recorded.",
            "examples": [
              2
            ]
          },
          "restated_from": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Restated From",
            "description": "Present on rows restated after a model rollback: the regime, leverage and model_train_end first published for that date."
          },
          "model_train_end": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Model Train End",
            "description": "Training cutoff (YYYY-MM-DD) of the model that made this call. Absent on rows written before the November 2026 retrain, which came from the model trained through 2022-12-31."
          }
        },
        "additionalProperties": true,
        "type": "object",
        "title": "HmmHistoryPoint"
      },
      "HmmHistoryResponse": {
        "properties": {
          "points": {
            "items": {
              "$ref": "#/components/schemas/HmmHistoryPoint"
            },
            "type": "array",
            "title": "Points",
            "default": []
          },
          "count": {
            "type": "integer",
            "title": "Count",
            "default": 0
          },
          "truncated": {
            "type": "boolean",
            "title": "Truncated",
            "default": false
          },
          "tier": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tier"
          },
          "public_window_days": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Public Window Days"
          },
          "start": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Start"
          },
          "end": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "End"
          },
          "hint": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hint"
          }
        },
        "additionalProperties": true,
        "type": "object",
        "title": "HmmHistoryResponse"
      },
      "HmmLatestResponse": {
        "properties": {
          "success": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Success",
            "description": "True when the payload was built; the other keys are absent if their source files are missing.",
            "examples": [
              true
            ]
          },
          "regime": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/HmmRegimeSnapshot"
              },
              {
                "type": "null"
              }
            ],
            "description": "Tonight's regime reading and informational circuit-breaker context; published leverage comes from the regime alone."
          },
          "validation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/HmmValidationSummary"
              },
              {
                "type": "null"
              }
            ],
            "description": "Out-of-sample scorecard of the regime model. Present only when its validation results exist."
          },
          "history": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/HmmHistoryEntry"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "History",
            "description": "Up to 30 archived daily snapshots, newest first. May be empty."
          },
          "transitions": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/HmmTransition"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Transitions",
            "description": "Up to 20 most recent regime switches, oldest first, with SPY's move during each regime. May be empty."
          },
          "charts": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/HmmChart"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Charts",
            "description": "Chart images the nightly job rendered, sorted by name. May be empty."
          },
          "washout": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WashoutSnapshot"
              },
              {
                "type": "null"
              }
            ],
            "description": "Washout count from the nightly breadth job. Absent until the job has run."
          }
        },
        "additionalProperties": true,
        "type": "object",
        "title": "HmmLatestResponse",
        "description": "Current market regime from the nightly Undercurrent model, with probabilities, circuit breakers, an illustrative hedge playbook and recent regime history."
      },
      "HmmRegimeProbabilities": {
        "properties": {
          "BULL": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bull",
            "description": "Probability of BULL, a rising market with normal risk, in percent.",
            "examples": [
              18.24
            ]
          },
          "BEAR": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bear",
            "description": "Probability of BEAR, a falling or risk-off market, in percent.",
            "examples": [
              81.41
            ]
          },
          "CRISIS": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Crisis",
            "description": "Probability of CRISIS, a high-volatility sell-off, in percent.",
            "examples": [
              0.0
            ]
          },
          "RECOVERY": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recovery",
            "description": "Probability of RECOVERY, a rebound after stress, in percent.",
            "examples": [
              0.35
            ]
          }
        },
        "additionalProperties": true,
        "type": "object",
        "title": "HmmRegimeProbabilities",
        "description": "Model probability of each regime today, in percent (0-100). The four values sum to about 100."
      },
      "HmmRegimeSnapshot": {
        "properties": {
          "date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Date",
            "description": "Market date the model last ran on (YYYY-MM-DD).",
            "examples": [
              "2026-10-26"
            ]
          },
          "spy_price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Spy Price",
            "description": "SPY close on that date, in dollars.",
            "examples": [
              765.37
            ]
          },
          "regime": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "enum": [
              "BULL",
              "RECOVERY",
              "BEAR",
              "CRISIS"
            ],
            "title": "Regime",
            "description": "Current regime: BULL (rising market, normal risk), RECOVERY (rebound after stress), BEAR (falling or risk-off) or CRISIS (high-volatility sell-off).",
            "examples": [
              "BEAR"
            ]
          },
          "days_in_regime": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Days In Regime",
            "description": "Trading days the current regime has held in the published calls, today included.",
            "examples": [
              7
            ]
          },
          "transition_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Transition Date",
            "description": "First trading day of the current regime in the published calls (YYYY-MM-DD). Null if the published history has no switch.",
            "examples": [
              "2026-10-16"
            ]
          },
          "previous_regime": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "enum": [
              "BULL",
              "RECOVERY",
              "BEAR",
              "CRISIS"
            ],
            "title": "Previous Regime",
            "description": "Regime before the last switch.",
            "examples": [
              "BULL"
            ]
          },
          "leverage": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Leverage",
            "description": "SPY exposure the regime model's backtest takes for the next session, as a multiple of capital: 3 in BULL or RECOVERY, 1 in BEAR or CRISIS. Since November 2026 the circuit breakers no longer change it (they failed a walk-forward test; see breakers_applied). Before that, 2 or 0 meant a breaker cut. Illustrative model output from the regime backtest, not investment advice and not an order.",
            "examples": [
              1.0
            ]
          },
          "risk_on": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Risk On",
            "description": "True when leverage is 2 or more (BULL or RECOVERY), meaning the model wants market exposure; false means it is defensive.",
            "examples": [
              false
            ]
          },
          "hedge": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/HmmHedgePlaybook"
              },
              {
                "type": "null"
              }
            ],
            "description": "Illustrative SPY put-hedge playbook for the current regime. Illustrative model output from the regime backtest, not investment advice and not an order."
          },
          "probabilities": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/HmmRegimeProbabilities"
              },
              {
                "type": "null"
              }
            ],
            "description": "Probability of each of the four regimes today, in percent."
          },
          "risk_off_prob": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Risk Off Prob",
            "description": "BEAR plus CRISIS probability, in percent: how likely the model thinks the market is in a risk-off state.",
            "examples": [
              81.41
            ]
          },
          "ml_crisis_prob": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ml Crisis Prob",
            "description": "Average crisis probability from two auxiliary machine-learning classifiers that run beside the regime model, in percent. Null when either did not run.",
            "examples": [
              null
            ]
          },
          "pbt_drawdown_prob": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pbt Drawdown Prob",
            "description": "Probability (0-1) that SPY falls more than 5% below today's close within the next 20 trading days, from the PBT model: a gradient-boosted classifier tuned by population-based training (PBT). Context only: in a walk-forward test it showed no out-of-sample skill.",
            "examples": [
              0.5281
            ]
          },
          "model_train_end": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Model Train End",
            "description": "Training cutoff (YYYY-MM-DD) of the regime model that made today's call. Null before the November 2026 retrain.",
            "examples": [
              "2026-11-06"
            ]
          },
          "pbt_breaker_active": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pbt Breaker Active",
            "description": "Breaker 1, context only: true when pbt_drawdown_prob is above 0.50. It no longer changes leverage; out of sample the PBT model has not predicted drawdowns.",
            "examples": [
              true
            ]
          },
          "breadth_breaker_active": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Breadth Breaker Active",
            "description": "Informational breadth flag: true when the market-breadth signal's short average is below its long one (5-day under 20-day). Not counted in active_breakers.",
            "examples": [
              false
            ]
          },
          "breadth_mom_defensive": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Breadth Mom Defensive",
            "description": "Breaker 2, context only: true when market breadth is deteriorating fast (its 5-day change is below -0.05). It no longer changes leverage.",
            "examples": [
              false
            ]
          },
          "active_breakers": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Active Breakers",
            "description": "How many of the two circuit breakers (pbt_breaker_active, breadth_mom_defensive) are on: 0, 1 or 2.",
            "examples": [
              1
            ]
          },
          "breaker_mode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Breaker Mode",
            "description": "What the tiered breaker rule would do: CLEAR (none on), REDUCED (one on: 3x to 2x) or FLAT (both on: cash). Applied to leverage only when breakers_applied is true.",
            "examples": [
              "REDUCED"
            ]
          },
          "breakers_applied": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Breakers Applied",
            "description": "Whether the breakers change leverage. False since November 2026 (null on earlier payloads, when they did): the walk-forward test in research/breaker-study found no out-of-sample skill.",
            "examples": [
              false
            ]
          },
          "dist_from_high": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dist From High",
            "description": "Where SPY sits in its one-year range, from 0 (at the 1-year low) to 1 (at the 1-year high). Despite the name it is a range position, not a percentage below the high.",
            "examples": [
              0.907
            ]
          },
          "spy_dd60": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Spy Dd60",
            "description": "SPY percentage drawdown from its trailing 60-session closing high (0 at high, negative below).",
            "examples": [
              -6.52
            ]
          },
          "momentum_weak": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Momentum Weak",
            "description": "True when dist_from_high is below 0.75, meaning SPY trades in the lower three quarters of its one-year range.",
            "examples": [
              false
            ]
          }
        },
        "additionalProperties": true,
        "type": "object",
        "title": "HmmRegimeSnapshot",
        "description": "Tonight's market-regime reading from the LOPJLB Undercurrent (cross-asset: equities, rates, credit, volatility, sector ETFs), with informational circuit-breaker context; published leverage comes from the regime alone."
      },
      "HmmTransition": {
        "properties": {
          "date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Date",
            "description": "Date of the switch (YYYY-MM-DD).",
            "examples": [
              "2026-10-16"
            ]
          },
          "from_regime": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "From Regime",
            "description": "Regime before the switch.",
            "examples": [
              "BULL"
            ]
          },
          "to_regime": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "To Regime",
            "description": "Regime after the switch.",
            "examples": [
              "BEAR"
            ]
          },
          "spy_price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Spy Price",
            "description": "SPY close on the switch date, in dollars.",
            "examples": [
              790.12
            ]
          },
          "spy_return": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Spy Return",
            "description": "SPY change from this switch to the next one (or to today for the latest), in percent.",
            "examples": [
              -3.1
            ]
          },
          "days": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Days",
            "description": "Calendar days the regime lasted (to today for the latest switch).",
            "examples": [
              11
            ]
          }
        },
        "additionalProperties": true,
        "type": "object",
        "title": "HmmTransition",
        "description": "One regime switch and how SPY moved until the next switch. The list is empty when no transitions file is published (the case today); example values show the format only."
      },
      "HmmValidationSummary": {
        "properties": {
          "accuracy": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Accuracy",
            "description": "Share of out-of-sample days on which the regime label matched the realized market state (0-1).",
            "examples": [
              0.71
            ]
          },
          "baseline_accuracy": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Baseline Accuracy",
            "description": "Same measure for a naive baseline, for comparison (0-1).",
            "examples": [
              0.55
            ]
          },
          "crisis_precision": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Crisis Precision",
            "description": "Of the days labeled CRISIS, the share that were real stress days (0-1).",
            "examples": [
              0.6
            ]
          },
          "event_detection_rate": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Event Detection Rate",
            "description": "Share of known market stress events the model flagged (0-1).",
            "examples": [
              0.8
            ]
          },
          "events_detected": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Events Detected",
            "description": "Number of known stress events the model flagged.",
            "examples": [
              8
            ]
          },
          "total_events": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Total Events",
            "description": "Number of known stress events in the test window.",
            "examples": [
              10
            ]
          },
          "backtest_sharpe": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Backtest Sharpe",
            "description": "Sharpe ratio of the regime-timed SPY backtest over the test window.",
            "examples": [
              1.4
            ]
          },
          "bh_sharpe": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bh Sharpe",
            "description": "Sharpe ratio of buy-and-hold SPY over the same window.",
            "examples": [
              0.9
            ]
          },
          "strat_total_return": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Strat Total Return",
            "description": "Total return of the regime-timed backtest over the window, as a fraction (0.5 = +50%).",
            "examples": [
              0.5
            ]
          },
          "bh_total_return": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bh Total Return",
            "description": "Total return of buy-and-hold SPY over the window, as a fraction.",
            "examples": [
              0.35
            ]
          },
          "strat_max_dd": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Strat Max Dd",
            "description": "Worst peak-to-trough loss of the regime-timed backtest, as a negative fraction.",
            "examples": [
              -0.18
            ]
          },
          "bh_max_dd": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bh Max Dd",
            "description": "Worst peak-to-trough loss of buy-and-hold SPY, as a negative fraction.",
            "examples": [
              -0.25
            ]
          },
          "oos_start": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Oos Start",
            "description": "First date of the out-of-sample test window (YYYY-MM-DD).",
            "examples": [
              "2023-01-03"
            ]
          },
          "oos_end": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Oos End",
            "description": "Last date of the out-of-sample test window (YYYY-MM-DD).",
            "examples": [
              "2026-10-23"
            ]
          },
          "oos_days": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Oos Days",
            "description": "Trading days in the out-of-sample window.",
            "examples": [
              960
            ]
          }
        },
        "additionalProperties": true,
        "type": "object",
        "title": "HmmValidationSummary",
        "description": "Out-of-sample scorecard of the regime model from its latest validation run. Present only when that run's results exist (absent from the live payload today); example values show the format only and are not results."
      },
      "HoldSpreadCandidateExpiry": {
        "properties": {
          "methodology_version": {
            "type": "string",
            "title": "Methodology Version"
          },
          "is_current_version": {
            "type": "boolean",
            "title": "Is Current Version",
            "default": false
          },
          "structure_kind": {
            "type": "string",
            "title": "Structure Kind"
          },
          "verticals_n": {
            "type": "integer",
            "title": "Verticals N",
            "default": 0
          },
          "pending_n": {
            "type": "integer",
            "title": "Pending N",
            "default": 0
          },
          "next_expiry": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Expiry"
          },
          "scored_n": {
            "type": "integer",
            "title": "Scored N",
            "default": 0
          },
          "positive_n": {
            "type": "integer",
            "title": "Positive N",
            "default": 0
          },
          "positive_share_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Positive Share Pct"
          },
          "mean_return_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mean Return Pct"
          },
          "missing_n": {
            "type": "integer",
            "title": "Missing N",
            "default": 0
          },
          "mid_scored_n": {
            "type": "integer",
            "title": "Mid Scored N",
            "default": 0
          },
          "mid_positive_n": {
            "type": "integer",
            "title": "Mid Positive N",
            "default": 0
          },
          "mid_positive_share_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mid Positive Share Pct"
          }
        },
        "type": "object",
        "required": [
          "methodology_version",
          "structure_kind"
        ],
        "title": "HoldSpreadCandidateExpiry",
        "description": "Expiry results for every published vertical, not only board selections."
      },
      "HoldSpreadEpisodeMark": {
        "properties": {
          "horizon": {
            "type": "string",
            "title": "Horizon"
          },
          "natural_return_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Natural Return Pct"
          },
          "mid_return_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mid Return Pct"
          },
          "natural_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Natural Status"
          },
          "mid_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mid Status"
          },
          "natural_missing_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Natural Missing Reason"
          },
          "mid_missing_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mid Missing Reason"
          },
          "observed_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Observed At"
          }
        },
        "type": "object",
        "required": [
          "horizon"
        ],
        "title": "HoldSpreadEpisodeMark"
      },
      "HoldSpreadOpportunity": {
        "properties": {
          "id": {
            "type": "string",
            "title": "Id"
          },
          "candidate_id": {
            "type": "string",
            "title": "Candidate Id"
          },
          "episode_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Episode Id"
          },
          "run_id": {
            "type": "string",
            "title": "Run Id"
          },
          "observed_on": {
            "type": "string",
            "title": "Observed On"
          },
          "decision_at": {
            "type": "string",
            "title": "Decision At"
          },
          "symbol": {
            "type": "string",
            "title": "Symbol"
          },
          "asset_class": {
            "type": "string",
            "title": "Asset Class"
          },
          "sleeve": {
            "type": "string",
            "title": "Sleeve"
          },
          "cohort": {
            "type": "string",
            "title": "Cohort"
          },
          "lane": {
            "type": "string",
            "title": "Lane"
          },
          "dte_bucket": {
            "type": "string",
            "title": "Dte Bucket"
          },
          "expiration": {
            "type": "string",
            "title": "Expiration"
          },
          "structure": {
            "type": "string",
            "title": "Structure"
          },
          "dte": {
            "type": "integer",
            "title": "Dte"
          },
          "long_strike": {
            "type": "number",
            "title": "Long Strike"
          },
          "short_strike": {
            "type": "number",
            "title": "Short Strike"
          },
          "width": {
            "type": "number",
            "title": "Width"
          },
          "spot": {
            "type": "number",
            "title": "Spot"
          },
          "cushion_pct": {
            "type": "number",
            "title": "Cushion Pct"
          },
          "mid_debit": {
            "type": "number",
            "title": "Mid Debit"
          },
          "natural_debit": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Natural Debit"
          },
          "max_return_pct": {
            "type": "number",
            "title": "Max Return Pct"
          },
          "natural_return_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Natural Return Pct"
          },
          "mid_return_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mid Return Pct"
          },
          "max_apy_pct": {
            "type": "number",
            "title": "Max Apy Pct"
          },
          "natural_apy_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Natural Apy Pct"
          },
          "mid_apy_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mid Apy Pct"
          },
          "max_loss_usd": {
            "type": "number",
            "title": "Max Loss Usd"
          },
          "max_profit_usd": {
            "type": "number",
            "title": "Max Profit Usd"
          },
          "fill_gap_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fill Gap Pct"
          },
          "hold_score": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hold Score"
          },
          "rank_position": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rank Position"
          },
          "historical_windows": {
            "type": "integer",
            "title": "Historical Windows",
            "default": 0
          },
          "historical_hit_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Historical Hit Pct"
          },
          "historical_median_return_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Historical Median Return Pct"
          },
          "historical_p10_return_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Historical P10 Return Pct"
          },
          "historical_min_close_breach_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Historical Min Close Breach Pct"
          },
          "historical_median_max_drawdown_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Historical Median Max Drawdown Pct"
          },
          "historical_median_sessions_below_short": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Historical Median Sessions Below Short"
          },
          "historical_median_time_below_short_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Historical Median Time Below Short Pct"
          },
          "q_score": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Q Score"
          },
          "signal_direction": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signal Direction"
          },
          "signal_atr": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signal Atr"
          },
          "signal_flip": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signal Flip"
          },
          "signal_regime": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signal Regime"
          },
          "next_er_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Er Date"
          },
          "typical_drawdown_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Typical Drawdown Pct"
          },
          "cushion_to_typical": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cushion To Typical"
          },
          "min_open_interest": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Min Open Interest"
          },
          "nearest_level": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Nearest Level"
          },
          "nearest_level_price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Nearest Level Price"
          },
          "spot_level_distance_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Spot Level Distance Pct"
          },
          "short_level_distance_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Short Level Distance Pct"
          },
          "long_level_distance_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Long Level Distance Pct"
          },
          "inside_atr_corridor": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Inside Atr Corridor"
          },
          "low_52w": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Low 52W"
          },
          "spot_vs_low_52w_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Spot Vs Low 52W Pct"
          },
          "exh_state": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "release",
                  "recent",
                  "seller_zone"
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "Exh State",
            "description": "Daily EXH buy-side chip (release today, recent 5-session buy, or seller zone). Pro only; null below Pro."
          },
          "signal_asof": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signal Asof"
          },
          "quote_age_seconds": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Quote Age Seconds"
          },
          "selected": {
            "type": "boolean",
            "title": "Selected",
            "default": false
          },
          "board": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Board"
          },
          "slot": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Slot"
          },
          "crash_put": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CrashPut"
              },
              {
                "type": "null"
              }
            ]
          },
          "structure_kind": {
            "type": "string",
            "enum": [
              "call_debit",
              "put_credit",
              "put_debit",
              "call_credit"
            ],
            "title": "Structure Kind",
            "default": "call_debit"
          },
          "mid_credit": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mid Credit"
          },
          "natural_credit": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Natural Credit"
          },
          "episode_marks": {
            "items": {
              "$ref": "#/components/schemas/HoldSpreadEpisodeMark"
            },
            "type": "array",
            "title": "Episode Marks"
          },
          "book": {
            "type": "string",
            "enum": [
              "long",
              "short",
              "leaps"
            ],
            "title": "Book",
            "default": "long"
          },
          "friction_share_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Friction Share Pct"
          },
          "breakeven_hit_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Breakeven Hit Pct"
          },
          "historical_zero_payout_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Historical Zero Payout Pct"
          },
          "implied_full_payout_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Implied Full Payout Pct"
          },
          "implied_beyond_long_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Implied Beyond Long Pct"
          },
          "implied_zero_payout_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Implied Zero Payout Pct"
          },
          "long_iv_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Long Iv Pct"
          },
          "short_iv_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Short Iv Pct"
          },
          "target_price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Target Price"
          },
          "target_payoff_usd": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Target Payoff Usd"
          },
          "target_cost_per_payoff_mid": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Target Cost Per Payoff Mid"
          },
          "target_cost_per_payoff_natural": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Target Cost Per Payoff Natural"
          }
        },
        "type": "object",
        "required": [
          "id",
          "candidate_id",
          "run_id",
          "observed_on",
          "decision_at",
          "symbol",
          "asset_class",
          "sleeve",
          "cohort",
          "lane",
          "dte_bucket",
          "expiration",
          "structure",
          "dte",
          "long_strike",
          "short_strike",
          "width",
          "spot",
          "cushion_pct",
          "mid_debit",
          "max_return_pct",
          "max_apy_pct",
          "max_loss_usd",
          "max_profit_usd"
        ],
        "title": "HoldSpreadOpportunity"
      },
      "HoldSpreadOutcome": {
        "properties": {
          "id": {
            "type": "string",
            "title": "Id"
          },
          "outcome_id": {
            "type": "string",
            "title": "Outcome Id"
          },
          "episode_id": {
            "type": "string",
            "title": "Episode Id"
          },
          "symbol": {
            "type": "string",
            "title": "Symbol"
          },
          "structure": {
            "type": "string",
            "title": "Structure"
          },
          "opened_on": {
            "type": "string",
            "title": "Opened On"
          },
          "horizon": {
            "type": "string",
            "title": "Horizon"
          },
          "status": {
            "type": "string",
            "title": "Status"
          },
          "entry_model": {
            "type": "string",
            "title": "Entry Model"
          },
          "paper_return_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Paper Return Pct"
          },
          "missing_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Missing Reason"
          },
          "observed_at": {
            "type": "string",
            "title": "Observed At"
          },
          "target_at": {
            "type": "string",
            "title": "Target At"
          },
          "excluded": {
            "type": "boolean",
            "title": "Excluded"
          },
          "entry_debit": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Entry Debit"
          },
          "exit_credit": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Exit Credit"
          },
          "settlement_spot": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Settlement Spot"
          },
          "net_pnl_usd": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Net Pnl Usd"
          },
          "methodology_version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Methodology Version"
          }
        },
        "type": "object",
        "required": [
          "id",
          "outcome_id",
          "episode_id",
          "symbol",
          "structure",
          "opened_on",
          "horizon",
          "status",
          "entry_model",
          "observed_at",
          "target_at",
          "excluded"
        ],
        "title": "HoldSpreadOutcome"
      },
      "HoldSpreadOutcomePrior": {
        "properties": {
          "horizon": {
            "type": "string",
            "title": "Horizon"
          },
          "methodology_version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Methodology Version"
          },
          "is_current_version": {
            "type": "boolean",
            "title": "Is Current Version",
            "default": false
          },
          "scored_n": {
            "type": "integer",
            "title": "Scored N",
            "default": 0
          },
          "positive_n": {
            "type": "integer",
            "title": "Positive N",
            "default": 0
          },
          "positive_share_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Positive Share Pct"
          },
          "missing_n": {
            "type": "integer",
            "title": "Missing N",
            "default": 0
          }
        },
        "type": "object",
        "required": [
          "horizon"
        ],
        "title": "HoldSpreadOutcomePrior"
      },
      "HoldSpreadRecord": {
        "properties": {
          "methodology_version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Methodology Version"
          },
          "started_on": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Started On"
          },
          "has_marks": {
            "type": "boolean",
            "title": "Has Marks",
            "default": false
          },
          "priors": {
            "items": {
              "$ref": "#/components/schemas/HoldSpreadOutcomePrior"
            },
            "type": "array",
            "title": "Priors"
          }
        },
        "type": "object",
        "title": "HoldSpreadRecord",
        "description": "The page's headline paper record: the current method version only."
      },
      "HoldSpreadRun": {
        "properties": {
          "run_id": {
            "type": "string",
            "title": "Run Id"
          },
          "session_date": {
            "type": "string",
            "title": "Session Date"
          },
          "decision_at": {
            "type": "string",
            "title": "Decision At"
          },
          "decision_at_pt": {
            "type": "string",
            "title": "Decision At Pt"
          },
          "decision_at_et": {
            "type": "string",
            "title": "Decision At Et"
          },
          "published_at": {
            "type": "string",
            "title": "Published At"
          },
          "methodology_version": {
            "type": "string",
            "title": "Methodology Version"
          },
          "candidate_count": {
            "type": "integer",
            "title": "Candidate Count"
          },
          "selected_count": {
            "type": "integer",
            "title": "Selected Count"
          },
          "expected_symbols": {
            "type": "integer",
            "title": "Expected Symbols"
          },
          "scanned_symbols": {
            "type": "integer",
            "title": "Scanned Symbols"
          },
          "content_hash": {
            "type": "string",
            "title": "Content Hash"
          },
          "fresh": {
            "type": "boolean",
            "title": "Fresh"
          },
          "status": {
            "type": "string",
            "title": "Status"
          }
        },
        "type": "object",
        "required": [
          "run_id",
          "session_date",
          "decision_at",
          "decision_at_pt",
          "decision_at_et",
          "published_at",
          "methodology_version",
          "candidate_count",
          "selected_count",
          "expected_symbols",
          "scanned_symbols",
          "content_hash",
          "fresh",
          "status"
        ],
        "title": "HoldSpreadRun"
      },
      "HoldSpreadSummary": {
        "properties": {
          "has_record": {
            "type": "boolean",
            "title": "Has Record",
            "default": false
          },
          "run_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Run Id"
          },
          "as_of": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "As Of"
          },
          "session_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Session Date"
          },
          "decision_at_pt": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Decision At Pt"
          },
          "decision_at_et": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Decision At Et"
          },
          "methodology_version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Methodology Version"
          },
          "run_kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Run Kind"
          },
          "research_status": {
            "type": "string",
            "title": "Research Status",
            "default": "INSUFFICIENT_DATA"
          },
          "candidate_count": {
            "type": "integer",
            "title": "Candidate Count",
            "default": 0
          },
          "selected_count": {
            "type": "integer",
            "title": "Selected Count",
            "default": 0
          },
          "episode_count": {
            "type": "integer",
            "title": "Episode Count",
            "default": 0
          },
          "matured_count": {
            "type": "integer",
            "title": "Matured Count",
            "default": 0
          },
          "missing_evidence_count": {
            "type": "integer",
            "title": "Missing Evidence Count",
            "default": 0
          },
          "content_hash": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Content Hash"
          },
          "record": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/HoldSpreadRecord"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object",
        "title": "HoldSpreadSummary"
      },
      "IncomeOpportunityPage": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/IncomeOptionOpportunity"
            },
            "type": "array",
            "title": "Items"
          },
          "total": {
            "type": "integer",
            "title": "Total",
            "default": 0
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "as_of": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "As Of"
          }
        },
        "type": "object",
        "title": "IncomeOpportunityPage"
      },
      "IncomeOptionOpportunity": {
        "properties": {
          "implied_move_source": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "straddle",
                  "atm_iv_scaled"
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "Implied Move Source",
            "description": "Where the implied move came from. straddle: the same-expiry at-the-money straddle midpoint. atm_iv_scaled: no usable straddle on that expiry, so the symbol's stored at-the-money implied volatility scaled by root time."
          },
          "implied_move_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Implied Move Reason",
            "description": "Why the implied move is null, when it is."
          },
          "prob_iv_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Prob Iv Pct",
            "description": "Annualised volatility (percent) behind the probability field."
          },
          "prob_iv_source": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "chain",
                  "bs_mid"
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "Prob Iv Source",
            "description": "chain: the contract's own implied volatility from the chain. bs_mid: a Black-Scholes approximation from the quote midpoint."
          },
          "prob_iv_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Prob Iv Reason",
            "description": "Why the probability is null, when it is."
          },
          "delta": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Delta",
            "description": "The option's delta: puts -1 to 0, calls 0 to 1."
          },
          "delta_source": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "chain",
                  "bs"
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "Delta Source",
            "description": "chain: from the chain. bs: a Black-Scholes approximation."
          },
          "range_52w_pos": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Range 52W Pos",
            "description": "Last daily close within its 252-session closing range: 0 at the low, 1 at the high."
          },
          "dist_ema200_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dist Ema200 Pct",
            "description": "Last daily close versus its 200-day EMA, percent."
          },
          "dist_ema50_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dist Ema50 Pct",
            "description": "Last daily close versus its 50-day EMA, percent."
          },
          "realized_vol_20d": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Realized Vol 20D",
            "description": "20-session close-to-close volatility, annualised percent."
          },
          "ret_5d_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ret 5D Pct"
          },
          "ret_21d_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ret 21D Pct"
          },
          "market_regime": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Market Regime",
            "description": "Market regime on file when the run was published."
          },
          "market_regime_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Market Regime Date"
          },
          "run_signal_as_of": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Run Signal As Of",
            "description": "Last bar of the ticker's nightly signals when the run was published."
          },
          "id": {
            "type": "string",
            "title": "Id"
          },
          "candidate_id": {
            "type": "string",
            "title": "Candidate Id"
          },
          "run_id": {
            "type": "string",
            "title": "Run Id"
          },
          "observed_on": {
            "type": "string",
            "title": "Observed On"
          },
          "decision_at": {
            "type": "string",
            "title": "Decision At"
          },
          "symbol": {
            "type": "string",
            "title": "Symbol"
          },
          "asset_class": {
            "type": "string",
            "title": "Asset Class"
          },
          "strategy": {
            "type": "string",
            "enum": [
              "csp",
              "cc"
            ],
            "title": "Strategy"
          },
          "sleeve": {
            "type": "string",
            "enum": [
              "near",
              "mid",
              "far",
              "deep"
            ],
            "title": "Sleeve"
          },
          "dte_bucket": {
            "type": "string",
            "title": "Dte Bucket"
          },
          "expiration": {
            "type": "string",
            "title": "Expiration"
          },
          "dte": {
            "type": "integer",
            "title": "Dte"
          },
          "structure": {
            "type": "string",
            "title": "Structure"
          },
          "spot": {
            "type": "number",
            "title": "Spot"
          },
          "strike": {
            "type": "number",
            "title": "Strike"
          },
          "bid": {
            "type": "number",
            "title": "Bid"
          },
          "ask": {
            "type": "number",
            "title": "Ask"
          },
          "mid": {
            "type": "number",
            "title": "Mid"
          },
          "natural_credit": {
            "type": "number",
            "title": "Natural Credit"
          },
          "fill_gap_pct": {
            "type": "number",
            "title": "Fill Gap Pct"
          },
          "premium_usd": {
            "type": "number",
            "title": "Premium Usd"
          },
          "premium_yield_pct": {
            "type": "number",
            "title": "Premium Yield Pct"
          },
          "annualized_yield_pct": {
            "type": "number",
            "title": "Annualized Yield Pct"
          },
          "cushion_pct": {
            "type": "number",
            "title": "Cushion Pct"
          },
          "implied_move": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Implied Move",
            "description": "The expiry's implied move in dollars."
          },
          "implied_move_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Implied Move Pct"
          },
          "iv_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Iv Pct",
            "description": "The contract's implied volatility from the chain, percent."
          },
          "otm_im": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Otm Im",
            "description": "Distance from spot to the strike in implied moves of that expiry. Positive is out of the money."
          },
          "assign_prob": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assign Prob",
            "description": "Probability (0 to 1) the option finishes in the money at expiry under a zero-drift lognormal at prob_iv_pct. The option market's own volatility restated; not a forecast and not the delta."
          },
          "breakeven": {
            "type": "number",
            "title": "Breakeven"
          },
          "capital_required": {
            "type": "number",
            "title": "Capital Required"
          },
          "scenario_proceeds": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scenario Proceeds"
          },
          "open_interest": {
            "type": "integer",
            "title": "Open Interest"
          },
          "volume": {
            "type": "integer",
            "title": "Volume"
          },
          "hold_score": {
            "type": "number",
            "title": "Hold Score"
          },
          "rank_position": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rank Position"
          },
          "historical_windows": {
            "type": "integer",
            "title": "Historical Windows",
            "default": 0
          },
          "historical_hit_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Historical Hit Pct"
          },
          "historical_median_return_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Historical Median Return Pct"
          },
          "q_score": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Q Score"
          },
          "fundamental_quality_score": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fundamental Quality Score"
          },
          "income_quality_score": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Income Quality Score"
          },
          "signal_regime": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signal Regime"
          },
          "next_er_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Er Date"
          },
          "nearest_level": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Nearest Level"
          },
          "nearest_level_price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Nearest Level Price"
          },
          "spot_level_distance_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Spot Level Distance Pct"
          },
          "strike_level_distance_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Strike Level Distance Pct"
          },
          "low_52w": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Low 52W"
          },
          "spot_vs_low_52w_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Spot Vs Low 52W Pct"
          },
          "exh_state": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "release",
                  "recent",
                  "seller_zone"
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "Exh State",
            "description": "Daily EXH buy-side chip (release today, recent 5-session buy, or seller zone). Pro only; null below Pro."
          },
          "signal_as_of": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signal As Of"
          },
          "quote_age_seconds": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Quote Age Seconds"
          },
          "selected": {
            "type": "boolean",
            "title": "Selected",
            "default": true
          }
        },
        "type": "object",
        "required": [
          "id",
          "candidate_id",
          "run_id",
          "observed_on",
          "decision_at",
          "symbol",
          "asset_class",
          "strategy",
          "sleeve",
          "dte_bucket",
          "expiration",
          "dte",
          "structure",
          "spot",
          "strike",
          "bid",
          "ask",
          "mid",
          "natural_credit",
          "fill_gap_pct",
          "premium_usd",
          "premium_yield_pct",
          "annualized_yield_pct",
          "cushion_pct",
          "breakeven",
          "capital_required",
          "open_interest",
          "volume",
          "hold_score"
        ],
        "title": "IncomeOptionOpportunity"
      },
      "IncomeOptionRecord": {
        "properties": {
          "basis": {
            "type": "string",
            "enum": [
              "collateral",
              "covered_position"
            ],
            "title": "Basis",
            "description": "What the returns are measured on. collateral: the put, on strike x 100. covered_position: stock plus short call, on the stock price, with the stock capped at the strike."
          },
          "settled_count": {
            "type": "integer",
            "title": "Settled Count",
            "default": 0
          },
          "missing_count": {
            "type": "integer",
            "title": "Missing Count",
            "default": 0
          },
          "win_rate_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Win Rate Pct"
          },
          "mean_return_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mean Return Pct"
          },
          "median_return_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Median Return Pct"
          },
          "call_leg_win_rate_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Call Leg Win Rate Pct",
            "description": "Covered calls only. The short call alone, ignoring the stock. It can be positive while the covered position lost."
          },
          "call_leg_mean_return_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Call Leg Mean Return Pct",
            "description": "Covered calls only. Call-leg P&L on the stock price."
          }
        },
        "type": "object",
        "required": [
          "basis"
        ],
        "title": "IncomeOptionRecord",
        "description": "Expiry record over every settled row of the regular runs."
      },
      "IncomeOptionRun": {
        "properties": {
          "run_id": {
            "type": "string",
            "title": "Run Id"
          },
          "session_date": {
            "type": "string",
            "title": "Session Date"
          },
          "decision_at": {
            "type": "string",
            "title": "Decision At"
          },
          "decision_at_pt": {
            "type": "string",
            "title": "Decision At Pt"
          },
          "decision_at_et": {
            "type": "string",
            "title": "Decision At Et"
          },
          "published_at": {
            "type": "string",
            "title": "Published At"
          },
          "methodology_version": {
            "type": "string",
            "title": "Methodology Version"
          },
          "run_kind": {
            "type": "string",
            "title": "Run Kind"
          },
          "candidate_count": {
            "type": "integer",
            "title": "Candidate Count"
          },
          "selected_count": {
            "type": "integer",
            "title": "Selected Count"
          },
          "expected_symbols": {
            "type": "integer",
            "title": "Expected Symbols"
          },
          "scanned_symbols": {
            "type": "integer",
            "title": "Scanned Symbols"
          },
          "content_hash": {
            "type": "string",
            "title": "Content Hash"
          },
          "fresh": {
            "type": "boolean",
            "title": "Fresh"
          },
          "status": {
            "type": "string",
            "title": "Status"
          }
        },
        "type": "object",
        "required": [
          "run_id",
          "session_date",
          "decision_at",
          "decision_at_pt",
          "decision_at_et",
          "published_at",
          "methodology_version",
          "run_kind",
          "candidate_count",
          "selected_count",
          "expected_symbols",
          "scanned_symbols",
          "content_hash",
          "fresh",
          "status"
        ],
        "title": "IncomeOptionRun"
      },
      "IncomeOptionSummary": {
        "properties": {
          "has_record": {
            "type": "boolean",
            "title": "Has Record",
            "default": false
          },
          "run_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Run Id"
          },
          "as_of": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "As Of"
          },
          "session_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Session Date"
          },
          "decision_at_pt": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Decision At Pt"
          },
          "decision_at_et": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Decision At Et"
          },
          "methodology_version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Methodology Version"
          },
          "run_kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Run Kind"
          },
          "fresh": {
            "type": "boolean",
            "title": "Fresh",
            "default": false
          },
          "research_status": {
            "type": "string",
            "title": "Research Status",
            "default": "INSUFFICIENT_DATA"
          },
          "candidate_count": {
            "type": "integer",
            "title": "Candidate Count",
            "default": 0
          },
          "selected_count": {
            "type": "integer",
            "title": "Selected Count",
            "default": 0
          },
          "outcome_count": {
            "type": "integer",
            "title": "Outcome Count",
            "default": 0
          },
          "record": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/IncomeOptionRecord"
              },
              {
                "type": "null"
              }
            ]
          },
          "content_hash": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Content Hash"
          }
        },
        "type": "object",
        "title": "IncomeOptionSummary"
      },
      "IncomeRunPage": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/IncomeOptionRun"
            },
            "type": "array",
            "title": "Items"
          },
          "total": {
            "type": "integer",
            "title": "Total",
            "default": 0
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          }
        },
        "type": "object",
        "title": "IncomeRunPage"
      },
      "IntradayFlushBreadthResponse": {
        "properties": {
          "live": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Live",
            "description": "True on U.S. trading days once today's session bars arrive, and stays true after the scheduled close through midnight ET when today's bars exist (with `session_closed` marking that closing snapshot); false on weekends, holidays, before 09:30 ET, or when no valid session bars exist (then only `reason` and `core_total` are set).",
            "examples": [
              true
            ]
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason",
            "description": "Why no live breadth count is shown: market_closed, scanner_unavailable or no_session_bars.",
            "examples": [
              "market_closed"
            ]
          },
          "session_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Session Date",
            "description": "US equity market date of the reading (YYYY-MM-DD, ET).",
            "examples": [
              "2026-11-27"
            ]
          },
          "as_of": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "As Of",
            "description": "ET ISO timestamp of the latest contributing scanner observation across evaluated core symbols (source observation time, not request time; pinned at the closing observation after the scheduled close).",
            "examples": [
              "2026-11-27T14:25:00-05:00"
            ]
          },
          "core_total": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Core Total",
            "description": "Number of liquid core U.S. symbols monitored in the basket.",
            "examples": [
              18
            ]
          },
          "core_evaluated": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Core Evaluated",
            "description": "How many core symbols have fresh 5-minute and 1-hour bars from today's session.",
            "examples": [
              18
            ]
          },
          "flush_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Flush Count",
            "description": "Aggregate count of evaluated core symbols simultaneously in 5-minute and 1-hour selling exhaustion.",
            "examples": [
              4
            ]
          },
          "elevated": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Elevated",
            "description": "True when multiple core names (3 or more) show simultaneous multi-frame selling pressure.",
            "examples": [
              true
            ]
          },
          "session_closed": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Session Closed",
            "description": "Marks the after-close closing snapshot: false during active trading hours, true after the scheduled US equity close (16:00 ET, or 13:00 ET on early-close sessions).",
            "examples": [
              false
            ]
          },
          "context_note": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Context Note",
            "description": "Framing disclaimer confirming this aggregate breadth reading is market context only.",
            "examples": [
              "Context, not a buy signal."
            ]
          }
        },
        "additionalProperties": true,
        "type": "object",
        "title": "IntradayFlushBreadthResponse",
        "description": "Aggregate count of core U.S. liquid names firing simultaneous 5-minute and 1-hour selling exhaustion today. Context, not a buy signal."
      },
      "LongOpportunityPage": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/LongOptionOpportunity"
            },
            "type": "array",
            "title": "Items"
          },
          "total": {
            "type": "integer",
            "title": "Total",
            "default": 0
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "as_of": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "As Of"
          }
        },
        "type": "object",
        "title": "LongOpportunityPage"
      },
      "LongOptionOpportunity": {
        "properties": {
          "implied_move_source": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "straddle",
                  "atm_iv_scaled"
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "Implied Move Source",
            "description": "Where the implied move came from. straddle: the same-expiry at-the-money straddle midpoint. atm_iv_scaled: no usable straddle on that expiry, so the symbol's stored at-the-money implied volatility scaled by root time."
          },
          "implied_move_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Implied Move Reason",
            "description": "Why the implied move is null, when it is."
          },
          "prob_iv_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Prob Iv Pct",
            "description": "Annualised volatility (percent) behind the probability field."
          },
          "prob_iv_source": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "chain",
                  "bs_mid"
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "Prob Iv Source",
            "description": "chain: the contract's own implied volatility from the chain. bs_mid: a Black-Scholes approximation from the quote midpoint."
          },
          "prob_iv_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Prob Iv Reason",
            "description": "Why the probability is null, when it is."
          },
          "delta": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Delta",
            "description": "The option's delta: puts -1 to 0, calls 0 to 1."
          },
          "delta_source": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "chain",
                  "bs"
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "Delta Source",
            "description": "chain: from the chain. bs: a Black-Scholes approximation."
          },
          "range_52w_pos": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Range 52W Pos",
            "description": "Last daily close within its 252-session closing range: 0 at the low, 1 at the high."
          },
          "dist_ema200_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dist Ema200 Pct",
            "description": "Last daily close versus its 200-day EMA, percent."
          },
          "dist_ema50_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dist Ema50 Pct",
            "description": "Last daily close versus its 50-day EMA, percent."
          },
          "realized_vol_20d": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Realized Vol 20D",
            "description": "20-session close-to-close volatility, annualised percent."
          },
          "ret_5d_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ret 5D Pct"
          },
          "ret_21d_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ret 21D Pct"
          },
          "market_regime": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Market Regime",
            "description": "Market regime on file when the run was published."
          },
          "market_regime_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Market Regime Date"
          },
          "run_signal_as_of": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Run Signal As Of",
            "description": "Last bar of the ticker's nightly signals when the run was published."
          },
          "id": {
            "type": "string",
            "title": "Id"
          },
          "candidate_id": {
            "type": "string",
            "title": "Candidate Id"
          },
          "run_id": {
            "type": "string",
            "title": "Run Id"
          },
          "observed_on": {
            "type": "string",
            "title": "Observed On"
          },
          "decision_at": {
            "type": "string",
            "title": "Decision At"
          },
          "symbol": {
            "type": "string",
            "title": "Symbol"
          },
          "asset_class": {
            "type": "string",
            "title": "Asset Class"
          },
          "strategy": {
            "type": "string",
            "enum": [
              "lp",
              "lc"
            ],
            "title": "Strategy"
          },
          "sleeve": {
            "type": "string",
            "title": "Sleeve"
          },
          "dte_bucket": {
            "type": "string",
            "title": "Dte Bucket"
          },
          "expiration": {
            "type": "string",
            "title": "Expiration"
          },
          "dte": {
            "type": "integer",
            "title": "Dte"
          },
          "structure": {
            "type": "string",
            "title": "Structure"
          },
          "spot": {
            "type": "number",
            "title": "Spot"
          },
          "strike": {
            "type": "number",
            "title": "Strike"
          },
          "bid": {
            "type": "number",
            "title": "Bid"
          },
          "ask": {
            "type": "number",
            "title": "Ask"
          },
          "mid": {
            "type": "number",
            "title": "Mid"
          },
          "natural_debit": {
            "type": "number",
            "title": "Natural Debit"
          },
          "fill_gap_pct": {
            "type": "number",
            "title": "Fill Gap Pct"
          },
          "premium_usd": {
            "type": "number",
            "title": "Premium Usd"
          },
          "otm_pct": {
            "type": "number",
            "title": "Otm Pct"
          },
          "breakeven": {
            "type": "number",
            "title": "Breakeven"
          },
          "break_even_move_pct": {
            "type": "number",
            "title": "Break Even Move Pct"
          },
          "break_even_to_im": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Break Even To Im"
          },
          "debit_to_im": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Debit To Im"
          },
          "iv_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Iv Pct"
          },
          "atm_iv_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Atm Iv Pct"
          },
          "iv_premium_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Iv Premium Pct"
          },
          "theta_ask_5d": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Theta Ask 5D"
          },
          "implied_move": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Implied Move"
          },
          "implied_move_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Implied Move Pct"
          },
          "strike_im": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Strike Im",
            "description": "Distance from spot to the strike in implied moves of that expiry. Positive is out of the money, negative in the money."
          },
          "finish_itm_prob": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Finish Itm Prob",
            "description": "Probability (0 to 1) the option finishes in the money at expiry under a zero-drift lognormal at prob_iv_pct. The option market's own volatility restated; not a forecast and not the delta."
          },
          "atm_control_ticker": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Atm Control Ticker"
          },
          "atm_control_ask": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Atm Control Ask"
          },
          "cheapest_control_ticker": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cheapest Control Ticker"
          },
          "cheapest_control_ask": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cheapest Control Ask"
          },
          "open_interest": {
            "type": "integer",
            "title": "Open Interest"
          },
          "volume": {
            "type": "integer",
            "title": "Volume"
          },
          "rank_score": {
            "type": "number",
            "title": "Rank Score"
          },
          "rank_position": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rank Position"
          },
          "signal_regime": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signal Regime"
          },
          "next_er_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Er Date"
          },
          "nearest_level": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Nearest Level"
          },
          "nearest_level_price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Nearest Level Price"
          },
          "spot_level_distance_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Spot Level Distance Pct"
          },
          "strike_level_distance_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Strike Level Distance Pct"
          },
          "low_52w": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Low 52W"
          },
          "spot_vs_low_52w_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Spot Vs Low 52W Pct"
          },
          "rr_at_im": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rr At Im"
          },
          "return_at_target": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Return At Target"
          },
          "realized_vol_60d": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Realized Vol 60D"
          },
          "iv_rv_ratio": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Iv Rv Ratio"
          },
          "roll_by_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Roll By Date"
          },
          "double_move_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Double Move Pct"
          },
          "double_move_im": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Double Move Im"
          },
          "exh_state": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "release",
                  "recent",
                  "seller_zone"
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "Exh State",
            "description": "Daily EXH buy-side chip (release today, recent 5-session buy, or seller zone). Pro only; null below Pro."
          },
          "signal_as_of": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signal As Of"
          },
          "quote_age_seconds": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Quote Age Seconds"
          },
          "selected": {
            "type": "boolean",
            "title": "Selected",
            "default": true
          }
        },
        "type": "object",
        "required": [
          "id",
          "candidate_id",
          "run_id",
          "observed_on",
          "decision_at",
          "symbol",
          "asset_class",
          "strategy",
          "sleeve",
          "dte_bucket",
          "expiration",
          "dte",
          "structure",
          "spot",
          "strike",
          "bid",
          "ask",
          "mid",
          "natural_debit",
          "fill_gap_pct",
          "premium_usd",
          "otm_pct",
          "breakeven",
          "break_even_move_pct",
          "open_interest",
          "volume",
          "rank_score"
        ],
        "title": "LongOptionOpportunity"
      },
      "LongOptionRun": {
        "properties": {
          "run_id": {
            "type": "string",
            "title": "Run Id"
          },
          "session_date": {
            "type": "string",
            "title": "Session Date"
          },
          "decision_at": {
            "type": "string",
            "title": "Decision At"
          },
          "decision_at_pt": {
            "type": "string",
            "title": "Decision At Pt"
          },
          "decision_at_et": {
            "type": "string",
            "title": "Decision At Et"
          },
          "published_at": {
            "type": "string",
            "title": "Published At"
          },
          "methodology_version": {
            "type": "string",
            "title": "Methodology Version"
          },
          "run_kind": {
            "type": "string",
            "title": "Run Kind"
          },
          "candidate_count": {
            "type": "integer",
            "title": "Candidate Count"
          },
          "selected_count": {
            "type": "integer",
            "title": "Selected Count"
          },
          "expected_symbols": {
            "type": "integer",
            "title": "Expected Symbols"
          },
          "scanned_symbols": {
            "type": "integer",
            "title": "Scanned Symbols"
          },
          "content_hash": {
            "type": "string",
            "title": "Content Hash"
          },
          "fresh": {
            "type": "boolean",
            "title": "Fresh"
          },
          "status": {
            "type": "string",
            "title": "Status"
          }
        },
        "type": "object",
        "required": [
          "run_id",
          "session_date",
          "decision_at",
          "decision_at_pt",
          "decision_at_et",
          "published_at",
          "methodology_version",
          "run_kind",
          "candidate_count",
          "selected_count",
          "expected_symbols",
          "scanned_symbols",
          "content_hash",
          "fresh",
          "status"
        ],
        "title": "LongOptionRun"
      },
      "LongOptionSummary": {
        "properties": {
          "has_record": {
            "type": "boolean",
            "title": "Has Record",
            "default": false
          },
          "run_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Run Id"
          },
          "as_of": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "As Of"
          },
          "session_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Session Date"
          },
          "decision_at_pt": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Decision At Pt"
          },
          "decision_at_et": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Decision At Et"
          },
          "methodology_version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Methodology Version"
          },
          "run_kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Run Kind"
          },
          "fresh": {
            "type": "boolean",
            "title": "Fresh",
            "default": false
          },
          "research_status": {
            "type": "string",
            "title": "Research Status",
            "default": "INSUFFICIENT_DATA"
          },
          "candidate_count": {
            "type": "integer",
            "title": "Candidate Count",
            "default": 0
          },
          "selected_count": {
            "type": "integer",
            "title": "Selected Count",
            "default": 0
          },
          "outcome_count": {
            "type": "integer",
            "title": "Outcome Count",
            "default": 0
          },
          "content_hash": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Content Hash"
          }
        },
        "type": "object",
        "title": "LongOptionSummary"
      },
      "LongRunPage": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/LongOptionRun"
            },
            "type": "array",
            "title": "Items"
          },
          "total": {
            "type": "integer",
            "title": "Total",
            "default": 0
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          }
        },
        "type": "object",
        "title": "LongRunPage"
      },
      "OpportunityPage": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/HoldSpreadOpportunity"
            },
            "type": "array",
            "title": "Items"
          },
          "total": {
            "type": "integer",
            "title": "Total",
            "default": 0
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "as_of": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "As Of"
          }
        },
        "type": "object",
        "title": "OpportunityPage"
      },
      "OutcomePage": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/HoldSpreadOutcome"
            },
            "type": "array",
            "title": "Items"
          },
          "total": {
            "type": "integer",
            "title": "Total",
            "default": 0
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "open_count": {
            "type": "integer",
            "title": "Open Count",
            "default": 0
          },
          "matured_count": {
            "type": "integer",
            "title": "Matured Count",
            "default": 0
          },
          "missing_evidence_count": {
            "type": "integer",
            "title": "Missing Evidence Count",
            "default": 0
          },
          "excluded_count": {
            "type": "integer",
            "title": "Excluded Count",
            "default": 0
          },
          "natural_priors": {
            "items": {
              "$ref": "#/components/schemas/HoldSpreadOutcomePrior"
            },
            "type": "array",
            "title": "Natural Priors"
          },
          "record": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/HoldSpreadRecord"
              },
              {
                "type": "null"
              }
            ]
          },
          "natural_priors_by_version": {
            "items": {
              "$ref": "#/components/schemas/HoldSpreadOutcomePrior"
            },
            "type": "array",
            "title": "Natural Priors By Version"
          },
          "candidate_expiry_record": {
            "items": {
              "$ref": "#/components/schemas/HoldSpreadCandidateExpiry"
            },
            "type": "array",
            "title": "Candidate Expiry Record"
          }
        },
        "type": "object",
        "title": "OutcomePage"
      },
      "RunPage": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/HoldSpreadRun"
            },
            "type": "array",
            "title": "Items"
          },
          "total": {
            "type": "integer",
            "title": "Total",
            "default": 0
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          }
        },
        "type": "object",
        "title": "RunPage"
      },
      "SearchHit": {
        "properties": {
          "symbol": {
            "type": "string",
            "title": "Symbol"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          }
        },
        "type": "object",
        "required": [
          "symbol"
        ],
        "title": "SearchHit",
        "description": "One autocomplete result from /api/bigfive/search."
      },
      "SignalCardResponse": {
        "properties": {
          "symbol": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Symbol"
          },
          "display_symbol": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Symbol"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "sector": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sector"
          },
          "industry": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Industry"
          },
          "asset_class": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Asset Class"
          },
          "direction": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Direction"
          },
          "score": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Score"
          },
          "score_confidence_pct": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Score Confidence Pct"
          },
          "composite_score": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Composite Score"
          },
          "composite_raw": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Composite Raw"
          },
          "regime": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Regime"
          },
          "hmm_days_in_regime": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hmm Days In Regime"
          },
          "hmm_previous_regime": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hmm Previous Regime"
          },
          "current_price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Current Price"
          },
          "daily_change": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Daily Change"
          },
          "sparkline": {
            "anyOf": [
              {
                "items": {},
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sparkline"
          },
          "sparkline_regime": {
            "anyOf": [
              {
                "items": {},
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sparkline Regime"
          },
          "last_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Date"
          },
          "pf": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pf"
          },
          "win_rate": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Win Rate"
          },
          "trade_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Trade Count"
          },
          "pf_data_quality": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pf Data Quality"
          },
          "market_cap": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Market Cap"
          },
          "quality_score": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Quality Score"
          },
          "value_score": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Value Score"
          },
          "growth_score": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Growth Score"
          },
          "garp_score": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Garp Score"
          },
          "archetype": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Archetype"
          },
          "exh_buy": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Exh Buy"
          },
          "exh_sell": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Exh Sell"
          },
          "exh_buy_release_now": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Exh Buy Release Now"
          },
          "exh_sell_release_now": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Exh Sell Release Now"
          },
          "exh_buy_release_days_ago": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Exh Buy Release Days Ago"
          },
          "exh_sell_release_days_ago": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Exh Sell Release Days Ago"
          },
          "exh_seller_exhausted": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Exh Seller Exhausted"
          },
          "exh_buyer_exhausted": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Exh Buyer Exhausted"
          },
          "exh_macd_z": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Exh Macd Z"
          },
          "exh_strength": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Exh Strength"
          },
          "opt_iv_atm": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Opt Iv Atm"
          },
          "opt_iv_low_52w": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Opt Iv Low 52W"
          },
          "opt_iv_high_52w": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Opt Iv High 52W"
          },
          "opt_iv_rank": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Opt Iv Rank"
          },
          "opt_iv_pctile": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Opt Iv Pctile"
          },
          "opt_q_score": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Opt Q Score"
          },
          "depth": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "enum": [
              "public",
              "essential",
              "research",
              "full"
            ],
            "title": "Depth",
            "description": "Response depth assigned from the caller's entitlement: public | essential | research | full."
          },
          "vintage": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vintage"
          },
          "published_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Published At"
          }
        },
        "additionalProperties": true,
        "type": "object",
        "title": "SignalCardResponse",
        "description": "/api/bigfive/signal-card/{symbol}: the ~150-key evidence card."
      },
      "SymbolBatchBody": {
        "properties": {
          "symbols": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "items": {},
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Symbols"
          },
          "extended": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Extended"
          }
        },
        "type": "object",
        "title": "SymbolBatchBody",
        "description": "Shared body for the symbol-batch POSTs."
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          },
          "ctx": {
            "type": "object",
            "title": "Context"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      },
      "WashoutCheck": {
        "properties": {
          "key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Key",
            "description": "down_volume, breadth_washout, sectors_together or high_beta.",
            "examples": [
              "down_volume"
            ]
          },
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label",
            "description": "Plain name of the check.",
            "examples": [
              "90% down day"
            ]
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State",
            "description": "fired (fired within the window), close (near its threshold) or no.",
            "examples": [
              "fired"
            ]
          },
          "last_fired": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Fired",
            "description": "Most recent fire inside the window (YYYY-MM-DD), else null.",
            "examples": [
              "2026-11-19"
            ]
          },
          "reading": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reading",
            "description": "Tonight's reading and the threshold, in words.",
            "examples": [
              "19% of members above their 20-day average, McClellan -95 (fires at 20% and -80)"
            ]
          }
        },
        "additionalProperties": true,
        "type": "object",
        "title": "WashoutCheck",
        "description": "One of the four washout checks."
      },
      "WashoutEvent": {
        "properties": {
          "date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Date",
            "description": "Event date (YYYY-MM-DD).",
            "examples": [
              "2025-04-08"
            ]
          },
          "spy_fwd_return": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Spy Fwd Return",
            "description": "SPY return over the next `horizon_days` sessions, as a fraction; null until that window has elapsed.",
            "examples": [
              0.1743
            ]
          }
        },
        "additionalProperties": true,
        "type": "object",
        "title": "WashoutEvent",
        "description": "One day the washout count first reached the rule (10-session cooldown)."
      },
      "WashoutLiveResponse": {
        "properties": {
          "live": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Live",
            "description": "True when this is a live reading (09:30 ET to midnight ET on weekdays); false otherwise or before today's quotes exist (then only `reason` is set).",
            "examples": [
              true
            ]
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason",
            "description": "Why there is no live reading: market_closed, no_base, base_not_from_a_previous_session or no_session_quotes. A build error returns HTTP 503 with reason error.",
            "examples": [
              "market_closed"
            ]
          },
          "provisional": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Provisional",
            "description": "Always true on a live reading: today's checks can change until the close.",
            "examples": [
              true
            ]
          },
          "session_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Session Date",
            "description": "Market date of the session in progress (YYYY-MM-DD, ET).",
            "examples": [
              "2026-11-24"
            ]
          },
          "base_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Base Date",
            "description": "Previous session the nightly base was built from (YYYY-MM-DD).",
            "examples": [
              "2026-11-23"
            ]
          },
          "as_of": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "As Of",
            "description": "When this reading was computed (ET, ISO).",
            "examples": [
              "2026-11-24T15:45:12-05:00"
            ]
          },
          "count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Count",
            "description": "Checks fired within the last 5 sessions including today so far (0-4).",
            "examples": [
              3
            ]
          },
          "needed": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Needed",
            "description": "Count at which the washout is active.",
            "examples": [
              3
            ]
          },
          "total": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Total",
            "description": "Number of checks.",
            "examples": [
              4
            ]
          },
          "window_sessions": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Window Sessions",
            "description": "Sessions a fire stays counted.",
            "examples": [
              5
            ]
          },
          "active": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Active",
            "description": "True when count >= needed.",
            "examples": [
              true
            ]
          },
          "members_quoted": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Members Quoted",
            "description": "S&P 500 members with a quote for this session (breadth checks need at least 200).",
            "examples": [
              491
            ]
          },
          "session_closed": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Session Closed",
            "description": "True after the 16:00 ET close: the reading uses closing quotes and the nightly count confirms it later that night.",
            "examples": [
              false
            ]
          },
          "checks": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/WashoutCheck"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Checks",
            "description": "The four checks: state today so far and the reading."
          }
        },
        "additionalProperties": true,
        "type": "object",
        "title": "WashoutLiveResponse",
        "description": "Provisional washout count for the session in progress (US market hours only). Today's checks use live prices and volume so far; the nightly count on /api/hmm/latest is the record. Context, not a buy signal."
      },
      "WashoutSnapshot": {
        "properties": {
          "date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Date",
            "description": "Market date of the reading (YYYY-MM-DD).",
            "examples": [
              "2026-11-20"
            ]
          },
          "count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Count",
            "description": "Checks that fired within the window (0-4).",
            "examples": [
              2
            ]
          },
          "needed": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Needed",
            "description": "Count at which the washout is active.",
            "examples": [
              3
            ]
          },
          "total": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Total",
            "description": "Number of checks.",
            "examples": [
              4
            ]
          },
          "window_sessions": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Window Sessions",
            "description": "Sessions a fire stays counted.",
            "examples": [
              5
            ]
          },
          "active": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Active",
            "description": "True when count >= needed.",
            "examples": [
              false
            ]
          },
          "started_today": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Started Today",
            "description": "True on the session the count first reached the rule.",
            "examples": [
              false
            ]
          },
          "checks": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/WashoutCheck"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Checks",
            "description": "The four checks with their state and reading."
          },
          "vix": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vix",
            "description": "Latest VIX close on or before `date` (at most 3 sessions older), in index points.",
            "examples": [
              35.89
            ]
          },
          "vix_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vix Date",
            "description": "Date of that VIX close (YYYY-MM-DD); earlier than `date` when the VIX feed lagged.",
            "examples": [
              "2026-11-20"
            ]
          },
          "track_record": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WashoutTrackRecord"
              },
              {
                "type": "null"
              }
            ],
            "description": "SPY outcome after past events."
          },
          "live_since": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Live Since",
            "description": "First nightly (non-backfill) date in the history; earlier rows are a backfill.",
            "examples": [
              "2026-11-23"
            ]
          },
          "updated": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated",
            "description": "When the nightly job wrote this reading (local ISO timestamp); use it to spot a stale file.",
            "examples": [
              "2026-11-23T21:12:04"
            ]
          }
        },
        "additionalProperties": true,
        "type": "object",
        "title": "WashoutSnapshot",
        "description": "Washout count: how many of four signs of forced, across-the-board selling fired in the last five sessions. Context, not a buy signal."
      },
      "WashoutTrackRecord": {
        "properties": {
          "since": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Since",
            "description": "First date of the record (YYYY-MM-DD).",
            "examples": [
              "2007-01-03"
            ]
          },
          "events": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Events",
            "description": "Times the count reached the rule (10-session cooldown).",
            "examples": [
              30
            ]
          },
          "episodes": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Episodes",
            "description": "Separate selloffs: events less than 60 sessions apart count once.",
            "examples": [
              19
            ]
          },
          "horizon_days": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Horizon Days",
            "description": "Forward window in trading days.",
            "examples": [
              60
            ]
          },
          "avg_return": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Avg Return",
            "description": "Average SPY return over the window after an event, as a fraction.",
            "examples": [
              0.0578
            ]
          },
          "baseline_return": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Baseline Return",
            "description": "Average SPY return over the same window from any day, as a fraction.",
            "examples": [
              0.0235
            ]
          },
          "excess_return": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Excess Return",
            "description": "avg_return minus baseline_return.",
            "examples": [
              0.0343
            ]
          },
          "first_event_excess_return": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Event Excess Return",
            "description": "Excess return using only the first event of each selloff.",
            "examples": [
              0.0259
            ]
          },
          "win_rate": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Win Rate",
            "description": "Share of events with a positive SPY return over the window.",
            "examples": [
              0.7
            ]
          },
          "worst_return": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Worst Return",
            "description": "Worst SPY return over the window after an event.",
            "examples": [
              -0.0707
            ]
          },
          "last_event": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Event",
            "description": "Most recent event (YYYY-MM-DD).",
            "examples": [
              "2025-04-08"
            ]
          },
          "event_list": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/WashoutEvent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Event List",
            "description": "Every event since `since`, oldest first, for chart markers."
          }
        },
        "additionalProperties": true,
        "type": "object",
        "title": "WashoutTrackRecord",
        "description": "SPY after each time the count first reached the rule, since 2007 (backfill plus live nights)."
      }
    },
    "headers": {
      "X-RateLimit-Limit": {
        "description": "Request cap of the primary (per-minute) window. On 429, the cap of the window that rejected the call (for example the daily one).",
        "schema": {
          "type": "integer"
        },
        "example": 120
      },
      "X-RateLimit-Remaining": {
        "description": "Requests remaining in the primary window (0 on 429).",
        "schema": {
          "type": "integer"
        }
      },
      "X-RateLimit-Reset": {
        "description": "Unix timestamp (seconds) when the window described by X-RateLimit-Limit resets. On 429 this matches Retry-After.",
        "schema": {
          "type": "integer"
        }
      },
      "Retry-After": {
        "description": "Seconds to wait before retrying.",
        "schema": {
          "type": "integer"
        },
        "example": 30
      }
    }
  }
}
