Buildkite · Arazzo Workflow

Buildkite Build Failure Triage

Version 1.0.0

Inspect a finished build, then pull its annotations and artifacts for triage.

1 workflow 3 source APIs 1 provider
View Spec View on GitHub CI/CDContinuous IntegrationContinuous DeliveryDevOpsPipelinesHybrid CIBuild AutomationTest EnginePackage RegistriesAgentsGraphQLRESTMCPWebhookArazzoWorkflows

Provider

buildkite-com

Workflows

build-failure-triage
Gather annotations and artifacts for a finished build.
Reads a build, and once it is terminal collects its annotations and artifacts to support failure triage.
3 steps inputs: number, org, pipeline outputs: annotations, artifacts, buildState
1
getBuild
Fetch the build and capture its terminal state before collecting triage signals.
2
listAnnotations
List the annotations rendered by the build, which carry human-readable failure context and links.
3
listArtifacts
List the artifacts uploaded by the build so logs and reports can be retrieved for diagnosis.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Buildkite Build Failure Triage
  summary: Inspect a finished build, then pull its annotations and artifacts for triage.
  description: >-
    A diagnostic flow for understanding why a build failed. The workflow fetches
    a build by number, and when it has reached a terminal state it gathers the
    annotations rendered by the build for human-readable failure context and
    lists the artifacts so logs and reports can be retrieved. This gives an
    on-call engineer or an automated triage bot a single pass over the most
    useful failure signals. Every step spells out its request inline so the flow
    can be read and executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: annotationsApi
  url: ../openapi/buildkite-com-annotations-api-openapi.yml
  type: openapi
- name: artifactsApi
  url: ../openapi/buildkite-com-artifacts-api-openapi.yml
  type: openapi
- name: buildsApi
  url: ../openapi/buildkite-com-builds-api-openapi.yml
  type: openapi
workflows:
- workflowId: build-failure-triage
  summary: Gather annotations and artifacts for a finished build.
  description: >-
    Reads a build, and once it is terminal collects its annotations and
    artifacts to support failure triage.
  inputs:
    type: object
    required:
    - org
    - pipeline
    - number
    properties:
      org:
        type: string
        description: Organization slug that owns the pipeline.
      pipeline:
        type: string
        description: Pipeline slug the build belongs to.
      number:
        type: integer
        description: Build number to triage.
  steps:
  - stepId: getBuild
    description: >-
      Fetch the build and capture its terminal state before collecting triage
      signals.
    operationId: getBuild
    parameters:
    - name: org
      in: path
      value: $inputs.org
    - name: pipeline
      in: path
      value: $inputs.pipeline
    - name: number
      in: path
      value: $inputs.number
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      buildState: $response.body#/state
      webUrl: $response.body#/web_url
    onSuccess:
    - name: terminal
      type: goto
      stepId: listAnnotations
      criteria:
      - context: $response.body
        condition: $.state != "running" && $.state != "scheduled"
        type: jsonpath
  - stepId: listAnnotations
    description: >-
      List the annotations rendered by the build, which carry human-readable
      failure context and links.
    operationId: listAnnotations
    parameters:
    - name: org
      in: path
      value: $inputs.org
    - name: pipeline
      in: path
      value: $inputs.pipeline
    - name: number
      in: path
      value: $inputs.number
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      annotations: $response.body
  - stepId: listArtifacts
    description: >-
      List the artifacts uploaded by the build so logs and reports can be
      retrieved for diagnosis.
    operationId: listArtifactsForBuild
    parameters:
    - name: org
      in: path
      value: $inputs.org
    - name: pipeline
      in: path
      value: $inputs.pipeline
    - name: number
      in: path
      value: $inputs.number
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      artifacts: $response.body
  outputs:
    buildState: $steps.getBuild.outputs.buildState
    annotations: $steps.listAnnotations.outputs.annotations
    artifacts: $steps.listArtifacts.outputs.artifacts

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/buildkite-com-build-failure-triage-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.