Get record costs

Get aggregated cost breakdown for a specific record.

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

idstringRequired

Response

Cost aggregation
completionTokensinteger
executionCountinteger
modelBreakdownlist of objects
promptTokensinteger
totalCostdouble
totalTokensinteger

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error