Multi-Agent Planning

Rollback plan to a previous version (Enterprise only)

Rollback a plan to a previously saved version. This creates a new version that restores the plan state from the specified historical version.

Uses the plan's version history to retrieve the target version and applies it as the current state. Returns 409 if a concurrent modification occurred.

Requires: Enterprise license.

post/api/v1/plan/{id}/rollback/{version}

Request

Path parameters

idstring required

Plan ID to rollback

versioninteger required

Target version number to rollback to

Request body

object required

Response

Plan rolled back successfully

plan_idstring required

Plan identifier

versioninteger required

New version number after rollback

previous_versioninteger required

The version that was restored

status'pending' | 'executing' required

Plan status after rollback

Example response

{
  "plan_id": "plan_1705312200_abc123",
  "version": 4,
  "previous_version": 2,
  "status": "pending"
}

Changes

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