Get Template By Id
Templates
Get Template By Id
Retrieves a template by its ID
GET
Get Template By Id
TheDocumentation Index
Fetch the complete documentation index at: https://docs.vizapi.ai/llms.txt
Use this file to discover all available pages before exploring further.
/templates/{template_id} endpoint retrieves a template by its unique identifier.
Request
Your API key for authentication.
The unique identifier of the template to retrieve.
Optional specific version of the template to retrieve. If not specified, the latest version will be returned.
Response
The unique identifier for the template.
The name of the template.
The description of the template.
The category of the template.
The tags associated with the template.
The number of times this template has been used.
The field definitions for the template. Each field follows the same structure as described in the suggest-fields response.
Whether the template is public or private.
The ID of the user who owns this template (for private templates).
When the template was created (ISO 8601 format).
When the template was last updated (ISO 8601 format).
Examples
Example Request
Example Response
Error Codes
| Status Code | Description |
|---|---|
| 401 | Unauthorized - Invalid or missing API key |
| 404 | Not Found - The requested template was not found |
| 500 | Internal Server Error - An unexpected error occurred on our servers |