Skip to content

API docs

Published

The machine-readable description is at /openapi.json.

Endpoints

  • POST /api/audit: Body {"url": "https://example.com"}. Returns 202 with {id, status, ownerToken}. Limited per IP and per target site. Callers without the website's bot check are held to a stricter limit.
  • GET /api/audit/{id}: The audit object. While running it has status "running" and a progress step.
  • GET /api/audit/{id}/events: Server-sent events: {step, status, message}. Closes when the audit completes or fails.
  • POST /api/audit/{id}/recheck: Body {"checkIds": ["llms_txt"]}. Re-runs only those checks and returns a new revision. Send the owner token in the x-owner-token header (the website also accepts the signed-in session of the user who started the audit).
  • GET /api/audit/{id}/export?format=json|md|pdf: Download the report. pdf opens the print view.
  • GET /api/audit/{id}/prompt?priority=all|P0: The fix prompt as plain text.
  • DELETE /api/audit/{id}: Delete the audit. Send the owner token in the x-owner-token header (or use the signed-in session of the user who started it).

Example

curl -X POST https://agent-ready.baudypositive.com/api/audit \
  -H 'content-type: application/json' \
  -d '{"url":"https://example.com"}'

Errors

Errors are JSON with an error code and a message: invalid_url, blocked_address, blocked_port, rate_limited, busy, captcha_failed, not_found.

The website protects its form with a bot check. Scripts and agents can call the API without one, but are held to a stricter limit (2 audits a minute per IP) and are asked to retry when the service is busy.