---
title: "Fetch a result by Idempotency-Key"
method: GET
path: "/v1/idempotency/{key}"
tags: ["keys"]
---

# Fetch a result by Idempotency-Key

`GET /v1/idempotency/{key}`

Collect a generic reserve-and-replay result by its Idempotency-Key alone, using the same concrete API-key credential and live/test mode that created it. 'completed' returns the original body + original_status; 'processing' means it is still running; unknown/expired is 404. External-machine enrollment is excluded from this cache: recover it only by repeating the exact POST /v1/machines/external key and body during its 24-hour account-scoped window.

## Response `200`

The cached result (completed) or its in-flight status (processing).

- IdempotencyLookupResponse — Result of GET /v1/idempotency/{key} for the generic concrete-credential reserve cache. 'completed' returns the replay-safe response body plus original_status; 'processing' means the original is still running; an unknown/expired key is a 404 NOT_FOUND. Screenshot pixels are deliberately excluded from action replay records: frame_id remains available, but screenshot is null and observation_available=false. External-machine enrollment uses its separate account-scoped replay path and is recovered only by repeating the exact enrollment POST.
  - `status` 'completed' | 'processing', required — completed = a cached result is included; processing = the original is still executing.
  - `request_id` string, required
  - `result` unknown
  - `original_status` integer, nullable — The HTTP status the original response returned (e.g. 200). Present only when status is 'completed'.

## Other responses

- `400` — Invalid request body or parameters.
- `401` — Missing, invalid, or revoked API key. Pass `X-API-Key: sk-coasty-live-...` (or test).
- `403` — API key lacks the required scope or tier-feature is unavailable on the caller's plan.
- `404` — Resource not found in this key's namespace.
- `429` — Rate or concurrency limit exceeded.
- `500` — Unexpected server error. Retry with exponential backoff.
- `503` — A required service is temporarily unavailable.

---

[API](https://skmtc.net/coasty/apis/coasty-public-api.md) · [All operations](https://skmtc.net/coasty/apis/coasty-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coasty/coasty-public-api/versions/f50d93b0d8a1/schema)
