{
  "openapi": "3.1.0",
  "info": {
    "title": "Symbology Data API",
    "version": "1.0.0-preview",
    "description": "Point-in-time US equity data from SEC filings, 2005 to today. Values link to the exact SEC submission they came from and record both the period they cover and when they became public. Not yet released. This document describes the planned v1 API. Wait List: https://symbologydata.com/signup. Documentation: https://symbologydata.com/api"
  },
  "servers": [
    {
      "url": "https://api.symbologydata.com"
    }
  ],
  "tags": [
    {
      "name": "Ticker & Identifier History",
      "description": "Resolve tickers, sd_id, FIGI, LEI, or CIK to a canonical issuer and security identity as of any date, with full point-in-time ticker and exchange intervals."
    },
    {
      "name": "Corporate Actions",
      "description": "Splits, dividends, spinoffs, M&A, ticker/name changes, and delistings from a filing-level point-in-time ledger, with optional cumulative split-adjustment factors."
    },
    {
      "name": "Company Fundamentals",
      "description": "Standardized as-reported and most-recent-reported fundamentals across 172 indicators, with a bitemporal revision ledger that eliminates restatement look-ahead."
    },
    {
      "name": "US Equity Index Constituents",
      "description": "Point-in-time constituents, normalized proxy weights, and membership changes for SP500, R1000, R2000, R3000, NDX100, and DJIA, reconstructed from proxy fund filings."
    },
    {
      "name": "Material Corporate Events (Form 8-K)",
      "description": "One row per Form 8-K accession, filer CIK, and disclosed item, with NYSE-calendar session classification and amendment linkage."
    },
    {
      "name": "Insider Trades & Holdings",
      "description": "Form 3/4/5 insider transactions and holdings, one row per transaction, with transaction date strictly separated from SEC acceptance time."
    },
    {
      "name": "Institutional Investors (Form 13F)",
      "description": "Amendment-resolved quarterly Form 13F holdings by manager and by issuer, evaluated at the knowledge time you specify."
    },
    {
      "name": "Daily Valuation Inputs",
      "description": "Daily per-share-class valuation frames combining shares, TTM fundamentals, and balance-sheet inputs, each with its own SEC provenance. Market-based fields are not yet populated."
    },
    {
      "name": "Institutional Ownership Aggregates",
      "description": "Quarterly institutional ownership aggregates per security and per manager, with a frozen 45-day-deadline snapshot suited to backtests."
    },
    {
      "name": "Business & Geographic Segments",
      "description": "Dimensional XBRL segment facts (business, geographic, product/service, consolidation items) with hierarchy, ISO geo codes, ASU 2023-07 expenses, and consolidated reconciliation status."
    },
    {
      "name": "Shares Outstanding & Public Float",
      "description": "Point-in-time shares outstanding per class, Rule 405 public float estimates, and de-duplicated Schedule 13D/G blockholders."
    },
    {
      "name": "Earnings Calendar",
      "description": "Form 8-K Item 2.02 earnings releases with Exhibit 99.1 headline figures, NYSE reaction session, and no validation look-ahead."
    },
    {
      "name": "US Market Calendar (NYSE & NASDAQ)",
      "description": "Per-exchange daily trading status, regular and early-close hours in ET and UTC, SEC EDGAR / settlement-day flags, and 2005–present unscheduled closures and market-wide halts."
    },
    {
      "name": "Account",
      "description": "Account, usage and service-status endpoints."
    }
  ],
  "paths": {
    "/v1/health": {
      "get": {
        "operationId": "health",
        "summary": "Public health check.",
        "description": "Public health check (no auth required). Returns { \"status\": \"ok\", \"timestamp\": \"…\" }.",
        "tags": [
          "Account"
        ],
        "parameters": [],
        "security": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/account": {
      "get": {
        "operationId": "account",
        "summary": "Authenticated account details.",
        "description": "Returns authenticated account ID, tier, seat count, entitled datasets, and quota limits.",
        "tags": [
          "Account"
        ],
        "parameters": [],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/account/usage": {
      "get": {
        "operationId": "account-usage",
        "summary": "Daily request counts.",
        "description": "Daily request counts for ?from=YYYY-MM-DD&to=YYYY-MM-DD (max 90-day window).",
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "from",
            "in": "query",
            "required": false,
            "description": "Start date of the usage window.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "to",
            "in": "query",
            "required": false,
            "description": "End date of the usage window (max 90-day window).",
            "schema": {
              "type": "string"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/account/keys": {
      "get": {
        "operationId": "account-keys-list",
        "summary": "List API keys.",
        "description": "Lists active and revoked keys (key_prefix, label, created_at, revoked_at; never the secret).",
        "tags": [
          "Account"
        ],
        "parameters": [],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "account-keys-create",
        "summary": "Create an additional labeled key.",
        "description": "Creates an additional labeled key (requires retail+ tier; returns raw key once).\n\nMinimum tier: retail.",
        "tags": [
          "Account"
        ],
        "parameters": [],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/account/keys/{key_prefix}": {
      "delete": {
        "operationId": "account-keys-revoke",
        "summary": "Revoke a key.",
        "description": "Immediately revokes a key.",
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "key_prefix",
            "in": "path",
            "required": true,
            "description": "8-character key prefix identifying the key to revoke.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/symbology/resolve": {
      "get": {
        "operationId": "symbology-resolve",
        "summary": "Resolve an identifier to canonical identity.",
        "description": "Resolve ticker, sd_id, figi, lei, or cik to canonical issuer & security identity as of as_of.",
        "tags": [
          "Ticker & Identifier History"
        ],
        "parameters": [
          {
            "name": "ticker",
            "in": "query",
            "required": false,
            "description": "Ticker symbol, resolved as of as_of.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sd_id",
            "in": "query",
            "required": false,
            "description": "Immutable security-class identifier ({cik}-{compositeFIGI} or {cik}-sd{n}).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "figi",
            "in": "query",
            "required": false,
            "description": "FIGI.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lei",
            "in": "query",
            "required": false,
            "description": "Legal Entity Identifier.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cik",
            "in": "query",
            "required": false,
            "description": "SEC Central Index Key.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "exchange",
            "in": "query",
            "required": false,
            "description": "Exchange to disambiguate the symbol.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "description": "Point-in-time knowledge cutoff for this query (also a universal parameter).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "include",
            "in": "query",
            "required": false,
            "description": "Related objects to include.",
            "schema": {
              "type": "string",
              "enum": [
                "profile",
                "securities",
                "intervals"
              ]
            },
            "x-csv": true
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/symbology/search": {
      "get": {
        "operationId": "symbology-search",
        "summary": "Search issuers and securities.",
        "description": "Search issuers and securities by name, ticker, CIK, or FIGI.",
        "tags": [
          "Ticker & Identifier History"
        ],
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": true,
            "description": "Search text (name, ticker, CIK, or FIGI).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "entity_type",
            "in": "query",
            "required": false,
            "description": "Entity type filter.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sic",
            "in": "query",
            "required": false,
            "description": "SIC code filter.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "active_only",
            "in": "query",
            "required": false,
            "description": "Restrict to active issuers/securities.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "description": "Point-in-time knowledge cutoff for this query (also a universal parameter).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Maximum items returned per page.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "Forward pagination token from meta.next_cursor.",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/companies/{cik}": {
      "get": {
        "operationId": "companies-profile",
        "summary": "Issuer profile.",
        "description": "Issuer profile (legal name, former names, SIC, entity type, state, FYE, exchanges) and sd_securities share classes.",
        "tags": [
          "Ticker & Identifier History"
        ],
        "parameters": [
          {
            "name": "cik",
            "in": "path",
            "required": true,
            "description": "SEC Central Index Key; accepted with or without leading zeros.",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/as_of"
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/companies/{cik}/identifiers": {
      "get": {
        "operationId": "companies-identifiers",
        "summary": "PIT ticker/exchange intervals and registrations.",
        "description": "Full PIT ticker/exchange intervals (valid_from, valid_to, source, status, FIGI/LEI) and regulatory registrations/delistings (Forms 8-A12B, 25, 25-NSE).\n\nSortable fields: valid_from, valid_to, source_rank.",
        "tags": [
          "Ticker & Identifier History"
        ],
        "parameters": [
          {
            "name": "cik",
            "in": "path",
            "required": true,
            "description": "SEC Central Index Key; accepted with or without leading zeros.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "description": "Interval status.",
            "schema": {
              "type": "string",
              "enum": [
                "active",
                "closed",
                "candidate"
              ]
            }
          },
          {
            "name": "source",
            "in": "query",
            "required": false,
            "description": "Interval source.",
            "schema": {
              "type": "string",
              "enum": [
                "company_tickers_diff",
                "8k_5.03",
                "form25",
                "filing_cover",
                "sec_series_class",
                "nasdaq_symdir"
              ]
            }
          },
          {
            "$ref": "#/components/parameters/as_of"
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/listings/{symbol}": {
      "get": {
        "operationId": "listings-snapshot",
        "summary": "Exchange-level symbol snapshot.",
        "description": "Exchange-level symbol snapshot and regulatory flags (Reg SHO threshold, Rule 201 circuit breakers, Reg NMS pilot) as of as_of.",
        "tags": [
          "Ticker & Identifier History"
        ],
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "description": "Exchange symbol.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "date_from",
            "in": "query",
            "required": false,
            "description": "Inclusive lower bound on date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "date_to",
            "in": "query",
            "required": false,
            "description": "Inclusive upper bound on date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "include_regulatory",
            "in": "query",
            "required": false,
            "description": "Include regulatory flags.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "$ref": "#/components/parameters/as_of"
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/listings/{symbol}/history": {
      "get": {
        "operationId": "listings-history",
        "summary": "Historical exchange intervals for a symbol.",
        "description": "Historical PIT exchange intervals (Nasdaq Trader, CTA, NYSE) and CIK assignments for a reused ticker.",
        "tags": [
          "Ticker & Identifier History"
        ],
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "description": "Exchange symbol.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "date_from",
            "in": "query",
            "required": false,
            "description": "Inclusive lower bound on date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "date_to",
            "in": "query",
            "required": false,
            "description": "Inclusive upper bound on date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "include_regulatory",
            "in": "query",
            "required": false,
            "description": "Include regulatory flags.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "$ref": "#/components/parameters/as_of"
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/corporate-actions": {
      "get": {
        "operationId": "corporate-actions-feed",
        "summary": "Market-wide corporate actions feed.",
        "description": "Market-wide corporate actions feed (splits, dividends, spinoffs, M&A, ticker/name changes, delistings).\n\nSortable fields: ex_date, declaration_date, payable_date, accepted_at (default sort: -ex_date,-accepted_at).",
        "tags": [
          "Corporate Actions"
        ],
        "parameters": [
          {
            "name": "cik",
            "in": "query",
            "required": false,
            "description": "SEC Central Index Key.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "sd_id",
            "in": "query",
            "required": false,
            "description": "Immutable security-class identifier.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "action_type",
            "in": "query",
            "required": false,
            "description": "Corporate action type.",
            "schema": {
              "type": "string",
              "enum": [
                "split",
                "reverse_split",
                "cash_dividend",
                "stock_dividend",
                "spinoff",
                "merger",
                "ticker_change",
                "name_change",
                "delisting"
              ]
            },
            "x-csv": true
          },
          {
            "name": "confidence",
            "in": "query",
            "required": false,
            "description": "Confidence of the action record.",
            "schema": {
              "type": "string",
              "enum": [
                "high",
                "medium",
                "low"
              ]
            }
          },
          {
            "name": "ex_date_from",
            "in": "query",
            "required": false,
            "description": "Inclusive lower bound on ex-date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ex_date_to",
            "in": "query",
            "required": false,
            "description": "Inclusive upper bound on ex-date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "record_date_from",
            "in": "query",
            "required": false,
            "description": "Inclusive lower bound on record date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "record_date_to",
            "in": "query",
            "required": false,
            "description": "Inclusive upper bound on record date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "accepted_after",
            "in": "query",
            "required": false,
            "description": "Only records accepted after this UTC timestamp.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "accepted_before",
            "in": "query",
            "required": false,
            "description": "Only records accepted before this UTC timestamp.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "description": "Point-in-time knowledge cutoff for this query (also a universal parameter).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "view",
            "in": "query",
            "required": false,
            "description": "observations returns every filing-level update from sd.corporate_actions for full PIT revision auditing.",
            "schema": {
              "type": "string",
              "enum": [
                "canonical",
                "observations"
              ],
              "default": "canonical"
            }
          },
          {
            "name": "include_split_factors",
            "in": "query",
            "required": false,
            "description": "Include cumulative split-adjustment factors per sd_id.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/companies/{cik}/corporate-actions": {
      "get": {
        "operationId": "companies-corporate-actions",
        "summary": "Corporate actions for an issuer.",
        "description": "All corporate actions for an issuer, optionally with cumulative split-adjustment factors per sd_id.\n\nSortable fields: ex_date, declaration_date, payable_date, accepted_at (default sort: -ex_date,-accepted_at).",
        "tags": [
          "Corporate Actions"
        ],
        "parameters": [
          {
            "name": "cik",
            "in": "path",
            "required": true,
            "description": "SEC Central Index Key; accepted with or without leading zeros.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sd_id",
            "in": "query",
            "required": false,
            "description": "Immutable security-class identifier.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "action_type",
            "in": "query",
            "required": false,
            "description": "Corporate action type.",
            "schema": {
              "type": "string",
              "enum": [
                "split",
                "reverse_split",
                "cash_dividend",
                "stock_dividend",
                "spinoff",
                "merger",
                "ticker_change",
                "name_change",
                "delisting"
              ]
            },
            "x-csv": true
          },
          {
            "name": "confidence",
            "in": "query",
            "required": false,
            "description": "Confidence of the action record.",
            "schema": {
              "type": "string",
              "enum": [
                "high",
                "medium",
                "low"
              ]
            }
          },
          {
            "name": "ex_date_from",
            "in": "query",
            "required": false,
            "description": "Inclusive lower bound on ex-date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ex_date_to",
            "in": "query",
            "required": false,
            "description": "Inclusive upper bound on ex-date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "record_date_from",
            "in": "query",
            "required": false,
            "description": "Inclusive lower bound on record date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "record_date_to",
            "in": "query",
            "required": false,
            "description": "Inclusive upper bound on record date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "accepted_after",
            "in": "query",
            "required": false,
            "description": "Only records accepted after this UTC timestamp.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "accepted_before",
            "in": "query",
            "required": false,
            "description": "Only records accepted before this UTC timestamp.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "description": "Point-in-time knowledge cutoff for this query (also a universal parameter).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "view",
            "in": "query",
            "required": false,
            "description": "observations returns every filing-level update from sd.corporate_actions for full PIT revision auditing.",
            "schema": {
              "type": "string",
              "enum": [
                "canonical",
                "observations"
              ],
              "default": "canonical"
            }
          },
          {
            "name": "include_split_factors",
            "in": "query",
            "required": false,
            "description": "Include cumulative split-adjustment factors per sd_id.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/fundamentals/indicators": {
      "get": {
        "operationId": "fundamentals-indicators",
        "summary": "Indicator catalog.",
        "description": "Catalog of all 172 standardized indicators (indicator, name, statement, category, period_type, normal_balance, is_derived, formula, unit).",
        "tags": [
          "Company Fundamentals"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/as_of"
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/companies/{cik}/fundamentals": {
      "get": {
        "operationId": "companies-fundamentals",
        "summary": "Standardized fundamentals for one issuer.",
        "description": "Standardized fundamentals for one issuer across annual, quarterly, and TTM periods.\n\nSortable fields: period_end, accepted_at, indicator, cik (default sort: -period_end,indicator).\n\nas_of is critical for MR* views — it returns the latest revision known <= as_of.",
        "tags": [
          "Company Fundamentals"
        ],
        "parameters": [
          {
            "name": "cik",
            "in": "path",
            "required": true,
            "description": "SEC Central Index Key; accepted with or without leading zeros.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dimension",
            "in": "query",
            "required": false,
            "description": "As Reported annual/quarterly/TTM (ARY, ARQ, ART) or Most Recent Reported as of as_of (MRY, MRQ, MRT).",
            "schema": {
              "type": "string",
              "enum": [
                "ARY",
                "ARQ",
                "ART",
                "MRY",
                "MRQ",
                "MRT"
              ],
              "default": "ARQ,ARY"
            },
            "x-csv": true
          },
          {
            "name": "indicator",
            "in": "query",
            "required": false,
            "description": "Comma-separated indicator codes (e.g., revenue,ebitda,netinc,assets,epsdil).",
            "schema": {
              "type": "string"
            },
            "x-csv": true
          },
          {
            "name": "period_end_from",
            "in": "query",
            "required": false,
            "description": "Inclusive lower bound on period end.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "period_end_to",
            "in": "query",
            "required": false,
            "description": "Inclusive upper bound on period end.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fiscal_year",
            "in": "query",
            "required": false,
            "description": "Fiscal year.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "fiscal_period",
            "in": "query",
            "required": false,
            "description": "Fiscal period.",
            "schema": {
              "type": "string",
              "enum": [
                "FY",
                "Q1",
                "Q2",
                "Q3",
                "Q4"
              ]
            }
          },
          {
            "name": "statement",
            "in": "query",
            "required": false,
            "description": "Financial statement.",
            "schema": {
              "type": "string",
              "enum": [
                "income",
                "balance",
                "cashflow",
                "ratios",
                "per_share"
              ]
            }
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "description": "Critical for MR* views — returns the latest revision known <= as_of (eliminating restatement look-ahead).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "include_revisions",
            "in": "query",
            "required": false,
            "description": "true returns the full bitemporal observation ledger per (indicator, period_end) known <= as_of.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                },
                "example": {
                  "cik": 320193,
                  "indicator": "revenue",
                  "dimension": "ARY",
                  "fiscal_year": 2024,
                  "fiscal_period": "FY",
                  "period_start": "2023-10-01",
                  "period_end": "2024-09-28",
                  "instant": false,
                  "value": 391035000000,
                  "unit": "USD",
                  "xbrl": {
                    "concept": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
                    "taxonomy": "us-gaap-2024",
                    "context_id": "c-1",
                    "decimals": -6
                  },
                  "derivation": {
                    "is_synthetic": false,
                    "formula": null
                  },
                  "pit": {
                    "accepted_at": "2024-11-01T10:01:36Z",
                    "accepted_at_source": "submissions",
                    "feed_date": "2024-11-01",
                    "effective_date": "2024-09-28",
                    "is_amended": false,
                    "is_restated": false
                  },
                  "source": {
                    "origin": "sec_edgar",
                    "form": "10-K",
                    "accession": "0000320193-24-000123",
                    "filer_cik": 320193,
                    "filed_date": "2024-11-01",
                    "document": "aapl-20240928.htm",
                    "element_id": "f-142",
                    "edgar_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019324000123/",
                    "document_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019324000123/aapl-20240928.htm",
                    "ixbrl_url": "https://www.sec.gov/ix?doc=/Archives/edgar/data/320193/000032019324000123/aapl-20240928.htm#f-142"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/fundamentals": {
      "get": {
        "operationId": "fundamentals-cross-section",
        "summary": "Cross-sectional fundamentals query.",
        "description": "Cross-sectional query across multiple issuers (cik CSV or universe filter) for screening and factor construction.\n\nSortable fields: period_end, accepted_at, indicator, cik (default sort: -period_end,indicator).",
        "tags": [
          "Company Fundamentals"
        ],
        "parameters": [
          {
            "name": "cik",
            "in": "query",
            "required": false,
            "description": "Comma-separated list of CIKs (or use a universe filter).",
            "schema": {
              "type": "string"
            },
            "x-csv": true
          },
          {
            "name": "dimension",
            "in": "query",
            "required": false,
            "description": "As Reported annual/quarterly/TTM (ARY, ARQ, ART) or Most Recent Reported as of as_of (MRY, MRQ, MRT).",
            "schema": {
              "type": "string",
              "enum": [
                "ARY",
                "ARQ",
                "ART",
                "MRY",
                "MRQ",
                "MRT"
              ],
              "default": "ARQ,ARY"
            },
            "x-csv": true
          },
          {
            "name": "indicator",
            "in": "query",
            "required": false,
            "description": "Comma-separated indicator codes (e.g., revenue,ebitda,netinc,assets,epsdil).",
            "schema": {
              "type": "string"
            },
            "x-csv": true
          },
          {
            "name": "period_end_from",
            "in": "query",
            "required": false,
            "description": "Inclusive lower bound on period end.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "period_end_to",
            "in": "query",
            "required": false,
            "description": "Inclusive upper bound on period end.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fiscal_year",
            "in": "query",
            "required": false,
            "description": "Fiscal year.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "fiscal_period",
            "in": "query",
            "required": false,
            "description": "Fiscal period.",
            "schema": {
              "type": "string",
              "enum": [
                "FY",
                "Q1",
                "Q2",
                "Q3",
                "Q4"
              ]
            }
          },
          {
            "name": "statement",
            "in": "query",
            "required": false,
            "description": "Financial statement.",
            "schema": {
              "type": "string",
              "enum": [
                "income",
                "balance",
                "cashflow",
                "ratios",
                "per_share"
              ]
            }
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "description": "Critical for MR* views — returns the latest revision known <= as_of (eliminating restatement look-ahead).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "include_revisions",
            "in": "query",
            "required": false,
            "description": "true returns the full bitemporal observation ledger per (indicator, period_end) known <= as_of.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/indices": {
      "get": {
        "operationId": "indices-catalog",
        "summary": "Index catalog.",
        "description": "Index catalog (index_code, name, provider, proxy ETF/fund CIKs & series IDs, available snapshot dates).",
        "tags": [
          "US Equity Index Constituents"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/as_of"
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/indices/{index_code}/constituents": {
      "get": {
        "operationId": "indices-constituents",
        "summary": "Index constituents and proxy weights.",
        "description": "Security-level constituents and normalized proxy weights for a snapshot date or as of as_of.\n\nSortable fields: -weight, ticker, sd_id.",
        "tags": [
          "US Equity Index Constituents"
        ],
        "parameters": [
          {
            "name": "index_code",
            "in": "path",
            "required": true,
            "description": "Index code.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "snapshot_date",
            "in": "query",
            "required": false,
            "description": "Snapshot date; defaults to latest snapshot known <= as_of.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "description": "Point-in-time knowledge cutoff for this query (also a universal parameter).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sd_id",
            "in": "query",
            "required": false,
            "description": "Immutable security-class identifier.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cik",
            "in": "query",
            "required": false,
            "description": "SEC Central Index Key.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "weight_min",
            "in": "query",
            "required": false,
            "description": "Minimum proxy weight.",
            "schema": {
              "type": "number"
            }
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/indices/{index_code}/changes": {
      "get": {
        "operationId": "indices-changes",
        "summary": "Inferred membership changes.",
        "description": "Inferred membership additions and removals with boundary_precision (quarter_bound vs exact_day).\n\nSortable fields: -effective_date, -knowledge_at.",
        "tags": [
          "US Equity Index Constituents"
        ],
        "parameters": [
          {
            "name": "index_code",
            "in": "path",
            "required": true,
            "description": "Index code.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "from",
            "in": "query",
            "required": false,
            "description": "Inclusive start date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "to",
            "in": "query",
            "required": false,
            "description": "Inclusive end date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "event_type",
            "in": "query",
            "required": false,
            "description": "Change type.",
            "schema": {
              "type": "string",
              "enum": [
                "added",
                "removed"
              ]
            }
          },
          {
            "name": "precision",
            "in": "query",
            "required": false,
            "description": "Boundary precision.",
            "schema": {
              "type": "string",
              "enum": [
                "exact_day",
                "quarter_bound"
              ]
            }
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "description": "Point-in-time knowledge cutoff for this query (also a universal parameter).",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/companies/{cik}/indices": {
      "get": {
        "operationId": "companies-indices",
        "summary": "Index membership history for an issuer.",
        "description": "Historical index membership intervals for all sd_id share classes of an issuer.",
        "tags": [
          "US Equity Index Constituents"
        ],
        "parameters": [
          {
            "name": "cik",
            "in": "path",
            "required": true,
            "description": "SEC Central Index Key; accepted with or without leading zeros.",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/as_of"
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/events": {
      "get": {
        "operationId": "events-feed",
        "summary": "Market-wide Form 8-K item feed.",
        "description": "Market-wide Form 8-K item feed (one row per accession, filer CIK, and disclosed item, including co-registrants).\n\nSortable fields: accepted_at, filed_date, item (default sort: -accepted_at,accession,item).",
        "tags": [
          "Material Corporate Events (Form 8-K)"
        ],
        "parameters": [
          {
            "name": "cik",
            "in": "query",
            "required": false,
            "description": "SEC Central Index Key.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "item",
            "in": "query",
            "required": false,
            "description": "Canonical item codes, e.g. 1.01,2.02,4.02,5.02.",
            "schema": {
              "type": "string"
            },
            "x-csv": true
          },
          {
            "name": "form",
            "in": "query",
            "required": false,
            "description": "Form type.",
            "schema": {
              "type": "string",
              "enum": [
                "8-K",
                "8-K/A",
                "8-K12B",
                "8-K12G3"
              ]
            }
          },
          {
            "name": "session",
            "in": "query",
            "required": false,
            "description": "NYSE reaction session.",
            "schema": {
              "type": "string",
              "enum": [
                "BMO",
                "DMT",
                "AMC",
                "NTD"
              ]
            }
          },
          {
            "name": "is_amendment",
            "in": "query",
            "required": false,
            "description": "Filter to amendments (or exclude them).",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "accepted_after",
            "in": "query",
            "required": false,
            "description": "Only filings accepted after this UTC timestamp.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "accepted_before",
            "in": "query",
            "required": false,
            "description": "Only filings accepted before this UTC timestamp.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filed_from",
            "in": "query",
            "required": false,
            "description": "Inclusive lower bound on filed date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filed_to",
            "in": "query",
            "required": false,
            "description": "Inclusive upper bound on filed date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "description": "Point-in-time knowledge cutoff for this query (also a universal parameter).",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/companies/{cik}/events": {
      "get": {
        "operationId": "companies-events",
        "summary": "Issuer Form 8-K item history.",
        "description": "Issuer-specific Form 8-K item history.\n\nSortable fields: accepted_at, filed_date, item (default sort: -accepted_at,accession,item).",
        "tags": [
          "Material Corporate Events (Form 8-K)"
        ],
        "parameters": [
          {
            "name": "cik",
            "in": "path",
            "required": true,
            "description": "SEC Central Index Key; accepted with or without leading zeros.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "item",
            "in": "query",
            "required": false,
            "description": "Canonical item codes, e.g. 1.01,2.02,4.02,5.02.",
            "schema": {
              "type": "string"
            },
            "x-csv": true
          },
          {
            "name": "form",
            "in": "query",
            "required": false,
            "description": "Form type.",
            "schema": {
              "type": "string",
              "enum": [
                "8-K",
                "8-K/A",
                "8-K12B",
                "8-K12G3"
              ]
            }
          },
          {
            "name": "session",
            "in": "query",
            "required": false,
            "description": "NYSE reaction session.",
            "schema": {
              "type": "string",
              "enum": [
                "BMO",
                "DMT",
                "AMC",
                "NTD"
              ]
            }
          },
          {
            "name": "is_amendment",
            "in": "query",
            "required": false,
            "description": "Filter to amendments (or exclude them).",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "accepted_after",
            "in": "query",
            "required": false,
            "description": "Only filings accepted after this UTC timestamp.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "accepted_before",
            "in": "query",
            "required": false,
            "description": "Only filings accepted before this UTC timestamp.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filed_from",
            "in": "query",
            "required": false,
            "description": "Inclusive lower bound on filed date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filed_to",
            "in": "query",
            "required": false,
            "description": "Inclusive upper bound on filed date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "description": "Point-in-time knowledge cutoff for this query (also a universal parameter).",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/insiders/codes": {
      "get": {
        "operationId": "insiders-codes",
        "summary": "Form 4 transaction code catalog.",
        "description": "Reference catalog of SEC Form 4 transaction codes (P, S, M, A, etc.) with open-market and economic signal flags.",
        "tags": [
          "Insider Trades & Holdings"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/as_of"
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/insiders/transactions": {
      "get": {
        "operationId": "insiders-transactions",
        "summary": "Market-wide insider transactions.",
        "description": "Market-wide Form 3/4/5 transactions (one row per transaction; joint filings carry owners[] without duplicating transaction rows).\n\nSortable fields: accepted_at, transaction_date, total_value, shares (default sort: -accepted_at,-transaction_date).",
        "tags": [
          "Insider Trades & Holdings"
        ],
        "parameters": [
          {
            "name": "issuer_cik",
            "in": "query",
            "required": false,
            "description": "CIK of the issuer.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "owner_cik",
            "in": "query",
            "required": false,
            "description": "CIK of the reporting owner.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "sd_id",
            "in": "query",
            "required": false,
            "description": "Immutable security-class identifier.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "code",
            "in": "query",
            "required": false,
            "description": "Form 4 transaction code(s), e.g. P,S.",
            "schema": {
              "type": "string"
            },
            "x-csv": true
          },
          {
            "name": "open_market_only",
            "in": "query",
            "required": false,
            "description": "Restrict to open-market transactions.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "derivative",
            "in": "query",
            "required": false,
            "description": "Filter to derivative (or non-derivative) transactions.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "role",
            "in": "query",
            "required": false,
            "description": "Reporting owner role.",
            "schema": {
              "type": "string",
              "enum": [
                "officer",
                "director",
                "ten_percent_owner"
              ]
            }
          },
          {
            "name": "rule_10b5_1",
            "in": "query",
            "required": false,
            "description": "Filter by Rule 10b5-1 plan flag.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "trade_date_from",
            "in": "query",
            "required": false,
            "description": "Inclusive lower bound on transaction date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "trade_date_to",
            "in": "query",
            "required": false,
            "description": "Inclusive upper bound on transaction date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "accepted_after",
            "in": "query",
            "required": false,
            "description": "Only filings accepted after this UTC timestamp.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "accepted_before",
            "in": "query",
            "required": false,
            "description": "Only filings accepted before this UTC timestamp.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "value_min",
            "in": "query",
            "required": false,
            "description": "Minimum transaction value.",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "description": "Point-in-time knowledge cutoff for this query (also a universal parameter).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "split_adjusted",
            "in": "query",
            "required": false,
            "description": "When true, returns as-filed quantities/prices alongside split-adjusted fields.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "include",
            "in": "query",
            "required": false,
            "description": "Related objects to include.",
            "schema": {
              "type": "string",
              "enum": [
                "holdings",
                "cluster_buys"
              ]
            },
            "x-csv": true
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/companies/{cik}/insiders": {
      "get": {
        "operationId": "companies-insiders",
        "summary": "Issuer insider transactions and holdings.",
        "description": "Issuer insider transactions, post-transaction holdings, and cluster-buy summaries.\n\nSortable fields: accepted_at, transaction_date, total_value, shares (default sort: -accepted_at,-transaction_date).",
        "tags": [
          "Insider Trades & Holdings"
        ],
        "parameters": [
          {
            "name": "cik",
            "in": "path",
            "required": true,
            "description": "SEC Central Index Key; accepted with or without leading zeros.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "owner_cik",
            "in": "query",
            "required": false,
            "description": "CIK of the reporting owner.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "sd_id",
            "in": "query",
            "required": false,
            "description": "Immutable security-class identifier.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "code",
            "in": "query",
            "required": false,
            "description": "Form 4 transaction code(s), e.g. P,S.",
            "schema": {
              "type": "string"
            },
            "x-csv": true
          },
          {
            "name": "open_market_only",
            "in": "query",
            "required": false,
            "description": "Restrict to open-market transactions.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "derivative",
            "in": "query",
            "required": false,
            "description": "Filter to derivative (or non-derivative) transactions.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "role",
            "in": "query",
            "required": false,
            "description": "Reporting owner role.",
            "schema": {
              "type": "string",
              "enum": [
                "officer",
                "director",
                "ten_percent_owner"
              ]
            }
          },
          {
            "name": "rule_10b5_1",
            "in": "query",
            "required": false,
            "description": "Filter by Rule 10b5-1 plan flag.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "trade_date_from",
            "in": "query",
            "required": false,
            "description": "Inclusive lower bound on transaction date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "trade_date_to",
            "in": "query",
            "required": false,
            "description": "Inclusive upper bound on transaction date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "accepted_after",
            "in": "query",
            "required": false,
            "description": "Only filings accepted after this UTC timestamp.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "accepted_before",
            "in": "query",
            "required": false,
            "description": "Only filings accepted before this UTC timestamp.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "value_min",
            "in": "query",
            "required": false,
            "description": "Minimum transaction value.",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "description": "Point-in-time knowledge cutoff for this query (also a universal parameter).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "split_adjusted",
            "in": "query",
            "required": false,
            "description": "When true, returns as-filed quantities/prices alongside split-adjusted fields.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "include",
            "in": "query",
            "required": false,
            "description": "Related objects to include.",
            "schema": {
              "type": "string",
              "enum": [
                "holdings",
                "cluster_buys"
              ]
            },
            "x-csv": true
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/insiders/{owner_cik}": {
      "get": {
        "operationId": "insiders-owner",
        "summary": "Transactions and holdings for a reporting owner.",
        "description": "Cross-company transactions and holdings for a specific reporting owner CIK.\n\nSortable fields: accepted_at, transaction_date, total_value, shares (default sort: -accepted_at,-transaction_date).",
        "tags": [
          "Insider Trades & Holdings"
        ],
        "parameters": [
          {
            "name": "owner_cik",
            "in": "path",
            "required": true,
            "description": "CIK of the reporting owner.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "issuer_cik",
            "in": "query",
            "required": false,
            "description": "CIK of the issuer.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "sd_id",
            "in": "query",
            "required": false,
            "description": "Immutable security-class identifier.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "code",
            "in": "query",
            "required": false,
            "description": "Form 4 transaction code(s), e.g. P,S.",
            "schema": {
              "type": "string"
            },
            "x-csv": true
          },
          {
            "name": "open_market_only",
            "in": "query",
            "required": false,
            "description": "Restrict to open-market transactions.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "derivative",
            "in": "query",
            "required": false,
            "description": "Filter to derivative (or non-derivative) transactions.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "role",
            "in": "query",
            "required": false,
            "description": "Reporting owner role.",
            "schema": {
              "type": "string",
              "enum": [
                "officer",
                "director",
                "ten_percent_owner"
              ]
            }
          },
          {
            "name": "rule_10b5_1",
            "in": "query",
            "required": false,
            "description": "Filter by Rule 10b5-1 plan flag.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "trade_date_from",
            "in": "query",
            "required": false,
            "description": "Inclusive lower bound on transaction date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "trade_date_to",
            "in": "query",
            "required": false,
            "description": "Inclusive upper bound on transaction date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "accepted_after",
            "in": "query",
            "required": false,
            "description": "Only filings accepted after this UTC timestamp.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "accepted_before",
            "in": "query",
            "required": false,
            "description": "Only filings accepted before this UTC timestamp.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "value_min",
            "in": "query",
            "required": false,
            "description": "Minimum transaction value.",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "description": "Point-in-time knowledge cutoff for this query (also a universal parameter).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "split_adjusted",
            "in": "query",
            "required": false,
            "description": "When true, returns as-filed quantities/prices alongside split-adjusted fields.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "include",
            "in": "query",
            "required": false,
            "description": "Related objects to include.",
            "schema": {
              "type": "string",
              "enum": [
                "holdings",
                "cluster_buys"
              ]
            },
            "x-csv": true
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/managers": {
      "get": {
        "operationId": "managers-search",
        "summary": "Search 13F managers.",
        "description": "Search 13F institutional investment managers by name, CIK, or CRD number.\n\nSortable fields: -latest_total_value, manager_name.",
        "tags": [
          "Institutional Investors (Form 13F)"
        ],
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "Search text (manager name or CIK).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "crd",
            "in": "query",
            "required": false,
            "description": "CRD number.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "has_confidential",
            "in": "query",
            "required": false,
            "description": "Filter to managers with confidential treatment.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "$ref": "#/components/parameters/as_of"
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/managers/{manager_cik}/holdings": {
      "get": {
        "operationId": "managers-holdings",
        "summary": "Quarterly 13F holdings for a manager.",
        "description": "Amendment-resolved quarterly 13F holdings for a manager as of as_of.\n\nSortable fields: value, shares, issuer_name.",
        "tags": [
          "Institutional Investors (Form 13F)"
        ],
        "parameters": [
          {
            "name": "manager_cik",
            "in": "path",
            "required": true,
            "description": "CIK of the 13F manager.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "report_date",
            "in": "query",
            "required": false,
            "description": "Quarter end; defaults to latest quarter known <= as_of.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "description": "Point-in-time knowledge cutoff for this query (also a universal parameter).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sd_id",
            "in": "query",
            "required": false,
            "description": "Immutable security-class identifier.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "put_call",
            "in": "query",
            "required": false,
            "description": "Position type.",
            "schema": {
              "type": "string",
              "enum": [
                "equity",
                "put",
                "call"
              ]
            }
          },
          {
            "name": "discretion",
            "in": "query",
            "required": false,
            "description": "Investment discretion.",
            "schema": {
              "type": "string",
              "enum": [
                "SOLE",
                "DEFINED",
                "OTHER"
              ]
            }
          },
          {
            "name": "resolved_only",
            "in": "query",
            "required": false,
            "description": "Restrict to holdings resolved to a security.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "value_min",
            "in": "query",
            "required": false,
            "description": "Minimum holding value (whole dollars).",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "include_amendment_history",
            "in": "query",
            "required": false,
            "description": "true returns the raw 13F-HR and 13F-HR/A filing chain accepted <= as_of.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/companies/{cik}/institutional-holders": {
      "get": {
        "operationId": "companies-institutional-holders",
        "summary": "Institutional holders of an issuer.",
        "description": "Quarterly 13F institutional holders (equity and options) for an issuer or sd_id as of as_of.\n\nSortable fields: value, shares, issuer_name.",
        "tags": [
          "Institutional Investors (Form 13F)"
        ],
        "parameters": [
          {
            "name": "cik",
            "in": "path",
            "required": true,
            "description": "SEC Central Index Key; accepted with or without leading zeros.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "report_date",
            "in": "query",
            "required": false,
            "description": "Quarter end; defaults to latest quarter known <= as_of.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "description": "Point-in-time knowledge cutoff for this query (also a universal parameter).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sd_id",
            "in": "query",
            "required": false,
            "description": "Immutable security-class identifier.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "put_call",
            "in": "query",
            "required": false,
            "description": "Position type.",
            "schema": {
              "type": "string",
              "enum": [
                "equity",
                "put",
                "call"
              ]
            }
          },
          {
            "name": "discretion",
            "in": "query",
            "required": false,
            "description": "Investment discretion.",
            "schema": {
              "type": "string",
              "enum": [
                "SOLE",
                "DEFINED",
                "OTHER"
              ]
            }
          },
          {
            "name": "resolved_only",
            "in": "query",
            "required": false,
            "description": "Restrict to holdings resolved to a security.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "value_min",
            "in": "query",
            "required": false,
            "description": "Minimum holding value (whole dollars).",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "include_amendment_history",
            "in": "query",
            "required": false,
            "description": "true returns the raw 13F-HR and 13F-HR/A filing chain accepted <= as_of.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/companies/{cik}/valuation/latest": {
      "get": {
        "operationId": "companies-valuation-latest",
        "summary": "Latest valuation frame per share class.",
        "description": "Latest pre-price daily valuation frame per share class (sd_id) for an issuer.\n\nSortable fields: -as_of_date.\n\nMarket-based fields are null and has_market_prices is false until a licensed price feed is integrated.",
        "tags": [
          "Daily Valuation Inputs"
        ],
        "parameters": [
          {
            "name": "cik",
            "in": "path",
            "required": true,
            "description": "SEC Central Index Key; accepted with or without leading zeros.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "date_from",
            "in": "query",
            "required": false,
            "description": "Inclusive lower bound on date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "date_to",
            "in": "query",
            "required": false,
            "description": "Inclusive upper bound on date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "description": "Point-in-time knowledge cutoff for this query (also a universal parameter).",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/securities/{sd_id}/valuation": {
      "get": {
        "operationId": "securities-valuation",
        "summary": "Historical valuation series for a security.",
        "description": "Historical daily valuation frame series for a security (date_from, date_to, as_of).\n\nSortable fields: -as_of_date.\n\nMarket-based fields are null and has_market_prices is false until a licensed price feed is integrated.",
        "tags": [
          "Daily Valuation Inputs"
        ],
        "parameters": [
          {
            "name": "sd_id",
            "in": "path",
            "required": true,
            "description": "Immutable security-class identifier.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "date_from",
            "in": "query",
            "required": false,
            "description": "Inclusive lower bound on date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "date_to",
            "in": "query",
            "required": false,
            "description": "Inclusive upper bound on date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "description": "Point-in-time knowledge cutoff for this query (also a universal parameter).",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/institutional/quarters": {
      "get": {
        "operationId": "institutional-quarters",
        "summary": "Institutional calendar quarters.",
        "description": "Calendar quarters with statutory_deadline (quarter end + 45d), is_finalized, filer/position counts, and computed_through.",
        "tags": [
          "Institutional Ownership Aggregates"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/as_of"
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/institutional/aggregates/securities": {
      "get": {
        "operationId": "institutional-aggregates-securities",
        "summary": "Cross-sectional security aggregates.",
        "description": "Cross-sectional security aggregates / quarterly leaderboard (institutional ownership, holder counts, concentration, split-adjusted flows, put/call exposure).\n\nSortable fields: -total_value, -net_shares_delta, -holder_count, -report_date.",
        "tags": [
          "Institutional Ownership Aggregates"
        ],
        "parameters": [
          {
            "name": "milestone",
            "in": "query",
            "required": false,
            "description": "statutory_deadline_45d is a frozen PIT snapshot at quarter end + 45 days (recommended for backtests); daily_update is a rolling view incorporating late filings/amendments accepted <= as_of.",
            "schema": {
              "type": "string",
              "enum": [
                "statutory_deadline_45d",
                "daily_update"
              ],
              "default": "daily_update"
            }
          },
          {
            "name": "quarter",
            "in": "query",
            "required": false,
            "description": "Calendar quarter, e.g. 2024Q1.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "report_date_from",
            "in": "query",
            "required": false,
            "description": "Inclusive lower bound on report date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "report_date_to",
            "in": "query",
            "required": false,
            "description": "Inclusive upper bound on report date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "description": "Point-in-time knowledge cutoff for this query (also a universal parameter).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "holder_count_min",
            "in": "query",
            "required": false,
            "description": "Minimum holder count.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/securities/{sd_id}/institutional-aggregates": {
      "get": {
        "operationId": "securities-institutional-aggregates",
        "summary": "Time series for a security.",
        "description": "Time series of aggregates for a single security.\n\nSortable fields: -total_value, -net_shares_delta, -holder_count, -report_date.",
        "tags": [
          "Institutional Ownership Aggregates"
        ],
        "parameters": [
          {
            "name": "sd_id",
            "in": "path",
            "required": true,
            "description": "Immutable security-class identifier.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "milestone",
            "in": "query",
            "required": false,
            "description": "statutory_deadline_45d is a frozen PIT snapshot at quarter end + 45 days (recommended for backtests); daily_update is a rolling view incorporating late filings/amendments accepted <= as_of.",
            "schema": {
              "type": "string",
              "enum": [
                "statutory_deadline_45d",
                "daily_update"
              ],
              "default": "daily_update"
            }
          },
          {
            "name": "quarter",
            "in": "query",
            "required": false,
            "description": "Calendar quarter, e.g. 2024Q1.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "report_date_from",
            "in": "query",
            "required": false,
            "description": "Inclusive lower bound on report date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "report_date_to",
            "in": "query",
            "required": false,
            "description": "Inclusive upper bound on report date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "description": "Point-in-time knowledge cutoff for this query (also a universal parameter).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "holder_count_min",
            "in": "query",
            "required": false,
            "description": "Minimum holder count.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/institutional/aggregates/managers/{manager_cik}": {
      "get": {
        "operationId": "institutional-aggregates-manager",
        "summary": "Time series for a manager.",
        "description": "Time series of manager aggregates (13F AUM, equity/option split, top-5/10/20 weights, price-drift-adjusted turnover, top positions).\n\nSortable fields: -total_value, -net_shares_delta, -holder_count, -report_date.",
        "tags": [
          "Institutional Ownership Aggregates"
        ],
        "parameters": [
          {
            "name": "manager_cik",
            "in": "path",
            "required": true,
            "description": "CIK of the 13F manager.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "milestone",
            "in": "query",
            "required": false,
            "description": "statutory_deadline_45d is a frozen PIT snapshot at quarter end + 45 days (recommended for backtests); daily_update is a rolling view incorporating late filings/amendments accepted <= as_of.",
            "schema": {
              "type": "string",
              "enum": [
                "statutory_deadline_45d",
                "daily_update"
              ],
              "default": "daily_update"
            }
          },
          {
            "name": "quarter",
            "in": "query",
            "required": false,
            "description": "Calendar quarter, e.g. 2024Q1.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "report_date_from",
            "in": "query",
            "required": false,
            "description": "Inclusive lower bound on report date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "report_date_to",
            "in": "query",
            "required": false,
            "description": "Inclusive upper bound on report date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "description": "Point-in-time knowledge cutoff for this query (also a universal parameter).",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/companies/{cik}/segments": {
      "get": {
        "operationId": "companies-segments",
        "summary": "Segment facts for an issuer.",
        "description": "Dimensional XBRL segment facts (business, geographic, product/service, consolidation items) with hierarchy, labels, ISO geo codes, ASU 2023-07 expenses, and consolidated reconciliation status.\n\nSortable fields: period_end, axis, metric, value (default sort: -period_end,axis,metric,-value).",
        "tags": [
          "Business & Geographic Segments"
        ],
        "parameters": [
          {
            "name": "cik",
            "in": "path",
            "required": true,
            "description": "SEC Central Index Key; accepted with or without leading zeros.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "axis",
            "in": "query",
            "required": false,
            "description": "Segment axis.",
            "schema": {
              "type": "string",
              "enum": [
                "business",
                "geographic",
                "product",
                "consolidation"
              ]
            }
          },
          {
            "name": "metric",
            "in": "query",
            "required": false,
            "description": "Segment metric.",
            "schema": {
              "type": "string",
              "enum": [
                "revenue",
                "operating_income",
                "total_assets",
                "long_lived_assets",
                "depreciation_amortization",
                "capital_expenditures",
                "segment_expense"
              ]
            }
          },
          {
            "name": "dimension",
            "in": "query",
            "required": false,
            "description": "AR (as reported) or MR (most recent as of as_of).",
            "schema": {
              "type": "string",
              "enum": [
                "AR",
                "MR"
              ]
            }
          },
          {
            "name": "fiscal_year",
            "in": "query",
            "required": false,
            "description": "Fiscal year.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "fiscal_period",
            "in": "query",
            "required": false,
            "description": "Fiscal period.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "period_end_from",
            "in": "query",
            "required": false,
            "description": "Inclusive lower bound on period end.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "period_end_to",
            "in": "query",
            "required": false,
            "description": "Inclusive upper bound on period end.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "reconciliation_status",
            "in": "query",
            "required": false,
            "description": "Consolidated reconciliation status.",
            "schema": {
              "type": "string",
              "enum": [
                "RECONCILED",
                "IMMATERIAL_DISCREPANCY",
                "UNRECONCILED",
                "PARTIAL_DISCLOSURE",
                "FAILED_AUDIT",
                "NO_CONSOLIDATED_TOTAL"
              ]
            }
          },
          {
            "name": "leaf_only",
            "in": "query",
            "required": false,
            "description": "Restrict to leaf-level members.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "include_multi_axis",
            "in": "query",
            "required": false,
            "description": "Include multi-axis cross-cuts.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "description": "Point-in-time knowledge cutoff for this query (also a universal parameter).",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/companies/{cik}/shares": {
      "get": {
        "operationId": "companies-shares",
        "summary": "Shares outstanding per class.",
        "description": "Point-in-time common shares outstanding per class (sd_id), including cover-page XBRL/text observations, 8-K Item 3.02/8.01 events, and split discontinuity rows.\n\nSortable fields: -effective_date, -datekey.",
        "tags": [
          "Shares Outstanding & Public Float"
        ],
        "parameters": [
          {
            "name": "cik",
            "in": "path",
            "required": true,
            "description": "SEC Central Index Key; accepted with or without leading zeros.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sd_id",
            "in": "query",
            "required": false,
            "description": "Immutable security-class identifier.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "share_class",
            "in": "query",
            "required": false,
            "description": "Share class.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "source_type",
            "in": "query",
            "required": false,
            "description": "Observation source.",
            "schema": {
              "type": "string",
              "enum": [
                "xbrl_cover",
                "cover_regex",
                "8k_302",
                "8k_801",
                "SPLIT"
              ]
            }
          },
          {
            "name": "effective_from",
            "in": "query",
            "required": false,
            "description": "Inclusive lower bound on effective date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "effective_to",
            "in": "query",
            "required": false,
            "description": "Inclusive upper bound on effective date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "split_adjusted",
            "in": "query",
            "required": false,
            "description": "Return split-adjusted values.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "description": "Point-in-time knowledge cutoff for this query (also a universal parameter).",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/companies/{cik}/float": {
      "get": {
        "operationId": "companies-float",
        "summary": "Estimated Rule 405 public float.",
        "description": "Estimated company-level Rule 405 public float in shares (total common shares minus officer/director holdings and de-duplicated >=10% blockholders) plus annual dei:EntityPublicFloat USD reference.\n\nSortable fields: -effective_date, -datekey.",
        "tags": [
          "Shares Outstanding & Public Float"
        ],
        "parameters": [
          {
            "name": "cik",
            "in": "path",
            "required": true,
            "description": "SEC Central Index Key; accepted with or without leading zeros.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "effective_from",
            "in": "query",
            "required": false,
            "description": "Inclusive lower bound on effective date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "effective_to",
            "in": "query",
            "required": false,
            "description": "Inclusive upper bound on effective date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "description": "Point-in-time knowledge cutoff for this query (also a universal parameter).",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/companies/{cik}/blockholders": {
      "get": {
        "operationId": "companies-blockholders",
        "summary": "Schedule 13D/G beneficial owners.",
        "description": "Schedule 13D/G beneficial owners with de-duplication status (active, superseded, group_duplicate, subsumed_by_insider).\n\nSortable fields: -percent_of_class, -accepted_at.",
        "tags": [
          "Shares Outstanding & Public Float"
        ],
        "parameters": [
          {
            "name": "cik",
            "in": "path",
            "required": true,
            "description": "SEC Central Index Key; accepted with or without leading zeros.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "form",
            "in": "query",
            "required": false,
            "description": "Schedule form.",
            "schema": {
              "type": "string",
              "enum": [
                "SC 13D",
                "SC 13D/A",
                "SC 13G",
                "SC 13G/A"
              ]
            }
          },
          {
            "name": "dedup_status",
            "in": "query",
            "required": false,
            "description": "De-duplication status.",
            "schema": {
              "type": "string",
              "enum": [
                "active",
                "superseded",
                "group_duplicate",
                "subsumed_by_insider"
              ]
            }
          },
          {
            "name": "percent_min",
            "in": "query",
            "required": false,
            "description": "Minimum percent of class.",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "description": "Point-in-time knowledge cutoff for this query (also a universal parameter).",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/earnings/calendar": {
      "get": {
        "operationId": "earnings-calendar",
        "summary": "Market-wide earnings calendar.",
        "description": "Market-wide verified Form 8-K Item 2.02 earnings releases (and optional historical-cadence upcoming estimates).\n\nSortable fields: trading_date, accepted_at, cik (default sort: -trading_date,-accepted_at).",
        "tags": [
          "Earnings Calendar"
        ],
        "parameters": [
          {
            "name": "cik",
            "in": "query",
            "required": false,
            "description": "SEC Central Index Key.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "trading_date_from",
            "in": "query",
            "required": false,
            "description": "Inclusive lower bound on NYSE reaction trading date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "trading_date_to",
            "in": "query",
            "required": false,
            "description": "Inclusive upper bound on NYSE reaction trading date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "accepted_after",
            "in": "query",
            "required": false,
            "description": "Only filings accepted after this UTC timestamp.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "accepted_before",
            "in": "query",
            "required": false,
            "description": "Only filings accepted before this UTC timestamp.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "session",
            "in": "query",
            "required": false,
            "description": "NYSE reaction session.",
            "schema": {
              "type": "string",
              "enum": [
                "BMO",
                "DMT",
                "AMC"
              ]
            }
          },
          {
            "name": "fiscal_year",
            "in": "query",
            "required": false,
            "description": "Fiscal year.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "fiscal_period",
            "in": "query",
            "required": false,
            "description": "Fiscal period.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "include_estimates",
            "in": "query",
            "required": false,
            "description": "When true, includes clearly tagged is_estimate: true cadence projections.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "description": "Point-in-time knowledge cutoff for this query (also a universal parameter).",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/companies/{cik}/earnings": {
      "get": {
        "operationId": "companies-earnings",
        "summary": "Issuer earnings release history.",
        "description": "Issuer earnings release history, Exhibit 99.1 headline figures (revenue, GAAP net income, GAAP/non-GAAP diluted EPS, operating income, adjusted EBITDA), conference call/webcast details, and linked Item 7.01 filings.\n\nSortable fields: trading_date, accepted_at, cik (default sort: -trading_date,-accepted_at).",
        "tags": [
          "Earnings Calendar"
        ],
        "parameters": [
          {
            "name": "cik",
            "in": "path",
            "required": true,
            "description": "SEC Central Index Key; accepted with or without leading zeros.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "trading_date_from",
            "in": "query",
            "required": false,
            "description": "Inclusive lower bound on NYSE reaction trading date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "trading_date_to",
            "in": "query",
            "required": false,
            "description": "Inclusive upper bound on NYSE reaction trading date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "accepted_after",
            "in": "query",
            "required": false,
            "description": "Only filings accepted after this UTC timestamp.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "accepted_before",
            "in": "query",
            "required": false,
            "description": "Only filings accepted before this UTC timestamp.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "session",
            "in": "query",
            "required": false,
            "description": "NYSE reaction session.",
            "schema": {
              "type": "string",
              "enum": [
                "BMO",
                "DMT",
                "AMC"
              ]
            }
          },
          {
            "name": "fiscal_year",
            "in": "query",
            "required": false,
            "description": "Fiscal year.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "fiscal_period",
            "in": "query",
            "required": false,
            "description": "Fiscal period.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "include_estimates",
            "in": "query",
            "required": false,
            "description": "When true, includes clearly tagged is_estimate: true cadence projections.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "as_of",
            "in": "query",
            "required": false,
            "description": "Point-in-time knowledge cutoff for this query (also a universal parameter).",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/market-calendar": {
      "get": {
        "operationId": "market-calendar-days",
        "summary": "Daily NYSE & NASDAQ trading calendar.",
        "description": "Merged per-exchange trading status, ET/UTC open and close timestamps, holiday/early-close labels, EDGAR business-day and settlement-day flags, and live status_now.\n\nSortable fields: date (default sort: date).",
        "tags": [
          "US Market Calendar (NYSE & NASDAQ)"
        ],
        "parameters": [
          {
            "name": "from",
            "in": "query",
            "required": false,
            "description": "Inclusive start date (>= 2005-01-01; max 400-day span).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "to",
            "in": "query",
            "required": false,
            "description": "Inclusive end date (<= 400-day span from start date).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "exchange",
            "in": "query",
            "required": false,
            "description": "Filter to exchange(s).",
            "schema": {
              "type": "string",
              "enum": [
                "NYSE",
                "NASDAQ"
              ],
              "default": "NYSE,NASDAQ"
            },
            "x-csv": true
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "description": "Filter days by merged status.",
            "schema": {
              "type": "string",
              "enum": [
                "open",
                "early_close",
                "closed",
                "premature_close"
              ]
            }
          },
          {
            "name": "include_non_trading",
            "in": "query",
            "required": false,
            "description": "Include weekends and holidays in the returned days array.",
            "schema": {
              "type": "boolean",
              "default": true
            }
          },
          {
            "$ref": "#/components/parameters/as_of"
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/market-calendar/disruptions": {
      "get": {
        "operationId": "market-calendar-disruptions",
        "summary": "Unscheduled closures, premature closes, and market-wide halts.",
        "description": "Historical and ongoing ledger of exchange-wide and market-wide closures, premature closes, intraday halts, and emergency overrides since 2005-01-01.\n\nSortable fields: event_date, halt_start_et (default sort: -event_date,-halt_start_et).",
        "tags": [
          "US Market Calendar (NYSE & NASDAQ)"
        ],
        "parameters": [
          {
            "name": "from",
            "in": "query",
            "required": false,
            "description": "Inclusive start date (>= 2005-01-01).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "to",
            "in": "query",
            "required": false,
            "description": "Inclusive end date.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "exchange",
            "in": "query",
            "required": false,
            "description": "Exchange scope (NYSE and NASDAQ queries also include BOTH).",
            "schema": {
              "type": "string",
              "enum": [
                "NYSE",
                "NASDAQ",
                "BOTH"
              ]
            }
          },
          {
            "name": "event_type",
            "in": "query",
            "required": false,
            "description": "Disruption or override type.",
            "schema": {
              "type": "string",
              "enum": [
                "unscheduled_closure",
                "premature_close",
                "intraday_halt",
                "scheduled_early_close_override",
                "scheduled_holiday_override"
              ]
            }
          },
          {
            "name": "reason_category",
            "in": "query",
            "required": false,
            "description": "Disruption reason category.",
            "schema": {
              "type": "string",
              "enum": [
                "weather",
                "national_mourning",
                "technical_outage",
                "circuit_breaker",
                "regulatory",
                "other"
              ]
            }
          },
          {
            "$ref": "#/components/parameters/as_of"
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "$ref": "#/components/parameters/sort"
          },
          {
            "$ref": "#/components/parameters/fields"
          },
          {
            "$ref": "#/components/parameters/format"
          }
        ],
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Requested resource or array of resources."
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "links": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Malformed query, body, or disallowed identifier.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Missing, malformed, or revoked API key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Authenticated key lacks access to the dataset, depth, or feature.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown CIK, sd_id, ticker (as of as_of), index, or resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Semantically invalid filter combination (e.g., from > to, date < 2005-01-01).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Burst or daily quota reached; see Retry-After.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer"
      },
      "apiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key"
      }
    },
    "parameters": {
      "as_of": {
        "name": "as_of",
        "in": "query",
        "required": false,
        "description": "Point-in-time knowledge cutoff. Date-only values resolve to T23:59:59Z (except Daily Valuation, which resolves to the NYSE session close on that trading day).",
        "schema": {
          "type": "string"
        }
      },
      "limit": {
        "name": "limit",
        "in": "query",
        "required": false,
        "description": "Maximum items returned per page.",
        "schema": {
          "type": "integer",
          "default": 100
        }
      },
      "cursor": {
        "name": "cursor",
        "in": "query",
        "required": false,
        "description": "Forward pagination token from meta.next_cursor. Stable across concurrent daily ingests when paired with as_of.",
        "schema": {
          "type": "string"
        }
      },
      "sort": {
        "name": "sort",
        "in": "query",
        "required": false,
        "description": "Sort order. Prefix with - for descending (e.g., sort=-accepted_at,accession). Unknown sort fields return 400.",
        "schema": {
          "type": "string"
        },
        "x-csv": true
      },
      "fields": {
        "name": "fields",
        "in": "query",
        "required": false,
        "description": "Sparse fieldset projection to shrink payloads (e.g., fields=sd_id,period_end,value,pit,source).",
        "schema": {
          "type": "string"
        },
        "x-csv": true
      },
      "format": {
        "name": "format",
        "in": "query",
        "required": false,
        "description": "ndjson streams one JSON record per line (available on commercial+ tiers for collection endpoints).",
        "schema": {
          "type": "string",
          "enum": [
            "json",
            "ndjson"
          ],
          "default": "json"
        }
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "required": [
          "error"
        ],
        "properties": {
          "error": {
            "type": "object",
            "required": [
              "code",
              "message",
              "status"
            ],
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              },
              "status": {
                "type": "integer"
              },
              "details": {
                "type": "object",
                "additionalProperties": true
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}