Sign in
Docs
API referenceCoordinator

API reference

List open items

Have a token? Manage tokens in the console
GET
/v1/coordinator/open-items

The account's open items, ranked: jobs held or awaiting, approvals waiting, turns waiting for a runner. Items from fixtures say stub.

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.

Query Parameters

mine?boolean

Only the items waiting on the caller.

kind?string

One kind, such as job_held; empty for all.

account_id?string

Response Body

iohr.coordinator.v1.OpenItemsResponse

application/json
  1. response

iohr.coordinator.v1.OpenItemsResponse

built_at*string
generation*string
Formatint64
items*array<>
unwired*array<string>
import { ApiError, Public } from "@inorbithr/sdk";// Reads INORBIT_TOKEN, or INORBIT_KEY_ID and INORBIT_KEY_SECRET.const api = Public.fromEnv();try {  const { value } = await api.coordinator.openItems();  console.log(value);} 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
{  "built_at": "string",  "generation": "string",  "items": [    {      "kind": "string",      "last_progress_at": "string",      "next_action": "string",      "opened_at": "string",      "ref": "string",      "score": 0.1,      "score_method": "string",      "source": "string",      "stub": true,      "title": "string",      "user": "string"    }  ],  "unwired": [    "string"  ]}