Trigger an environment image build

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

인증

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.

경로 매개변수

orgIdstring필수

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

요청

This endpoint expects an object.
contentsstring필수

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_namestring선택 사항

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

providerenum선택 사항

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

응답

The build (or null when skipped).

idstring선택 사항
repo_full_namestring or null선택 사항
recipe_set_hashstring선택 사항
statusenum선택 사항
triggerstring or null선택 사항
image_refstring or null선택 사항
error_classstring or null선택 사항
started_atstring or null선택 사항
completed_atstring or null선택 사항
created_atstring선택 사항
updated_atstring선택 사항

오류

400
Bad Request Error