cURL
curl --request GET \ --url https://app.sure.am/api/v1/usage \ --header 'X-Api-Key: <api-key>'
{ "api_key": { "name": "<string>", "scopes": [ "<string>" ], "last_used_at": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z" }, "rate_limit": { "tier": "<string>", "limit": 123, "current_count": 123, "remaining": 123, "reset_in_seconds": 123, "reset_at": "2023-11-07T05:31:56Z" } }
Returns API key details and rate limit usage information. Only available for API key authentication.
API key for authentication. Generate one from your account settings.
usage retrieved
Show child attributes
Was this page helpful?