Skip to main content

POST /api/zeq/agent/spawn

against the user's daily quota BEFORE spawn.

Reject 402 if over. • IDEMPOTENCY: optional Idempotency-Key header — same key + same canonical body within 1h returns the same agent_id. Critical for retries a

MethodPOST
Path/api/zeq/agent/spawn
Feature areaZeq core & solvers
TagZeq Core
Authpublic (no key)
Tiercomputation (public)

Parameters

This operation publishes no path, query or header parameters.

Request body

Optional. Content type: application/json.

The node publishes this body as a free-form JSON object — no field schema is exposed in openapi.json. Send the fields the summary above describes; the endpoint validates them and refuses rather than guessing.

Responses

StatusMeaning
200OK
201Created
400Bad request — a parameter or body field is missing or malformed
401Missing or invalid credentials
402Insufficient compute credit

400 body

FieldTypeRequiredDescription
okboolean — one of falseyes
errorstringnoHuman-readable message.
codestringnoStable machine-readable code, e.g. ADMIN_REQUIRED, INVALID_ZID, ZID_NOT_LINKED.

401 body

FieldTypeRequiredDescription
okboolean — one of falseyes
errorstringnoHuman-readable message.
codestringnoStable machine-readable code, e.g. ADMIN_REQUIRED, INVALID_ZID, ZID_NOT_LINKED.

402 body

FieldTypeRequiredDescription
okboolean — one of falseyes
errorstringnoHuman-readable message.
codestringnoStable machine-readable code, e.g. ADMIN_REQUIRED, INVALID_ZID, ZID_NOT_LINKED.

Call it

curl -sS -X POST https://zeq.me/api/zeq/agent/spawn \
-H "Content-Type: application/json" \
-d '{}'

Generated from the live OpenAPI description (https://zeq.me/openapi.json, spec version 1.287.0) by scripts/generate-reference.mjs. Do not edit — this file is rewritten on every run.