For the complete documentation index, see llms.txt. This page is also available as Markdown.

Overview

Get Overview

get

Summarize what the dashboard overview shows beside its usage chart.

The counts and the budget judgment in one answer, so the page does not read four collections to compute them. A workspace outside the caller's organization is treated as none given rather than refused, because the id comes from a switcher whose contents can go stale.

Authorizations
Otari-KeystringRequired

Enter your API key here (sent as Otari-Key header).

Query parameters
workspace_idstring · uuid · nullableOptional

Narrow the counts to one workspace of the caller's organization.

Responses
200

Successful Response

application/json

What the dashboard overview renders beside its usage chart.

budgets and ceilings are null where the caller may not see them, which is not the same as a strip with nothing in it: deployment budgets are the operator's, and spend ceilings are an organization owner's or admin's.

active_keysintegerRequired
active_membersintegerRequired

Active members of the named workspace; 0 when none is named.

get/api/v1/overview
GET /api/v1/overview HTTP/1.1
Otari-Key: YOUR_API_KEY
Accept: */*
{
  "active_keys": 1,
  "active_members": 1,
  "budgets": {
    "capped_count": 1,
    "near_count": 1,
    "over_count": 1,
    "total_count": 1,
    "worst": {
      "allocated": 1,
      "budget_id": "text",
      "name": "text",
      "scope_id": "text",
      "scope_type": "text",
      "spent": 1
    }
  },
  "ceilings": {
    "capped_count": 1,
    "near_count": 1,
    "over_count": 1,
    "total_count": 1,
    "worst": {
      "allocated": 1,
      "budget_id": "text",
      "name": "text",
      "scope_id": "text",
      "scope_type": "text",
      "spent": 1
    }
  }
}

Last updated

Was this helpful?