provider experiments GET /api/projects/{project_id}/experiments/{id}/timeseries_results/
@utdk/posthog /api/projects/{project_id}/experiments/{id}/timeseries_results/
experiments_timeseries_results_retrieve
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.
fingerprint query required
Fingerprint of the metric configuration. Available alongside metric_uuid on each metric in the experiment's metrics array.
string
id path required
A unique integer value identifying this experiment.
integer
metric_uuid query required
UUID of the metric to fetch timeseries for. Available on each metric in the experiment's metrics array.
string
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string

Try it

Authentication
Configure credentials for PostHog API
experimentsTimeseriesResultsRetrieve
GET/api/projects/{project_id}/experiments/{id}/timeseries_results/
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.

Parameters

required

A unique integer value identifying this experiment.

required

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

required

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

required

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

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.experimentsTimeseriesResultsRetrieve()