curl --request POST \
--url http://api.superwize.ai/api/credits/getUsageHistory \
--header 'Content-Type: application/json' \
--data '
{
"limit": 20,
"cursor": "obj_01JHKZ0PV2WX123456780"
}
'{
"items": [
{
"id": "obj_01JHKZ0PV2WX123456789",
"operation": "CHAT",
"amount": 1,
"createdAt": "2026-01-01T00:00:00.000Z"
}
],
"nextCursor": "obj_01JHKZ0PV2WX123456781"
}Returns paginated credit deduction history for the authenticated user.
curl --request POST \
--url http://api.superwize.ai/api/credits/getUsageHistory \
--header 'Content-Type: application/json' \
--data '
{
"limit": 20,
"cursor": "obj_01JHKZ0PV2WX123456780"
}
'{
"items": [
{
"id": "obj_01JHKZ0PV2WX123456789",
"operation": "CHAT",
"amount": 1,
"createdAt": "2026-01-01T00:00:00.000Z"
}
],
"nextCursor": "obj_01JHKZ0PV2WX123456781"
}