Skip to main content
GET
Returns the ready versions of a template, newest first, up to 100. Versions never change after they are published. Visibility is the one of Get Template: public templates need no authentication, a private one is visible only to its owner or workspace readers, and anyone else gets TEMPLATE_NOT_FOUND. With an API key the scope is templates:read. Reads are limited to 60 requests per minute per client.
string
required
The template ID or its slug.
string
The workspace of a private template. Needed to resolve a workspace template by slug.
You can deploy an earlier version only when the template allows it; see version in Deploy Template.

Response

object[]
An array of versions.

Error Responses

string
The error code indicating the reason for the failure. Possible values:
  • VALIDATION_ERROR: A parameter is not valid (400).
  • API_KEY_SCOPE_DENIED: The API key does not have the templates:read scope (403).
  • TEMPLATE_NOT_FOUND: The template does not exist, was removed or is not visible to you (404).
  • WORKSPACE_NOT_FOUND: The workspace in workspace_id does not exist or you are not part of it (404).
  • RATE_LIMIT_EXCEEDED: Too many requests (429).
  • INTERNAL_SERVER_ERROR: Unexpected failure (500).
Last modified on October 28, 2026