Guardail
Guardail is an AI Output Warranty API that validates and optionally repairs AI-generated JSON outputs. ## What It Does - **Schema Validation** — Ensure JSON has required fields with correct types - **Arithmetic Checks** — Catch math errors (subtotal + tax ≠ total) - **Consistency Checks** — Flag values not found in original input (hallucination detection) - **Bounded Repair** — Optionally fix…
Guardail endpoints
| Method | Endpoint | Description |
|---|---|---|
| Validation | ||
| POST |
guardOutput /v1/guard |
Validates AI-generated output against objective rules: - **structure**: JSON validity, schema match, type checking - **arithmetic**: Mathematical consistency (subtotal + vat =… |
| System | ||
| GET |
healthCheck /health |
|
| Other endpoints | ||
| POST |
Validate Output /v1/guard |
Validate AI-generated JSON against schema, arithmetic, and consistency rules. Optionally repair invalid outputs. |
| GET |
Health Check /health |
Check if the Guardail API is operational. Returns ok:true if healthy. |
Guardail pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | 10 / minute |
|
| PRO | $9 / month | 60 / minute |
|
| ULTRA | $29 / month | 120 / minute |
|
| MEGA | $79 / month | 300 / minute |
|