Create an automation

Markdown으로 보기

Creates the automation’s configuration (instructions + environment binding). Add a trigger with POST /automations/{automationId}/triggers to make it fire. The repo must already be connected.

Scope: automations: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.
instructionsstring필수
The system instructions the automation runs with.
repostring필수

Connected repository path. GitHub uses owner/name; GitLab projects may include nested groups, such as group/subgroup/project.

namestring선택 사항

Display name. Defaults to the first line of instructions.

providerenum선택 사항

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

modelstring or null선택 사항

Model override. null uses the workspace default. New runs accept only the currently available Ara model catalog.

toolsobject선택 사항

응답

Created.
idstring선택 사항
org_idstring선택 사항
namestring or null선택 사항
instructionsstring or null선택 사항
The system instructions the automation runs with.
modelstring or null선택 사항
enabledboolean선택 사항

A paused (false) automation’s triggers never fire.

toolsobject선택 사항
environmentobject선택 사항
triggerslist of objects선택 사항
Every condition that fires this automation. Empty until you add one.
created_atdatetime선택 사항
updated_atdatetime선택 사항

오류

400
Bad Request Error
402
Payment Required Error