API reference

Markdown

Connect radiology dictation to your application using the report standards and preferences saved in your workspace. You can receive a structured draft to display in your own interface, or download a Word report using the formatting of your saved template. Generated content should be reviewed by a clinician before use.

Follow the setup steps

Choose your workflow

What you want to doWhere to start
Turn audio into findings, impression, and a timestamped transcription.POST /v1/reports
Turn audio and optional DICOM metadata into a Word report using your template.POST /v1/report-documents
Create a Technique section from acquisition metadata.POST /v1/techniques
Format findings and impression you already have as a Word document.POST /v1/documents
Read or change the shared report preferences.GET / PATCH /v1/client/settings
Upload, prepare, and preview reusable Word templates./v1/document-templates
Check requests and see endpoint activity across your keys./v1/requests/{idempotency_key} and /v1/usage/endpoints

The endpoints are composable. You can generate JSON, review it in your application, and send the edited report to the Word endpoint. Or use the complete Word-report endpoint when you want the steps performed together. DICOM metadata is optional for a complete report; without it, no Technique section is generated.

Prepare your workspace

Save at least one report standard before generating reports. Standards define study-specific report wording; the three instruction boxes define terminology, dictation conventions, and writing preferences. A Word template defines the appearance of an exported document. All active keys in your workspace share these saved settings and templates.

Standards and instructions

Working with Word templates

Base URL

Send requests to the base URL below followed by the endpoint path. The examples use BASE_URL for this address and API_KEY for a key loaded from your application’s secret configuration. Replace example template IDs and revision numbers with values returned for your own workspace.

https://radiologydictation.com

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.

Requests and responses

Audio and template uploads use multipart/form-data. Settings edits, Technique metadata, and structured Word generation use application/json. Let your HTTP library create multipart boundaries. A successful report or Technique response is JSON; a successful Word response is a binary .docx file. Always check the status and Content-Type before parsing or saving the response.

Plan for retries

Use a new Idempotency-Key for each intended generation and keep it with the original input. Identical retries of report JSON, Technique, and Word requests can recover saved results for 24 hours after completion. Downloaded files and saved templates do not expire. Save responses in your application for longer retention.

Requests, retries, and downloads

Endpoints

Restore a settings version

POST /v1/client/settings/restore

Upload a Word template

POST /v1/document-templates

Generate a Word document

POST /v1/documents

Complete Word report

POST /v1/report-documents

Start a live Word report session

POST /v1/report-documents/stream-sessions

Create report

POST /v1/reports

Start a live report session

POST /v1/reports/stream-sessions

Generate a Technique section

POST /v1/techniques

Read client settings

GET /v1/client/settings

Update client settings

PATCH /v1/client/settings

List settings history

GET /v1/client/settings/history

Read a settings version

GET /v1/client/settings/history/{revision}

List Word templates

GET /v1/document-templates

Download a starter template

GET /v1/document-templates/starter

Delete a Word template

DELETE /v1/document-templates/{template_id}

Read a Word template

GET /v1/document-templates/{template_id}

Update a Word template

PATCH /v1/document-templates/{template_id}

Download a Word template

GET /v1/document-templates/{template_id}/download

Download a sample document

GET /v1/document-templates/{template_id}/sample

Check request status

GET /v1/requests/{idempotency_key}

Cancel Stream

DELETE /v1/stream-sessions/{session_id}

Stream Status

GET /v1/stream-sessions/{session_id}

Get completed live report

GET /v1/stream-sessions/{session_id}/result

Get current usage

GET /v1/usage

Read usage by endpoint

GET /v1/usage/endpoints

Health

GET /health

OpenAPI

Schemas

AcquisitionFact

NameTypeRequiredConstraintsDescription
idstringYes——
seriesstringYes——
attributestringYes——
valuesarray<string | number | integer>Yes——
sourcesarray<string>Yes——

Body_create_complete_report_v1_report_documents_post

NameTypeRequiredConstraintsDescription
audiostringYes—One WAV or MP3 dictation, up to 50,000,000 bytes and 10 minutes (600 seconds).
template_idstringYespattern="^[a-f0-9]{32}$"ID of your saved Word template, returned by template upload or listing.
template_revisionintegerYesminimum=1.0Saved version to use. Read the template to obtain its current revision.
dicom_metadatastring | nullNo—Optional JSON array of DICOM JSON datasets, encoded as text in this form field. Omit identifiers and image data.
metadata_completebooleanNodefault=falseSet true only when dicom_metadata covers all acquisitions. Requires metadata; leave false for incomplete or uncertain coverage.
study_metadatastring | nullNo—Optional examination context for report generation, such as modality and body region.
user_specificationstring | nullNo—Instructions for this report only; does not update saved workspace preferences.
exam_titlestringNomaxLength=20000; default=""Optional text for the Exam title placeholder.
clinical_historystringNomaxLength=20000; default=""Optional supplied history for the Clinical history placeholder.
comparisonstringNomaxLength=20000; default=""Optional supplied wording for the Comparison placeholder.
patient_namestring | nullNo—Optional patient name override for the Word document only.
date_of_birthstring | nullNo—Optional date of birth override for the Word document only.
referring_physicianstring | nullNo—Optional referring physician override for the Word document only.
patient_idstring | nullNo—Optional patient ID override for the Word document only.
date_of_studystring | nullNo—Optional date of study override for the Word document only.
silence_threshold_dbfsnumber | nullNo——
silence_min_duration_msinteger | nullNo——

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——

Body_upload_template_v1_document_templates_post

NameTypeRequiredConstraintsDescription
documentstringYes—Word document (.docx) to reuse as a template, including an existing completed report.
namestringYesminLength=1; maxLength=80A readable name for choosing this template later.

ClientSettings

NameTypeRequiredConstraintsDescription
standards_textstringNomaxLength=200000; default=""Your saved study-specific report wording. Begin each standard with a unique uppercase, hyphen-separated label on its own line, such as MRI-LSP.
transcription_instructionsstringNomaxLength=20000; default=""Terminology guidance used when recognizing spoken words, such as medical names, laterality, and measurements.
dictation_conventionsstringNomaxLength=20000; default=""Rules for interpreting spoken commands and corrections when constructing the report.
style_instructionsstringNomaxLength=20000; default=""Preferences for report wording, organization, and expression of certainty.
technique_instructionsTechniqueInstructionsNo——
pathology_textstringNomaxLength=200000; default=""—
revisionintegerNominimum=0.0; default=0The saved settings version. Send this value as expected_revision when preparing an update.
groupsarray<SettingsGroup>NominItems=1; maxItems=100—

ClientSettingsUpdate

NameTypeRequiredConstraintsDescription
expected_revisionintegerYesminimum=0.0revision from your most recent settings read. A stale value returns 409 instead of overwriting newer settings.
standards_textstringNomaxLength=200000Replace the saved standards library. Must contain at least one recognized unique label; cannot be empty. Omit to preserve it.
transcription_instructionsstringNomaxLength=20000Replace terminology guidance. Omit to preserve it; an empty string clears it. Null is rejected.
dictation_conventionsstringNomaxLength=20000Replace spoken-command and correction rules. Omit to preserve them; an empty string clears them. Null is rejected.
style_instructionsstringNomaxLength=20000Replace report-writing preferences. Omit to preserve them; an empty string clears them. Null is rejected.
technique_instructionsTechniqueInstructionsNo——
groupsarray<SettingsGroup>NominItems=1; maxItems=100—

DeleteParagraph

NameTypeRequiredConstraintsDescription
operationstringYes——
idstringYesmaxLength=200—

DocumentReport

NameTypeRequiredConstraintsDescription
schema_versionstringNodefault="1.2"—
standard_idstring | nullNo——
techniquestringNomaxLength=20000; default="Not provided."—
patient_namestringNomaxLength=20000; default="Not provided."—
date_of_birthstringNomaxLength=20000; default="Not provided."—
referring_physicianstringNomaxLength=20000; default="Not provided."—
patient_idstringNomaxLength=20000; default="Not provided."—
date_of_studystringNomaxLength=20000; default="Not provided."—
findingsarray<string>YesmaxItems=200—
impressionarray<string>YesmaxItems=100—
review_flagsarray<ReviewFlag>NomaxItems=100—
transcriptionTimestampedTranscript | nullNo——

DocumentRequest

NameTypeRequiredConstraintsDescription
template_idstringYespattern="^[a-f0-9]{32}$"ID of a Word template owned by your workspace, returned by upload or listing.
template_revisionintegerYesminimum=1.0Saved template revision to use. Read the template to obtain its current revision.
reportDocumentReportYes—The structured findings, impression, and review flags to place into the Word document.
techniquestringNomaxLength=20000; default=""Optional Technique text to fill the matching placeholder; this endpoint does not generate it.
patient_namestring | nullNo—Optional override for the patient name in this Word document. When omitted, uses report.patient_name.
date_of_birthstring | nullNo—Optional override for the date of birth in this Word document. When omitted, uses report.date_of_birth.
referring_physicianstring | nullNo—Optional override for the referring physician in this Word document. When omitted, uses report.referring_physician.
patient_idstring | nullNo—Optional override for the patient ID in this Word document. When omitted, uses report.patient_id.
date_of_studystring | nullNo—Optional override for the date of study in this Word document. When omitted, uses report.date_of_study.
exam_titlestringNomaxLength=20000; default=""Optional examination title for the Exam title placeholder.
clinical_historystringNomaxLength=20000; default=""Optional supplied clinical history for the matching placeholder.
comparisonstringNomaxLength=20000; default=""Optional supplied comparison wording for the matching placeholder.

EndpointUsage

NameTypeRequiredConstraintsDescription
operationstringYes—The recorded action, such as reports.create or report_documents.create.
requestsintegerYesminimum=0.0Recorded service invocations, including recognized retries. Does not include every early HTTP denial.
acceptedintegerYesminimum=0.0New logical work accepted for this operation.
succeededintegerYesminimum=0.0Logical operations that completed successfully.
failedintegerYesminimum=0.0Accepted operations that finished unsuccessfully.
rejectedintegerYesminimum=0.0Recorded calls that were rejected before starting work.
duplicatesintegerYesminimum=0.0Retries recognized as a previously submitted logical request.
uncertainintegerYesminimum=0.0Operations whose outcome needs review before another generation.

EndpointUsageSummary

NameTypeRequiredConstraintsDescription
scopestringYesenum=["key", "client"]—
monthstring | nullYes——
timezonestringYes——
endpointsarray<EndpointUsage>Yes——

HTTPValidationError

NameTypeRequiredConstraintsDescription
detailarray<ValidationError>No——

MetadataSource

NameTypeRequiredConstraintsDescription
typestringYes—Use metadata to send DICOM JSON directly. This field does not select a PACS connection or file upload.
dicom_metadataarray<object>YesminItems=1; maxItems=512Array of DICOM JSON datasets containing acquisition metadata. Use tag numbers, vr, and Value arrays. Exclude patient identifiers and image data.
metadata_completebooleanNodefault=falseSet true only when these datasets cover all acquisitions in the study. Leave false for partial or uncertain coverage.

MoveParagraph

NameTypeRequiredConstraintsDescription
operationstringYes——
idstringYesmaxLength=200—
before_idstring | nullNo——

Paragraph

NameTypeRequiredConstraintsDescription
idstringYes——
textstringYes——
editablebooleanYes——
deletablebooleanNodefault=false—
move_groupstring | nullNo——
markersarray<ParagraphMarker>No——

ParagraphEdit

NameTypeRequiredConstraintsDescription
idstringYesmaxLength=200—
startintegerYesminimum=0.0—
endintegerYesminimum=0.0—
textstringYesmaxLength=20000—

ParagraphMarker

NameTypeRequiredConstraintsDescription
kindstringYesenum=["page_break", "page_break_before", "column_break", "section_break", "image", "field", "anchor", "table_cell", "protected_structure"]—
positionstringYesenum=["before", "within", "after"]—
offsetinteger | nullNo——
section_typestring | nullNo——

Pathology

NameTypeRequiredConstraintsDescription
idstringYespattern="^[a-zA-Z0-9_-]+$"; minLength=1; maxLength=64—
when_dictatedstringYesminLength=1; maxLength=20000—
findingsstringYesminLength=1; maxLength=20000—
impressionstringNomaxLength=20000; default=""—

RemoveBreak

NameTypeRequiredConstraintsDescription
operationstringYes——
idstringYesmaxLength=200—
kindstringYesenum=["page_break", "column_break", "page_break_before"]—
offsetinteger | nullNo——

ReportDocumentInput

NameTypeRequiredConstraintsDescription
template_idstringYespattern="^[a-f0-9]{32}$"—
template_revisionintegerYesminimum=1.0—
study_metadatastring | nullNo——
user_specificationstring | nullNo——
exam_titlestringNomaxLength=20000; default=""—
clinical_historystringNomaxLength=20000; default=""—
comparisonstringNomaxLength=20000; default=""—
patient_namestring | nullNo——
date_of_birthstring | nullNo——
referring_physicianstring | nullNo——
patient_idstring | nullNo——
date_of_studystring | nullNo——
sourceMetadataSource | nullNo——

ReportDocumentStreamStart

NameTypeRequiredConstraintsDescription
silence_threshold_dbfsnumber | nullNo——
silence_min_duration_msinteger | nullNo——
payloadReportDocumentInputYes——
sample_rateintegerNodefault=24000—

ReportFormatting

NameTypeRequiredConstraintsDescription
findings_blank_paragraphbooleanNodefault=false—
impression_blank_paragraphbooleanNodefault=false—
findings_bulletedboolean | nullNo——
impression_bulletedboolean | nullNo——
findings_boldboolean | nullNo——
findings_underlineboolean | nullNo——
findings_italicboolean | nullNo——
impression_boldboolean | nullNo——
impression_underlineboolean | nullNo——
impression_italicboolean | nullNo——

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——

ReportStreamStart

NameTypeRequiredConstraintsDescription
silence_threshold_dbfsnumber | nullNo——
silence_min_duration_msinteger | nullNo——
study_metadatastring | nullNo——
user_specificationstring | nullNo——
sample_rateintegerNodefault=24000—

RequestStatus

NameTypeRequiredConstraintsDescription
statusstringYesenum=["running", "succeeded", "failed", "uncertain"]Current state of the request.

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.

SettingsEntry

NameTypeRequiredConstraintsDescription
idstringYespattern="^[a-zA-Z0-9_-]+$"; minLength=1; maxLength=64—
namestringNomaxLength=80; default=""—
textstringNomaxLength=200000; default=""—
pathologiesarray<Pathology>NomaxItems=100—

SettingsGroup

One organization-only section; every section participates in requests.

NameTypeRequiredConstraintsDescription
idstringYespattern="^[a-zA-Z0-9_-]+$"; minLength=1; maxLength=64—
namestringYesminLength=1; maxLength=80—
standards_textstringNomaxLength=200000; default=""—
transcription_instructionsstringNomaxLength=20000; default=""—
dictation_conventionsstringNomaxLength=20000; default=""—
style_instructionsstringNomaxLength=20000; default=""—
entriesobjectNo——

SettingsHistory

NameTypeRequiredConstraintsDescription
itemsarray<SettingsVersionSummary>Yes——
current_revisionintegerYes——
next_beforeinteger | nullNo——

SettingsRestore

NameTypeRequiredConstraintsDescription
revisionintegerYesminimum=0.0; maximum=9.223372036854776e+18—
expected_revisionintegerYesminimum=0.0; maximum=9.223372036854776e+18—

SettingsVersion

NameTypeRequiredConstraintsDescription
sourcestringNoenum=["workspace", "api", "system"]; default="system"—
actor_idstring | nullNo——
revisionintegerYesminimum=0.0—
parent_revisioninteger | nullNo——
created_atstring (date-time)Yes——
actionstringYesenum=["baseline", "update", "restore"]—
restored_frominteger | nullNo——
settingsClientSettingsYes——

SettingsVersionSummary

NameTypeRequiredConstraintsDescription
sourcestringNoenum=["workspace", "api", "system"]; default="system"—
actor_idstring | nullNo——
revisionintegerYesminimum=0.0—
parent_revisioninteger | nullNo——
created_atstring (date-time)Yes——
actionstringYesenum=["baseline", "update", "restore"]—
restored_frominteger | nullNo——

TechniqueInstructions

NameTypeRequiredConstraintsDescription
mristringNopattern="^[^\\x00]*$"; default=""—
ctstringNopattern="^[^\\x00]*$"; default=""—
xraystringNopattern="^[^\\x00]*$"; default=""—

TechniqueRequest

NameTypeRequiredConstraintsDescription
sourceMetadataSourceYes—The submitted DICOM metadata and whether it covers the complete acquisition.

TechniqueResponse

NameTypeRequiredConstraintsDescription
schema_versionstringNodefault="1.0"—
techniquestringYes—Technique text assembled from the submitted acquisition facts. Review the flags before using it.
sentencesarray<TechniqueSentence>Yes—Individual sentences with references to the facts that support each sentence.
acquisition_factsarray<AcquisitionFact>Yes—Recognized metadata attributes and their source references, addressed by fact IDs.
review_flagsarray<string>Yes—Issues requiring confirmation, including incomplete metadata or contrast details.

TechniqueSentence

NameTypeRequiredConstraintsDescription
textstringYesminLength=1; maxLength=1000—
fact_idsarray<string>YesminItems=1; maxItems=64—

TemplateDetail

NameTypeRequiredConstraintsDescription
idstringYes——
namestringYes——
revisionintegerYes——
created_atstring (date-time)Yes——
updated_atstring (date-time)Yes——
paragraphsarray<Paragraph>Yes——
placeholdersarray<string>Yes——
spacingReportFormattingNo——
bulleted_placeholdersarray<string>No——
placeholder_formattingobjectNo——

TemplateSummary

NameTypeRequiredConstraintsDescription
idstringYes——
namestringYes——
revisionintegerYes——
created_atstring (date-time)Yes——
updated_atstring (date-time)Yes——

TemplateUpdate

NameTypeRequiredConstraintsDescription
expected_revisionintegerYesminimum=1.0Current revision returned by reading the template. Prevents overwriting another saved edit.
editsarray<ParagraphEdit>NomaxItems=2000Text replacements using paragraph IDs and Unicode-character offsets from the expected revision. end is exclusive.
operationsarray<DeleteParagraph | MoveParagraph | RemoveBreak>NomaxItems=2000Ordered paragraph deletions, moves, or page/column break removals applied after text edits.
spacingReportFormatting | nullNo—Report formatting overrides. Omit to preserve saved controls. A supplied object replaces all controls; include values you want to keep. The object cannot be null.

TextFormatting

NameTypeRequiredConstraintsDescription
boldbooleanNodefault=false—
underlinebooleanNodefault=false—
italicbooleanNodefault=false—

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.

UsageSummary

NameTypeRequiredConstraintsDescription
period_startstring (date-time)Yes——
period_endstring (date-time)Yes——
timezonestringYes——
report_requestsintegerYesminimum=0.0—
completed_reportsintegerYesminimum=0.0—
failed_or_blockedintegerYesminimum=0.0—

ValidationError

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

Select and copy