CloudEvents website screenshot

CloudEvents

CloudEvents is a CNCF graduated specification for describing event data in a common way. It provides a consistent format for event metadata across services, platforms, and systems, enabling interoperability between event producers and consumers. The specification includes protocol bindings for HTTP, AMQP, Kafka, MQTT, and NATS, along with SDKs in multiple languages.

12 APIs 0 Features
Cloud NativeEventsGraduatedInteroperabilityMessagingSpecification

APIs

CloudEvents Specification

The CloudEvents specification defines a set of metadata attributes that must be present in every event, including source, type, id, and specversion. It provides a vendor-neutral...

CloudEvents HTTP Protocol Binding

The HTTP protocol binding defines how CloudEvents are transported using HTTP, including structured content mode where the entire event is in the HTTP body, and binary content mo...

CloudEvents Kafka Protocol Binding

The Kafka protocol binding for CloudEvents defines how events are mapped to Apache Kafka messages. It specifies how CloudEvents attributes are encoded as Kafka message headers a...

CloudEvents AMQP Protocol Binding

The AMQP protocol binding for CloudEvents defines how events are mapped to OASIS AMQP 1.0 messages. In structured content mode, event attributes and data are placed in the AMQP ...

CloudEvents MQTT Protocol Binding

The MQTT protocol binding for CloudEvents defines how events are mapped to MQTT 3.1.1 and MQTT 5.0 messages. It supports both structured and binary content modes for IoT and con...

CloudEvents NATS Protocol Binding

The NATS protocol binding for CloudEvents defines how events are mapped to NATS messages. It enables CloudEvents to be produced and consumed over the NATS messaging system, supp...

CloudEvents Subscriptions API

The CloudEvents Subscriptions API specification defines a standard REST API for managing subscriptions to event streams. It enables clients to create, list, update, and delete s...

CloudEvents SQL (CESQL)

CloudEvents SQL (CESQL) is a v1.0 specification that defines a standardized query language for filtering and routing CloudEvents based on their attributes. It provides a SQL-lik...

CloudEvents Go SDK

The official Go SDK for CloudEvents provides libraries for producing and consuming CloudEvents in Go applications. It supports all CloudEvents protocol bindings and content mode...

CloudEvents JavaScript SDK

The official JavaScript SDK for CloudEvents provides libraries for producing and consuming CloudEvents in Node.js and browser environments. It supports structured and binary con...

CloudEvents Java SDK

The official Java SDK for CloudEvents provides libraries for producing and consuming CloudEvents in Java applications. It includes support for HTTP, Kafka, and other transports,...

CloudEvents Python SDK

The official Python SDK for CloudEvents provides libraries for producing and consuming CloudEvents in Python applications. It supports HTTP transport bindings and both structure...

Collections

Pricing Plans

Rate Limits

Cloudevents Rate Limits

1 limits

RATE LIMITS

FinOps

Event Specifications

CloudEvents HTTP Delivery

AsyncAPI definition for CloudEvents delivery over HTTP. This document describes the event-driven interface by which a CloudEvents-compatible broker pushes events to a subscriber...

ASYNCAPI

Semantic Vocabularies

Cloudevents Context

4 classes · 27 properties

JSON-LD

API Governance Rules

CloudEvents API Rules

9 rules · 3 errors 6 warnings

SPECTRAL

JSON Structure

Cloudevents Structure

0 properties

JSON STRUCTURE

Resources

🔗
Website
Website
🔗
Documentation
Documentation
🚀
GettingStarted
GettingStarted
📰
Blog
Blog
👥
GitHubOrganization
GitHubOrganization
📦
SDKs
SDKs
📄
ChangeLog
ChangeLog
🔗
JSONSchema
JSONSchema
🔗
OpenAPI
OpenAPI
🔗
AsyncAPI
AsyncAPI
🔗
JSONLD
JSONLD
🔗
Spectral
Spectral

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: CloudEvents Subscriptions API
  version: '1.0'
items:
- info:
    name: Subscriptions
    type: folder
  items:
  - info:
      name: CloudEvents List subscriptions
      type: http
    http:
      method: GET
      url: https://{broker-host}/subscriptions/subscriptions
    docs: Returns a list of all subscriptions currently managed by this endpoint. Each subscription entry includes its identifier,
      sink, source, and current filter configuration. The response may be paginated for brokers with large numbers of subscriptions.
  - info:
      name: CloudEvents Create a subscription
      type: http
    http:
      method: POST
      url: https://{broker-host}/subscriptions/subscriptions
      body:
        type: json
        data: '{}'
    docs: Creates a new subscription to an event stream. The request body specifies the sink (delivery endpoint), the source
      of events, optional event type filters, and protocol settings. Upon successful creation, the broker begins delivering
      matching events to the specified sink. The response returns the fully populated subscription object including its assigned
      identifier.
  - info:
      name: CloudEvents Get a subscription
      type: http
    http:
      method: GET
      url: https://{broker-host}/subscriptions/subscriptions/:id
      params:
      - name: id
        value: ''
        type: path
        description: Unique identifier of the subscription
    docs: Returns the details of a specific subscription identified by its unique identifier. The response includes the current
      configuration including sink, source, filters, and any protocol settings. Returns 404 if the subscription does not exist
      or is not accessible to the caller.
  - info:
      name: CloudEvents Update a subscription
      type: http
    http:
      method: PUT
      url: https://{broker-host}/subscriptions/subscriptions/:id
      params:
      - name: id
        value: ''
        type: path
        description: Unique identifier of the subscription
      body:
        type: json
        data: '{}'
    docs: Replaces the configuration of an existing subscription. The entire subscription object must be provided; partial
      updates are not supported by this operation. Updating a subscription may temporarily interrupt event delivery while
      the new configuration takes effect.
  - info:
      name: CloudEvents Delete a subscription
      type: http
    http:
      method: DELETE
      url: https://{broker-host}/subscriptions/subscriptions/:id
      params:
      - name: id
        value: ''
        type: path
        description: Unique identifier of the subscription
    docs: Deletes an existing subscription. Once deleted, the broker stops delivering events to the subscription's sink. In-flight
      events at the time of deletion may or may not be delivered depending on broker implementation. Returns 404 if the subscription
      does not exist.
bundled: true