credits.list_history
List the project owner's credit history, newest first: purchases, assistant usage, renders and AI generations, each with its signed amount in milli-credits (1000 = 1 credit; negative = spent), balance after, detail (model, resolution, tokens…) and the project it was for. Also returns net spend per category over the last 30 days. Pass nextCursor back as cursor for older entries.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>"
},
"name": "credits.list_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| cursor | No | ||
| category | No | ||
| projectId | Yes |