Multi-Agent Planning

Update a pending plan

Update a plan that has not yet been executed. Uses optimistic locking via the version field — the request must include the expected current version. If the version doesn't match, returns 409.

Only plans with status pending can be updated.

put/api/v1/plan/{id}

Request

Path parameters

idstring required

Plan ID to update

Request body

versioninteger required

Expected current version (for optimistic locking)

execution_mode'auto' | 'parallel' | 'sequential' | 'balanced' | 'confirm' | 'step'

New execution mode

domainstring

New domain

metadataobject

Additional metadata to set

Example request

{
  "version": 1
}

Response

Plan updated successfully

successboolean
plan_idstring
versioninteger

New version number after update

statusstring

Changes

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