Trigger an environment image build

Ver como Markdown

Builds the current Recipe set into an Image. Dedups on the recipe-set hash. Returns a null build when no Image is needed (runs on Tier-0 + the Session Start Script layer).

Scope: blueprints:write

Autenticação

AuthorizationBearer

Your ara_ API key from Settings > Ara API. Keys are capability-scoped: run, plugins:read, secrets:read, secrets:write, sessions:read, knowledge:read, repos:read, repos:write, reviews:read, reviews:write, analytics:read, org:read, org:write, attachments:read, attachments:write, plugins:write, guardrails:read, guardrails:write.

Parâmetros de caminho

orgIdstringObrigatório

Organization id or slug. Resolve it with GET /v3/self.

Solicitação

This endpoint expects an object.
contentsstringObrigatório

The environment spec YAML. base, env, and initialize are the Recipe (they build into the Image); session_start, knowledge, and clone sit alongside it and never trigger a build.

repo_namestringOpcional

Provider-native repo path for a repo-tier recipe; GitHub uses owner/repo, GitLab may include nested groups. Omit for the org tier.

providerenumOpcional

Source-control provider for repo_name. Defaults to GitHub first, then GitLab if no GitHub repository matches.

Resposta

The build (or null when skipped).

idstringOpcional
repo_full_namestring or nullOpcional
recipe_set_hashstringOpcional
statusenumOpcional
triggerstring or nullOpcional
image_refstring or nullOpcional
error_classstring or nullOpcional
started_atstring or nullOpcional
completed_atstring or nullOpcional
created_atstringOpcional
updated_atstringOpcional

Erros

400
Bad Request Error