experiments

Mixin for ViewSets to handle approval-gate exceptions raised from decorated serializers.

Intercepts ApprovalRequired (409) and PolicyConflict (400) raised by the @approval_gate decorator on serializer methods and converts them into the same responses the viewset path produces (see decorators._result_to_response), so both paths share one contract.

get/api/projects/{project_id}/experiments/{id}/timeseries_results/

Request

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

Path parameters

idinteger required

A unique integer value identifying this experiment.

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

fingerprintstring required

Fingerprint of the metric configuration. Available alongside metric_uuid on each metric in the experiment's metrics array.

metric_uuidstring required

UUID of the metric to fetch timeseries for. Available on each metric in the experiment's metrics array.

Response

No response body

Changes

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