Browse the docs
Developers / Docs / Account
List credit history
Lists credit movements (top-ups, plan credits, generations, refunds) and minute spends, newest first, each linked to its API job when there is one.
Paste it into any AI assistant. The shortcuts open with the prompt typed in; nothing is sent until you press enter.
At a glance
- REST
GET https://api.clippie.ai/v1/credits/history
- MCP tool
list_credit_history
- Scope
read
- Cost
- Free. Works with a read-only key.
Parameters
limit- In:
- query
- Type:
- integer
- Required:
- No
- Description:
- How many to return, 1-100. Default 25. 1-100.
cursor- In:
- query
- Type:
- string
- Required:
- No
- Description:
nextCursorfrom the previous page. Up to 500 chars.
Example
curl
curl "https://api.clippie.ai/v1/credits/history?limit=10" \
-H "Authorization: Bearer $CLIPPIE_API_KEY"list-credit-history.mjs
const auth = { Authorization: `Bearer ${process.env.CLIPPIE_API_KEY}` };
const res = await fetch('https://api.clippie.ai/v1/credits/history?limit=10', { headers: auth });
if (!res.ok) throw new Error((await res.json()).error.message);
console.log(await res.json());Response
200 { data, nextCursor }. Pass nextCursor as cursor for the next page. The item shape is in the OpenAPI spec.
From an MCP client
Your AI calls list_credit_history with the same fields as JSON arguments. See MCP server to connect one.
tools/call
{
"name": "list_credit_history",
"arguments": {
"limit": 10
}
}