---
title: "Report usage events"
method: POST
path: "/api/v1/events"
tags: ["Usage"]
---

# Report usage events

`POST /api/v1/events`

Reports raw usage events for event-based metering. Events are ingested asynchronously and aggregated into usage totals.

## Headers

- `X-ACCOUNT-ID` string
- `X-ENVIRONMENT-ID` string

## Request body

- ReportEventRequestDto — Report raw usage events. Batch up to 1000 events with dimensions.
  - `events` object[], required — A list of usage events to report
    - `eventName` string, required — The name of the usage event
    - `customerId` string, required — Customer id
    - `resourceId` string, nullable — Resource id
    - `timestamp` string, date-time — Timestamp
    - `idempotencyKey` string, required — Idempotency key
    - `dimensions` object — Dimensions associated with the usage event

## Response `202`

Confirmation that events were accepted for processing.

- EventResponseResponseDto — Response object
  - `data` object, required — Empty success response confirming that events were successfully ingested and queued for processing by Stigg's metering system.

## Other responses

- `400` — bad request.
- `401` — User is not authenticated.
- `403` — User is not allowed to access this resource.
- `404` — Event not found.
- `429` — Too many requests.

## Changes

- **2026-07-28** `913f273cc2f7` — 1 warning
  - added the new `ContractNotFound` enum value to the `code` response property for the response status `404`
- **2026-07-23** `b876edd1a4fc` — 5 warning
  - added the new `CreditOveragePriceCurrencyNotFound` enum value to the `code` response property for the response status `400`
  - added the new `InvalidCreditOverageBillingModel` enum value to the `code` response property for the response status `400`
  - added the new `InvoicePreviewNotAvailableForDraftContract` enum value to the `code` response property for the response status `400`
  - added the new `OveragePriceNotSupportedOnAddon` enum value to the `code` response property for the response status `400`
  - …1 more
- **2026-07-08** `58bb216ff8ce` — 1 warning
  - added the new `GovernanceNotEnabled` enum value to the `code` response property for the response status `403`
- **2026-07-01** `04d5fa9dcb6f` — 1 breaking, 1 info
  - removed the success response with the status `200`
  - added the success response with the status `202`
- **2026-06-08** `3acd63d6c861` — 2 info
  - added the new optional `header` request parameter `X-ACCOUNT-ID`
  - added the new optional `header` request parameter `X-ENVIRONMENT-ID`

[Full history](https://skmtc.dev/stiggio/apis/stigg-api/changes/api/v1/events/post.md)

---

[API](https://skmtc.dev/stiggio/apis/stigg-api.md) · [All operations](https://skmtc.dev/stiggio/apis/stigg-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stiggio/stigg-api/revisions/3e2c8cfcd035/schema)
