Usage
Authorization
ApiKeyAuth x-api-key<token>
Your API key. Include it in the x-api-key header for every request.
In: header
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.piloterr.com/usage"{
"remaining": 1012304,
"total_used": 169,
"renewal_date": null,
"period": null,
"subscription": {
"used": 0,
"total": 0,
"remaining": 0,
"percent_used": 0
},
"credits": {
"given": 1012473,
"consumed": 169,
"remaining": 1012304,
"percent_used": 0.02
},
"rate_limit": {
"per_minute": null,
"per_second": null
},
"account": {
"name": "Hello",
"slug": "hello"
},
"api_key": {
"alias": "one",
"active": true,
"category": "development",
"expires": null,
"quotas": {
"total": null,
"daily": null,
"weekly": null,
"monthly": null
}
}
}{
"error": "Bad Request"
}{
"error": "Invalid API Key"
}{
"error": "Payment required"
}{
"error": "Rate limit exceeded for the API key: quota monthly"
}{
"error": "Internal Error"
}