Retrieves the current API usage statistics
GET
/getUsageThis endpoint allows you to monitor your current usage of Killbot's services in relation to your subscription plan. By sending a request to this endpoint, you can retrieve detailed information about the number of requests made and compare it against your quota. This helps you manage your usage efficiently and ensures that you stay within the limits of your subscribed plan.
Request
Header Params
X-API-Key
string
required
The API key to authorize the request.
Request samples
Responses
Information about the user's IP, User-Agent, and bot status.(200)
Unauthorized request(401)
Information about the user's IP, User-Agent, and bot status.
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
success
boolean
required
quota
string
required
message
string
required
Example
{
"success": true,
"quota": "228/40000",
"message": "You have a valid subscription."
}
Last modified: 6 months ago