# Create report

https://radiologydictation.com/docs/post-v1-reports

```http
POST /v1/reports
```

Use this endpoint when your application needs a draft report as structured JSON. Upload one WAV or MP3 dictation up to 10 minutes. The API returns technique, patient name, date of birth, referring physician, patient ID, date of study, ordered findings and impression items, review flags, and the transcription with word timings. Missing or uncertain metadata values are returned as "Not provided." Your active API key selects the workspace’s saved standards and instructions.

Save your standards before making the first request. Send the recording in the audio field of a multipart/form-data request, together with an Authorization header and a new Idempotency-Key. Let your HTTP client create the multipart boundary; do not set this request’s Content-Type to application/json.

## Optional silence trimming

Trimming is off by default. To enable it, send both multipart form fields: silence_threshold_dbfs and silence_min_duration_ms. For example, -55 and 500 shorten passages that stay below -55 dBFS for at least 500 milliseconds. A more negative threshold preserves quieter sounds.

The threshold ranges from -120 to 0 dBFS. The duration is a whole number from 1 to 600000 milliseconds. Up to 100 milliseconds at each edge is kept, capped at a quarter of the requested duration. An entirely below-threshold recording is processed in full.

Quiet speech can fall below your threshold. Test your settings with representative recordings. Returned times refer to the original recording. Trimming adds no report caution and does not change prices or the original recording limits. Use a new request key if you change these settings.

## Add context when it helps

study_metadata can describe the examination, such as the modality and body region. user_specification supplies instructions for this request only; it does not update saved settings. Use the settings API when a preference should apply to future reports.

## Use the report in your application

The response includes technique, patient_name, date_of_birth, referring_physician, patient_id, and date_of_study as strings; missing or uncertain values are "Not provided." The Technique value can include acquisition wording dictated in the audio. Findings and impression are ordered arrays. Preserve that order when displaying or exporting them. Read review_flags before using the draft, and provide a clinician review step. transcription.text holds readable text, while transcription.words contains word start/end times in seconds from the original audio. Words without usable timings may be absent from that list.

standard_id identifies the selected saved standard when one is selected. X-Request-Id identifies the server request for support, while the settings-version headers describe the snapshot used for this report.

## Keep the successful response

An identical retry can retrieve a successful report JSON response for 24 hours after completion. Keep the original input and request key if you may need to recover a response.

[Standards and instructions](https://radiologydictation.com/docs/standards.md)

[Requests, retries, and downloads](https://radiologydictation.com/docs/retries.md)

## 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.

```http
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 | header: string | Yes |  | Unique ID for this dictation. Reuse it only to retry the identical request. Use letters, digits, periods, underscores, tildes, or hyphens; up to 128 characters. |

## Request

```http
multipart/form-data
```

| Name | Type | Required | Constraints | Description |
| --- | --- | --- | --- | --- |
| audio | string | Yes |  | Upload a WAV or MP3 dictation file. Maximum size: 50,000,000 bytes. Maximum duration: 10 minutes (600 seconds). |
| user_specification | string \| null | No |  | Optional formatting or style instructions. |
| study_metadata | string \| null | No |  | Optional study details such as modality and body region. |
| experimental | boolean | No | default=false | Experimental transcription mode. |
| silence_threshold_dbfs | number \| null | No |  |  |
| silence_min_duration_ms | integer \| null | No |  |  |

## Example

```bash
BASE_URL=https://radiologydictation.com

curl --request POST "$BASE_URL/v1/reports" \
  --header "Authorization: Bearer $API_KEY" \
  --header "Idempotency-Key: $REQUEST_ID" \
  --form audio=@dictation.wav
```

## Responses

| Status | Description | Type |
| --- | --- | --- |
| 200 | Draft report JSON | ReportResponse · application/json |
| 401 | Invalid or missing API key |  |
| 503 | Service is unavailable. Please try again. |  |
| 400 | Invalid request ID |  |
| 409 | Request ID reused, already processed, or client standards not configured |  |
| 413 | Upload or text too large |  |
| 415 | Unsupported or unreadable audio |  |
| 429 | Request temporarily unavailable |  |
| 502 | Report generation failed. |  |
| 422 | Validation Error | HTTPValidationError · application/json |

### Response headers · 200

| Header | Type | Description |
| --- | --- | --- |
| X-Request-Id | string | Server request identifier for support. |
| X-Standard-Version | string | Version identifier for the selected standard. |
| X-Profile-Version | string | Version identifier for the report profile, or "none". |

## Schemas

### Body_create_report_v1_reports_post

| Name | Type | Required | Constraints | Description |
| --- | --- | --- | --- | --- |
| audio | string | Yes |  | Upload a WAV or MP3 dictation file. Maximum size: 50,000,000 bytes. Maximum duration: 10 minutes (600 seconds). |
| user_specification | string \| null | No |  | Optional formatting or style instructions. |
| study_metadata | string \| null | No |  | Optional study details such as modality and body region. |
| experimental | boolean | No | default=false | Experimental transcription mode. |
| silence_threshold_dbfs | number \| null | No |  |  |
| silence_min_duration_ms | integer \| null | No |  |  |

### HTTPValidationError

| Name | Type | Required | Constraints | Description |
| --- | --- | --- | --- | --- |
| detail | array<ValidationError> | No |  |  |

### ReportResponse

| Name | Type | Required | Constraints | Description |
| --- | --- | --- | --- | --- |
| schema_version | string | Yes | pattern="^1\\\\.2$" | Version of the report JSON format. |
| standard_id | string \| null | Yes |  | Study template ID selected from the doctor's standard, or null. |
| technique | string | Yes |  | Technique text, or "Not provided." when unavailable. |
| patient_name | string | Yes |  | Patient name, or "Not provided." when unavailable. |
| date_of_birth | string | Yes |  | Date of birth, or "Not provided." when unavailable. |
| referring_physician | string | Yes |  | Referring physician, or "Not provided." when unavailable. |
| patient_id | string | Yes |  | Patient ID, or "Not provided." when unavailable. |
| date_of_study | string | Yes |  | Study date, or "Not provided." when unavailable. |
| findings | array<string> | Yes |  | Ordered finding statements. |
| impression | array<string> | Yes |  | Ordered impression statements. |
| review_flags | array<ReviewFlag> | Yes |  | Unresolved issues for clinician review. |
| transcription | TimestampedTranscript | Yes |  |  |

### ReviewFlag

| Name | Type | Required | Constraints | Description |
| --- | --- | --- | --- | --- |
| issue | string | Yes |  | What needs review. |
| transcript_excerpt | string | Yes |  | Relevant source transcript text. |
| audio_start_seconds | number \| null | No |  | Start time in seconds, when available. |
| audio_end_seconds | number \| null | No |  | End time in seconds, when available. |

### TimestampedTranscript

| Name | Type | Required | Constraints | Description |
| --- | --- | --- | --- | --- |
| text | string | Yes |  |  |
| words | array<TranscriptWord> | Yes |  | Word timestamps in seconds from the beginning of the audio. |

### TranscriptWord

| Name | Type | Required | Constraints | Description |
| --- | --- | --- | --- | --- |
| word | string | Yes |  |  |
| start | number | Yes | minimum=0.0 | Word start time in seconds from the beginning of the audio. |
| end | number | Yes | exclusiveMinimum=0.0 | Word end time in seconds from the beginning of the audio. |

### ValidationError

| Name | Type | Required | Constraints | Description |
| --- | --- | --- | --- | --- |
| loc | array<string \| integer> | Yes |  |  |
| msg | string | Yes |  |  |
| type | string | Yes |  |  |
| input | object | No |  |  |
| ctx | object | No |  |  |
