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

# Get dataset audit

> Return audit information for a dataset.



## OpenAPI

````yaml GET /v1/datasets/{dataset_id}/audit
openapi: 3.1.0
info:
  title: GridCertainty Public API
  description: >-
    Read-only public API for ERCOT datasets, pricing locations, reports, and
    system metadata.
  version: 1.0.0
servers:
  - url: https://api.felixfusion.ai
    description: Production public API
  - url: http://localhost:8001
    description: Local public API
security:
  - ApiKeyHeader: []
  - ApiKeyQuery: []
paths:
  /v1/datasets/{dataset_id}/audit:
    get:
      tags:
        - Dataset Audit
      summary: Get dataset audit
      description: Return audit information for a dataset.
      operationId: get_dataset_audit
      parameters:
        - $ref: '#/components/parameters/dataset_id'
        - $ref: '#/components/parameters/return_format'
        - $ref: '#/components/parameters/download'
        - $ref: '#/components/parameters/json_schema'
      responses:
        '200':
          description: Dataset audit
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DatasetAuditResponse'
            text/csv:
              schema:
                type: string
        '404':
          $ref: '#/components/responses/NotFound'
components:
  parameters:
    dataset_id:
      name: dataset_id
      in: path
      required: true
      schema:
        type: string
      description: Dataset identifier.
    return_format:
      name: return_format
      in: query
      schema:
        type: string
        enum:
          - json
          - csv
        default: json
      description: Return response as JSON or CSV.
    download:
      name: download
      in: query
      schema:
        type: boolean
        default: false
      description: Set true to request a downloadable attachment response.
    json_schema:
      name: json_schema
      in: query
      schema:
        type: string
        default: array_of_objects
      description: Optional JSON schema output mode.
  schemas:
    DatasetAuditResponse:
      type: object
      properties:
        data:
          type: array
          items:
            type: object
            additionalProperties: true
    ErrorResponse:
      type: object
      properties:
        detail:
          oneOf:
            - type: string
            - type: object
              additionalProperties: true
  responses:
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            detail: Dataset not found
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api_key

````