Start Seo Audit
POST /seo/audits
SPENDS CREDITS. Start a site audit of up to max_pages pages.
Credits are RESERVED up front, sized by max_pages, and charged as the
crawl completes - credits_charged on the audit says what was. 402 when
the balance cannot cover the reservation, 409 when an audit of this domain
is already running, 503 when the credit service cannot take the hold.
The audit runs in the background; poll GET /seo/audits/{audit_id} and
read state, which explains where it is in plain language and whether it
can be run again.
Authorizations
Parameters
Header Parameters
Request Body required
Mirrors StartAuditRequest. max_pages is the crawl ceiling and the
thing the credit reservation is sized from.
object
Responses
200
Successful Response
object
Mirrors AuditDTO.
object
Mirrors AuditStateDTO - the plain-language, recovery-oriented view of
where an audit is, so a caller can explain the state rather than parse
raw provider text.
object
Whether to offer a manual ‘Run a new audit’ action
Lifecycle state category driving the plain-language status + recovery UX
Plain-language explanation of what happened
One-line human status
No further automatic progress will happen
Short status chip label
Plain-language, safe next step (may be empty)
object
422
Validation Error