Skip to main content
GET
Returns one template, with everything needed to ask the user for the answers and show what happens next. Public templates need no authentication. A private template is visible only to its owner or, when it belongs to a workspace, to members who can read the workspace applications; for anyone else it is the same 404 as a template that does not exist. With a session or an API key (scope templates:read) the response also carries the account block. A closed template never carries code. Reads are limited to 60 requests per minute per client.
string
required
The template ID or its slug. Hidden and deprecated templates are served here even though the gallery does not list them (see visibility).
string
The workspace of a private template. Needed to resolve a workspace template by slug; by ID it is optional.

Response

object
The template. It has every field of the items returned by List Templates (id, slug, origin, visibility, name, description, category, tags, icon_url, author_display, links, landing, featured, current_version, services, creates_stack, ram_min_total, byok, required_plan, code_view, uses_count, owner, github, created_at, updated_at and, when authenticated, account), plus the ones below.

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