Get credit balance
Returns the authenticated user's spendable credit balance. total is the single number to show (community + purchased); effective spendable is total - reserved. The community / purchased split is retained for back-compat and refund-to-origin accounting: community credits (signup grant for new users; legacy monthly refill for accounts created before the pricing v1 cutoff), purchased credits (carry forward across months), and reserved credits currently held by in-flight analyze calls.
Dual auth
Supports both Bearer API key (external callers) and x-internal-secret header plus ?userId=<id> query param (server-to-server, for dashboard integrations).
Request
- Base URL: https://api.phototology.com
- URL: https://api.phototology.com/v1/usage
- Auth: one of:
- HTTP bearer
- API key in header x-internal-secret
Query parameters
User ID. Required only when using x-internal-secret auth.
Legacy tier query param. Only starter is valid; the Growth subscription tier was retired in 2026-05-17. The field is accepted for backward compatibility with phototology-web server actions that may still pass it; the response tier is always starter.
Response
Current credit balance for the authenticated user.
Example response
{
"tier": "starter",
"total": 5743,
"community": {
"balance": 743
},
"purchased": {
"balance": 5000
}
}Changes
No recorded changes to this operation across all 1 revision of this API.