The account's notable events, newest first: units near the allowance, a health alert, a webhook endpoint turned off, a member who joined or left, a revoked key or token, a domain that lost its proof, a revoked agent, a deleted connection. Each says whether you have read it, and unread counts the rest (at most 99).
Needs scope events:read.
bearerAuthorizationBearer <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.
page_size?integerAt most this many; 0 or empty means the default.
int32page_token?stringThe next_page_token of the previous page; empty for the first.
account_id?stringA team you belong to, to act on its events; empty for your own account.
types?stringComma-separated notification types to keep; empty for all.
iohr.events.v1.ListNotificationsResponse
application/json- response
iohr.events.v1.ListNotificationsResponse
next_page_token*stringnotifications*array<>unread*integerint32import { ApiError, Public } from "@inorbithr/sdk";// Reads INORBIT_TOKEN, or INORBIT_KEY_ID and INORBIT_KEY_SECRET.const api = Public.fromEnv();try { for await (const notification of api.events.allListNotifications()) { console.log(notification); }} 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.
{ "next_page_token": "string", "notifications": [ { "data": { "property1": "string", "property2": "string" }, "id": "string", "occurred_at": "string", "read": true, "type": "string" } ], "unread": 0}Get events per day GET
How many events of each type your account published per UTC day, over the last 7 or 30 days. Needs scope `events:read`.
List agents GET
The account's agents, newest first: each one's environment, the verified domains it is bound to, whether it is online, offline or revoked, the version it reported and when it was last heard from. Paged with `page_size` (0 means 50, at most 200) and `next_page_token`. Needs scope `agents:read`.