Docs
Have a token? Manage tokens in the console
GET
/v1/accounts/orgs/{org_id}/requests

Every call counted for the account in the last 30 days, newest first: when, which key or person, which operation, how it ended (ok, a client error or a platform error, with its code), how long it took, and its request id. Never what was sent or answered. Filter by status (ok, error, client, platform), a request id or key id, or part of an operation's name.

Needs scope usage: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.

Path Parameters

org_id*string

The account's id: org in GET /v1/me.

Query Parameters

page_size?integer

At most this many; 0 or empty means the default.

Formatint32
page_token?string

The next_page_token of the previous page; empty for the first.

status?string

ok, error, client or platform; empty for all.

query?string

A request id or a key id (exact), or part of an operation's name.

after?string

RFC 3339; only calls at or after this time.

Response Body

iohr.accounts.v1.ListRequestsResponse

application/json
  1. response

iohr.accounts.v1.ListRequestsResponse

next_page_token*string
requests*array<>
import { ApiError, Public } from "@inorbithr/sdk";// Reads INORBIT_TOKEN, or INORBIT_KEY_ID and INORBIT_KEY_SECRET.const api = Public.fromEnv();try {  for await (const requestEntry of api.accounts.allListRequests("<org_id>")) {    console.log(requestEntry);  }} 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",  "requests": [    {      "at": "string",      "code": "string",      "duration_ms": 0,      "key_id": "string",      "key_name": "string",      "outcome": "string",      "person_name": "string",      "request_id": "string",      "rpc": "string"    }  ]}