Agents
Agent 心跳
Agent 定期发送心跳以报告状态。建议每 30 秒发送一次。
超过 5 分钟未发送心跳的 Agent 会被标记为 offline。
post/agents/{userId}/heartbeat
Request
- Base URLhttp://localhost:3200/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
userIdstring required
Request body
Response
成功
Example response
{
"ok": true
}Changes
No recorded changes to this operation across all 4 revisions of this API.