experiments

Resolve which experiments (and variants) a session recording saw. Variants come from the session's $feature_flag_called events and stamped $feature/<key> event properties — flag evaluation, which may differ from an experiment's exposure criteria.

get/api/projects/{project_id}/experiments/session_context/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/experiments/session_context/
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Query parameters

session_idstring required

ID of the session recording to resolve experiment context for.

Response

session_idstring required

ID of the session recording the context was resolved for.

Changes

No recorded changes to this operation across all 1 revision of this API.