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 do | Where 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
| Name | Type | Required | Constraints | Description |
|---|
| id | string | Yes | — | — |
| series | string | Yes | — | — |
| attribute | string | Yes | — | — |
| values | array<string | number | integer> | Yes | — | — |
| sources | array<string> | Yes | — | — |
Body_create_complete_report_v1_report_documents_post
| Name | Type | Required | Constraints | Description |
|---|
| audio | string | Yes | — | One WAV or MP3 dictation, up to 50,000,000 bytes and 10 minutes (600 seconds). |
| template_id | string | Yes | pattern="^[a-f0-9]{32}$" | ID of your saved Word template, returned by template upload or listing. |
| template_revision | integer | Yes | minimum=1.0 | Saved version to use. Read the template to obtain its current revision. |
| dicom_metadata | string | null | No | — | Optional JSON array of DICOM JSON datasets, encoded as text in this form field. Omit identifiers and image data. |
| metadata_complete | boolean | No | default=false | Set true only when dicom_metadata covers all acquisitions. Requires metadata; leave false for incomplete or uncertain coverage. |
| study_metadata | string | null | No | — | Optional examination context for report generation, such as modality and body region. |
| user_specification | string | null | No | — | Instructions for this report only; does not update saved workspace preferences. |
| exam_title | string | No | maxLength=20000; default="" | Optional text for the Exam title placeholder. |
| clinical_history | string | No | maxLength=20000; default="" | Optional supplied history for the Clinical history placeholder. |
| comparison | string | No | maxLength=20000; default="" | Optional supplied wording for the Comparison placeholder. |
| patient_name | string | null | No | — | Optional patient name override for the Word document only. |
| date_of_birth | string | null | No | — | Optional date of birth override for the Word document only. |
| referring_physician | string | null | No | — | Optional referring physician override for the Word document only. |
| patient_id | string | null | No | — | Optional patient ID override for the Word document only. |
| date_of_study | string | null | No | — | Optional date of study override for the Word document only. |
| silence_threshold_dbfs | number | null | No | — | — |
| silence_min_duration_ms | integer | null | No | — | — |
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 | — | — |
Body_upload_template_v1_document_templates_post
| Name | Type | Required | Constraints | Description |
|---|
| document | string | Yes | — | Word document (.docx) to reuse as a template, including an existing completed report. |
| name | string | Yes | minLength=1; maxLength=80 | A readable name for choosing this template later. |
ClientSettings
| Name | Type | Required | Constraints | Description |
|---|
| standards_text | string | No | maxLength=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_instructions | string | No | maxLength=20000; default="" | Terminology guidance used when recognizing spoken words, such as medical names, laterality, and measurements. |
| dictation_conventions | string | No | maxLength=20000; default="" | Rules for interpreting spoken commands and corrections when constructing the report. |
| style_instructions | string | No | maxLength=20000; default="" | Preferences for report wording, organization, and expression of certainty. |
| technique_instructions | TechniqueInstructions | No | — | — |
| pathology_text | string | No | maxLength=200000; default="" | — |
| revision | integer | No | minimum=0.0; default=0 | The saved settings version. Send this value as expected_revision when preparing an update. |
| groups | array<SettingsGroup> | No | minItems=1; maxItems=100 | — |
ClientSettingsUpdate
| Name | Type | Required | Constraints | Description |
|---|
| expected_revision | integer | Yes | minimum=0.0 | revision from your most recent settings read. A stale value returns 409 instead of overwriting newer settings. |
| standards_text | string | No | maxLength=200000 | Replace the saved standards library. Must contain at least one recognized unique label; cannot be empty. Omit to preserve it. |
| transcription_instructions | string | No | maxLength=20000 | Replace terminology guidance. Omit to preserve it; an empty string clears it. Null is rejected. |
| dictation_conventions | string | No | maxLength=20000 | Replace spoken-command and correction rules. Omit to preserve them; an empty string clears them. Null is rejected. |
| style_instructions | string | No | maxLength=20000 | Replace report-writing preferences. Omit to preserve them; an empty string clears them. Null is rejected. |
| technique_instructions | TechniqueInstructions | No | — | — |
| groups | array<SettingsGroup> | No | minItems=1; maxItems=100 | — |
DeleteParagraph
| Name | Type | Required | Constraints | Description |
|---|
| operation | string | Yes | — | — |
| id | string | Yes | maxLength=200 | — |
DocumentReport
| Name | Type | Required | Constraints | Description |
|---|
| schema_version | string | No | default="1.2" | — |
| standard_id | string | null | No | — | — |
| technique | string | No | maxLength=20000; default="Not provided." | — |
| patient_name | string | No | maxLength=20000; default="Not provided." | — |
| date_of_birth | string | No | maxLength=20000; default="Not provided." | — |
| referring_physician | string | No | maxLength=20000; default="Not provided." | — |
| patient_id | string | No | maxLength=20000; default="Not provided." | — |
| date_of_study | string | No | maxLength=20000; default="Not provided." | — |
| findings | array<string> | Yes | maxItems=200 | — |
| impression | array<string> | Yes | maxItems=100 | — |
| review_flags | array<ReviewFlag> | No | maxItems=100 | — |
| transcription | TimestampedTranscript | null | No | — | — |
DocumentRequest
| Name | Type | Required | Constraints | Description |
|---|
| template_id | string | Yes | pattern="^[a-f0-9]{32}$" | ID of a Word template owned by your workspace, returned by upload or listing. |
| template_revision | integer | Yes | minimum=1.0 | Saved template revision to use. Read the template to obtain its current revision. |
| report | DocumentReport | Yes | — | The structured findings, impression, and review flags to place into the Word document. |
| technique | string | No | maxLength=20000; default="" | Optional Technique text to fill the matching placeholder; this endpoint does not generate it. |
| patient_name | string | null | No | — | Optional override for the patient name in this Word document. When omitted, uses report.patient_name. |
| date_of_birth | string | null | No | — | Optional override for the date of birth in this Word document. When omitted, uses report.date_of_birth. |
| referring_physician | string | null | No | — | Optional override for the referring physician in this Word document. When omitted, uses report.referring_physician. |
| patient_id | string | null | No | — | Optional override for the patient ID in this Word document. When omitted, uses report.patient_id. |
| date_of_study | string | null | No | — | Optional override for the date of study in this Word document. When omitted, uses report.date_of_study. |
| exam_title | string | No | maxLength=20000; default="" | Optional examination title for the Exam title placeholder. |
| clinical_history | string | No | maxLength=20000; default="" | Optional supplied clinical history for the matching placeholder. |
| comparison | string | No | maxLength=20000; default="" | Optional supplied comparison wording for the matching placeholder. |
EndpointUsage
| Name | Type | Required | Constraints | Description |
|---|
| operation | string | Yes | — | The recorded action, such as reports.create or report_documents.create. |
| requests | integer | Yes | minimum=0.0 | Recorded service invocations, including recognized retries. Does not include every early HTTP denial. |
| accepted | integer | Yes | minimum=0.0 | New logical work accepted for this operation. |
| succeeded | integer | Yes | minimum=0.0 | Logical operations that completed successfully. |
| failed | integer | Yes | minimum=0.0 | Accepted operations that finished unsuccessfully. |
| rejected | integer | Yes | minimum=0.0 | Recorded calls that were rejected before starting work. |
| duplicates | integer | Yes | minimum=0.0 | Retries recognized as a previously submitted logical request. |
| uncertain | integer | Yes | minimum=0.0 | Operations whose outcome needs review before another generation. |
EndpointUsageSummary
| Name | Type | Required | Constraints | Description |
|---|
| scope | string | Yes | enum=["key", "client"] | — |
| month | string | null | Yes | — | — |
| timezone | string | Yes | — | — |
| endpoints | array<EndpointUsage> | Yes | — | — |
HTTPValidationError
| Name | Type | Required | Constraints | Description |
|---|
| detail | array<ValidationError> | No | — | — |
| Name | Type | Required | Constraints | Description |
|---|
| type | string | Yes | — | Use metadata to send DICOM JSON directly. This field does not select a PACS connection or file upload. |
| dicom_metadata | array<object> | Yes | minItems=1; maxItems=512 | Array of DICOM JSON datasets containing acquisition metadata. Use tag numbers, vr, and Value arrays. Exclude patient identifiers and image data. |
| metadata_complete | boolean | No | default=false | Set true only when these datasets cover all acquisitions in the study. Leave false for partial or uncertain coverage. |
MoveParagraph
| Name | Type | Required | Constraints | Description |
|---|
| operation | string | Yes | — | — |
| id | string | Yes | maxLength=200 | — |
| before_id | string | null | No | — | — |
Paragraph
| Name | Type | Required | Constraints | Description |
|---|
| id | string | Yes | — | — |
| text | string | Yes | — | — |
| editable | boolean | Yes | — | — |
| deletable | boolean | No | default=false | — |
| move_group | string | null | No | — | — |
| markers | array<ParagraphMarker> | No | — | — |
ParagraphEdit
| Name | Type | Required | Constraints | Description |
|---|
| id | string | Yes | maxLength=200 | — |
| start | integer | Yes | minimum=0.0 | — |
| end | integer | Yes | minimum=0.0 | — |
| text | string | Yes | maxLength=20000 | — |
ParagraphMarker
| Name | Type | Required | Constraints | Description |
|---|
| kind | string | Yes | enum=["page_break", "page_break_before", "column_break", "section_break", "image", "field", "anchor", "table_cell", "protected_structure"] | — |
| position | string | Yes | enum=["before", "within", "after"] | — |
| offset | integer | null | No | — | — |
| section_type | string | null | No | — | — |
Pathology
| Name | Type | Required | Constraints | Description |
|---|
| id | string | Yes | pattern="^[a-zA-Z0-9_-]+$"; minLength=1; maxLength=64 | — |
| when_dictated | string | Yes | minLength=1; maxLength=20000 | — |
| findings | string | Yes | minLength=1; maxLength=20000 | — |
| impression | string | No | maxLength=20000; default="" | — |
RemoveBreak
| Name | Type | Required | Constraints | Description |
|---|
| operation | string | Yes | — | — |
| id | string | Yes | maxLength=200 | — |
| kind | string | Yes | enum=["page_break", "column_break", "page_break_before"] | — |
| offset | integer | null | No | — | — |
| Name | Type | Required | Constraints | Description |
|---|
| template_id | string | Yes | pattern="^[a-f0-9]{32}$" | — |
| template_revision | integer | Yes | minimum=1.0 | — |
| study_metadata | string | null | No | — | — |
| user_specification | string | null | No | — | — |
| exam_title | string | No | maxLength=20000; default="" | — |
| clinical_history | string | No | maxLength=20000; default="" | — |
| comparison | string | No | maxLength=20000; default="" | — |
| patient_name | string | null | No | — | — |
| date_of_birth | string | null | No | — | — |
| referring_physician | string | null | No | — | — |
| patient_id | string | null | No | — | — |
| date_of_study | string | null | No | — | — |
| source | MetadataSource | null | No | — | — |
ReportDocumentStreamStart
| Name | Type | Required | Constraints | Description |
|---|
| silence_threshold_dbfs | number | null | No | — | — |
| silence_min_duration_ms | integer | null | No | — | — |
| payload | ReportDocumentInput | Yes | — | — |
| sample_rate | integer | No | default=24000 | — |
| Name | Type | Required | Constraints | Description |
|---|
| findings_blank_paragraph | boolean | No | default=false | — |
| impression_blank_paragraph | boolean | No | default=false | — |
| findings_bulleted | boolean | null | No | — | — |
| impression_bulleted | boolean | null | No | — | — |
| findings_bold | boolean | null | No | — | — |
| findings_underline | boolean | null | No | — | — |
| findings_italic | boolean | null | No | — | — |
| impression_bold | boolean | null | No | — | — |
| impression_underline | boolean | null | No | — | — |
| impression_italic | boolean | null | 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 | — | — |
ReportStreamStart
| Name | Type | Required | Constraints | Description |
|---|
| silence_threshold_dbfs | number | null | No | — | — |
| silence_min_duration_ms | integer | null | No | — | — |
| study_metadata | string | null | No | — | — |
| user_specification | string | null | No | — | — |
| sample_rate | integer | No | default=24000 | — |
RequestStatus
| Name | Type | Required | Constraints | Description |
|---|
| status | string | Yes | enum=["running", "succeeded", "failed", "uncertain"] | Current state of the request. |
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. |
SettingsEntry
| Name | Type | Required | Constraints | Description |
|---|
| id | string | Yes | pattern="^[a-zA-Z0-9_-]+$"; minLength=1; maxLength=64 | — |
| name | string | No | maxLength=80; default="" | — |
| text | string | No | maxLength=200000; default="" | — |
| pathologies | array<Pathology> | No | maxItems=100 | — |
SettingsGroup
One organization-only section; every section participates in requests.
| Name | Type | Required | Constraints | Description |
|---|
| id | string | Yes | pattern="^[a-zA-Z0-9_-]+$"; minLength=1; maxLength=64 | — |
| name | string | Yes | minLength=1; maxLength=80 | — |
| standards_text | string | No | maxLength=200000; default="" | — |
| transcription_instructions | string | No | maxLength=20000; default="" | — |
| dictation_conventions | string | No | maxLength=20000; default="" | — |
| style_instructions | string | No | maxLength=20000; default="" | — |
| entries | object | No | — | — |
SettingsHistory
| Name | Type | Required | Constraints | Description |
|---|
| items | array<SettingsVersionSummary> | Yes | — | — |
| current_revision | integer | Yes | — | — |
| next_before | integer | null | No | — | — |
SettingsRestore
| Name | Type | Required | Constraints | Description |
|---|
| revision | integer | Yes | minimum=0.0; maximum=9.223372036854776e+18 | — |
| expected_revision | integer | Yes | minimum=0.0; maximum=9.223372036854776e+18 | — |
SettingsVersion
| Name | Type | Required | Constraints | Description |
|---|
| source | string | No | enum=["workspace", "api", "system"]; default="system" | — |
| actor_id | string | null | No | — | — |
| revision | integer | Yes | minimum=0.0 | — |
| parent_revision | integer | null | No | — | — |
| created_at | string (date-time) | Yes | — | — |
| action | string | Yes | enum=["baseline", "update", "restore"] | — |
| restored_from | integer | null | No | — | — |
| settings | ClientSettings | Yes | — | — |
SettingsVersionSummary
| Name | Type | Required | Constraints | Description |
|---|
| source | string | No | enum=["workspace", "api", "system"]; default="system" | — |
| actor_id | string | null | No | — | — |
| revision | integer | Yes | minimum=0.0 | — |
| parent_revision | integer | null | No | — | — |
| created_at | string (date-time) | Yes | — | — |
| action | string | Yes | enum=["baseline", "update", "restore"] | — |
| restored_from | integer | null | No | — | — |
TechniqueInstructions
| Name | Type | Required | Constraints | Description |
|---|
| mri | string | No | pattern="^[^\\x00]*$"; default="" | — |
| ct | string | No | pattern="^[^\\x00]*$"; default="" | — |
| xray | string | No | pattern="^[^\\x00]*$"; default="" | — |
TechniqueRequest
| Name | Type | Required | Constraints | Description |
|---|
| source | MetadataSource | Yes | — | The submitted DICOM metadata and whether it covers the complete acquisition. |
TechniqueResponse
| Name | Type | Required | Constraints | Description |
|---|
| schema_version | string | No | default="1.0" | — |
| technique | string | Yes | — | Technique text assembled from the submitted acquisition facts. Review the flags before using it. |
| sentences | array<TechniqueSentence> | Yes | — | Individual sentences with references to the facts that support each sentence. |
| acquisition_facts | array<AcquisitionFact> | Yes | — | Recognized metadata attributes and their source references, addressed by fact IDs. |
| review_flags | array<string> | Yes | — | Issues requiring confirmation, including incomplete metadata or contrast details. |
TechniqueSentence
| Name | Type | Required | Constraints | Description |
|---|
| text | string | Yes | minLength=1; maxLength=1000 | — |
| fact_ids | array<string> | Yes | minItems=1; maxItems=64 | — |
TemplateDetail
| Name | Type | Required | Constraints | Description |
|---|
| id | string | Yes | — | — |
| name | string | Yes | — | — |
| revision | integer | Yes | — | — |
| created_at | string (date-time) | Yes | — | — |
| updated_at | string (date-time) | Yes | — | — |
| paragraphs | array<Paragraph> | Yes | — | — |
| placeholders | array<string> | Yes | — | — |
| spacing | ReportFormatting | No | — | — |
| bulleted_placeholders | array<string> | No | — | — |
| placeholder_formatting | object | No | — | — |
TemplateSummary
| Name | Type | Required | Constraints | Description |
|---|
| id | string | Yes | — | — |
| name | string | Yes | — | — |
| revision | integer | Yes | — | — |
| created_at | string (date-time) | Yes | — | — |
| updated_at | string (date-time) | Yes | — | — |
TemplateUpdate
| Name | Type | Required | Constraints | Description |
|---|
| expected_revision | integer | Yes | minimum=1.0 | Current revision returned by reading the template. Prevents overwriting another saved edit. |
| edits | array<ParagraphEdit> | No | maxItems=2000 | Text replacements using paragraph IDs and Unicode-character offsets from the expected revision. end is exclusive. |
| operations | array<DeleteParagraph | MoveParagraph | RemoveBreak> | No | maxItems=2000 | Ordered paragraph deletions, moves, or page/column break removals applied after text edits. |
| spacing | ReportFormatting | null | No | — | 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
| Name | Type | Required | Constraints | Description |
|---|
| bold | boolean | No | default=false | — |
| underline | boolean | No | default=false | — |
| italic | boolean | No | default=false | — |
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. |
UsageSummary
| Name | Type | Required | Constraints | Description |
|---|
| period_start | string (date-time) | Yes | — | — |
| period_end | string (date-time) | Yes | — | — |
| timezone | string | Yes | — | — |
| report_requests | integer | Yes | minimum=0.0 | — |
| completed_reports | integer | Yes | minimum=0.0 | — |
| failed_or_blocked | integer | Yes | minimum=0.0 | — |
ValidationError
| Name | Type | Required | Constraints | Description |
|---|
| loc | array<string | integer> | Yes | — | — |
| msg | string | Yes | — | — |
| type | string | Yes | — | — |
| input | object | No | — | — |
| ctx | object | No | — | — |