Sign in
Docs
API referenceCoordinator

API reference

List a job's moves

Have a token? Manage tokens in the console
GET
/v1/coordinator/jobs/{job_id}/transitions

Every move a job made, in order: from, to, the gate, every check with its outcome and the evidence it read, the compensation, who asked, and the ledger hash.

Needs scope coordinator:read.

Authorization

bearer
headerAuthorizationBearer <JWT>

An access token from the identity provider: a person's, or a customer's from the client credentials grant with an API key (developers.inorbit.hr). The gateway verifies it; the audience is iohr-api.

Path Parameters

job_id*string

The job's id, job_ and a ULID.

Query Parameters

account_id?string
page_size?integer

At most this many; 0 means 50, above 200 means 200.

Formatint32
page_token?string

From the previous page's next_page_token.

Response Body

iohr.coordinator.v1.ListJobTransitionsResponse

application/json
  1. response

iohr.coordinator.v1.ListJobTransitionsResponse

next_page_token*string
transitions*array<>
import { ApiError, Public } from "@inorbithr/sdk";// Reads INORBIT_TOKEN, or INORBIT_KEY_ID and INORBIT_KEY_SECRET.const api = Public.fromEnv();try {  for await (const transition of api.coordinator.allListJobTransitions("<job_id>")) {    console.log(transition);  }} catch (e) {  if (!(e instanceof ApiError)) throw e;  console.error(`${e.code}: ${e.problem} (request id ${e.raw.requestId})`);  process.exitCode = 1;}

npm install @inorbithr/sdk. Calls the package's public surface; an operation newer than your package needs the next release or a client generated for your account. The SDKs.

Example Response
{  "next_page_token": "string",  "transitions": [    {      "actor": "string",      "checks": [        {          "check": "string",          "detail": "string",          "evidence": [            "string"          ],          "outcome": "string"        }      ],      "compensation": [        "string"      ],      "created_at": "string",      "detail": "string",      "evidence": [        "string"      ],      "from_mode": "string",      "from_stage": "string",      "gate": "string",      "job_id": "string",      "kind": "string",      "ledger_hash": "string",      "outcome": "string",      "reason": "string",      "request": "string",      "seq": 0,      "to_mode": "string",      "to_stage": "string"    }  ]}