Usage
Retrieve your monthly usages
The endpoint allows you to retrieve your monthly usages of the API
get/usages
Request
- Base URLapi.sinay.ai/container-tracking/api/v2 (relative, and the document’s source URL is not known)
- URLapi.sinay.ai/container-tracking/api/v2/usages
- AuthAPI key in header API_KEY
Query parameters
startTimestring date-time
Start time at which usages must be found
endTimestring date-time
End time at which usages must be found
Response
The monthly usages
Example response
{
"allCalls": 15,
"successCalls": 13,
"clientErrorCalls": 1,
"serverErrorCalls": 1,
"consumedApiUnits": 25,
"periodicUsages": {
"2022-05": {
"allCalls": 15,
"successCalls": 13,
"clientErrorCalls": 1,
"serverErrorCalls": 1,
"consumedApiUnits": 25
}
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.