API referenceCoordinator
API reference
List open items
Have a token? Manage tokens in the console
GET
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.
bearerheader
AuthorizationBearer <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.
mine?booleanOnly the items waiting on the caller.
kind?stringOne kind, such as job_held; empty for all.
account_id?stringiohr.coordinator.v1.OpenItemsResponse
application/json- response
iohr.coordinator.v1.OpenItemsResponse
built_at*stringgeneration*stringFormat
int64items*array<>unwired*array<string>SDK
HTTP
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" ]}