API key access: read.
apiKeyAuthorizationBearer <pyo_…>An API key from the dashboard's API keys page: Authorization: Bearer pyo_…. Keys can expire, and an expired one gets a 401.
team*stringThe team's id.
repo*stringThe repository, as owner/name or its GitHub URL.
branch*stringThe branch to look at.
context?stringThe build context, a folder of the repository ("." for its root).
file: "Dockerfile" or "Containerfile" (a Dockerfile wins when there are both), or null when there's neither.
application/jsoncurl -X GET 'https://your-pyo.example.com/api/v1/github/build-file?team=string&repo=string&branch=string'{}