Utilities

Health & Resources

Two small endpoints that don't fit any other section: a composite health probe across the AIronClaw control plane and a flat list of every mcp_resource rule across all your MCP servers.

Health probe#

GET/api/health

Pings Postgres, Redis and the the gateway management API in parallel with a 500 ms timeout each, and reports the per-service result plus an overall verdict. Authentication is required so we never expose internal infrastructure details to the public.

curl https://app.aironclaw.com/api/health \
  -H "Authorization: Bearer $AIFW_PAT"

All MCP resources#

GET/api/resources

Returns every mcp_resourcerule across all of the caller's MCP servers, with the parent MCP's id and name attached for joining. Use this when you need a flat catalog — for example, to render a search UI over your serve-from-firewall content.

curl https://app.aironclaw.com/api/resources \
  -H "Authorization: Bearer $AIFW_PAT"