# Check Request Status

Use this endpoint to retrieve the latest state for an execution request.

## Endpoint

`GET /status/:id`

## Authentication

`X-API-Key` required.

## Command

```bash
REQUEST_ID="your_request_id"

curl "$BASE_URL/status/$REQUEST_ID" \
  -H "X-API-Key: $API_KEY"
```

## Success response

Status code: `200 OK`

Example:

```json
{
  "request_id": "your_request_id",
  "status": "broadcasting",
  "chain": "ethereum",
  "tx_hash": "0x1234...abcd",
  "cost_usd": 0.25,
  "created_at": "2026-05-05T10:00:00Z",
  "updated_at": "2026-05-05T10:00:12Z"
}
```

## Status lifecycle

Typical progression:

1. `pending`
2. `payment_required`
3. `payment_verified`
4. `queued`
5. `broadcasting`
6. Terminal state
   1. `confirmed`
   2. `reverted`
   3. `failed`

## Polling recommendation

Use interval polling between 2 and 5 seconds until terminal state, then stop.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ardentresearch.xyz/request-api-key/status.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
