The agent the automation runs.
When the automation was created.
Whether the automation runs.
The type of the events that start a run.
The automation ID, unique within the agent.
OptionalintegrationRestricts the automation to the events of these integrations. Absent means events of any origin.
OptionallastThe job of the last run, usable with the job API and as the jobId filter of the agent's audit log.
OptionallastWhen the automation last started a run.
OptionallastWhen the automation last skipped a run.
OptionallastWhy the automation last skipped a run.
OptionalmaxThe most runs the automation starts within an hour, up to 10,000; events past it are skipped. Guards against event loops and floods. Defaults to DEFAULT_AI_AGENT_AUTOMATION_MAX_RUNS_PER_HOUR.
A display name.
OptionalpromptThe prompt for an event that carries none of its own. Without it, such an event starts no run.
OptionalskippedRuns the automation was due to start and did not, since it was created.
The automation kind.
When the automation was last changed.
An automation that runs its agent when an event of a type is emitted with
squid.events().emit. The agent is run with the event's ownprompt, else with the automation's default one, and the event is appended to it as data.