API ReferenceAnalytics
Billing Daily
Daily billing breakdown for the workspace.
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Query Parameters
start?|null
end?|null
Header Parameters
X-API-Key?string|null
Response Body
application/json
application/json
curl -X GET "https://api.levainlabs.com/api/v1/analytics/billing"[
{
"date": "2019-08-24",
"provider": "string",
"cost_usd": 0,
"billed_usd": 0,
"tokens_in": 0,
"tokens_out": 0,
"request_count": 0
}
]{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}