Skip to main content

Posthog

Prerequisites

  • api_key - obtain Private API Key for your account following these steps
  • base_url - 'https://app.posthog.com' by default, but it can be different if self-hosted posthog instances is used

Tables in the Posthog connector

NoTable NameColumnsPrimary KeysRead ModeInc. Sync KeysAPI Info
1persons4idFull RefreshAPI Reference
2projects11idFull RefreshAPI Reference
3insights23idFull RefreshAPI Reference
4feature_flags9idFull Refresh
5annotations10idFull RefreshAPI Reference
6events8idFull Refresh, IncrementaltimestampAPI Reference
7cohorts11idFull RefreshAPI Reference

Table: persons

NoColumn NameTypeNotes
1nameVARCHAR
2created_atVARCHAR
3idVARCHARPrimary Key
4distinct_idsVARCHAR

Table: projects

NoColumn NameTypeNotes
1completed_snippet_onboardingBOOLEAN
2timezoneVARCHAR
3organizationVARCHAR
4api_tokenVARCHAR
5access_controlBOOLEAN
6effective_membership_levelDOUBLE
7nameVARCHAR
8idDOUBLEPrimary Key
9uuidVARCHAR
10is_demoBOOLEAN
11ingested_eventBOOLEAN

Table: insights

NoColumn NameTypeNotes
1savedBOOLEAN
2timezoneVARCHAR
3last_refreshVARCHAR
4created_atVARCHAR
5descriptionVARCHAR
6short_idVARCHAR
7filtersVARCHAR
8filters_hashVARCHAR
9last_modified_byVARCHAR
10effective_restriction_levelDOUBLE
11created_byVARCHAR
12last_modified_atVARCHAR
13is_sampleBOOLEAN
14tagsVARCHAR
15resultVARCHAR
16effective_privilege_levelDOUBLE
17deletedBOOLEAN
18updated_atVARCHAR
19refreshingBOOLEAN
20nameVARCHAR
21idDOUBLEPrimary Key
22orderVARCHAR
23favoritedBOOLEAN

Table: feature_flags

NoColumn NameTypeNotes
1deletedBOOLEAN
2rollout_percentageINTEGER
3nameVARCHAR
4activeBOOLEAN
5created_atVARCHAR
6idINTEGERPrimary Key
7filtersVARCHAR
8created_byVARCHAR
9keyVARCHAR

Table: annotations

NoColumn NameTypeNotes
1deletedBOOLEAN
2date_markerVARCHAR
3updated_atVARCHAR
4creation_typeVARCHAR
5scopeVARCHAR
6created_atVARCHAR
7idINTEGERPrimary Key
8created_byVARCHAR
9contentVARCHAR
10dashboard_itemVARCHAR

Table: events

NoColumn NameTypeNotes
1distinct_idVARCHAR
2personVARCHAR
3elementsVARCHAR
4idVARCHARPrimary Key
5eventVARCHAR
6elements_chainVARCHAR
7propertiesVARCHAR
8timestampVARCHARIncremental sync key

Table: cohorts

NoColumn NameTypeNotes
1deletedBOOLEAN
2last_calculationVARCHAR
3is_staticBOOLEAN
4is_calculatingBOOLEAN
5nameVARCHAR
6countINTEGER
7groupsVARCHAR
8created_atVARCHAR
9idINTEGERPrimary Key
10created_byVARCHAR
11errors_calculatingINTEGER

External Resources

Zipstack Cloud features a powerful SQL querying engine on top of many types of connectors, including those from Trino, some custom connectors and connectors from the open source Airbyte project. Some Zipstack cloud connectors are designed to utilize and expand upon Airbyte's connector protocol, but they do not use Airbyte's EL core. Additionally, some parts of the documentation for these connectors have been adapted from the connector documentation found in Airbyte's open source project.