Get User Templates
Templates
Get User Templates
Retrieves all private templates belonging to the authenticated user
GET
Get User Templates
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 endpoint retrieves all private templates belonging to the authenticated user.
Request
Your API key for authentication.
Response
Returns an array of template objects. Each template includes: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, from the latest version of 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.
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 |
| 500 | Internal Server Error - An unexpected error occurred on our servers |