Read this key's limits
The calling key's permission, domain pin, approval policy, request rate limits, and its daily and monthly caps with how much is used and when each resets…
GET
https://app.usenotix.dev/api/v1/auth/limitsFull access and sending access keys can call this. Key permissions lists the extra rules some calls have.
The calling key's permission, domain pin, approval policy, request rate limits, and its daily and monthly caps with how much is used and when each resets (UTC). Use it to plan a send instead of finding a limit by hitting it. Any key can read its own limits, a sending-only key included. usageAvailable is false when usage could not be read; the limits still come back.
Headers
Authorizationstringrequired
Bearer followed by your API key.
curl -X GET "https://app.usenotix.dev/api/v1/auth/limits" \
-H "Authorization: Bearer $NOTIX_API_KEY"
Response200
{
"keyId": 1,
"name": "Acme",
"permission": "string",
"pinnedDomain": "string",
"approval": {
"policy": "string",
"threshold": 1
},
"rateLimits": {
"teamRequestsPerSecond": 1,
"keyRequestsPerMinute": 1
},
"caps": [
{
"kind": "daily",
"label": "string",
"cap": 1,
"used": 1,
"remaining": 1,
"resetsAt": "string"
}
],
"usageAvailable": true,
"lifetime": {
"expiresAt": "string",
"replaced": true,
"ipAllowList": [
"string"
]
}
}