Skip to main content
POST
/
v1
/
medical-record-configurations
Create a Smart Template
curl --request POST \
  --url https://synapse.telepatia.ai/v1/medical-record-configurations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data @- <<EOF
{
  "chiefComplaint": {
    "schema": {
      "instructions": "Patient's chief complaint.",
      "type": "string"
    }
  },
  "vitals": {
    "instructionSet": {
      "telepatiaPromptId": "VITAL_SIGNS"
    },
    "schema": {
      "instructions": "Vital signs.",
      "properties": {
        "heartRate": {
          "instructions": "Heart rate in bpm.",
          "type": "integer"
        }
      },
      "type": "object"
    }
  }
}
EOF
{
  "created": true,
  "createdAt": "2026-04-20T14:30:00Z",
  "hash": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
  "id": "mrc_a1b2c3d4e5f6g7h8"
}

Authorizations

Authorization
string
header
required

API key passed as a Bearer token

Body

application/json

Request body for registering a medical record configuration — a map of section key to section definition.

{key}
Section · object

A single section in the medical record configuration.

Pairs an output schema with optional generation instructions.

Response

Successful Response

Response body for registering a medical record configuration.

id
string
required

Public ID of the medical record configuration.

Example:

"mrc_a1b2c3d4e5f6g7h8"

hash
string
required

SHA-256 hash of the canonical configuration JSON.

Example:

"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"

createdAt
string<date-time>
required
Example:

"2026-04-20T14:30:00Z"

created
boolean
required

True if a new configuration was created; False if a matching one already existed.

Example:

true