List automations
BetaWe just launched Apps: hosted models, actions and pages, on the same bill as your inference.Read the Apps docs

List automations

GEThttps://api.inferencebureau.com/v1/auditor/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, issue or webhook. trigger_label says it in words.

  • scopeobjectrequired

    The repositories it runs on: all the team's, or a list.

  • permissionstringrequired

    read, propose (pull requests) or push.

  • last_runobject | nulloptional

    The newest run's status and outcome; null when it has never run.

An automation's runs

  • GET /auditor/automations/:id/runsoptional

    Its runs, newest first, with limit and cursor as on the other lists, and firing to see only one firing's runs. Each has repository, trigger, dry_run, status (queued, running, done, failed, stopped when the balance, a budget or Directives refused a model call, or skipped), outcome, status_reason, summary, produced (the comments, issues and pull requests it made, with links), cost_usd, requested_by and 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.