---
title: "Get Pipline Revision Contents"
method: GET
path: "/v1/pipeline/{pipelineId}/revisions/{revisionNumber}"
tags: ["Pipelines"]
---

# Get Pipline Revision Contents

`GET /v1/pipeline/{pipelineId}/revisions/{revisionNumber}`

## Request

- Base URL: `https://api.tetrascience.com`
- URL: `https://api.tetrascience.com/v1/pipeline/{pipelineId}/revisions/{revisionNumber}`
- Auth: API key in header `ts-auth-token` and API key in header `x-org-slug`

## Path parameters

- `pipelineId` string, uuid, required
- `revisionNumber` integer, required

## Response `200`

The pipeline at the time of the requested revision number

- PipelineRevision
  - `message` string, required
  - `pipelineId` string, required
  - `number` number, required
  - `userId` string, nullable, required
  - `createdAt` string, required
  - `name` string, required
  - `description` string, nullable
  - `protocolSlug` string, nullable
  - `protocolVersion` string, nullable
  - `priority` integer
  - `retryBehavior` 'off' | 'oom_only' | 'linear' | 'constant' | 'exponential', nullable
  - `retryConfiguration` object
    - `baseDelaySeconds` integer
    - `maxRetries` integer
  - `standby` integer, nullable
  - `status` 'disabled', nullable
  - `taskScriptTimeoutMins` integer, nullable
  - `maxParallelWorkflows` integer
  - `pipelineConfig` PipelineConfig
  - `stepsConfig` object
  - `artifactType` 'protocol' | 'tetraflow'
  - `clusterId` string, nullable: DEPRECATED: Prefer clusterPolicyId for cost-effective ephemeral job clusters.
  - `clusterPolicyId` string, nullable: Databricks cluster policy ID for job clusters. Preferred over clusterId for cost-effective ephemeral compute. Takes precedence if both are provided.
  - `runOnDeleted` boolean
  - `masterScriptNamespace` string, nullable
  - `masterScriptVersion` string, nullable
  - `masterScriptSlug` string, nullable
  - `inlineArtifact` object, nullable

## Other responses

- `400`: Incorrect input provided
- `404`: Not Found

---

[API](https://skmtc.dev/tetrascience/apis/pipelines.md) - [All operations](https://skmtc.dev/tetrascience/apis/pipelines/llms.txt) - [OpenAPI document](https://skmtc.dev/tetrascience/apis/pipelines/revisions/e1d7d5790587?raw)
