Skip to main content

POST /api/agent/:zid/plans/draft

── POST /plans/draft Upserts the draft for (agent, slug). Single draft per pair; subsequent writes overwrite. Lock promotes the draft to a new locked version.

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

Request

curl -X POST https://zeqsdk.com/api/agent/ZEQ7XXXXXXXXXXXXXXXXXXXXXX/plans/draft \
-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.