API Reference
Re-audit
Queue a fresh audit for a previously audited domain to measure score changes after improvements.
/api/v1/audits/[slug]/reauditQueue a fresh audit for a previously audited domain. Use after making improvements to measure score changes.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
slug | string | Required | Domain slug of a previously audited site |
Example
Response
On success, the API queues a new audit and returns the previous score for reference. Use GET /audits/[slug]/status to poll until the re-audit reaches completed.
Already Running
If an audit is already in progress for this domain, the API returns the current status instead of queuing a duplicate.
Errors
The domain must have an existing published audit. Attempting to re-audit an unknown slug returns a 404.
Version Tracking
When a re-audit completes with a different score, a new version is automatically created. Use the Get Audit endpoint to see all versions and track score progression over time.