---
search:
  tags:
    - Sandboxes
    - GET
seo:
  description: >-
    Answers for a stopped sandbox too, with status: stopped. Reference for the
    GET /v1/sandboxes/{id} endpoint in the Ibby API.
sidebar:
  label: Get a sandbox's status
  badge: GET
title: Get a sandbox's status
type: openapi-operation
---
Answers for a stopped sandbox too, with `status: stopped`.

`GET /v1/sandboxes/{id}`

**Responses**

- `200` — The sandbox.
- `400` — \`invalid\_request\`: The request does not match the contract.
- `401` — \`unauthorized\`: The API key is missing, unknown or revoked.
- `404` — \`not\_found\`: No such resource in this key's lane. Another lane's ids are not found either.
- `500` — \`internal\_error\`: The platform failed. A retry may succeed; for a call that creates or writes, retry with the same Idempotency-Key.
- `503` — \`unavailable\`: A service behind the API could not be reached. Retry after a short wait; for a call that creates or writes, with the same Idempotency-Key.

Response example, 200:

```json
{
  "created_at": "2019-08-24T14:15:22Z",
  "id": "sbx_7Hc2mQ",
  "lifetime_ms": 0,
  "name": "string",
  "region": "string",
  "resources": {
    "cpu": 0,
    "cpu_limit": 0,
    "memory_limit_mib": 0,
    "memory_mib": 0
  },
  "status": "pending",
  "store": {
    "key_prefix": "string",
    "mount_path": "string"
  },
  "workdir": "string"
}
```
