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 information about the current API key and rate limit status.
API key for authentication. Generate one from your account settings.
usage information retrieved
Show child attributes
Was this page helpful?