Check request status
GET /v1/requests/{idempotency_key}Check the state of a generation request when your integration needs to know whether it finished. Put the original Idempotency-Key in the path, use the same API key, and select the operation matching the endpoint you called.
The response contains status only: running, succeeded, failed, or uncertain. It does not return generated content. Retrieve a saved result by sending an identical retry to the original generation endpoint within its recovery window.
Select the correct operation
Set operation to reports.create, techniques.create, documents.render, or report_documents.create; it defaults to reports.create. A request key used at one endpoint does not identify a request at another endpoint. A 404 means no matching request is recorded for this API key and operation.
Do not automatically start a new generation when status is uncertain. Keep the original key and X-Request-Id and contact support. See the retry guide for the meaning of each state and how to recover downloads.
Requests, retries, and downloads
Authentication
Create a named API key in your workspace’s API keys tab, then send it in the Authorization header on each API request. Your key connects the integration to that workspace’s saved settings and Word templates. Signing into the website does not replace this header in an API integration.
Authorization: Bearer <API_KEY>Keep the key in your application’s server-side secret configuration. It is shown only once when created, so save it securely then. Do not place it in browser code, logs, version control, or a prompt sent to your coding agent. You can revoke an integration’s key from the workspace without changing the other keys.
Parameters
| Name | Type | Required | Constraints | Description |
|---|---|---|---|---|
| idempotency_key | path: string | Yes | — | — |
| operation | query: string | No | enum=["reports.create", "techniques.create", "documents.render", "report_documents.create"]; default="reports.create" | — |
Example
BASE_URL=https://radiologydictation.com
curl --request GET "$BASE_URL/v1/requests/$REQUEST_ID" \
--header "Authorization: Bearer $API_KEY"Responses
| Status | Description | Type |
|---|---|---|
| 200 | Successful Response | RequestStatus · application/json |
| 401 | Invalid or missing API key | — |
| 503 | Service is unavailable. Please try again. | — |
| 400 | Invalid request ID | — |
| 404 | Request not found | — |
| 422 | Validation Error | HTTPValidationError · application/json |
Schemas
HTTPValidationError
| Name | Type | Required | Constraints | Description |
|---|---|---|---|---|
| detail | array<ValidationError> | No | — | — |
RequestStatus
| Name | Type | Required | Constraints | Description |
|---|---|---|---|---|
| status | string | Yes | enum=["running", "succeeded", "failed", "uncertain"] | Current state of the request. |
ValidationError
| Name | Type | Required | Constraints | Description |
|---|---|---|---|---|
| loc | array<string | integer> | Yes | — | — |
| msg | string | Yes | — | — |
| type | string | Yes | — | — |
| input | object | No | — | — |
| ctx | object | No | — | — |