Skip to main content
GET
Get agent usage

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.

Path Parameters

app_id
string
required

ID of the app whose agents to read.

Response

Integration credits used by each agent.

Integration credits the app's agents used in the current billing period.

usage_by_agent
Usage By Agent · object

Integration credits each agent used in the workspace's current billing period, keyed by agent name. An agent that hasn't used any is left out.

Example: