---
search:
  tags:
    - Executions
    - GET
seo:
  description: >-
    Reference for the GET /v1/sandboxes/{id}/executions/{execution_id} endpoint
    in the Carton API reference.
sidebar:
  label: GET /v1/sandboxes/{id}/executions/{execution_id}
  badge: GET
title: GET /v1/sandboxes/{id}/executions/{execution_id}
type: openapi-operation
---
`GET /v1/sandboxes/{id}/executions/{execution_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
- `410` — Sandbox existed and is gone; details contains its reason
- `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
{
  "argv": [
    "string"
  ],
  "created_at": "2019-08-24T14:15:22Z",
  "ended_at": "2019-08-24T14:15:22Z",
  "exit": {
    "code": -2147483648,
    "reason": "exited",
    "signal": "string"
  },
  "id": "string",
  "output_truncated": true,
  "phase": "provisioning",
  "pty": true,
  "sandbox_id": "string",
  "started_at": "2019-08-24T14:15:22Z",
  "stderr": {
    "data": "string",
    "encoding": "base64"
  },
  "stdout": {
    "data": "string",
    "encoding": "base64"
  }
}
```
