/v2/agents/templatesCreate a team template
Creates a team-owned template by rebasing a customer OCI reference onto a base template, then kicks off a build. Supply name, base_template, and source_oci_ref; base_template must identify one of the supported base templates. The team ID is taken from the authenticated user.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Template creation details for a team-owned template.
A 400 is returned when the request is invalid; include name, base_template, and source_oci_ref, and use a supported base_template: coding-base, coding-claude-code, coding-codex, coding-hermes, coding-opencode, or langgraph. A 401 indicates invalid authentication credentials, and a 402 indicates that the team is blocked by the prepayment gate. A 429 indicates that the API rate limit has been exceeded, and a 500 indicates a server error.