Get agent usage
Changed on<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Returns the integration credits each of the app's agents used in the workspace's current billing period.
This is limited to 60 requests a minute per app for each workspace's personal API keys, so every key in a workspace shares one allowance. Some workspaces have a different limit.
<Note>This endpoint accepts a personal API key, including a read-only one, from anyone with access to the app, viewers included. Workspace API keys are not authorized for it.</Note>
get/api/apps/{app_id}/agent-configs/usage
Request
- Base URLhttps://app.base44.com
- URLhttps://app.base44.com/api/apps/{app_id}/agent-configs/usage
- AuthHTTP bearer
Path parameters
app_idstring required
ID of the app whose agents to read.
Response
Integration credits used by each agent.
Example response
{
"usage_by_agent": {
"support_agent": 12.5
}
}Changes
- info
the endpoint scheme security
PersonalAccessTokenAuthwas added to the API
- info
- info
endpoint added
- info