Sign in
Docs
Have a token? Manage tokens in the console
GET
/v1/decisions/waiting

Everything waiting on you across the account's spaces, oldest first: reviews asked of you, documents you are to decide, and open questions asked of you (or of the owners and admins, when you are one), each with what settling it unblocks.

Needs scope decisions:read.

Authorization

bearer
headerAuthorizationBearer <token>

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

Query Parameters

account_id?string

A team you belong to; empty for your own account.

Response Body

iohr.decisions.v1.GetWaitingResponse

application/json
  1. response

iohr.decisions.v1.GetWaitingResponse

decisions*integer
Formatint32
items*array<>
questions*integer
Formatint32
reviews*integer
Formatint32
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.decisions.getWaiting();  console.log(value);} catch (e) {  if (!(e instanceof ApiError)) throw e;  console.error(`${e.code}: ${e.problem} (request id ${e.raw.requestId})`);}

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.

{  "decisions": 0,  "items": [    {      "asked_by": "string",      "display_number": "string",      "document_id": "string",      "document_kind": "string",      "kind": "string",      "question_id": "string",      "since": "string",      "space_id": "string",      "space_name": "string",      "text": "string",      "title": "string",      "unblocks": "string",      "via": "string"    }  ],  "questions": 0,  "reviews": 0}