Stage 2 of 6

Ingestion Layer

Collects events from every client and system, validates and enriches them at the edge, and streams them onward — with consent enforced before anything is stored.

💻 Client SDKs

How to Consume

Cxos.Ingestion.Api · Command

// @cxos/web-sdk, @cxos/mobile-sdk, and Cxos.Ingestion.Client (Server SDK)
// all wrap the same call:
Cxos.track("product_viewed", { sku: "sku-1029", price: 2499 });
// -> POST https://ingest.cxos.io/v1/events, batched and retried automatically

🌐 Edge Network

Global Points of Presence

How to Consume

Cxos.Ingestion.Application · Command

// Internal pipeline stages — not called directly. Trace a request through them via
// Application Insights using the correlation ID returned on every /v1/events call:
X-Correlation-Id: 7e2a1c4b-9f3d-4e8a-b1c2-5a6e0d3f8b21

🔊 Streaming Ingestion

How to Consume

Cxos.Ingestion.Infrastructure · Command

// Consumers attach to the Event Hubs-compatible endpoint directly —
// no CXOS-owned API in front of the stream itself:
Endpoint=sb://cxos-events.servicebus.windows.net/;EntityPath=ingestion-accepted
ConsumerGroup=cxos-processing-stream-worker

🔌 Connectors

How to Consume

Cxos.Connectors.* (registry family) · Command

// Enable an existing pre-built connector via configuration:
POST /v1/connectors/enable
{ "connector": "Cxos.Connectors.HubSpot", "instance_id": "hs_prod", "auth_ref": "kv://hubspot-prod" }

// Scaffold a custom one from the shared IConnector template:
dotnet new cxos-connector -n AcmePartnerConnector

📡 Protocols Supported

How to Consume

Cxos.Ingestion.Api · Command

HTTP/HTTPS   POST /v1/events               (default, universal)
gRPC         cxos.ingestion.v1.Ingest/Track (highest-volume server callers)
Webhooks     inbound receiver per connector (platforms that push to CXOS)
Batch        Azure Blob Storage landing zone (S3/SFTP/API bulk drops)

🔌 Platform Connectors

The shared client libraries every SDK, connector, and downstream service builds on.

Connector PackageConsumer
Cxos.Ingestion.Client Every SDK, connector, and business-system integration in Data Sources
Cxos.Connectors.* (registry family) Event Collection (Ingestion API) · Reverse ETL / CDP Sync callers
@cxos/web-sdk Web / App Personalization · On-site Messages
@cxos/mobile-sdk SMS / Push (Twilio, FCM) targeting
Custom Connector Framework (IConnector) Any team extending the platform to a long-tail system
Real World Example

The website SDK captures a 'Product Viewed' event and sends it to the Edge. The Edge validates, enriches it with location and device info, applies consent rules, and streams it in real-time.