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 Event Gateway Virtual Cluster Produce Policies API

Produce policies operate on Kafka messages before they are written to the Kafka cluster.Where possible, apply transformations to the data using produce policies rather than consume policies for maximum efficiency.

Kong Event Gateway Virtual Cluster Produce Policies 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 Event Gateway Virtual Cluster Produce Policies. 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 9 operations across 4 paths, and defines 50 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}.

9 operations 4 paths 50 schemas 1 DELETE3 GET1 PATCH2 POST2 PUT

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 Event Gateway Virtual Cluster Produce Policies 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 9

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

Event Gateway Virtual Cluster Produce Policies 9

Produce policies operate on Kafka messages before they are written to the Kafka cluster. Where possible, apply transformations to the data using produce policies rather than consu…

GET
/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/produce-policies
List Produce Policies for Virtual Cluster
list-event-gateway-virtual-cluster-produce-policies 3 params → 200401403
POST
/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/produce-policies
Create Produce Policy for Virtual Cluster
create-event-gateway-virtual-cluster-produce-policy 4 params body → 201400401403
GET
/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/produce-policies/{policyId}
Get a Produce Policy for Virtual Cluster
get-event-gateway-virtual-cluster-produce-policy 3 params → 200401403404
PUT
/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/produce-policies/{policyId}
Update Produce Policy for Virtual Cluster
update-event-gateway-virtual-cluster-produce-policy 3 params body → 200400401403
PATCH
/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/produce-policies/{policyId}
Patch Produce Policy for Virtual Cluster
patch-event-gateway-virtual-cluster-produce-policy 3 params body → 200400401403
DELETE
/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/produce-policies/{policyId}
Delete Produce Policy for Virtual Cluster
delete-event-gateway-virtual-cluster-produce-policy 3 params → 204401403404
POST
/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/produce-policies/{policyId}/move
Move Produce Policy
move-event-gateway-virtual-cluster-produce-policy 3 params body → 204400401403
GET
/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/produce-policy-chain
Get Produce Policy Chain for Virtual Cluster
get-event-gateway-virtual-cluster-produce-policy-chain 2 params → 200401403
PUT
/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}/produce-policy-chain
Update Produce Policy Chain
update-event-gateway-virtual-cluster-produce-policy-chain 2 params body → 200400401403

Schemas 50

The contract defines 50 schemas that model the data the API accepts and returns. The most detailed are EventGatewayPolicy (11 properties), EventGatewayParsedRecordEncryptFieldsPolicyCreate (8 properties), EventGatewayModifyHeadersPolicyCreate (8 properties), EventGatewayParsedRecordEncryptFieldsPolicy (7 properties). Each schema is shown below with its type and property counts.

InvalidParameterMinimumLength
object
5 properties 4 required
EventGatewayModifyHeaderRemoveAction
object
An action that removes a header by key.
2 properties 2 required
EventGatewayProduceSchemaValidationPolicyJsonConfig
object
The configuration of the produce schema validation policy when using JSON parsing without schema.
4 properties 1 required
UpdatedAt
string
An ISO-8601 timestamp representation of entity update date.
InvalidParameterChoiceItem
object
5 properties 4 required
EventGatewayProduceSchemaValidationPolicyConfig
The configuration of the produce schema validation policy.
SchemaRegistryReference
A reference to a schema Registry.
InvalidParameterMaximumLength
object
5 properties 4 required
SchemaRegistryReferenceById
object
1 property 1 required
EventGatewayModifyHeaderSetAction
object
An action that sets a header key and value.
3 properties 3 required
EventGatewayEncryptPolicy
object
Encrypts Kafka records or keys using AES256GCM. Keys are therefore 256 bits long.
7 properties 2 required
EventGatewayEncryptConfig
object
The configuration of the encrypt policy.
3 properties 3 required
EventGatewayParsedRecordEncryptFieldsPolicyCreate
object
Encrypts fields of parsed Kafka records using AES256GCM. Keys are therefore 256 bits long. Note this policy can only be used as a child of a EventGatewayProduc…
8 properties 3 required
EventGatewayPolicyPatch
object
The schema of the policy to patch it.
5 properties
EncryptionKeyStatic
object
A static encryption key.
2 properties 2 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
EventGatewayProduceSchemaValidationPolicy
object
A policy that validates produce messages against a schema registry.
7 properties 2 required
EventGatewayModifyHeaderAction
An action that modifies a header.
SchemaRegistryReferenceByName
object
Reference a schema registry by its unique name.
1 property 1 required
EventGatewayPolicyReference
string
The unique identifier of the policy.
EventGatewayProducePolicyCreate
The typed schema of the produce policy to modify it.
ProduceFailureMode
string
Describes how to handle a failure in a policy applied to produced records. reject - rejects the record batch. passthrough - passes the record silently to the b…
EncryptionFailureMode
string
Describes how to handle failing encryption or decryption. Use error if the record should be rejected if encryption or decryption fails. Use passthrough to igno…
EventGatewayPolicy
object
A policy associated with an Event Gateway.
11 properties 4 required
CreatedAt
string
An ISO-8601 timestamp representation of entity creation date.
ProduceKeyValidationAction
string
Defines a behavior when record key is not valid. reject - rejects a batch for topic partition. Only available for produce. mark - marks a record with kong/serv…
BaseError
object
standard error
5 properties 4 required
InvalidParameterDependentItem
object
5 properties 4 required
EventGatewayModifyHeadersPolicy
object
A policy that modifies headers for requests.
7 properties 2 required
InvalidRules
string
invalid parameters rules
EventGatewayParsedRecordEncryptionSelector
object
Selects fields of a parsed record for encryption and defines what key to encrypt them with.
2 properties 2 required
EncryptionKey
The key to use for encryption.
InvalidParameters
array
invalid parameters
BadRequestError
EncryptionKeyStaticReference
A static encryption key reference, either by ID or by value.
ProduceValueValidationAction
string
Defines a behavior when record value is not valid. reject - rejects a batch for topic partition. Only available for produce. mark - marks a record with kong/se…
EventGatewayParsedRecordEncryptFieldsPolicy
object
Encrypts fields of parsed Kafka records using AES256GCM. Keys are therefore 256 bits long. Note this policy can only be used as a child of a EventGatewayProduc…
7 properties 2 required
EventGatewayProduceSchemaValidationPolicySchemaRegistryConfig
object
The configuration of the produce schema validation policy when using a schema registry.
4 properties 1 required
EncryptionRecordPart
string
key - encrypt the record key value - encrypt the record value
EncryptionKeyAWS
object
The AWS KMS key to use for encryption.
2 properties 2 required
InvalidParameterStandard
object
4 properties 2 required
EncryptionKeyStaticReferenceByName
object
A static encryption key reference by name.
1 property 1 required
EncryptionKeyStaticReferenceById
object
A static encryption key reference by ID.
1 property 1 required
MoveEventGatewayPolicy
object
Defines the position of a policy relative to the policy chain.
1 property 1 required
EventGatewayParsedRecordEncryptFieldsConfig
object
The configuration of the encrypt parsed record policy.
2 properties 2 required
EventGatewayProducePolicyUpdate
The typed schema of the produce policy to modify it.
NotFoundError
EventGatewayModifyHeadersPolicyCreate
object
A policy that modifies headers for requests.
8 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

kong-event-gateway-virtual-cluster-produce-policies-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