Endpoint
Get credit balance
GET/api/public/v1/creditsread
Return the user's current credit balance and the last 20 ledger entries.
Request
curl "https://sayintel.com/api/public/v1/credits" \ -H "Authorization: Bearer $SAYINTEL_TOKEN"
Try it out
Try it outGET/api/public/v1/creditsread
Sent as a bearer token to this site only, and kept in this tab's session storage. It is never written to disk or sent anywhere else.
Paste an API key to run.
Response
{
"ok": true,
"tool": "get_credit_balance",
"kind": "read",
"data": { ... },
"error": null
}Notes
- Scope required: read. How scopes work.
- Same capability over MCP as the tool get_credit_balance. MCP setup.