POST /api/zeq/compute
Operator compute — the billing spine.
Runs the 7-step Zeqond protocol (SELECT · BIND · VALIDATE · COMPUTE · VERIFY · PULSE · RETURN) over KO42 + up to 3 operators and seals a signed receipt.
| Method | POST |
| Path | /api/zeq/compute |
| Feature area | Zeq core & solvers |
| Tag | Solvers |
| Auth | machine key — Authorization: Bearer $ZEQ_KEY |
| Tier | authenticated (machine-control) |
Solver
| Summary | Operator compute — the billing spine. Runs the 7-step Zeqond protocol (SELECT · BIND · VALIDATE · COMPUTE · VERIFY · PULSE · RETURN) over KO42 + up to 3 operators and seals a signed receipt. |
| Domain | wizard-selected |
| Numerical Method | 7-step wizard protocol |
| Operator Chain | KO42 + up to 3 operators |
| Unit | per-operator |
See all sealed solvers.
Parameters
This operation publishes no path, query or header parameters.
Request body
Required. Content type: application/json.
| Field | Type | Required | Description |
|---|---|---|---|
operators | array<string> | no | Operator IDs to run. KO42 sets the metric frame, e.g. ["KO42","GR37","NM19"]. |
inputs | object<string, number> | no | Named numeric inputs the operators consume (mass, r, v, ...). |
consts | object<string, number> | no | Optional constant overrides (t, alpha, f_H, ...). |
domain | string | no | Optional domain hint (used by /compute and /auto). |
query | string | no | Natural-language problem statement (used by /auto). |
Responses
| Status | Meaning |
|---|---|
200 | Sealed wizard result with ZeqProof |
401 | Missing/invalid key |
402 | Insufficient compute credit |
No response body schema is published for this operation — the node returns JSON; inspect a live call to see its shape.
Call it
curl -sS -X POST https://zeq.me/api/zeq/compute \
-H "Authorization: Bearer $ZEQ_KEY" \
-H "Content-Type: application/json" \
-d '{
"operators": [
"KO42"
],
"inputs": {
"mass": 70,
"r": 1
},
"consts": {
"t": 1
},
"domain": "Acoustics",
"query": "speed of sound in air at 20 C"
}'
Needs a machine key. Mint one:
curl -sS -X POST https://zeq.me/api/demo-key/mint, then spin up your machine.
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.