Retrieve your account usage statistics
cURL
curl --request GET \ --url https://sunor.cc/api/v1/account/usage \ --header 'x-api-key: <x-api-key>'
{ "code": 123, "data": { "tasks_created": 123, "credits_used": 123, "credits_topped_up": 123 } }
GET /api/v1/account/usage
200
{ "code": 200, "data": { "tasks_created": 42, "credits_used": 350, "credits_topped_up": 1000 } }
curl https://sunor.cc/api/v1/account/usage \ -H "x-api-key: YOUR_API_KEY"
401
500