Send a control command
Authorization: Bearer <api_key or JWT>. Enqueues a command for the assigned agent.
string
required
One of
run, stop, resume, delete.{"status": "queued"}.
Poll pending commands
X-Agent-Secret. Returns { "commands": [{ "id": "cmd_...", "action": "stop", "job_id": "..." }] }.
Acknowledge a command
X-Agent-Secret.
string
Free-form result summary.
boolean
true if the agent could not execute the command.{"ok": true}.
Apply an intervention
X-Agent-Secret. Reports that an intervention has been applied on the training worker.
string
RFC 3339 timestamp of application.
List interventions for a job
X-Agent-Secret. Returns interventions the agent must apply for the job.
Fetch the job payload
X-Agent-Secret. Returns the full job payload for an assigned job, used by agents that reconnect after a restart.