---
title: "Check for next build"
method: GET
path: "/nextBuild"
tags: ["Pipeline Overview"]
---

# Check for next build

`GET /nextBuild`

Checks if a build with the specified queue ID has started and returns
its URL if available.

## Query parameters

- `queueId` string, required

## Response `200`

Next build information (empty if not found)

- NextBuildResponse
  - `status` 'ok'
  - `data` object
    - `nextBuildUrl` string — URL of the next build (empty object if not found)

## Other responses

- `400` — Missing or invalid queueId

---

[API](https://skmtc.dev/jenkinsci/apis/jenkins-pipeline-graph-view-plugin-api.md) · [All operations](https://skmtc.dev/jenkinsci/apis/jenkins-pipeline-graph-view-plugin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jenkinsci/jenkins-pipeline-graph-view-plugin-api/revisions/c1a45dd913f0/schema)
