Get AI credit usage
Totals the AI replies, AI credits used, and conversations they were in, for a date range or one conversation. Without date filters, all time is included.
Your business's Cekat API key, from Settings → Developers & API in the Cekat dashboard (https://chat.cekat.ai/developers?section=apikeys). Available on the Business and Enterprise plans.
Only include items created on or after this date (YYYY-MM-DD). Cannot be combined with start_datetime.
2026-10-01Only include items created on or before the end of this date (YYYY-MM-DD). Cannot be combined with end_datetime.
2026-10-31Only include items created at or after this time (YYYY-MM-DDTHH:mm:ss, optional offset such as +07:00 or Z). Cannot be combined with start_date.
2026-10-01T08:00:00+07:00Only include items created at or before this time (YYYY-MM-DDTHH:mm:ss, optional offset). Cannot be combined with end_date.
2026-10-31T23:59:59+07:00IANA time zone used to read date filters that have no offset. Defaults to Asia/Jakarta.
Asia/JakartaThe usage totals.
The request is invalid.
The API key is missing or invalid.
Rate limit exceeded. Wait and retry.
GET /api/messages/summary/ai_credits HTTP/1.1
Host: api.cekat.ai
api_key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": {
"total_ai_messages": 1834,
"total_ai_credits_used": 2410,
"total_conversations": 412
}
}Last updated