Skip to main content
Node agents push training telemetry and status transitions to the PIN control plane. Two endpoints cover this: /v1/agent/metrics for per-step numeric metrics and /v1/agent/status for job status transitions.
Both endpoints require X-Agent-Secret. They are meant for the node agent, not for end users.

Push metrics

Request body

string
required
Sending agent identifier.
string
required
Job the metrics belong to.
integer
required
Training step index.
number
Training loss.
number
Reward (RL jobs).
number
Tokens per second.
number
GPU utilization percent.

Push status

Request body

string
required
Sending agent identifier.
string
required
Job identifier.
string
required
New status: running, paused, completed, failed.
string
Error message when status = failed.

Response

Both endpoints return {"code": 0, "data": {"ok": true}, "message": ""} on success.

Example