Apply Plan

Apply the accepted subset of a persisted plan and record outcomes.

The plan body itself is loaded from plan.payload — the FE no longer ships it in the request. The endpoint is single-shot per plan: a non-ACTIVE plan returns 409, so the caller can't double-apply even if the FE's button-disable logic misfires.

post/plans/{plan_id}/apply

Path parameters

plan_idinteger required

Headers

Authorizationstring nullable
X-User-Idstring nullable
X-Posthog-Session-Idstring

Cookies

session_idstring nullable

Request body

acceptedstring[]
skippedstring[]

Response

Successful Response

status'active' | 'applied' | 'partially_applied' | 'superseded' | 'canceled' required

Changes

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