The Dockerfile a build of a repository of the team's Git connections would use by default, in the build context. Null: the build is zero-config (Railpack).
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.
connection*stringThe Git connection's id.
repo*stringThe repository: its path ("group/project") or URL.
branch*stringThe branch to look at.
context?stringThe build context, a folder of the repository ("." for its root).
file: the Dockerfile Pyo would use, or null when there's none.
application/jsoncurl -X GET 'https://your-pyo.example.com/api/v1/git/build-file?team=string&connection=string&repo=string&branch=string'{}