Get Step Bundle
Returns a fresh presigned download URL, the step ref and the expected SHA-256 for this step's published JS bundle, resolved from the run's frozen snapshot and fetched from the steps registry (owner integration taken from the ref's slug). NotFound when the run, snapshot or step is missing; FailedPrecondition when the step is not a registry-bundle (js) step, the registry isn't configured, or it returns no bundle URL.
Access: internal only — step-scoped. Requires the per-step JWT in X-Upl-Step-Token (HS256 over PIPELINE_INTERNAL_TOKEN, unexpired) whose run_id/step_id claims match the request; Unauthenticated otherwise. The shared X-Upl-Internal-Token is accepted instead only while PIPELINE_ALLOW_LEGACY_STEP_TOKEN_FALLBACK is enabled.
JWT access token obtained via OAuth2 flow or service account
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
uuidlength <= 255Response Body
application/json
application/json
curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.InternalPipelineRunsService/GetStepBundle" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"bundleUrl": "string",
"stepRef": "string",
"bundleSha256": "string"
}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}