Xeonr Developer Docs

Get Pipeline Run Trace

POST
/uplim.api.v1.PipelineAdminService/GetPipelineRunTrace

Returns the run's public (upl.public) trace spans from the coordinator's trace store; internal coordinator spans are filtered out. Returns an empty list rather than an error when the run has no trace id or the coordinator is unreachable. NotFound for an unknown run.

Access: authenticated caller who owns the integration's OAuth client (and its application, when the client belongs to one), or any caller holding the upl:admin scope. System integrations such as Default require upl:admin. Missing integrations return NotFound; other callers get PermissionDenied.

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

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

id?string
Formatuuid
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.PipelineAdminService/GetPipelineRunTrace" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "spans": [
    {
      "traceId": "string",
      "spanId": "string",
      "parentSpanId": "string",
      "name": "string",
      "status": "string",
      "startedAt": "2023-01-15T01:30:15.01Z",
      "endedAt": "2023-01-15T01:30:15.01Z",
      "attributesJson": "string",
      "events": [
        {
          "name": "string",
          "timestamp": "2023-01-15T01:30:15.01Z",
          "attributesJson": "string"
        }
      ]
    }
  ]
}
{
  "code": "not_found",
  "message": "string",
  "details": [
    {
      "type": "string",
      "value": "string",
      "debug": {}
    }
  ]
}