---
title: "AI builder token usage per organization over the last N days (default 7)"
method: GET
path: "/operator/builder/usage"
tags: ["Operator"]
---

# AI builder token usage per organization over the last N days (default 7)

`GET /operator/builder/usage`

## Request

- Base URL: `https://hostingsurge.com/api/v1`
- URL: `https://hostingsurge.com/api/v1/operator/builder/usage`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `__Host-hs_session`

## Query parameters

- `days` integer

## Response `200`

Usage

- object
  - `items` object[], required
    - `organizationId` string, uuid, required
    - `organizationName` string, required
    - `inputTokens` integer, required
    - `outputTokens` integer, required
    - `turns` integer, required
    - `costEstimateMicros` integer, required

## Other responses

- `400`: Invalid request (code invalid_request)
- `403`: An action on an operator-console session older than 5 minutes (code forbidden, details.reauthenticate: sign in again at /admin/login), or an operator removed since the session was resolved
- `404`: Not found (code not_found); also the answer to any request without a live operator-console session (no admin cookie, a dashboard session, an API/MCP key or OAuth token, or a caller who is not a platform operator)
- `429`: Too many requests (code rate_limited); see Retry-After
- `501`: Not available on this server (code not_configured)

---

[API](https://skmtc.dev/hostingsurge/apis/hostingsurge-platform-api.md) · [All operations](https://skmtc.dev/hostingsurge/apis/hostingsurge-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hostingsurge/apis/hostingsurge-platform-api/revisions/4d08337cdff1?raw)
