GET
https://api.milda.ai/v1/credit-usageCredit Usage
no request body01
Description
Verify the current API token's status including:
- Whether the token is valid
- The token's expiration date
- The number of remaining credits available
How It Works
- The request requires a valid API token with appropriate general access scope.
- The endpoint responds with token details: the token string, its expiration date, and remaining credits.
- Rate-limited to 1 request per second per token.
Response Fields
token: The API token string in use.expiration_date: Date and time when the token expires.credits: Number of credits left on the token.
Rate Limit
10 requests per second
02
Headers
nameinreqdescription
tokenheaderyesAPI token. Issued per account; check it with GET /v1/credit-usage.
03
Responses
200 Successful Response422 Validation Error
TokenInfotypereq3 fields
tokenstringyesToken string
expiration_datestringyesExpiration date
+creditsCreditsyesRemaining credits
enrichmentnumber—default 0
datanumber—default 0