Skip to main content

POST /api/agent/:zid/plans/lock

Promotes the current draft (or the body shape) to a new locked version. Bumps version = max(prior locked) + 1, marks prior locked rows superseded, patches agent_protocol_state.current_plan_id. Emits a plan_locked audit r

MethodPOST
Path/api/agent/:zid/plans/lock
Authuser
GroupAgents · Agent Plans

Request

curl -X POST https://zeqsdk.com/api/agent/ZEQ7XXXXXXXXXXXXXXXXXXXXXX/plans/lock \
-H "Authorization: Bearer $ZEQ_KEY" \
-H "Content-Type: application/json" \
-d '{ }' # request body — see description

Needs a machine key — mint one free: curl -X POST https://zeqsdk.com/api/demo-key/mint, then spin up your machine.

Generated from the node's own route registry (GET /api/endpoints) — this path is live.