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

# Get a pipeline version snapshot



## OpenAPI

````yaml /openapi.yaml get /api/v1/pipeline/version
openapi: 3.0.3
info:
  title: Datris API
  description: >
    REST API for the Datris AI Data Platform. Ingest, validate, transform,
    store, and retrieve data.


    For AI agent integration, use the [MCP
    Server](https://docs.datris.ai/mcp-server) instead.
  version: 1.11.3
  contact:
    name: Datris
    url: https://datris.ai
  license:
    name: Apache 2.0
servers:
  - url: http://localhost:8080
    description: Local development
security:
  - ApiKeyAuth: []
paths:
  /api/v1/pipeline/version:
    get:
      tags:
        - Versions
      summary: Get a pipeline version snapshot
      parameters:
        - name: name
          in: query
          required: true
          schema:
            type: string
        - name: version
          in: query
          required: true
          schema:
            type: integer
      responses:
        '200':
          description: Full snapshot (no script fields — pipelines have no script)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntityVersionSnapshot'
        '404':
          description: No such version for this pipeline
        '500':
          description: Error
components:
  schemas:
    EntityVersionSnapshot:
      allOf:
        - $ref: '#/components/schemas/EntityVersionSummary'
        - type: object
          properties:
            scriptPath:
              type: string
              nullable: true
              description: >-
                Storage path of the tap script pinned to this version (taps
                only)
            config:
              type: object
              description: The full configuration as saved at this version
            script:
              type: string
              nullable: true
              description: >-
                Resolved tap script content (taps only; null if the object is
                absent)
    EntityVersionSummary:
      type: object
      properties:
        version:
          type: integer
        createdAt:
          type: string
        createdBy:
          type: string
          description: Who saved this version (user, API key label, or agent identity)
        changeNote:
          type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Optional API key for authentication (enabled via application.yaml)

````