PostHog API — experiments
PostHog API — experiments. 44 operations. Lead operation: experiments. Self-contained Naftiko capability covering one Posthog business surface.
What You Can Do
MCP Tools
list-experiments-current-project-supports
List experiments for the current project. Supports filtering by status and archival state.
list-experiments-current-project-supports-2
List experiments for the current project. Supports filtering by status and archival state.
create-new-experiment-draft-status
Create a new experiment in draft status with optional metrics.
create-new-experiment-draft-status-2
Create a new experiment in draft status with optional metrics.
returns-paginated-list-feature-flags
Returns a paginated list of feature flags eligible for use in experiments.
returns-paginated-list-feature-flags-2
Returns a paginated list of feature flags eligible for use in experiments.
mixin-viewsets-handle-approvalrequired-exceptions
Mixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers.
mixin-viewsets-handle-approvalrequired-exceptions-2
Mixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers.
mixin-viewsets-handle-approvalrequired-exceptions-3
Mixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers.
mixin-viewsets-handle-approvalrequired-exceptions-4
Mixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers.
retrieve-single-experiment-id-including
Retrieve a single experiment by ID, including its current status, metrics, feature flag, and results metadata.
retrieve-single-experiment-id-including-2
Retrieve a single experiment by ID, including its current status, metrics, feature flag, and results metadata.
mixin-viewsets-handle-approvalrequired-exceptions-5
Mixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers.
mixin-viewsets-handle-approvalrequired-exceptions-6
Mixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers.
update-experiment-use-this-modify
Update an experiment. Use this to modify experiment properties such as name, description, metrics, variants, and configuration. Metrics can be added, changed and removed at any time.
update-experiment-use-this-modify-2
Update an experiment. Use this to modify experiment properties such as name, description, metrics, variants, and configuration. Metrics can be added, changed and removed at any time.
hard-delete-this-model-is
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
hard-delete-this-model-is-2
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
archive-ended-experiment
Archive an ended experiment.
archive-ended-experiment-2
Archive an ended experiment.
mixin-viewsets-handle-approvalrequired-exceptions-7
Mixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers.
mixin-viewsets-handle-approvalrequired-exceptions-8
Mixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers.
mixin-viewsets-handle-approvalrequired-exceptions-9
Mixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers.
mixin-viewsets-handle-approvalrequired-exceptions-10
Mixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers.
mixin-viewsets-handle-approvalrequired-exceptions-11
Mixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers.
mixin-viewsets-handle-approvalrequired-exceptions-12
Mixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers.
end-running-experiment-without-shipping
End a running experiment without shipping a variant.
end-running-experiment-without-shipping-2
End a running experiment without shipping a variant.
launch-draft-experiment
Launch a draft experiment.
launch-draft-experiment-2
Launch a draft experiment.
pause-running-experiment
Pause a running experiment.
pause-running-experiment-2
Pause a running experiment.
mixin-viewsets-handle-approvalrequired-exceptions-13
Mixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers.
mixin-viewsets-handle-approvalrequired-exceptions-14
Mixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers.
reset-experiment-back-draft-state
Reset an experiment back to draft state.
reset-experiment-back-draft-state-2
Reset an experiment back to draft state.
resume-paused-experiment
Resume a paused experiment.
resume-paused-experiment-2
Resume a paused experiment.
ship-variant-100-users-and
Ship a variant to 100% of users and (optionally) end the experiment.
ship-variant-100-users-and-2
Ship a variant to 100% of users and (optionally) end the experiment.
mixin-viewsets-handle-approvalrequired-exceptions-15
Mixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers.
mixin-viewsets-handle-approvalrequired-exceptions-16
Mixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers.
unarchive-archived-experiment
Unarchive an archived experiment.
unarchive-archived-experiment-2
Unarchive an archived experiment.