> ## 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.

# List dataset source files

> List source files contributing to one dataset.



## OpenAPI

````yaml https://api.soriaanalytics.com/v1/openapi.json GET /datasets/{dataset}/files
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:
  /datasets/{dataset}/files:
    get:
      tags:
        - data
      summary: Dataset Files
      description: List contributing source files from recursive dbt source lineage.
      operationId: dataset_files_datasets__dataset__files_get
      parameters:
        - name: dataset
          in: path
          required: true
          schema:
            type: string
            title: Dataset
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            default: 100
            title: Limit
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            default: 0
            title: Offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DatasetFiles'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    DatasetFiles:
      properties:
        dataset:
          type: string
          title: Dataset
          description: Dataset identifier.
        files:
          items:
            $ref: '#/components/schemas/DatasetFile'
          type: array
          title: Files
          description: Files contributing through the dataset's recursive dbt lineage.
        row_count:
          type: integer
          title: Row Count
          description: Files returned in this page.
        limit:
          type: integer
          title: Limit
          description: Requested page size.
        offset:
          type: integer
          title: Offset
          description: Requested zero-based offset.
        has_more:
          type: boolean
          title: Has More
          description: Whether another page is available.
        next_offset:
          anyOf:
            - type: integer
            - type: 'null'
          title: Next Offset
          description: Offset for the next page, when available.
      type: object
      required:
        - dataset
        - files
        - row_count
        - limit
        - offset
        - has_more
        - next_offset
      title: DatasetFiles
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    DatasetFile:
      properties:
        source_relation:
          type: string
          title: Source Relation
          description: Upstream dbt source relation containing rows from this file.
        file_id:
          type: string
          title: File Id
          description: Hermes file identifier.
        source_file:
          anyOf:
            - type: string
            - type: 'null'
          title: Source File
          description: Source document name or relative path, when recorded.
        source_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Source Url
          description: Canonical public source URL, when recorded.
      type: object
      required:
        - source_relation
        - file_id
      title: DatasetFile
    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

````