---
title: "SudoReportUsage reports a mock usage event for an organization."
method: POST
path: "/v1/superuser/organization/billing/report-usage"
---

# SudoReportUsage reports a mock usage event for an organization.

`POST /v1/superuser/organization/billing/report-usage`

## Request body

- V1SudoReportUsageRequest
  - `endTime` string, date-time — Optional end time of the reporting window. Defaults to the current server time.
  - `eventName` string
  - `org` string
  - `projectName` string — Optional project name attribution for the mock event. If not set, a placeholder is used.
  - `value` number, double

## Response `200`

A successful response.

- V1SudoReportUsageResponse
  - `customerId` string
  - `endTime` string, date-time
  - `eventName` string
  - `startTime` string, date-time
  - `value` number, double

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/rilldata/apis/rill-admin-api.md) · [All operations](https://skmtc.net/rilldata/apis/rill-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rilldata/rill-admin-api/revisions/289a0ca9ce49/schema)
