Skip to content

KyaniteAPI Overview

KyaniteAPI is an event ingestion and processing API. It accepts events over HTTPS, validates requests, and queues accepted events for downstream processing so client interactions can remain responsive under load.

In a typical setup, a client sends an event to KyaniteAPI instead of writing directly to a primary database or triggering expensive work inline. KyaniteAPI acknowledges accepted events (commonly with 202 Accepted) and processes them asynchronously.

This pattern helps you:

  • decouple client requests from backend work
  • smooth traffic spikes
  • standardize validation and delivery behavior
  • Schema validation: Validate incoming payloads against JSON schemas (if configured).
  • Asynchronous ingestion: Accept events quickly and process them outside the request/response cycle.
  • Queued processing: Buffer events for downstream workers and delivery mechanisms (for example, internal processors or webhooks).
ComponentRoleDescription
Edge gatewaySecurityTerminates TLS, authenticates requests, and applies basic request checks.
Ingest APIIngestionReceives events and performs request-level validation.
QueueBufferingStores accepted events for asynchronous processing.
WorkersProcessingConsumes queued events, applies business rules, and triggers downstream actions.
Delivery (optional)IntegrationSends events to external systems (for example, webhooks) when enabled.
  1. Client sends an event to POST /v1/events with Authorization: Bearer <API_KEY>.
  2. KyaniteAPI validates the request (and schema, if configured).
  3. If accepted, KyaniteAPI acknowledges the request and queues the event.
  4. Workers process the event asynchronously and optionally deliver it to downstream systems.