Skip to main content
POST
/
api
/
v1
/
admin
/
containers
/
{service}
/
restart
# Restart the Alfred worker
curl -X POST -H "Authorization: Bearer alf_your_key_here" \
  /api/v1/admin/containers/worker/restart

# Restart OpenClaw gateway
curl -X POST -H "Authorization: Bearer alf_your_key_here" \
  /api/v1/admin/containers/openclaw/restart
{
  "message": "Container \"worker\" restarted"
}
Restart a specific service on your Alfred instance. The service will be stopped and then started again.

Path Parameters

service
string
required
The service name to restart (e.g., “worker”, “openclaw”, “temporal”). Must contain only alphanumeric characters, hyphens, or underscores.
# Restart the Alfred worker
curl -X POST -H "Authorization: Bearer alf_your_key_here" \
  /api/v1/admin/containers/worker/restart

# Restart OpenClaw gateway
curl -X POST -H "Authorization: Bearer alf_your_key_here" \
  /api/v1/admin/containers/openclaw/restart
{
  "message": "Container \"worker\" restarted"
}
Restarting the worker service will interrupt any active agent operations. Restarting temporal may briefly disrupt workflow execution.