API reference
Audits
SEO audits of connected websites and crawled sites, their issues, and recurring schedules. Issue status is shared between the dashboard, the API and WordPress.
List audits for a project
GET/projects/{projectId}/auditsEvery audit of the project, whichever way it was started: dashboard, API, WordPress or a schedule.
Path parameters
projectIdstringrequired
Query parameters
limitintegeroptionalItems per page, 1–100.
1–100 · default 25
cursorstringoptionalPass
nextCursorfrom the previous page to get the next one.at most 200 characters
siteIdstringoptionalkindstringoptional
curl https://semanticson.com/api/v1/projects/PROJECT_ID/audits \
-H "Authorization: Bearer $SEMANTICSON_API_KEY"Response · 200 OK
A list object: { "object": "list", "data": [ … ], "hasMore": false, "nextCursor": null }. See pagination.
Errors use the standard error object.
Start an audit
POST/projects/{projectId}/auditssite audits check the pages a connected website synced (including drafts) and finish immediately. crawl audits run the Technical SEO Auditor on the live site as a tool run (returns 202 with the execution; the audit appears when it succeeds).
Accepts an Idempotency-Key header for safe retries.
Path parameters
projectIdstringrequired
Request body
kindstringrequiredOne of:
site,crawlsiteIdstringoptionalRequired for
siteaudits unless the project has exactly one connected sitemaxPagesstringoptionalCrawl audits only
One of:
25,50,100,150default "50"
curl -X POST https://semanticson.com/api/v1/projects/PROJECT_ID/audits \
-H "Authorization: Bearer $SEMANTICSON_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"kind": "site",
"siteId": "cm1site…"
}'Response · 200 OK
A JSON object. Objects carry an object type and an id; timestamps are ISO 8601 strings.
Errors use the standard error object.
Get an audit
GET/audits/{auditId}Audit summary with counts by severity and status, and what changed since the previous audit of the same target.
Path parameters
auditIdstringrequired
curl https://semanticson.com/api/v1/audits/AUDIT_ID \
-H "Authorization: Bearer $SEMANTICSON_API_KEY"Response · 200 OK
A JSON object. Objects carry an object type and an id; timestamps are ISO 8601 strings.
Errors use the standard error object.
What changed since the previous audit
GET/audits/{auditId}/changesCompares this audit with the previous audit of the same kind and target in the project: newIssues appeared since then, resolved were present before and are gone now (an issue is identified by URL and check). previous is null for the first audit.
Path parameters
auditIdstringrequired
curl https://semanticson.com/api/v1/audits/AUDIT_ID/changes \
-H "Authorization: Bearer $SEMANTICSON_API_KEY"Response · 200 OK
A JSON object. Objects carry an object type and an id; timestamps are ISO 8601 strings.
Errors use the standard error object.
List issues in an audit
GET/audits/{auditId}/issuesPath parameters
auditIdstringrequired
Query parameters
limitintegeroptionalItems per page, 1–100.
1–100 · default 25
cursorstringoptionalPass
nextCursorfrom the previous page to get the next one.at most 200 characters
severitystringoptionalOne of:
critical,warning,noticestatusstringoptionalOne of:
open,fixed,ignoredcheckstringoptionalexternalIdstringoptionalIssues for one page of a connected site
urlstringoptional
curl https://semanticson.com/api/v1/audits/AUDIT_ID/issues \
-H "Authorization: Bearer $SEMANTICSON_API_KEY"Response · 200 OK
A list object: { "object": "list", "data": [ … ], "hasMore": false, "nextCursor": null }. See pagination.
Errors use the standard error object.
Mark an issue fixed, ignored or open
PATCH/audits/{auditId}/issues/{issueId}Issue status is shared everywhere: a status set here shows in the dashboard and in WordPress, and ignored issues stay ignored in later site audits.
Accepts an Idempotency-Key header for safe retries.
Path parameters
auditIdstringrequiredissueIdstringrequired
Request body
statusstringrequiredOne of:
open,fixed,ignored
curl -X PATCH https://semanticson.com/api/v1/audits/AUDIT_ID/issues/ISSUE_ID \
-H "Authorization: Bearer $SEMANTICSON_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"status": "ignored"
}'Response · 200 OK
A JSON object. Objects carry an object type and an id; timestamps are ISO 8601 strings.
Errors use the standard error object.
List audit schedules
GET/projects/{projectId}/audit-schedulesPath parameters
projectIdstringrequired
curl https://semanticson.com/api/v1/projects/PROJECT_ID/audit-schedules \
-H "Authorization: Bearer $SEMANTICSON_API_KEY"Response · 200 OK
A JSON object. Objects carry an object type and an id; timestamps are ISO 8601 strings.
Errors use the standard error object.
Schedule recurring audits
POST/projects/{projectId}/audit-schedulesRuns an audit daily, weekly or monthly. Each run is compared with the previous one, and you are notified of new and resolved issues (also sent as the audit.completed webhook).
Accepts an Idempotency-Key header for safe retries.
Path parameters
projectIdstringrequired
Request body
kindstringrequiredOne of:
site,crawlcadencestringrequiredOne of:
daily,weekly,monthlysiteIdstringoptional
curl -X POST https://semanticson.com/api/v1/projects/PROJECT_ID/audit-schedules \
-H "Authorization: Bearer $SEMANTICSON_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"kind": "site",
"cadence": "weekly",
"siteId": "cm1site…"
}'Response · 201 Created
A JSON object. Objects carry an object type and an id; timestamps are ISO 8601 strings.
Errors use the standard error object.
Update an audit schedule
PATCH/audit-schedules/{scheduleId}Accepts an Idempotency-Key header for safe retries.
Path parameters
scheduleIdstringrequired
Request body
cadencestringoptionalOne of:
daily,weekly,monthlyenabledbooleanoptional
curl -X PATCH https://semanticson.com/api/v1/audit-schedules/SCHEDULE_ID \
-H "Authorization: Bearer $SEMANTICSON_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"cadence": "monthly",
"enabled": true
}'Response · 200 OK
A JSON object. Objects carry an object type and an id; timestamps are ISO 8601 strings.
Errors use the standard error object.
Delete an audit schedule
DELETE/audit-schedules/{scheduleId}Accepts an Idempotency-Key header for safe retries.
Path parameters
scheduleIdstringrequired
curl -X DELETE https://semanticson.com/api/v1/audit-schedules/SCHEDULE_ID \
-H "Authorization: Bearer $SEMANTICSON_API_KEY"Response · 204 No Content
Success returns an empty body (204) or a small confirmation object.
Errors use the standard error object.