Sign in
Docs
Have a token? Manage tokens in the console
GET
/v1/accounts/orgs/{org_id}/monitor-board

How the account's monitors page is organised: its own categories on top of the six built in, their order, which category a monitor was moved to (over the one the monitor or an agent's checks.toml declares, which stays as it is) and the order inside each; for a person, also their own view (pins, folded categories, sort, list or cards).

Needs scope account: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 (developers.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.

Response Body

iohr.accounts.v1.GetMonitorBoardResponse

application/json
  1. response

iohr.accounts.v1.GetMonitorBoardResponse

account?

iohr.accounts.v1.MonitorBoard

can_edit_account*boolean
person?

iohr.accounts.v1.MonitorBoard

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.accounts.getMonitorBoard("<org_id>");  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.

{  "account": {    "categories": [      {        "builtin": true,        "colour": "string",        "id": "string",        "name": "string"      }    ],    "category_order": [      "string"    ],    "collapsed": [      "string"    ],    "monitor_order": [      {        "category_id": "string",        "monitor_ids": [          "string"        ]      }    ],    "pins": [      "string"    ],    "placements": [      {        "category_id": "string",        "monitor_id": "string"      }    ],    "scope": "string",    "sort": "string",    "updated_at": "string",    "updated_by": "string",    "version": "string",    "view": "string"  },  "can_edit_account": true,  "person": {    "categories": [      {        "builtin": true,        "colour": "string",        "id": "string",        "name": "string"      }    ],    "category_order": [      "string"    ],    "collapsed": [      "string"    ],    "monitor_order": [      {        "category_id": "string",        "monitor_ids": [          "string"        ]      }    ],    "pins": [      "string"    ],    "placements": [      {        "category_id": "string",        "monitor_id": "string"      }    ],    "scope": "string",    "sort": "string",    "updated_at": "string",    "updated_by": "string",    "version": "string",    "view": "string"  }}