Get rate limit status
GET/v1/rate_limit
Get rate limit status.
Responses
- 200
- 400
success response
- application/json
- Schema
- Example (from schema)
- Example
Schema
The maximum number of requests that you can make per period
The number of requests remaining in the current rate limit window
The number of requests you have made in the current rate limit window
The time at which the current rate limit window resets, in UTC epoch seconds
{
"limit": 0,
"remaining": 0,
"used": 0,
"reset": 0
}
{
"limit": 100,
"remaining": 99,
"used": 1,
"reset": 1723886474
}
request error
- application/json
- Schema
- Example (from schema)
Schema
- request_error
- api_error
error
object
type
object
Type of error encountered.
oneOf
Typically means there's a problem with the request that you made.
Typically means there's a problem with the Temp Mail API.
Error code. Some common codes are not_found
, invalid_api_key
, rate_limited
, validation_error
.
meta
object
Information about this response.
Unique ID for the request relating to this response. Provide this when contacting Temp Mail support about a specific request.
{
"error": {
"type": "request_error",
"code": "not_found",
"detail": "Message not found"
},
"meta": {
"request_id": "a48b927e-3a24-42ff-a748-d516e5474f85"
}
}