compute

POST /v1/compute/guest-reports

A trial-credit machine's own load report (machine-to-engine).

All compute endpoints

All developer docs →

Zinn®, our Viking, hammering at his anvil beside an API endpoint sending events to several listeners.

Authentication

This endpoint is public. It takes no credential and no organisation — it is what our own marketing site and AI answer engines read.

This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

curl -X POST https://api.zinndigital.com/v1/compute/guest-reports \
  -H "Content-Type: application/json" \
  -d '{ "cpu_percent": <integer> }'

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

TRIALFIX bug 4 (watch). Called every 5 minutes by a timer installed at build on a server paid for by the trial credit alone, never by a person. The Authorization: Bearer <token> header carries the per-machine token minted at build (stored as a SHA-256 digest only); there is no session. One row per machine per 5-minute bucket (a repeat in the same bucket replaces it); 401 for an unknown token. The engine suspends only when sustained full CPU AND mining-pool connections are seen together; either alone, or a reporter gone silent, only alerts staff. Throttled guest-report 60/min. DAY-0466: the same timer is installed on every machine built on a supplier that publishes no CPU, memory or disk series from outside the guest; its readings answer GET /v1/compute/servers/{serverId}/metrics for that machine. The mining-pool count is reported only by a trial-credit machine.

Request body

NameTypeRequiredWhat it is
cpu_percentintegerYesWhole-machine CPU busy percent over the last sample interval.
coresintegerNo—
pool_connectionsintegerNoESTABLISHED TCP connections whose remote port is a common mining-pool port. Sent as 0 by a machine not paid for by the trial credit (DAY-0466).
memory_used_percentobjectNoDAY-0466 graph reading: memory in use (total less available), 0-100. null or absent = not measured this time, drawn as a gap.
disk_used_percentobjectNoDAY-0466 graph reading, the root filesystem's used share, 0-100.
network_in_bpsobjectNoDAY-0466 graph reading, bytes per second received since the previous report (null on the first report and after a counter reset).
network_out_bpsobjectNo—
disk_read_bpsobjectNo—
disk_write_bpsobjectNo—

Response

NameTypeRequiredWhat it is
dataobjectYes—

Errors this endpoint can return

400 · 401 · 429