Credit balance
get_credits, in Reads: Any connection or key may call these.
POST
The organization's available credits.
apiKeyheader
AuthorizationBearer <token>An API key (prb_…) from Settings → Connections.
application/json- body
The tool's answer.
application/json- response
availableCredits*numberdebtCredits*numbercurl -X POST 'https://studio.probably.co/api/v1/tools/get_credits' \ -H "Authorization: Bearer $PROBABLY_API_KEY" \ -H 'Content-Type: application/json' \ -d '{}'{ "availableCredits": 0, "debtCredits": 0}