Templates
List templates visible to the caller
Returns the caller’s team’s templates plus the curated system
templates (available to everyone, identified by the superserve/ name
prefix — e.g. superserve/base, superserve/python-3.11, superserve/node-22). Filter
by name_prefix=<text>.
GET
List templates visible to the caller
Documentation Index
Fetch the complete documentation index at: https://docs.superserve.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Query Parameters
Response
List of templates
Available options:
pending, building, ready, failed On-disk size of the template's snapshot bundle (present once ready).
Last build's error message, if status is failed.
When the template most recently transitioned to ready.
Previous
Create a template and kick off the first buildCreates a template and queues the first build. The response includes
both the template id and the build id, so clients can immediately
poll `GET /templates/{id}` for overall status or subscribe to
`GET /templates/{id}/builds/{build_id}/logs` for live output.
Template starts in status `building`. Poll until it reaches `ready`
before creating sandboxes from it. On failure the status becomes
`failed` and `error_message` is populated.
To rebuild an existing template (e.g. after a failure or when the
base image updates), use `POST /templates/{id}/builds`.
Next
List templates visible to the caller