Xeonr Developer Docs

GetStepBundle

POST
/uplim.api.v1.InternalPipelineRunsService/GetStepBundle

GetStepBundle returns a fresh presigned download URL for THIS step's published JS bundle (the registry tarball: dist/ + manifest). The side-car calls this on boot for js-kind steps, downloads + extracts the tarball to /work/bundle, then signals ready so user code finds its entrypoint. Self-authenticates with the per-step JWT (X-Upl-Step-Token): the claims must match run_id/step_id, so a pod can only fetch its own step's bundle. Returns FailedPrecondition if the step is not a registry-bundle (js) step.

AuthorizationBearer <token>

JWT access token obtained via OAuth2 flow or service account

In: header

Header Parameters

Connect-Protocol-Version*number

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

runId?string
Formatuuid
stepId?string
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.InternalPipelineRunsService/GetStepBundle" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "bundleUrl": "string",
  "stepRef": "string",
  "bundleSha256": "string"
}
{
  "code": "not_found",
  "message": "string",
  "details": [
    {
      "type": "string",
      "value": "string",
      "debug": {}
    }
  ]
}