Skip to main content
POST
/
api
/
v1
/
openclaw
/
doctor
curl -X POST https://alfred.black/api/v1/openclaw/doctor \
  -H "Authorization: Bearer alf_your_key_here"
{
  "...": "Structure depends on gateway doctor output"
}
Run a comprehensive diagnostic check on your instance’s agent gateway. This performs health checks across all gateway components and attempts to auto-fix common issues it finds. The response is returned as structured JSON when available, or as raw text in a raw field.
curl -X POST https://alfred.black/api/v1/openclaw/doctor \
  -H "Authorization: Bearer alf_your_key_here"
{
  "...": "Structure depends on gateway doctor output"
}
The response format depends on the gateway’s output. If the gateway returns valid JSON, it is passed through as-is. Otherwise, the raw text is returned in a raw field.