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

# Get a dataset

> Return schema, grain, methodology, cadence, and source lineage.



## OpenAPI

````yaml https://api.soriaanalytics.com/v1/openapi.json GET /catalog/{dataset}
openapi: 3.1.0
info:
  title: Soria Data API
  description: >-
    Governed data query API. `GET /catalog` is the canonical dataset
    documentation: its schemas, grain, methodology, refresh cadence, and source
    provenance are generated from dbt on every relevant change. `POST
    /search/documents` searches the public source-document corpus behind those
    datasets. For larger result sets, create a private CSV (default) or Parquet
    export, poll its status URL, and use the short-lived download URL once it is
    ready.
  version: 1.0.0
servers:
  - url: /v1
security: []
paths:
  /catalog/{dataset}:
    get:
      tags:
        - data
      summary: Dataset
      operationId: dataset_catalog__dataset__get
      parameters:
        - name: dataset
          in: path
          required: true
          schema:
            type: string
            title: Dataset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataDataset'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    DataDataset:
      properties:
        name:
          type: string
          title: Name
          description: Stable dataset identifier used in SQL.
        kind:
          type: string
          enum:
            - raw
            - staging
            - intermediate
            - mart
            - analysis
            - cell
            - provenance
            - model
          title: Kind
          description: >-
            Published dbt model layer. Non-mart layers appear only when
            explicitly customer-visible.
          default: mart
        domain:
          type: string
          title: Domain
          description: Business domain derived from the dbt model path.
        relation:
          type: string
          title: Relation
          description: Allowlisted relation to use in queries.
        description:
          type: string
          title: Description
          description: Dataset definition from dbt.
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
          description: Human-readable dbt Dive title.
        documentation_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Documentation Url
          description: Related Soria documentation URL.
        grain:
          items:
            type: string
          type: array
          title: Grain
          description: Declared columns that uniquely identify a row.
        snowflake_relation:
          anyOf:
            - type: string
            - type: 'null'
          title: Snowflake Relation
          description: SCHEMA.TABLE this dataset is delivered as in the Snowflake share.
        methodology:
          type: string
          title: Methodology
          description: Methodology maintained with the dbt model.
        update_frequency:
          type: string
          title: Update Frequency
          description: Expected publication cadence declared in dbt.
        providers:
          items:
            type: string
          type: array
          title: Providers
          description: Organizations providing the underlying data.
        source_links:
          items:
            $ref: '#/components/schemas/SourceLink'
          type: array
          title: Source Links
          description: Canonical upstream documentation links.
        sources:
          items:
            $ref: '#/components/schemas/DatasetSource'
          type: array
          title: Sources
          description: Recursive source-level lineage from the dbt graph.
        columns:
          items:
            $ref: '#/components/schemas/DatasetColumn'
          type: array
          title: Columns
          description: Typed and documented dbt columns.
      type: object
      required:
        - name
        - domain
        - relation
        - description
        - grain
        - methodology
        - update_frequency
        - providers
        - source_links
        - sources
        - columns
      title: DataDataset
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SourceLink:
      properties:
        label:
          type: string
          title: Label
          description: Human-readable label from the dbt customer publication metadata.
        url:
          type: string
          title: Url
          description: Canonical provider documentation or dataset URL.
      type: object
      required:
        - label
        - url
      title: SourceLink
    DatasetSource:
      properties:
        source:
          type: string
          title: Source
          description: dbt source name.
        relation:
          type: string
          title: Relation
          description: Physical upstream relation declared by dbt.
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
          description: Source description from dbt.
        freshness:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Freshness
          description: dbt source freshness policy, when set.
      type: object
      required:
        - source
        - relation
      title: DatasetSource
    DatasetColumn:
      properties:
        name:
          type: string
          title: Name
          description: Column name.
        type:
          type: string
          title: Type
          description: Warehouse type declared in dbt.
        description:
          type: string
          title: Description
          description: Column definition from dbt.
        accepted_values:
          items: {}
          type: array
          title: Accepted Values
          description: Optional finite values declared in dbt column metadata.
      type: object
      required:
        - name
        - type
        - description
      title: DatasetColumn
    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:
    HTTPBearer:
      type: http
      scheme: bearer

````