Create report

Markdown
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

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

NameTypeRequiredConstraintsDescription
Idempotency-Keyheader: stringYes—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

multipart/form-data
NameTypeRequiredConstraintsDescription
audiostringYes—Upload a WAV or MP3 dictation file. Maximum size: 50,000,000 bytes. Maximum duration: 10 minutes (600 seconds).
user_specificationstring | nullNo—Optional formatting or style instructions.
study_metadatastring | nullNo—Optional study details such as modality and body region.
experimentalbooleanNodefault=falseExperimental transcription mode.
silence_threshold_dbfsnumber | nullNo——
silence_min_duration_msinteger | nullNo——

Example

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

StatusDescriptionType
200Draft report JSONReportResponse · application/json
401Invalid or missing API key—
503Service is unavailable. Please try again.—
400Invalid request ID—
409Request ID reused, already processed, or client standards not configured—
413Upload or text too large—
415Unsupported or unreadable audio—
429Request temporarily unavailable—
502Report generation failed.—
422Validation ErrorHTTPValidationError · application/json

Response headers · 200

HeaderTypeDescription
X-Request-IdstringServer request identifier for support.
X-Standard-VersionstringVersion identifier for the selected standard.
X-Profile-VersionstringVersion identifier for the report profile, or "none".

Schemas

Body_create_report_v1_reports_post

NameTypeRequiredConstraintsDescription
audiostringYes—Upload a WAV or MP3 dictation file. Maximum size: 50,000,000 bytes. Maximum duration: 10 minutes (600 seconds).
user_specificationstring | nullNo—Optional formatting or style instructions.
study_metadatastring | nullNo—Optional study details such as modality and body region.
experimentalbooleanNodefault=falseExperimental transcription mode.
silence_threshold_dbfsnumber | nullNo——
silence_min_duration_msinteger | nullNo——

HTTPValidationError

NameTypeRequiredConstraintsDescription
detailarray<ValidationError>No——

ReportResponse

NameTypeRequiredConstraintsDescription
schema_versionstringYespattern="^1\\.2$"Version of the report JSON format.
standard_idstring | nullYes—Study template ID selected from the doctor's standard, or null.
techniquestringYes—Technique text, or "Not provided." when unavailable.
patient_namestringYes—Patient name, or "Not provided." when unavailable.
date_of_birthstringYes—Date of birth, or "Not provided." when unavailable.
referring_physicianstringYes—Referring physician, or "Not provided." when unavailable.
patient_idstringYes—Patient ID, or "Not provided." when unavailable.
date_of_studystringYes—Study date, or "Not provided." when unavailable.
findingsarray<string>Yes—Ordered finding statements.
impressionarray<string>Yes—Ordered impression statements.
review_flagsarray<ReviewFlag>Yes—Unresolved issues for clinician review.
transcriptionTimestampedTranscriptYes——

ReviewFlag

NameTypeRequiredConstraintsDescription
issuestringYes—What needs review.
transcript_excerptstringYes—Relevant source transcript text.
audio_start_secondsnumber | nullNo—Start time in seconds, when available.
audio_end_secondsnumber | nullNo—End time in seconds, when available.

TimestampedTranscript

NameTypeRequiredConstraintsDescription
textstringYes——
wordsarray<TranscriptWord>Yes—Word timestamps in seconds from the beginning of the audio.

TranscriptWord

NameTypeRequiredConstraintsDescription
wordstringYes——
startnumberYesminimum=0.0Word start time in seconds from the beginning of the audio.
endnumberYesexclusiveMinimum=0.0Word end time in seconds from the beginning of the audio.

ValidationError

NameTypeRequiredConstraintsDescription
locarray<string | integer>Yes——
msgstringYes——
typestringYes——
inputobjectNo——
ctxobjectNo——

Select and copy