Skip to main content
GET
/
usage
/
v1
curl -X GET "https://api.case.dev/usage/v1" \ -H "Authorization: Bearer $CASEDEV_API_KEY"

Documentation Index

Fetch the complete documentation index at: https://docs.case.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Query Parameters

periodStart
string<date-time>

Period start date. Defaults to the start of the current calendar month.

periodEnd
string<date-time>

Period end date. Defaults to now.

granularity
enum<string>
default:summary

Whether to return period totals only or include daily buckets.

Available options:
summary,
daily

Response

Usage snapshot retrieved successfully