Get Credits Consumption
Get the API records returned per day
Authorization
Bearer AuthorizationBearer <token>
In: header
Query Parameters
start_datetime
stringnullabledate-time
Start datetime in ISO format (e.g., 2023-01-01T00:00:00)
end_datetime
stringnullabledate-time
End datetime in ISO format (e.g., 2023-01-01T23:59:59)
timezone
stringdefault: "UTC"
IANA timezone string (e.g., 'Europe/Madrid', 'America/New_York')
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.theirstack.com/v0/teams/credits_consumption"[
{
"period_start": "2019-08-24T14:15:22Z",
"api_credits_consumed": 0,
"ui_credits_consumed": 0
}
]{
"request_id": null,
"error": {
"code": "E-001",
"title": "Not allowed exception",
"description": "string"
}
}{
"request_id": null,
"error": {
"code": "E-001",
"title": "Not allowed exception",
"description": "string"
}
}{
"request_id": null,
"error": {
"code": "E-001",
"title": "Not allowed exception",
"description": "string"
}
}{
"request_id": null,
"error": {
"code": "E-001",
"title": "Not allowed exception",
"description": "string"
}
}How is this guide?
Last updated on
