API reference
List a run's events
The same events as Watch a run, one page at a time, for a caller that cannot hold a stream open. Ask again with next_page_token: while the run is not done it is set even when no event came; it is empty once done is true.
Needs scope infra: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.
run_id*stringThe run's id, run_ and 32 hex characters, from Start a run or List a stack's runs.
page_size?integerAt most this many; 0 means 200, above 500 means 500.
int32page_token?stringEmpty is from the first event; else a next_page_token from the last page.
iohr.infra.v1.ListRunEventsResponse
application/json- response
iohr.infra.v1.ListRunEventsResponse
done*booleanevents*array<>next_page_token*stringstate*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 runEvent of api.infra.allListRunEvents("<run_id>")) { console.log(runEvent); }} 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.
{ "done": true, "events": [ { "at": "string", "kind": "string", "run_id": "string", "seq": "string", "state": "string", "status": "string", "subject": "string", "text": "string" } ], "next_page_token": "string", "state": "string"}