AB-164

Error catalog endpoint

🤖 Machine-Readable Pillar: Discovery Moderate effort Severity: low Est. cost: $0 Gap: documentation Fix: deterministic

What it means

Your site serves a JSON error catalog at /api/meta/errors or /errors.json with error codes and descriptions.

Why it matters

AI agents can programmatically look up error codes and meanings, enabling intelligent retry and error-handling decisions.

What's wrong

GET /api/meta/errors → 404

What's right

[{"code":"RATE_LIMITED","description":"Too many requests"},{"code":"INVALID_INPUT","description":"Validation failed"}]

Check this rule on your site

Enter your URL to check just this one rule (AB-001).

Related rules in Machine-Readable

Machine-Readable

This rule is also available as JSON: /rules/AB-164.json

Explore More

  • All Rules

    Browse the complete rules catalog

  • Agent Guide

    Learn how to fix this rule

  • Blog

    Related articles on agent readiness