Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Kong Meters API

Meters specify how to aggregate events for billing and analytics purposes. Meters can be configured with multiple aggregation methods and groupings. Multiple meters can be created for the same event type, enabling flexible metering scenarios.

Kong Meters API is one of 139 APIs that Kong publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 1 JSON Schema definition.

Tagged areas include Meters. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, a GitHub repository, an API reference, authentication docs, and 1 JSON Schema.

This API exposes 4 operations across 2 paths, and defines 22 schemas. It is described by OpenAPI 3.1.0, at version 3.14.0.

Requests are made against a single base URL, {protocol}://{hostname}:{port}{path}.

4 operations 2 paths 22 schemas 1 DELETE2 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
3.14.0
Base URL
https://konghq.com/
Authentication
API Key
Contact
License
Resource Areas
1

Authentication & Security 1

Kong Meters API declares 1 security scheme for authenticating requests. An API key is passed in the header as Kong-Admin-Token (adminToken). By default, every request must be authenticated.

Paths & Operations 4

Across 2 paths, the API surfaces 4 operations — 1 DELETE, 2 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Meters 4

Meters specify how to aggregate events for billing and analytics purposes. Meters can be configured with multiple aggregation methods and groupings. Multiple meters can be created…

POST
/v3/openmeter/meters
Create meter
create-meter body → 201400401403
GET
/v3/openmeter/meters
List meters
list-meters 3 params → 200400401403
GET
/v3/openmeter/meters/{meterId}
Get meter
get-meter 1 param → 200400401403404
DELETE
/v3/openmeter/meters/{meterId}
Delete meter
delete-meter 1 param → 204400401403404

Schemas 22

The contract defines 22 schemas that model the data the API accepts and returns. The most detailed are Meter (13 properties), CreateMeterRequest (9 properties), InvalidParameterDependentItem (5 properties), InvalidParameterMinimumLength (5 properties). Each schema is shown below with its type and property counts.

InvalidParameterMinimumLength
object
5 properties 4 required
ListMetersParamsFilter
object
Filter options for listing meters.
2 properties
InvalidParameterChoiceItem
object
5 properties 4 required
ResourceKey
string
A key is a unique string that is used to identify a resource.
InvalidParameterMaximumLength
object
5 properties 4 required
CreateMeterRequest
object
Meter create request.
9 properties 4 required
Labels
object
Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Keys must be of length 1-63 characters,…
ForbiddenError
UnauthorizedError
MeterPagePaginatedResponse
object
Page paginated response.
2 properties 2 required
PaginatedMeta
object
returns the pagination information
1 property 1 required
BaseError
object
standard error
5 properties 4 required
InvalidParameterDependentItem
object
5 properties 4 required
SortQuery
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 provi…
InvalidRules
string
invalid parameters rules
InvalidParameters
array
invalid parameters
BadRequestError
InvalidParameterStandard
object
4 properties 2 required
Meter
object
A meter is a configuration that defines how to match and aggregate events.
13 properties 7 required
ULID
string
ULID (Universally Unique Lexicographically Sortable Identifier).
PageMeta
object
Contains pagination query parameters and the total number of objects returned.
3 properties 3 required
NotFoundError

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

kong-meters-api-openapi.yml Raw ↑

Other APIs Kong publishes across the network.

Kong Gateway
Kong AI Gateway
Kong Agent Gateway
Kong MCP Registry
Kong Context Mesh
Kong Mesh
Kong Insomnia
Kong ACLs API
Kong Add-Ons API
Kong API API
Kong API Attributes API
Kong API Documentation API