← Tools Reference

Buildkite

Buildkite integration (Developer Tools). Imported from open-connector.

API key12 toolshttps://api.buildkite.com/v2
GET
buildkite_get_current_access_token
Inspect the current Buildkite API access token, including scopes and owner summary.

/access-token

GET
buildkite_get_current_user
Get the Buildkite user account that owns the current API access token.

/user

GET
buildkite_list_organizations
List Buildkite organizations accessible to the current API token.

/organizations

2 parameters
ParamTypeRequiredDescription
pageintegeroptionalThe page of results to return.
per_pageintegeroptionalHow many results to return per page.
GET
buildkite_get_organization
Get a single Buildkite organization by slug.

/organizations/{org_slug}

1 parameter
ParamTypeRequiredDescription
org_slugstringrequiredThe Buildkite organization slug.
GET
buildkite_list_pipelines
List Buildkite pipelines for an organization.

/organizations/{org_slug}/pipelines

5 parameters
ParamTypeRequiredDescription
org_slugstringrequiredThe Buildkite organization slug.
pageintegeroptionalThe page of results to return.
per_pageintegeroptionalHow many results to return per page.
namestringoptionalOnly return pipelines whose name contains this case-insensitive value.
repositorystringoptionalOnly return pipelines whose repository URL contains this case-insensitive value.
GET
buildkite_get_pipeline
Get a single Buildkite pipeline by organization and pipeline slug.

/organizations/{org_slug}/pipelines/{pipeline_slug}

2 parameters
ParamTypeRequiredDescription
org_slugstringrequiredThe Buildkite organization slug.
pipeline_slugstringrequiredThe Buildkite pipeline slug.
GET
buildkite_list_builds_for_organization
List builds across all pipelines in a Buildkite organization.

/organizations/{org_slug}/builds

10 parameters
ParamTypeRequiredDescription
org_slugstringrequiredThe Buildkite organization slug.
pageintegeroptionalThe page of results to return.
per_pageintegeroptionalHow many results to return per page.
branchstringoptionalOnly return builds for this branch.
commitstringoptionalOnly return builds for this full commit SHA.
created_fromstringoptionalOnly return builds created on or after this ISO 8601 timestamp.
created_tostringoptionalOnly return builds created before this ISO 8601 timestamp.
finished_fromstringoptionalOnly return builds finished on or after this ISO 8601 timestamp.
statestringoptionalOnly return builds in this Buildkite state.
include_retried_jobsbooleanoptionalWhether retried job executions should be included in each build.
GET
buildkite_list_builds_for_pipeline
List builds for a single Buildkite pipeline.

/organizations/{org_slug}/pipelines/{pipeline_slug}/builds

11 parameters
ParamTypeRequiredDescription
org_slugstringrequiredThe Buildkite organization slug.
pipeline_slugstringrequiredThe Buildkite pipeline slug.
pageintegeroptionalThe page of results to return.
per_pageintegeroptionalHow many results to return per page.
branchstringoptionalOnly return builds for this branch.
commitstringoptionalOnly return builds for this full commit SHA.
created_fromstringoptionalOnly return builds created on or after this ISO 8601 timestamp.
created_tostringoptionalOnly return builds created before this ISO 8601 timestamp.
finished_fromstringoptionalOnly return builds finished on or after this ISO 8601 timestamp.
statestringoptionalOnly return builds in this Buildkite state.
include_retried_jobsbooleanoptionalWhether retried job executions should be included in each build.
GET
buildkite_get_build
Get a single Buildkite build by organization, pipeline slug, and build number.

/organizations/{org_slug}/pipelines/{pipeline_slug}/builds/{number}

5 parameters
ParamTypeRequiredDescription
org_slugstringrequiredThe Buildkite organization slug.
pipeline_slugstringrequiredThe Buildkite pipeline slug.
numberintegerrequiredThe pipeline-local Buildkite build number.
include_retried_jobsbooleanoptionalWhether retried job executions should be included in each build.
include_test_enginebooleanoptionalWhether Buildkite Test Engine data should be included in the build response.
POST
buildkite_create_build
Create a new Buildkite build for a pipeline.

/organizations/{org_slug}/pipelines/{pipeline_slug}/builds

14 parameters
ParamTypeRequiredDescription
org_slugstringrequiredThe Buildkite organization slug.
pipeline_slugstringrequiredThe Buildkite pipeline slug.
commitstringrequiredThe ref, SHA, or tag to build.
branchstringrequiredThe branch the build commit belongs to.
messagestringoptionalCustom message for the build, when provided.
authorobjectoptionalBuild author metadata.
envobjectoptionalA JSON object whose values are strings.
meta_dataobjectoptionalMetadata values to attach to the build.
clean_checkoutbooleanoptionalWhether the agent should perform a fresh checkout.
ignore_pipeline_branch_filtersbooleanoptionalWhether the build should ignore pipeline-level branch filters.
pull_request_idintegeroptionalPull request number for a pull request build.
pull_request_base_branchstringoptionalBase branch for a pull request build.
pull_request_repositorystringoptionalRepository URL of the pull request build source.
pull_request_labelsarrayoptionalA non-empty list of strings.
PUT
buildkite_cancel_build
Cancel a Buildkite build by build number.

/organizations/{org_slug}/pipelines/{pipeline_slug}/builds/{number}/cancel

3 parameters
ParamTypeRequiredDescription
org_slugstringrequiredThe Buildkite organization slug.
pipeline_slugstringrequiredThe Buildkite pipeline slug.
numberintegerrequiredThe pipeline-local Buildkite build number.
PUT
buildkite_rebuild_build
Rebuild a Buildkite build by build number.

/organizations/{org_slug}/pipelines/{pipeline_slug}/builds/{number}/rebuild

3 parameters
ParamTypeRequiredDescription
org_slugstringrequiredThe Buildkite organization slug.
pipeline_slugstringrequiredThe Buildkite pipeline slug.
numberintegerrequiredThe pipeline-local Buildkite build number.