Skip to main content
GET
/
v1
/
agents
/
agents
/
{agentId}
/
costs
/
summary
Get cost summary for an agent
curl --request GET \
  --url https://api.devic.ai/v1/agents/agents/{agentId}/costs/summary \
  --header 'Authorization: Bearer <token>'
{
  "totalCost": 123,
  "currency": "<string>",
  "breakdown": {}
}

Authorizations

Authorization
string
header
required

Use JWT token for authentication

Path Parameters

agentId
string<uuid>
required

UUID of the agent whose cost summary should be retrieved

Response

Cost summary for the specified agent

totalCost
number<float>

Total cost accumulated by the agent

currency
string

Currency code (e.g., USD, EUR)

breakdown
object

Cost breakdown by category