v2

latestOpenAPI 3.1.12026-08-078549932.4 MB
Templates

The backend-owned template variable catalog: every {{token}} the render pipeline knows, with label, description, applicable template types, and the sample value previews use. The editor's variable picker and autocomplete derive from this.

get/templates/variables

Query parameters

typestring

Optional filter to variables applicable to one template type (e.g. "labels")

Response

OK

namestring

The token between the braces, e.g. "patient_name".

tagstring

The full insertable token, e.g. "{{patient_name}}".

labelstring

Human-readable name shown in the editor's variable picker.

descriptionstring
typesstring[]

Template types whose render path populates this variable. Empty for legacy variables no current render path populates.

sampleValuestring nullable

Realistic value substituted in editor previews.