API differences between REST and GraphQL

Buildkite provides both a REST API and GraphQL API. The APIs overlap for common operations but differ in authentication, query capabilities, and specialized operations.

The REST API supports granular access token scopes and specialized management endpoints. The GraphQL API supports nested queries, aggregate connection counts, and operations that aren't exposed through the REST API. Use both APIs when a workflow spans capabilities from each list.

The following lists cover public capabilities without an equivalent operation in the other API. Differences in field names and request or response shapes aren't included.

Features only available in the REST API

Features only available in the GraphQL API

Feature availability

Some capabilities depend on the Buildkite product, plan, or preview features enabled for your organization.