Add a trigger to an automation
Provide exactly one schedule: a frequency cron expression for recurring runs, every_seconds for a fixed interval, or a scheduled_at timestamp for a one-time run.
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.
路径参数
orgId
Organization id or slug. Resolve it with GET /v3/self.
automationId
请求
This endpoint expects an object.
frequency
Cron expression, e.g. 0 3 * * *, for a recurring trigger.
every_seconds
Fixed interval in seconds. Alternative to frequency.
scheduled_at
Run-at time for a one-time trigger. Alternative to frequency.
enabled
响应
Created.
id
kind
enabled
schedule
github
webhook
run_kind
last_fired_at
created_at
updated_at
错误
400
Bad Request Error
404
Not Found Error