Skip to main content
GET
Get cost summary for an agent

Authorizations

Authorization
string
header
required

An API key from your Devic console, sent as Authorization: Bearer <key>. An embedded front end sends a tenant-session token instead, so no API key reaches the browser, and an OAuth integration sends its access token. Missing, invalid or expired credentials get a 401. See 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