API Reference
Get Audit
Get full audit details including scorecard, findings, and optional fix prompts.
GET
/api/v1/audits/[slug]Get full audit details for a domain, including scorecard, detailed findings, opportunities, and optional fix prompts.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
slug | string | Required | Domain slug (e.g., "notion-com") |
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
engine | string | Optional | Filter by engine. Without this param the response is an array of all engines. With this param it returns a single object. |
include | string | Optional | Set to "fix_prompts" for actionable remediation advice |
Code Examples
Basic:
With fix prompts:
Try it
Response
Without the engine param, returns an array of all available engine audits. With ?engine=chatgpt, returns a single object.
200Audit data
When include=fix_prompts is set, two additional fields are appended to each audit object.
200With fix_prompts included
404Not found
Scorecard Fields
Each entry in the scorecard array contains the following fields:
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Required | Criterion ID (1-22) |
criterion | string | Required | Criterion name |
score | number | Required | Score 0-10 |
status | string | Required | "pass", "partial", or "fail" |
keyFindings | string | Required | Summary of findings |
Fix prompts are sorted by
potential_gain (descending). Focus on the top 3 for the biggest score improvement.