APIReference
Get your API usage
Get your current API usage for the billing period. Returns papers accessed this month, tier limits, and when limits reset.
Authorization
ApiKeyAuth x-api-key<token>
API key for authentication. Get yours at https://sciencestack.ai/settings/api
Format: sk_live_... or sk_test_...
In: header
Response Body
application/json
application/json
curl -X GET "https://sciencestack.ai/api/v1/me/usage"{
"data": {
"tier": "free",
"papersUsed": 0,
"papersLimit": 0,
"requestsPerMinute": 0,
"resetsAt": "2019-08-24T14:15:22Z"
},
"_version": "string"
}{
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid API key"
}
}