ShawDocs
API Reference

Credits

Inspect your organization's monthly LOC credit allowance, remaining balance, and templates unlocked in the current UTC period.

Download spec
GET
/api/credits

Authorization

headerAuthorizationBearer <sk_…>

A personal API key created in Settings → Developers. Send it as Authorization: Bearer sk_….

Header Parameters

X-Shaw-Tenant?string

The organization to act for (an id from GET /api/me). Defaults to the key's pinned organization, else your first organization. You must be a member of it.

Response Body

Success. The body is JSON.

response?unknownapplication/json
Example Request
curl -X GET 'https://shaw.ai/api/credits'
Example Response
null