Reference
View as MarkdownBuilds API
2 operations. Every call needs a session cookie or an Authorization: Bearer nct_… token unless marked Public. Conventions, errors and scopes
/team/build-settingsGet the team's default build location and registry
Projects and services can override the default; resolution is service, then project, then team.
Response 200 · OK · application/json
TeamSettings
- buildLocationenum: target | build_serverrequired
- registryIdstringrequired
- updatedAtstring (date-time) | nullrequired
Errors
401Unauthorized403Forbidden500Internal Server Error
Errors are RFC 9457 application/problem+json with a stable code field.
/team/build-settingsSet the team's default build location and registry
With buildLocation build_server, git services build on a build server and push the image to the registry; the deploying server pulls it by digest. Without a usable build server or registry a build falls back to the target server and says so in the deployment's events. Administrators only.
Request body · application/json · required
PutTeamSettingsInputBody
- buildLocationenum: target | build_serverrequiredWhere services build by default: on their own server (target) or on a build server.
- registryIdstringDefault registry builds are pushed to; omitted clears it.
Response 200 · OK · application/json
TeamSettings
- buildLocationenum: target | build_serverrequired
- registryIdstringrequired
- updatedAtstring (date-time) | nullrequired
Errors
401Unauthorized403Forbidden422Unprocessable Entity500Internal Server Error
Errors are RFC 9457 application/problem+json with a stable code field.