AgentConnect
Daemons

Restart a daemon

Command a daemon to drain and exit so its supervisor relaunches it (same version). The 202 returns the opened lifecycle op (with its id) and only means the daemon accepted the command; success is confirmed when it re-registers — track the op by id via the fleet read model’s lifecycleOp.

POST
/v1/orgs/{orgId}/daemons/{id}/restart

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

orgId*string
id*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

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