发送控制命令
Authorization: Bearer <api_key or JWT>。为被分配的智能体入队一条命令。
string
required
取值之一:
run、stop、resume、delete。{"status": "queued"}。
轮询待处理命令
X-Agent-Secret。返回 { "commands": [{ "id": "cmd_...", "action": "stop", "job_id": "..." }] }。
确认命令
X-Agent-Secret。
string
自由格式的结果摘要。
boolean
若智能体无法执行该命令则为
true。{"ok": true}。
应用干预
X-Agent-Secret。上报某条干预已在训练 worker 上被应用。
string
应用的 RFC 3339 时间戳。
列出某任务的干预
X-Agent-Secret。返回智能体必须为该任务应用的干预。
获取任务负载
X-Agent-Secret。返回已分配任务的完整任务负载,供重启后重新连接的智能体使用。