---
search:
  tags:
    - Environments
    - GET
seo:
  description: >-
    Reference for the GET /v1/revisions/{revision_id} endpoint in the Carton API
    reference.
sidebar:
  label: GET /v1/revisions/{revision_id}
  badge: GET
title: GET /v1/revisions/{revision_id}
type: openapi-operation
---
`GET /v1/revisions/{revision_id}`

**Responses**

- `200` — Success
- `400` — Typed error; Retry-After is present when retryable
- `401` — Typed error; Retry-After is present when retryable
- `403` — Typed error; Retry-After is present when retryable
- `404` — Unknown resource
- `422` — Typed error; Retry-After is present when retryable
- `429` — Typed error; Retry-After is present when retryable
- `500` — Typed error; Retry-After is present when retryable
- `503` — Typed error; Retry-After is present when retryable

Response example, 200:

```json
{
  "build_tool_version": "string",
  "created_at": "2019-08-24T14:15:22Z",
  "environment_id": "string",
  "id": "string",
  "images": [
    {
      "image": "string",
      "index_digest": "string",
      "manifest_digest": "string",
      "platform": "string"
    }
  ],
  "importer_version": "string",
  "resolved_features": [
    {
      "digest": "string",
      "reference": "string"
    }
  ],
  "runtime": {
    "commands": [
      {
        "command": {
          "argv": [
            "string"
          ],
          "cwd": "string",
          "env": {
            "property1": "string",
            "property2": "string"
          }
        },
        "phase": "on_create"
      }
    ],
    "env": {
      "property1": "string",
      "property2": "string"
    },
    "posix_userland": true,
    "user": "string"
  },
  "source": {
    "image": "string",
    "type": "image"
  },
  "source_digest": "string",
  "subset_report": [
    {
      "disposition": "accepted",
      "key": "string",
      "reason": "string"
    }
  ]
}
```
