🚫
AB-149

Error response schemas

🚫 Error Semantics Pillar: Executability Moderate effort Est. cost: $0

What it means

4xx and 5xx error responses are declared with schemas.

Why it matters

Agents need to know what errors look like to handle them gracefully instead of crashing.

What's wrong

responses: { '200': { ... } } // no 4xx/5xx

What's right

responses: { '400': { description: 'Invalid request', content: { 'application/json': { schema: { $ref: '#/components/schemas/Error' } } } } }

Check this rule on your site

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