> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bead.run/llms.txt
> Use this file to discover all available pages before exploring further.

# Get deletion progress

> Check deletion status to see whether cleanup is running or complete.

Check whether a machine deletion is still running or has completed.

## Authentication

Send your scoped bearer token in the `Authorization: Bearer <BEAD_TOKEN>` header, or send your API key in `X-API-Key`.

## Parameters

**id** `string` *required*

UUID of the deletion operation. Format: `uuid`.

```bash cURL theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
curl --request GET \
  --url "https://api.bead.run/operations/$OPERATION_ID" \
  --header "X-API-Key: $BEAD_API_KEY"
```

## Response

### 200

Machine deletion completed.

**operationID** `string` *required*

Deletion operation UUID.

**status** `string` *required*

Deletion completed. Allowed values: `"deleted"`.

### 202

Machine cleanup is still running.

**operationID** `string` *required*

Deletion operation UUID.

**status** `string` *required*

Deletion is in progress. Allowed values: `"deleting"`.

**statusURL** `string` *required*

Relative URL to poll this operation.

## Errors

| Status | Meaning |
| - | - |
| 400 | Invalid resource UUID or request parameters. |
| 401 | Authentication credential is missing or rejected. |
| 403 | The credential lacks the required scope. |
| 404 | The requested resource does not exist or is outside your organization. |
| 429 | Request or resource admission limit exceeded (`admission_limit`). Follow limit.next\_action and Retry-After when present. |
| 503 | Service or persistence is temporarily unavailable. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.