Skip to main content
EncodeBox generates Sentinel CDM SQL from Python — no ETL materialization.

Mental model

Start with EventFrame. Add a Cohort when you need labeled criteria and an attrition table. Use Table/Column only for unusual predicates.

Example

EventFrame finds qualifying events. Cohort starts from an index and requires or excludes EventFrames and criteria (age_at_index, covering_index, …). .include(other_frame, window=...) reuses another event definition.

Next steps

Quickstart

Register a connector, connect, and run your first query.

Which API?

Choose EventFrame, Cohort, or Table/Column.

Connectors

Map your tables to Sentinel CDM domains.

API map

Curated map of the public API.
Legacy query_event / filter_event still work via deprecation shims. See Migration.