Get JSON template detail
Returns a JSON template with its full JSON Schema. jsonTemplateSchema.properties lists the fields a generated document will contain, keyed exactly as in the output, so you can map them to your own system or render a structured clinical note.
Available to any workspace member for the workspace's own and the built-in JSON templates. An ID from another workspace, or one that does not exist, returns 404. Requires a personal API key.
Request
- Base URLhttps://vetnio.com/api/v2
- URLhttps://vetnio.com/api/v2/workspaces/{workspaceId}/json-templates/{jsonTemplateId}
- AuthHTTP bearer
Path parameters
Identifier of the clinic (workspace), as returned by GET /workspaces. The key's user must be a member of the clinic, or an admin of the organization it belongs to.
ID of the JSON template (a UUID), from List JSON templates. Either one of this workspace's JSON templates or a built-in one; anything else returns 404.
Response
The template and its schema.
Example response
{
"id": "2a859133-0e04-4f63-88d2-aa0ee318cd8d",
"name": "Soap Note for Dog",
"jsonTemplateSchema": {
"type": "object",
"title": "Lameness examination",
"description": "Structured lameness work-up for horses.",
"properties": {
"anamnesis": {
"type": "string",
"title": "Anamnesis",
"description": "History and presenting complaint as discussed. Leave empty if not mentioned."
},
"weight_kg": {
"type": "number",
"description": "Body weight in kilograms, if stated."
},
"contact_preference": {
"type": "string",
"enum": [
"Phone",
"Email"
],
"description": "How the owner wants to be contacted."
}
},
"required": [
"anamnesis"
]
},
"createdAt": "2026-08-21T13:05:00.000Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.