# Get Pipeline Template Version

`GET /v1/pipelines/templates/{pipeline_template_id}/versions/{version}`

One version of the template, as it was applied.

- Base URL: `https://junction-api.qualiastudios.dev`
- Authentication: an API key in the `X-API-Key` header, or `Authorization: Bearer …`

## Parameters

- `pipeline_template_id` (path, string (uuid), required)
- `version` (path, integer, required)

## Responses

- `200` Successful Response: `application/json` `TemplateVersion`
- `401` Invalid or missing API key: `application/json` `ErrorResponse`
- `403` Missing capability on the workspace: `application/json` `ErrorResponse`
- `404` Template or version not found: `application/json` `ErrorResponse`
- `422` Validation Error: `application/json` `HTTPValidationError`

## Schemas

```yaml
TemplateVersion:
  properties:
    pipeline_template_id:
      type: string
      format: uuid
    name:
      type: string
    version:
      type: integer
    description:
      description: The template's current description; a version holds its graph and outputs
      type:
        - string
        - "null"
    graph:
      additionalProperties: true
      type: object
    outputs:
      items:
        $ref: "#/components/schemas/TemplateOutput"
      type: array
    retired:
      type: boolean
  type: object
  required:
    - pipeline_template_id
    - name
    - version
    - graph
    - retired
  title: TemplateVersion
  description: One immutable version of a template, its graph as it was then.
TemplateOutput:
  properties:
    name:
      type: string
    from:
      additionalProperties:
        type: string
      type: object
      description: "{node, port}"
  type: object
  required:
    - name
    - from
  title: TemplateOutput
  description: A port a run of the template answers with, read from one node.
ErrorResponse:
  properties:
    detail:
      type: string
      description: Error message describing what went wrong
  type: object
  required:
    - detail
  title: ErrorResponse
  description: Standard error response.
HTTPValidationError:
  properties:
    detail:
      items:
        $ref: "#/components/schemas/ValidationError"
      type: array
  type: object
  title: HTTPValidationError
ValidationError:
  properties:
    loc:
      items:
        type:
          - string
          - integer
      type: array
      title: Location
    msg:
      type: string
      title: Message
    type:
      type: string
      title: Error Type
    input: {}
    ctx:
      type: object
      title: Context
  type: object
  required:
    - loc
    - msg
    - type
  title: ValidationError
```
