Skip to Content
Torque Lift Docs
Data health

Get pipeline status

GET
/v1/pipeline

Each step of the loop, from the collector to the pull request: its state, a count, the latest time and notes such as the lag against the 2-hour freshness target. Steps read from the query layer show as off when it isn't connected; the rest come from the action log.

Authorization

HTTPBearer
headerAuthorizationBearer <token>

A secret key, tl_live_...

Header Parameters

Torque-Tenant?|

An operator key's tenant to read; refused with a tenant's key.

Torque-Version?string|null

Response Body

Successful Response

application/json
  1. response

Each step of the tenant's loop, from the collector to the pull request.

object?Object
Default"pipeline"
tenant*Tenant
connected*Connected

This tenant's query layer is connected.

steps*array<>
failed*array<string>

The saved queries that failed, or connection; their steps are error.

queries*array<>
Example Request
curl -X GET 'https://api.torquelift.ai/v1/pipeline'
Example Response
{  "object": "pipeline",  "tenant": "string",  "connected": true,  "steps": [    {      "object": "pipeline_step",      "name": "string",      "runs": "string",      "state": "string",      "live": true,      "count": 0,      "count_label": "string",      "latest": "string",      "latest_label": "string",      "notes": [        "string"      ]    }  ],  "failed": [    "string"  ],  "queries": [    {      "name": "string",      "sha256": "string",      "model": "string",      "params": {        "property1": "string",        "property2": "string"      },      "ran_at": "string"    }  ]}