Overview
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.
Enter your API key here (sent as Otari-Key header).
Narrow the counts to one workspace of the caller's organization.
Successful Response
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 members of the named workspace; 0 when none is named.
Validation Error
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?
