---
title: "List metering events"
method: GET
path: "/v3/openmeter/events"
tags: ["Metering Events"]
---

# List metering events

`GET /v3/openmeter/events`

**Pre-release Endpoint**
This endpoint is currently in beta and is subject to change.

List ingested events.

## Query parameters

- `page` CursorPaginationQueryPage — Determines which page of the collection to retrieve.
  - `size` integer — The number of items to include per page.
  - `after` string — Request the next page of data, starting with the item after this parameter.
  - `before` string — Request the previous page of data, starting with the item before this parameter.
- `filter` ListEventsParamsFilter — Filter options for listing ingested events.
  - `id` object — Filter events by ID.
    - `eq` string
    - `contains` string, required
    - `ocontains` string, required
    - `oeq` string, required
    - `neq` string, required
  - `source` object — Filter events by source.
    - `eq` string
    - `contains` string, required
    - `ocontains` string, required
    - `oeq` string, required
    - `neq` string, required
  - `subject` object — Filter events by subject.
    - `eq` string
    - `contains` string, required
    - `ocontains` string, required
    - `oeq` string, required
    - `neq` string, required
  - `type` object — Filter events by type.
    - `eq` string
    - `contains` string, required
    - `ocontains` string, required
    - `oeq` string, required
    - `neq` string, required
  - `customer_id` union — Filter events by the associated customer ID.
    - string — ULID (Universally Unique Lexicographically Sortable Identifier).
    - object
      - `eq` string — Value strictly equals the given ULID value.
      - `oeq` string, ArrayEncoding.commaDelimited — Returns entities that exact match any of the comma-delimited ULIDs in the filter string.
      - `neq` string — Value does not equal the given ULID value.
  - `time` union — Filter events by event time.
    - object
      - `eq` string, date-time, required — Value strictly equals given RFC-3339 formatted timestamp in UTC
    - object
      - `lt` string, date-time, required — Value is less than the given RFC-3339 formatted timestamp in UTC
    - object
      - `lte` string, date-time, required — Value is less than or equal to the given RFC-3339 formatted timestamp in UTC
    - object
      - `gt` string, date-time, required — Value is greater than the given RFC-3339 formatted timestamp in UTC
    - object
      - `gte` string, date-time, required — Value is greater than or equal to the given RFC-3339 formatted timestamp in UTC
  - `ingested_at` union — Filter events by the time the event was ingested.
    - object
      - `eq` string, date-time, required — Value strictly equals given RFC-3339 formatted timestamp in UTC
    - object
      - `lt` string, date-time, required — Value is less than the given RFC-3339 formatted timestamp in UTC
    - object
      - `lte` string, date-time, required — Value is less than or equal to the given RFC-3339 formatted timestamp in UTC
    - object
      - `gt` string, date-time, required — Value is greater than the given RFC-3339 formatted timestamp in UTC
    - object
      - `gte` string, date-time, required — Value is greater than or equal to the given RFC-3339 formatted timestamp in UTC
  - `stored_at` union — Filter events by the time the event was stored.
    - object
      - `eq` string, date-time, required — Value strictly equals given RFC-3339 formatted timestamp in UTC
    - object
      - `lt` string, date-time, required — Value is less than the given RFC-3339 formatted timestamp in UTC
    - object
      - `lte` string, date-time, required — Value is less than or equal to the given RFC-3339 formatted timestamp in UTC
    - object
      - `gt` string, date-time, required — Value is greater than the given RFC-3339 formatted timestamp in UTC
    - object
      - `gte` string, date-time, required — Value is greater than or equal to the given RFC-3339 formatted timestamp in UTC
- `sort` string — The `asc` suffix is optional as the default sort order is ascending. The `desc` suffix is used to specify a descending order. Multiple sort attributes may be provided via a comma separated list. JSONPath notation may be used to specify a sub-attribute (eg: 'foo.bar desc').

## Response `200`

Cursor paginated response.

- IngestedEventPaginatedResponse — Cursor paginated response.
  - `data` MeteringIngestedEvent[], required
    - `event` object, required — The original event ingested.
      - `id` string, required — Identifies the event.
      - `source` string, uri-reference, required — Identifies the context in which an event happened.
      - `specversion` string, required — The version of the CloudEvents specification which the event uses.
      - `type` string, required — Contains a value describing the type of event related to the originating occurrence.
      - `datacontenttype` 'application/json', nullable — Content type of the CloudEvents data value. Only the value "application/json" is allowed over HTTP.
      - `dataschema` string, uri, nullable — Identifies the schema that data adheres to.
      - `subject` string, required — Describes the subject of the event in the context of the event producer (identified by source).
      - `time` string, date-time, nullable — Timestamp of when the occurrence happened. Must adhere to RFC 3339.
      - `data` object, nullable — The event payload. Optional, if present it must be a JSON object.
    - `customer` object — The customer if the event is associated with a customer.
      - `id` string, required — ULID (Universally Unique Lexicographically Sortable Identifier).
    - `ingested_at` string, date-time, required — The date and time the event was ingested and its processing started.
    - `stored_at` string, date-time, required — The date and time the event was stored in the database.
    - `validation_errors` MeteringIngestedEventValidationError[] — The validation errors of the ingested event.
      - `code` string, required — The machine readable code of the error.
      - `message` string, required — The human readable description of the error.
      - `attributes` object — Additional attributes.
  - `meta` CursorMeta, required — Pagination metadata.
    - `page` CursorMetaPage, required
      - `first` string, path — URI to the first page
      - `last` string, path — URI to the last page
      - `next` string, path, nullable, required — URI to the next page
      - `previous` string, path, nullable, required — URI to the previous page
      - `size` number, required — Requested page size

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/kong/apis/konnect-api-go-sdk.md) · [All operations](https://skmtc.net/kong/apis/konnect-api-go-sdk/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kong/konnect-api-go-sdk/versions/f920f418f552/schema)
