> ## Documentation Index
> Fetch the complete documentation index at: https://docs.captide.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Dataset

> One dataset's coverage, freshness, licence and endpoints, by its key (`ownership`).



## OpenAPI

````yaml GET /api/v2/datasets/{key}
openapi: 3.1.0
info:
  title: Captide REST API
  description: >-
    API for accessing financial disclosures and AI-powered financial document
    analysis.
  version: 0.3.14
servers:
  - url: https://rest-api.captide.co
    description: Prod server
security: []
paths:
  /api/v2/datasets/{key}:
    get:
      tags:
        - Datasets
      summary: Get dataset
      description: >-
        One dataset's coverage, freshness, licence and endpoints, by its key
        (`ownership`).
      operationId: get_dataset_api_v2_datasets__key__get
      parameters:
        - name: key
          in: path
          required: true
          schema:
            type: string
            description: Dataset key
            examples:
              - ownership
            title: Key
          description: Dataset key
      responses:
        '200':
          description: The dataset
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DatasetResponse'
              example:
                key: ownership
                title: US institutional holdings (SEC Form 13F)
                description: >-
                  Quarter-end holdings that institutional investment managers
                  report on Form 13F: shares, principal amounts and options in
                  US-listed 13(f) securities, their market value and voting
                  authority, per manager, security and filing, from filings
                  dated 2020 onward. …
                endpoints:
                  - GET /api/v2/datasets/ownership/holdings
                completeFrom: '2020-01-01T05:00:00Z'
                freshness: >-
                  New 13F filings are extracted every 15 minutes once ingested
                  from EDGAR and appear within 15 minutes of extraction; history
                  comes from the SEC's quarterly Form 13F data sets.
                license: >-
                  Form 13F filings are US government records in the public
                  domain. Cite the filing.
                docsUrl: https://docs.captide.ai/datasets/ownership
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              examples:
                missing_key:
                  summary: Missing API key
                  value:
                    detail: Missing API key
                invalid_key:
                  summary: Invalid or expired API key
                  value:
                    detail: Invalid or expired API key
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Your organization doesn't have access to this endpoint
          content:
            application/json:
              examples:
                forbidden:
                  summary: Access to this endpoint is not allowed for your organization
                  value:
                    detail: >-
                      Access to this endpoint is not allowed for your
                      organization
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Resource not found
          content:
            application/json:
              examples:
                not_found:
                  summary: Dataset not found
                  value:
                    detail: Dataset not found
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              examples:
                rate_limited:
                  summary: 'Rate limit exceeded: 100 requests per minute'
                  value:
                    detail: 'Rate limit exceeded: 100 requests per minute'
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              examples:
                database_error:
                  summary: Database error occurred
                  value:
                    detail: Database error occurred
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - APIKeyHeader: []
components:
  schemas:
    DatasetResponse:
      properties:
        key:
          type: string
          title: Key
          description: Dataset key, as used in its endpoints' paths (`ownership`)
        title:
          type: string
          title: Title
          description: Dataset name
        description:
          type: string
          title: Description
          description: What the dataset covers
        endpoints:
          items:
            type: string
          type: array
          title: Endpoints
          description: The endpoints that serve the dataset
        completeFrom:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Completefrom
          description: >-
            Point-in-time reads (`asOf`) are complete from this time; earlier
            history was loaded in bulk
        freshness:
          anyOf:
            - type: string
            - type: 'null'
          title: Freshness
          description: How soon new data appears
        license:
          anyOf:
            - type: string
            - type: 'null'
          title: License
          description: Licence and attribution terms
        docsUrl:
          type: string
          title: Docsurl
          description: The dataset's guide on docs.captide.ai
      type: object
      required:
        - key
        - title
        - description
        - endpoints
        - docsUrl
      title: DatasetResponse
      description: A dataset Captide builds from the documents it collects.
    ErrorResponse:
      properties:
        detail:
          type: string
          title: Detail
      type: object
      required:
        - detail
      title: ErrorResponse
      description: Standard error response model for all API endpoints.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.