GET/repos/{owner}/{repo}/pages/builds/{build_id}

Get a GitHub Pages build

Retrieves information about a GitHub Pages build in a repository. Use owner, repo, and build_id to identify the repository and build; the response includes the build status, commit, duration, timestamps, error details, and pusher.

3 parameters
ownerstringrequired
The account owner of the repository. The name is not case sensitive.
repostringrequired
The repository name without the `.git` extension. The name is not case sensitive.
build_idintegerrequired
The integer identifier of the GitHub Pages build to retrieve.

1 status code
200Returns the GitHub Pages build object, including its URL, status, error details, pusher, commit, duration, and creation and update timestamps.
urlstringrequired
statusstringrequired
errorobjectrequired
pusherobjectrequired
A GitHub user.
commitstringrequired
durationintegerrequired
created_atstringrequired
updated_atstringrequired

Error handling

The owner and repo path parameters must identify the repository containing the build, and the build_id path parameter must be an integer identifying the build.