user_id
parameter and no way to read another account’s usage.
Authorization
Authenticate with your bearer token, the same one used for every other endpoint — either a session token from a signed-in dashboard session or anak_ API key issued from the Humalike dashboard. See
Authentication.
Your bearer token:
Bearer <token>.Request body
The endpoint takes no parameters — the calling identity defines whose usage is returned. Send an empty JSON object:Response
A singleUsageSummary object covering the last 30 days of billed usage.
Total billed calls in the last 30 days across every product.
Total credits charged in the last 30 days. This is what you actually paid for
the work done.
One entry per Humalike product your account used in the window (for example,
social-learning, personas, theoryofmind, social-observability,
social-memory). Products your account did not use are omitted.A zero-filled series of the last 7 UTC days, oldest first, suitable for
rendering a bar chart. Days with no billed calls are present with
requests: 0 so the series always has seven entries.Example response
200 OK
Errors
| Status | Code | When |
|---|---|---|
401 | UNAUTHORIZED | The bearer token is missing, invalid, or expired. |
403 | forbidden | The credentials are valid but not permitted to read usage. |
502 | UPSTREAM_ERROR | A dependency the request relies on was unavailable. Retry. |

