Buildkite GraphQL API

GraphQL endpoint that returns deeply nested data on organizations, pipelines, builds, jobs, agents, clusters, queues, teams, audit events, suites, test executions, and package registries in a single request. Implements the Relay specification for pagination and supports schema introspection. Requires an API access token with "Enable GraphQL API Access" permission. GraphQL Portals allow scoped, schema-filtered access without per-token scopes.

Documentation

Other Resources

🔗
Sandbox
https://graphql.buildkite.com/explorer
🔗
GraphQL
https://raw.githubusercontent.com/api-evangelist/buildkite-com/refs/heads/main/graphql/buildkite-com-graphql.md
🔗
APIsJSON
https://raw.githubusercontent.com/api-evangelist/buildkite-com/refs/heads/main/apis.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/buildkite-com/refs/heads/main/arazzo/buildkite-com-build-failure-triage-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/buildkite-com/refs/heads/main/arazzo/buildkite-com-cancel-running-build-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/buildkite-com/refs/heads/main/arazzo/buildkite-com-collect-build-artifacts-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/buildkite-com/refs/heads/main/arazzo/buildkite-com-fetch-job-log-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/buildkite-com/refs/heads/main/arazzo/buildkite-com-provision-pipeline-and-first-build-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/buildkite-com/refs/heads/main/arazzo/buildkite-com-rebuild-latest-build-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/buildkite-com/refs/heads/main/arazzo/buildkite-com-retry-failed-job-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/buildkite-com/refs/heads/main/arazzo/buildkite-com-stop-disconnected-agent-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/buildkite-com/refs/heads/main/arazzo/buildkite-com-trigger-and-poll-build-workflow.yml

API entry from apis.yml

apis.yml Raw ↑
aid: buildkite-com:buildkite-graphql-api
name: Buildkite GraphQL API
tags:
- CI/CD
- GraphQL
- Pipelines
- Test Engine
humanURL: https://buildkite.com/docs/apis/graphql-api
baseURL: https://graphql.buildkite.com/v1
properties:
- url: https://buildkite.com/docs/apis/graphql-api
  type: Documentation
- url: https://buildkite.com/docs/apis/graphql/graphql-cookbook
  type: Documentation
- url: https://graphql.buildkite.com/explorer
  type: Sandbox
- url: graphql/buildkite-com-graphql.md
  type: GraphQL
description: GraphQL endpoint that returns deeply nested data on organizations, pipelines, builds, jobs,
  agents, clusters, queues, teams, audit events, suites, test executions, and package registries in a
  single request. Implements the Relay specification for pagination and supports schema introspection.
  Requires an API access token with "Enable GraphQL API Access" permission. GraphQL Portals allow scoped,
  schema-filtered access without per-token scopes.