Skip to main content
GET
Get resource counts
Returns resource counts for the workspace. Use it to build a dashboard summary. Related guide: Coding agents: route agents through the gateway. Headline counts for the current workspace.
Availability: Cloud · Community (self-hosted) · Enterprise (self-hosted)

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Response

200 - application/json

Counts

agents
integer
apps
integer

Connected app connections (including inherited organization connections).

llms
integer

Non-generic secrets (LLM keys).

secrets
integer

Generic secrets.

agentsWorkingInBackground
integer

Hosted agents currently held awake by live background work.