REST API job endpoints for large builds
You can now fetch jobs separately from builds in the REST API, making large matrix or high-parallelism builds easier to query.
List builds without embedded jobs:
GET /v2/organizations/:org/pipelines/:pipeline/builds?exclude_jobs=trueThen fetch only the jobs you need:
# List jobs for one build, with filtering and pagination
GET /v2/organizations/:org/pipelines/:pipeline/builds/:build/jobs?state[]=failed&include_retried_jobs=false&per_page=100
# Fetch one job from a build
GET /v2/organizations/:org/pipelines/:pipeline/builds/:build/jobs/:uuid
# Fetch one job directly by UUID
GET /v2/organizations/:org/jobs/:uuidUse exclude_jobs=true by default when listing builds unless you need embedded jobs, then use the jobs endpoints for targeted access.
See the REST API jobs documentation for endpoint details and examples.
Buildkite
Start turning complexity into an advantage
Create an account to get started for free.