Generate a Technique section
POST /v1/techniques
Use this endpoint when you need a Technique section from acquisition metadata independently of report generation. Send acquisition metadata in DICOM JSON format, and receive Technique text, the related acquisition facts, and review flags. You can display this text in your application or pass it to the Word document endpoint.
Send a JSON body with source.type set to metadata and your datasets in source.dicom_metadata. Omit patient identifiers and image data. The API processes the submitted metadata without retrieving images or contacting a PACS. Arrange any PACS retrieval in your own environment.
DICOM JSON uses tag numbers as property names. Each tag contains its value representation (vr) and Value array. For example, tag 00080060 with vr CS and Value ["MR"] identifies the modality. Submit relevant acquisition metadata across the study rather than assuming one image header describes every sequence.
Set source.metadata_complete to true only when your submission covers all acquisitions. Leave it false for a partial selection or when completeness is unknown. Do not include pixel data, InlineBinary values, or a URL expecting the API to fetch the study.
Understand the response
technique contains the Technique text. sentences and acquisition_facts provide the related acquisition facts and references. Use these fields when your application needs to display the supporting details alongside the text.
review_flags identifies information that needs confirmation, such as incomplete acquisition metadata or contrast details. Metadata can be incomplete even when the JSON is valid, so review those flags rather than treating the generated line as a verified acquisition record.
Recover an identical request
Use a new Idempotency-Key for a new generation. Identical retries with the same API key can retrieve a successful result for 24 hours. After that window the same key cannot start another generation. If the result is uncertain, keep the request identifiers and contact support before starting new work.
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 | header: string | Yes | — | — |
Request
application/json
| Name | Type | Required | Constraints | Description |
|---|
| source | MetadataSource | Yes | — | The submitted DICOM metadata and whether it covers the complete acquisition. |
Request examples
{
"source": {
"dicom_metadata": [
{
"00080060": {
"Value": [
"MR"
],
"vr": "CS"
},
"00180023": {
"Value": [
"2D"
],
"vr": "CS"
},
"00180080": {
"Value": [
3000
],
"vr": "DS"
},
"00180081": {
"Value": [
80
],
"vr": "DS"
},
"0020000E": {
"Value": [
"1.2.840.10008.1"
],
"vr": "UI"
}
}
],
"metadata_complete": false,
"type": "metadata"
}
}
Example
BASE_URL=https://radiologydictation.com
curl --request POST "$BASE_URL/v1/techniques" \
--header "Authorization: Bearer $API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--header "Content-Type: application/json" \
--data '{"source": {"dicom_metadata": [{"00080060": {"Value": ["MR"], "vr": "CS"}, "00180023": {"Value": ["2D"], "vr": "CS"}, "00180080": {"Value": [3000], "vr": "DS"}, "00180081": {"Value": [80], "vr": "DS"}, "0020000E": {"Value": ["1.2.840.10008.1"], "vr": "UI"}}], "metadata_complete": false, "type": "metadata"}}'
Responses
| Status | Description | Type |
|---|
| 200 | Successful Response | TechniqueResponse · application/json |
| 400 | Idempotency-Key header required | — |
| 401 | Invalid or missing API key | — |
| 409 | This request needs support before it can be retried. Contact support with the request ID. | — |
| 413 | Metadata exceeds the configured limits. | — |
| 415 | JSON request required. | — |
| 422 | Invalid DICOM metadata. | — |
| 429 | Too many attempts. Please try again later. | — |
| 502 | Technique generation failed. | — |
| 503 | Technique generation is unavailable. | — |
| Header | Type | Description |
|---|
| X-Request-Id | string | — |
| Header | Type | Description |
|---|
| Retry-After | string | — |
| Header | Type | Description |
|---|
| Retry-After | string | — |
| Header | Type | Description |
|---|
| X-Request-Id | string | Server request identifier for support. |
| X-Request-Status | string | Request outcome status. |
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 | — | — |
| 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. |
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 | — |