---
title: "Admin Revenue"
method: GET
path: "/admin/revenue"
tags: ["admin"]
---

# Admin Revenue

`GET /admin/revenue`

## Request

- Base URL: `https://api.sumvid.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sumvid.app/admin/revenue`
- Auth: HTTP bearer

Revenue snapshot: x402 agent payments per SKU (windowed) plus
subscriber counts by status/price (current state, from user_billing --
no Stripe API call, see db.admin_revenue_summary). Default window is
"30d", matching /events/funnel rather than the /stats/* all-time default.

## Query parameters

- `window` string

## Response `200`

Successful Response

- AdminRevenueResponse
  - `window` string, required
  - `x402` AdminRevenueSkuBreakdown[], required
    - `sku` string, required
    - `payments` integer, required
    - `settled` integer, required
    - `declined` integer, required
    - `errored` integer, required
    - `authorized` integer, required
    - `total_settled_atomic` string, required
  - `subscriptions` AdminSubscriptionBreakdown[], required
    - `subscription_status` string, required
    - `price_id` string, nullable
    - `tier` string, nullable
    - `plan_key` string, nullable
    - `count` integer, required
  - `active_by_tier` object, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sumvid/apis/summarize-vid.md) · [All operations](https://skmtc.dev/sumvid/apis/summarize-vid/llms.txt) · [OpenAPI document](https://skmtc.dev/sumvid/apis/summarize-vid/revisions/c03d66e07deb?raw)
