cURL
API Reference
Get API Usage Statistics
Get credit usage and API call statistics by endpoint. Filter by time period (24h, 7d, 30d, 90d, all).
GET
cURL
Request
string
required
Your API key for authentication
Query Parameters
string
default:"30d"
Time period for usage statisticsValid Values:
24h- Last 24 hours7d- Last 7 days30d- Last 30 days (default)90d- Last 90 daysall- All time usage
number
default:"1"
Page number for pagination (1-indexed)
number
default:"20"
Number of items per page (maximum 100)
Response
array
Array of usage statistics by endpoint path
object
Pagination metadata for the results
object
Response metadata
cURL