Admin Experiments

Complete the experiment with a declared winner

Sets status=completed, records winnerVariantId/completedAt, points defaultVariantId at the winner (what non-running reads serve) and clears any forced variant.

post/v1/admin/experiments/{key}/complete

Path parameters

keystring required

Experiment key

Request body

winnerVariantIdstring required

Variant declared as the experiment winner

Response

idstring required
keystring required
namestring required
descriptionstring nullable
status'draft' | 'running' | 'paused' | 'completed' required
enrollmentMode'auto' | 'manual' required
defaultVariantIdstring nullable
forcedVariantIdstring nullable
winnerVariantIdstring nullable
completedAtstring date-time nullable
seedstring required
subjectType'firebase_uid' required
createdAtstring date-time required
updatedAtstring date-time required

Changes

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