API Reference
Audit Discovery
Fetch the deterministic Discovery payload for an audit job. Available as soon as the discovering stage finishes — well before the rest of the pipeline completes.
/api/v1/audits/[slug]/discoveryReturns the full deterministic discovery payload (identity, offering, audience signals, site structure). The payload is populated the moment the discovering stage ends, so clients can render Discovery findings while auditing/seeding/visibility still run in the background.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
slug | string | Required | Domain slug (e.g., "notion-com") |
Example
Try it
Response
Once the discovering stage finishes, discovery contains the full deterministic payload. The rest of the pipeline may still be running — check status/current_stage for progress.
While the job is still in pending or early discovering, discovery is null. Poll again once current_stage advances past the discovery step.