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

**Responses**

- `200` — Cursor-paginated list
- `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
{
  "items": [
    {
      "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"
        }
      ]
    }
  ],
  "next_cursor": "string"
}
```
