Get Remaining API Quota
GET
https://api.konpro.ai/v1/user/remaining_quotaRetrieve the remaining API quota available for the currently authenticated user. The quota indicates how much usage is left under the user's API plan. To convert the quota value to credits, divide the quota by 60.
Request History
Log in to see full request history
| TIME | STATUS | USER AGENT |
|---|---|---|
| Make a request to see history. | ||
0 Requests This Month
cURL Request
shell
curl --request GET \
--url https://api.konpro.ai/v1/user/remaining_quota \
--header 'accept: application/json' \
--header 'x-api-key: <your-api-key>'Response
Response Structure
| Field | Type | Description |
|---|---|---|
| remaining_quota | integer | Number of quota units remaining for the user |
| details | object | Detailed breakdown of quota usage, including any grandfathered interactive quotas |
Sample Response
json
{
"remaining_quota": 12000,
"details": {
"total_quota": 15000,
"used_quota": 3000,
"interactive_quota": {
"remaining": 5000,
"total": 5000
},
"standard_quota": {
"remaining": 7000,
"total": 10000
}
}
}Notes
- Requires API authentication.
- Quota values are in units, not credits.
- To convert quota to credits, divide by 60.
- Useful for monitoring and managing API usage limits.
- Details object provides breakdown of different quota types.
- Interactive quotas may be grandfathered from previous plans.
- Refer to your API plan documentation for quota and credit details.
- Refer to Error Responses for error information.
Example Usage
Shell
curl --request GET \
--url https://api.konpro.ai/v1/user/remaining_quota \
--header 'accept: application/json' \
--header 'x-api-key: <your-api-key>'LANGUAGE
CREDENTIALS
HEADER
RESPONSE
Examples
Choose an example:
application/json
200 - Success
401 - Unauthorized
LANGUAGE
CREDENTIALS
HEADER
RESPONSE
Examples
Choose an example:
application/json
200 - Success
401 - Unauthorized