List templates
Returns the clinic's prompt templates that the caller can see, sorted by name: templates written by clinic users, Vetnio default templates and templates provisioned by the organization or an integration. Use it to let users pick the templateId passed to Generate a clinical note.
Visibility follows the clinic's template permissions. Admins see every template. Members see all templates under Full Access and View & Use Only; under Private they see their own, admin-created and managed templates; under Strict Mode only admin-created and managed templates. Templates the user has hidden from their own picker are still listed, with isHidden set to true. isPinned reflects the calling user's starred templates.
Only metadata is returned. Clinic admins can read a template's body through the configuration export (GET /workspaces/{workspaceId}/data-export/templates/versions and …/templates/version); Vetnio's built-in templates are not exported. Not paginated; a clinic holds at most about 100 templates. Requires a personal API key.
Request
- Base URLhttps://vetnio.com/api/v2
- URLhttps://vetnio.com/api/v2/workspaces/{workspaceId}/templates
- 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.
Response
The visible templates, sorted by name. Empty when the caller can see none.
Example response
[
{
"id": "3f6c2a1e-8b4d-4c7a-9e21-5d0b7f9a6c13",
"name": "Follow-up - clinical team",
"type": "clinical_note",
"creatorId": "5b1e9d3c-27a4-4f0e-8c6d-2e9f71a4b852",
"creatorRole": "admin",
"createdAt": "2026-09-14T08:30:00.000Z"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.