POST /api/zeq/apis/{slug}/{id}/test
- POST /api/zeq/apis/:slug/:id/test Server-side test forward.
Body: { path?, method?, params?, body? } Returns { status, headers, body } — body is text-truncated to 16 KB.
| Method | POST |
| Path | /api/zeq/apis/{slug}/{id}/test |
| Feature area | Zeq core & solvers |
| Tag | Zeq Core |
| Auth | public (no key) |
| Tier | computation (public) |
Parameters
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
slug | string | yes | — |
id | string | yes | — |
No query or header parameters are published for this operation.
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
| Status | Meaning |
|---|---|
200 | OK |
400 | Bad request — a parameter or body field is missing or malformed |
404 | Not found |
409 | Conflict — the resource is not in a state that allows this |
500 | Server error |
502 | Upstream error |
400 body
| Field | Type | Required | Description |
|---|---|---|---|
ok | boolean — one of false | yes | — |
error | string | no | Human-readable message. |
code | string | no | Stable machine-readable code, e.g. ADMIN_REQUIRED, INVALID_ZID, ZID_NOT_LINKED. |
404 body
| Field | Type | Required | Description |
|---|---|---|---|
ok | boolean — one of false | yes | — |
error | string | no | Human-readable message. |
code | string | no | Stable machine-readable code, e.g. ADMIN_REQUIRED, INVALID_ZID, ZID_NOT_LINKED. |
409 body
| Field | Type | Required | Description |
|---|---|---|---|
ok | boolean — one of false | yes | — |
error | string | no | Human-readable message. |
code | string | no | Stable machine-readable code, e.g. ADMIN_REQUIRED, INVALID_ZID, ZID_NOT_LINKED. |
500 body
| Field | Type | Required | Description |
|---|---|---|---|
ok | boolean — one of false | yes | — |
error | string | no | Human-readable message. |
code | string | no | Stable machine-readable code, e.g. ADMIN_REQUIRED, INVALID_ZID, ZID_NOT_LINKED. |
502 body
| Field | Type | Required | Description |
|---|---|---|---|
ok | boolean — one of false | yes | — |
error | string | no | Human-readable message. |
code | string | no | Stable machine-readable code, e.g. ADMIN_REQUIRED, INVALID_ZID, ZID_NOT_LINKED. |
Call it
curl -sS -X POST https://zeq.me/api/zeq/apis/your-machine/01J8ZQ2H9VMR4K/test \
-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.