> ## 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 dataset metadata

> Return compact metadata for one dataset.



## OpenAPI

````yaml https://api.soriaanalytics.com/v1/openapi.json GET /catalog/{dataset}/metadata
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}/metadata:
    get:
      tags:
        - data
      summary: Dataset Metadata
      description: >-
        Return lightweight dbt metadata without columns, methodology, or table
        rows.
      operationId: dataset_metadata_catalog__dataset__metadata_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/DatasetMetadata'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    DatasetMetadata:
      properties:
        name:
          type: string
          title: Name
          description: Stable dataset identifier.
        kind:
          type: string
          enum:
            - raw
            - staging
            - intermediate
            - mart
            - analysis
            - cell
            - provenance
            - model
          title: Kind
          description: Published dbt model layer.
          default: mart
        relation:
          type: string
          title: Relation
          description: Fully-qualified query relation.
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
          description: Human-readable dataset title.
        domain:
          type: string
          title: Domain
          description: Business domain.
        description:
          type: string
          title: Description
          description: Dataset definition.
        grain:
          items:
            type: string
          type: array
          title: Grain
          description: Columns that uniquely identify a row, when documented.
        update_frequency:
          type: string
          title: Update Frequency
          description: Expected source publication cadence.
        providers:
          items:
            type: string
          type: array
          title: Providers
          description: Underlying data providers documented in dbt.
        column_count:
          type: integer
          title: Column Count
          description: Number of columns in the dbt contract.
        source_count:
          type: integer
          title: Source Count
          description: Number of recursive upstream dbt sources.
        catalog_generated_at:
          type: string
          title: Catalog Generated At
          description: >-
            When dbt regenerated this metadata. This is not the latest date
            present in the dataset.
      type: object
      required:
        - name
        - relation
        - domain
        - description
        - grain
        - update_frequency
        - providers
        - column_count
        - source_count
        - catalog_generated_at
      title: DatasetMetadata
    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:
    HTTPBearer:
      type: http
      scheme: bearer

````