Templates
List recent builds for a template
GET
List recent builds for a template
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
Path Parameters
The unique identifier of the template.
Query Parameters
Required range:
1 <= x <= 100Response
List of builds, newest first
Available options:
pending, building, snapshotting, ready, failed, cancelled Stable hash of the build_spec at submission time. Used for idempotent submits.
Populated when status = failed. The message is prefixed with a stable error code the UI / SDK can key on: image_pull_failed, step_failed, boot_failed, snapshot_failed, start_cmd_failed, ready_cmd_failed, or build_failed (fallback).
Example:
"step_failed: step 1/2 failed after 3s: exited with code 100"
Previous
Rebuild an existing templateQueues a new build for this template. Used to retry after a failed
build, or to rebuild when the base image has been updated.
The **first** build is queued automatically when the template is
created via `POST /templates` — this endpoint is only for
subsequent builds.
## Idempotency
If an in-flight build (`pending`/`building`/`snapshotting`) already
exists for this template with the same build spec, this endpoint
returns the existing build's id with `200` instead of creating a
duplicate.
Next
List recent builds for a template