Skip to main content
POST
Triggers a new template build for the organization template. The build runs asynchronously. Use the Build Logs endpoint to stream progress. Requires admin or owner role. You don’t need this after attaching or editing a skill, MCP server or guardrail: those rebuild the template by itself, from its current snapshot.
On a template with no repo, Build starts over from the base image and discards everything saved into the template from a session. Call this for a new template, or when you mean to reset one.
Required scope: templates:build

Path Parameters

string
required
The template ID (e.g. tmpl_abc123).

Headers

string
required
Bearer token. Example: Bearer runtm_xxx
string
required
Organization ID.

Response

Returns 202 Accepted when the build is queued.
string
Build status (building).
string
Unique ID for this build.
string
Confirmation message.