Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
节点智能体长轮询这个接口,获取 PIN 控制平面分配给它的下一个待处理训练任务。
204 No Content
/v1/agent/*
Authorization: Bearer <jwt-or-api-key>
X-Agent-Secret: <AGENT_REGISTER_SECRET>
POST /v1/agent/acquire
Authorization: Bearer <jwt-or-api-key> X-Agent-Secret: <AGENT_REGISTER_SECRET>
data
curl -X POST http://localhost:8001/v1/agent/acquire \ -H "Authorization: Bearer $ARIA_PIN_KEY" \ -H "X-Agent-Secret: $AGENT_REGISTER_SECRET" \ -H "Content-Type: application/json" \ -d '{"agent_id": "ag_01", "gpu_index": 0, "max_jobs": 1}'
{ "code": 0, "data": { "id": "jb_abc123", "type": "sft", "status": "running" }, "message": "" }
Was this page helpful?