curl --request GET \
--url https://api.lunary.ai/v1/runs/usage
[
{
"date": "<string>",
"name": "<string>",
"type": "<string>",
"completion_tokens": 123,
"prompt_tokens": 123,
"cost": 123,
"errors": 123,
"success": 123
}
]
Retrieve usage statistics for runs
curl --request GET \
--url https://api.lunary.ai/v1/runs/usage
[
{
"date": "<string>",
"name": "<string>",
"type": "<string>",
"completion_tokens": 123,
"prompt_tokens": 123,
"cost": 123,
"errors": 123,
"success": 123
}
]
Successful response
The response is of type object[]
.