# Workspace reporting (MCP & API)

**Live since 04/11/2026.** Read your workspace's usage, output, generation time, credits and budget from your own AI assistant or reporting system, through MCP or REST.

Reports cover everything done in the workspace: on the web, through the API and through MCP. Reading reports is free and costs no credits.

## What you can ask

| Tool | Returns |
|---|---|
| `list_workspace_members` | Members, role, team, and the time span each belonged to the workspace (including people who left) |
| `list_services` | Features and models available, billing unit, list price |
| `get_usage_summary` | Totals by day, week or month, grouped by person, team, project, model, channel or duration bucket; average, P50 and P90 times with sample counts; comparison with the previous period |
| `list_generation_events` | Each run: outputs, errors, channel (web, API, MCP), who ran it, team, project, timestamps, credits, money |
| `list_credit_transactions` | The credit ledger: grants, allocations, holds, spending, refunds, adjustments, with a link from each refund to its original debit |
| `get_workspace_budget` | Credits granted, available, held and used, budget source, effective price |

Each tool has a matching REST endpoint. Add `format=csv` to export CSV. Dates use Asia/Ho_Chi_Minh time; a date range includes its start and excludes its end.

## Who can read

| Sign-in | Made for | Who | Reads |
|---|---|---|---|
| Workspace reporting key | Your reporting system, pulling numbers on a schedule | Only the Owner creates and revokes it; it belongs to no person, so it keeps working when its creator leaves | Exactly one workspace |
| Your own account (OAuth) | Your AI assistant | Owners, Admins and Members | Owners and Admins: every workspace they manage. Members: only their own numbers |

- Both are **read-only for reports**. They can't generate, spend credits or change budgets; the server enforces this.
- A reporting key never expires. It is shown once; the key page shows when it was last used.
- Every read is written to the workspace audit log, which Owners and Admins can see.

## Teams

The Owner or an Admin creates teams (for example one per app or product line) and assigns each member to one. Each run counts toward the team its person belonged to at the time it ran. A member's first team also applies to their earlier history; later changes count from the day of the change. Members without a team appear as "unclassified".

## How numbers are counted

- **Run:** one execution that debits or holds credits. A retry is a new run. **Output:** one file created successfully.
- **Net credits** = debited − refunded. Held credits are shown separately. Moving credits between the pool and wallets is not a cost.
- **Money:** the effective price (total paid or granted ÷ credits received, bonus included) next to the list price.
- **Video duration** is measured from the file, in buckets 0–15, >15–30, >30–60, >60–120 and >120 seconds, plus "unknown". The requested duration is returned too.
- **Queue time** is approximate for models that don't report when they start, and flagged as such.
- A missing value is `null` with a reason, never 0. `provider` is always `wandura`.
- Creatives, final and approved versions are not counted yet; reports say "not available" rather than counting outputs as creatives.

## Limits

- 60 calls per minute per key, up to 1,000 rows per page, up to 366 days per query.
- Cursor pagination, stable ordering and `updated_since` for incremental sync. Re-syncing never creates duplicates.
- History starts from the workspace's first credit transaction and is kept for at least 12 months.
