Public APIAPI ReferenceBuilds

Get resolved build environment variables.

Beta API

The /v1 API contract may change, including breaking changes without compatibility aliases.

GET/v1/build-jobs/{jobId}/env

Requires the active job's ntrob_ Bearer job token. Returns the snapshotted user variables with plain-value references resolved and available NITROSHIP_* build metadata injected. Secrets stay literal. Variables with unavailable runtime references or invalid legacy templates are omitted and listed in skipped with key, ref, and reason only; builds continue with warnings.

Path Parameters

jobId*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/build-jobs/string/env"
{  "env": {    "property1": "string",    "property2": "string"  },  "skipped": [    {      "key": "string",      "reason": "string",      "ref": "string"    }  ]}