Retrieve key status
>-
Returns usage information for the API key used to authenticate the request, including the organization's dev plan allowance and weekly premium-model usage. Lets clients that only hold an API key surface remaining quota without a dashboard session. Deliberately excludes billing details and the key token itself.
Authorization
bearerAuth AuthorizationBearer <token>
Bearer token authentication using API keys
In: header
Response Body
application/json
curl -X GET "https://example.com/v1/key"{
"data": {
"label": "string",
"usage": "string",
"limit": "string",
"devPlan": "none",
"devPlanCreditsUsed": "string",
"devPlanCreditsLimit": "string",
"devPlanCreditsRemaining": "string",
"devPlanPremiumWeeklyLimit": "string",
"devPlanPremiumCreditsUsed": "string",
"devPlanPremiumWeekResetsAt": "string"
}
}How is this guide?
Last updated on