Skip to main content
The bolt.run.completed event is triggered when a Bolt run finishes. This includes runs that have succeeded or failed (check the top-level status field). The payload carries everything you need to inspect the run: the per-command results, the git context, and the full schedule configuration. It also lets you fetch additional metadata for each command through a pre-populated GraphQL query in these fields:
  • api_query — a ready-to-run query that returns the raw console logs (stdout/stderr), return code, and resources for a command.
  • resource_query — a ready-to-run query that returns a temporary download URL for a generated resource, for example run_results.json or manifest.json.
Send either query as a POST to the payload’s api_url with your API credentials. See the GraphQL API for authentication.

Example payload

Fields

Command

CommandResource

Environment

Schedule

Workspace