Track your credit usage
See credits per day, service, member and API key in the dashboard or through the API.
Last updated
In the dashboard#
Open Usage in your workspace sidebar. It shows the credits spent per day, and tables By service, By member and By API key, each with the most credits first. Days are counted in UTC.
Use it to find which app or key is spending, or to check a bulk upload's cost.
Through the API#
Two endpoints return the same data, with any API key of the workspace:
GET /credit-usage/breakdowntotals credits and requests for a date range, grouped bydate,user,api-keyorservice.GET /credit-usage/daily/listlists the credits used per day, page by page.
bash
curl --get "https://api.phone-check.app/credit-usage/breakdown" \
--data-urlencode "workspaceId=$WORKSPACE_ID" \
--data-urlencode "dateFrom=2026-07-01" \
--data-urlencode "dateTo=2026-07-31" \
--data-urlencode "groupBy=api-key,service" \
-H "x-api-key: $API_KEY"The answer has totals (credits, requests) and groups, highest-credit first. Dates are YYYY-MM-DD. All parameters are in the API reference (opens another site).
AI agents can call the free account_usage and account_whoami tools of the MCP server instead.
