Gensprite
Account

List credit movements

GET
/v1/credits/transactions

The ledger, newest first. Every movement of credits writes exactly one row - charges, purchases, refunds and grants alike - so the balance in getAccount is always the sum of this list and never an independently maintained number.

Authorization

AuthorizationBearer <token>

API key: Authorization: Bearer gsk_.... Used by the Godot plugin, the MCP server and the engine.

In: header

Query Parameters

limit?string

Page size, 1-100. Defaults to 20.

Match^\d+$
cursor?string

next_cursor from the previous page.

Length1 <= length

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/credits/transactions"
{  "items": [    {      "id": "string",      "created_at": "2019-08-24T14:15:22Z",      "delta": 0,      "reason": "string",      "job_id": "string"    }  ],  "next_cursor": "string"}