Skip to main content

POST /api/zeq/react

Reaction-diffusion chemical kinetics — coupled species diffuse and react on a grid; steady state / pattern checked.

MethodPOST
Path/api/zeq/react
Feature areaZeq core & solvers
TagSolvers
Authmachine key — Authorization: Bearer $ZEQ_KEY
Tierauthenticated (machine-control)

Solver

SummaryReaction-diffusion chemical kinetics — coupled species diffuse and react on a grid; steady state / pattern checked.
DomainReaction-Diffusion
Numerical MethodReaction-diffusion integrator
Operator ChainKO42, ICO9
Unitc

See all sealed solvers.

Parameters

This operation publishes no path, query or header parameters.

Request body

Required. Content type: application/json.

FieldTypeRequiredDescription
operatorsarray<string>noOperator IDs to run. KO42 sets the metric frame, e.g. ["KO42","GR37","NM19"].
inputsobject<string, number>noNamed numeric inputs the operators consume (mass, r, v, ...).
constsobject<string, number>noOptional constant overrides (t, alpha, f_H, ...).
domainstringnoOptional domain hint (used by /compute and /auto).
querystringnoNatural-language problem statement (used by /auto).

Responses

StatusMeaning
200Sealed result envelope — value, unit, operatorChain, masterEquation, HMAC zeqProof.
401Missing or invalid credentials
402Insufficient compute credit

401 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/react \
-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.