AgentConnect
Daemons

Get a daemon lifecycle op

Fetch a single restart/upgrade op by id (status expiry-projected): a console command, or an automatic upgrade the daemon started itself (trigger auto), which reads deferred when the daemon put it off because it stayed busy. The console polls this to track the command it issued.

GET
/v1/orgs/{orgId}/daemons/{id}/lifecycle/{opId}

授权

bearerAuth
授权Bearer <token>

位置: header

路径参数

orgId*string
id*string
opId*string

响应主体

application/json

application/json

application/json

curl -X GET "https://example.com/v1/orgs/string/daemons/string/lifecycle/string"
{  "id": "string",  "op": "restart",  "trigger": "manual",  "status": "pending",  "phase": "preparing",  "targetVersion": "string",  "outcome": "string"}