Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \ --url https://roughy-api-staging.fly.dev/v1/credits/balance \ --header 'Authorization: Bearer <token>'
{ "balance": 4585 }
Return the spendable balance.
Pass your API key as Authorization: Bearer sk_…. Mint a key from your dashboard's API-keys page.
Authorization: Bearer sk_…
Spendable balance.
Current credit balance.
Spendable credits.