Developer platform for building, testing, and deploying software with a GraphQL API for querying account and pipeline data.

CLIAPI

What your agent can do

  • query that requests the name of the current user

    Via API.

  • The Buildkite CLI uses both the REST and GraphQL APIs to interact with Buildkite, and therefore, requires the configuration of an API access token.

    Via CLI.

Tasks depend on the interface and permissions.

Connection methods

Choose a route that fits your agent.

CLI connection
CLI package
bk configure

Authentication
When prompted for API Token , specify the value for your configured API access token.
API connection
API path
https://graphql.buildkite.com/v1

Authentication
GraphQL requests must be authenticated using an API access token with the Enable GraphQL API Access permission selected.
Permissions
Enable GraphQL API Access

Documentation & experience

  • 1 of 2 connection paths checked
  • Latest documentation check 4 Nov 2026
View sources and checks
How documentation is checked