The data layer is opt-in.: To enable the data layer on your environment:Documentation Index
Fetch the complete documentation index at: https://docs.chift.eu/llms.txt
Use this file to discover all available pages before exploring further.
- Reach out to your CSM at Chift.
- Together, you agree on the sync timing that fits your use case (how often the sync runs). The cadence directly drives how fresh the datalayer data will be for your customers.
- Chift activates the sync. An initial run backfills historical data into the data layer store; the recurring sync then keeps it up to date at the agreed cadence.
The first sync can take a while on connections with a lot of historical data. Plan the activation accordingly.
How to activate it on one connection ?
This is done automatically once we add the data layer feature to your environmentUse it on a request
Reading from the data layer is a per-request choice. To serve a given call from the datalayer instead of the live source, add the following header to your request:Reading data you just wrote
Because writes go to the source and the datalayer is updated only by the sync, a record you have just created or updated is not yet in the datalayer until the next sync run. The pattern is simple: just don’t send thex-chift-datalayer header on that read. The call then goes through the live unified API and returns the up-to-date record from the source. On subsequent reads where freshness is no longer critical, you can send the header again.