Consumer Data Products

A consumer data product is a composed or projected view with kind: consumer. It is derived from one or more source data products through aggregation, enrichment, filtering, or entity resolution (golden records). Consumer data products typically sit toward the In Progress-to-Ready end of the readiness scale and produce the exact shape your apps and AI agents need, delivered via REST API, webhook, or event stream — or read directly by an agent over the hosted MCP server.

Projection vs. Consumer Data Product

These two concepts are distinct and should not be confused:

  • Projection (or Projection Logic) — the design-time activity and logic definition. A projection defines how data is transformed, aggregated, or combined from source products. Think of it as writing a query or designing a transformation.
  • Consumer Data Product — the runtime entity that holds the derived data. It is the published result of applying projection logic — like a materialized view that serves data to consumers.

The relationship flows like this:

Source Data Products → [Projection Logic] → Consumer Data Product → [Delivery Interfaces] → External Systems

You author projections on the Projections page (the design activity). When you publish a projection, the result is a Consumer Data Product (the runtime artifact) that holds the derived data and can be configured with delivery interfaces to reach external systems.

ConcernWhat It IsWhere You Work
ProjectionThe logic that transforms source dataProjections page (authoring)
Consumer Data ProductThe entity holding derived dataConsumer Catalog (discovery)
Delivery InterfaceHow the data reaches external systemsDelivery tab (configuration)

What Makes a Data Product "Consumer"

Consumer data products have three defining characteristics:

  • Derived — every consumer product traces its data back to one or more source products. This derivation is recorded as lineage from the upstream source data products, enabling full traceability.
  • Demand-driven — modeling starts from the desired output shape and works backward to determine which source projections and lineage links are needed.
  • Externally delivered — consumer products deliver data outside the platform to your applications, partners, and AI agents via delivery interfaces, or expose it to agents over the hosted MCP server.

Consumer vs. Source

The key distinction is directionality and composition. A source data product is an atomic dataset ingested from a single external system. A consumer data product is a composed entity — it holds data combined, transformed, and shaped from multiple sources to serve a specific downstream need.

AspectSourceConsumer
Kindsourceconsumer
Data flowExternal system → LoxtepLoxtep → external consumer
CompositionAtomic (single source system)Composed (one or more sources)
DerivationNone (raw ingested data)Projection logic applied to sources
Readiness rangeRaw → In ProgressIn Progress → Ready
DeliveryDirectly via delivery interfacesVia delivery interfaces

The Source-to-Consumer Derivation

A consumer data product is always produced by projection logic applied to one or more source data products. The projection may involve:

  • Aggregation — combining records from multiple sources into a unified view (e.g., merging orders from Shopify and Stripe into a single revenue dataset).
  • Enrichment — adding context from secondary sources (e.g., appending customer segment data to transaction records).
  • Filtering — exposing only a subset of fields or records relevant to the consumer's use case.
  • Entity resolution — matching records across sources to create golden records (e.g., resolving "John Smith" across CRM, billing, and support systems into a single customer entity).

Lineage Tracking

Every source-to-consumer derivation is recorded as lineage. The lineage graph traces each field in the consumer product back to its originating source product and field. This enables:

  • Impact analysis — understanding which consumer products are affected when a source schema changes.
  • Compliance auditing — proving data provenance for regulatory requirements.
  • Trust scoring — consumers can verify the freshness and quality of upstream sources.

Query lineage for a consumer product through loxtep_observe:

{ "operation": "get_lineage_impact", "data_product_id": "<data-product-uuid>" }

The Delivery Workflow

Consumer data products use the data-product-consumption workflow type to orchestrate how derived data is produced and delivered. While source data products use ingestion workflows to bring data in, consumer data products use delivery workflows to project data out.

The delivery workflow orchestrates:

  1. Source binding — connecting to upstream source data products and tracking their lineage.
  2. Transformation — applying the projection logic (aggregation, enrichment, filtering, or entity resolution).
  3. Materialization — computing the derived view and storing it in the consumer data product for efficient access.
  4. Delivery — serving the materialized data through configured delivery interfaces (Webhook, API Endpoint, Export, SQL Query, Event Stream). BI tools query through a SQL grant.
  5. Refresh — re-computing the derived view when upstream sources change.

Note: The workflow_type enum value is 'delivery' in code. In all user-facing contexts, this is called a "Delivery Workflow."

Demand-Driven Modeling

Consumer data products follow a demand-driven modeling approach. Instead of starting from available sources and building forward, you start from the desired output shape and work backward to source projections and lineage.

The demand-driven workflow:

  1. Define the output shape — what fields does the consumer need? What granularity? What freshness?
  2. Identify source products — which source data products contain the raw data needed?
  3. Design projection logic — what aggregation, enrichment, filtering, or entity resolution produces the desired shape from available sources?
  4. Map lineage — record the field-level derivation from each source to the consumer output.
  5. Configure delivery — how will consumers access the data? See Configuring Delivery for setup instructions.

This approach ensures consumer products are built for actual demand rather than speculative "build it and they will come" patterns.

Example: Customer 360

A customer_360 consumer data product might derive from:

  • crm_contacts source product (names, emails, company)
  • billing_transactions source product (payment history, plan tier)
  • support_tickets source product (ticket count, satisfaction score)

The demand-driven model starts with "I need a unified customer record with name, email, company, lifetime value, current plan, and support health score" and works backward to identify which sources provide each field and how entity resolution merges records across systems.

Create the consumer product via the MCP tool surface:

{
  "operation": "create_data_product",
  "project_id": "proj_analytics",
  "name": "customer_360",
  "kind": "consumer"
}

Semantic Enrichment

Consumer data products typically operate in the In Progress-to-Ready range of the readiness scale:

  • In Progress — stable entity IRIs minted for resolved entities, glossary terms bound to output fields.
  • Ready — full ontology binding, relationships navigable and queryable in the Knowledge Graph.

Because consumer products aggregate across sources, they often reach Ready faster than individual source products — entity resolution and cross-domain composition naturally produce the relationship density that Ready requires.

Quality and Governance

Consumer products inherit quality signals from their upstream sources and add their own:

  • Upstream quality propagation — if a source product's quality degrades, the consumer product's trust score reflects that.
  • Transformation validation — quality rules on the delivery workflow validate the projection output.
  • SLA definitions — consumer products declare freshness SLAs (e.g., "data no older than 1 hour").
  • Access control — fine-grained permissions, including field-masking, control which applications or AI agents can access the product's delivery interfaces.

Lifecycle and Status

Like source products, consumer data products carry a lifecycle status:

StatusMeaning
draftUnder development, projection logic being built
activeLive, delivering data to consumers
deprecatedMarked for removal, consumers should migrate
archivedRetired — there is no separate "retired" state; archiving is how a data product is retired

A consumer product's lifecycle is independent of its sources — a source can be deprecated while the consumer remains active if alternative sources are available.

Cross-Project Delivery

Consumer data products enable cross-project data sharing. A consumer product in one project can derive from source products in another project. The upstream must clear the readiness bar for the boundary being crossed: In Progress suffices when both projects sit in the same domain (the domain owns the shared vocabulary and entity-resolution context); Ready is required to cross domain boundaries (full ontology binding guarantees interoperability). Raw products cannot be referenced cross-project at all.

Related Guides and Concepts