List credit transactions
list_credit_transactionsLists the workspace's credit ledger, newest first: every grant, spend, reservation and refund with the balance after each entry. Filter by movement kind, reason or a time window. Use it to see where credits went, or to check for a stripe_topup entry after a credit purchase whose outcome was unconfirmed. An entry with free set to true was written while the workspace's credits were free: its amount is what the action would have cost, and no credits moved.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_credit_transactions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Filter by movement type | |
| page | No | Page number, starting at 1 | |
| limit | No | Page size (default 50, max 200) | |
| since | No | Only entries at or after this time (RFC3339 or YYYY-MM-DD) | |
| until | No | Only entries at or before this time (RFC3339 or YYYY-MM-DD; a bare date means midnight UTC at the start of that day) | |
| reason | No | Filter by what the credits were spent on or granted for |