Spaces
List the timeline
The status log lines of a space's documents, newest first, or of one document with document_id, between from and to.
Needs scope decisions:read.
bearerAuthorizationBearer <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.
space_id*stringThe space's id, lab_ and a ULID, from List spaces.
document_id?stringOne document's id; empty for the whole space.
from?stringFirst day, YYYY-MM-DD UTC.
to?stringLast day, YYYY-MM-DD UTC.
page_size?integerAt most this many; 0 means 50, above 200 means 200.
int32page_token?stringFrom the previous page's next_page_token.
iohr.decisions.v1.ListTimelineResponse
application/json- response
iohr.decisions.v1.ListTimelineResponse
entries*array<>next_page_token*stringimport { ApiError, Public } from "@inorbithr/sdk";// Reads INORBIT_TOKEN, or INORBIT_KEY_ID and INORBIT_KEY_SECRET.const api = Public.fromEnv();try { for await (const decisionsTimelineEntry of api.decisions.allListTimelineGet("<space_id>")) { console.log(decisionsTimelineEntry); }} 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.
{ "entries": [ { "date": "string", "display_number": "string", "document_id": "string", "kind": "string", "status": "string", "text": "string", "title": "string" } ], "next_page_token": "string"}