List automations
The team's automations, oldest first, each with what fires it, where it runs, and how its last run ended.
Response
- triggerobjectrequired
What fires it, by
kind:schedule,pull_request,push,check_failed,issueorwebhook.trigger_labelsays it in words. - scopeobjectrequired
The repositories it runs on: all the team's, or a list.
- permissionstringrequired
read,propose(pull requests) orpush. - last_runobject | nulloptional
The newest run's
statusandoutcome; null when it has never run.
An automation's runs
- GET /auditor/automations/:id/runsoptional
Its runs, newest first, with
limitandcursoras on the other lists, andfiringto see only one firing's runs. Each hasrepository,trigger,dry_run,status(queued,running,done,failed,stoppedwhen the balance, a budget or Directives refused a model call, orskipped),outcome,status_reason,summary,produced(the comments, issues and pull requests it made, with links),cost_usd,requested_byand its times.
Notes
- Keyoptional
Needs a key with Auditor Permissions. Where an automation sends its results (email, Slack, a webhook) is not part of the answer. To start one, see Run an automation.