API reference
Tools
Run any of the SemanticsOn tools and fetch the result. Runs are asynchronous: start one, then poll the execution or listen for the tool.completed webhook.
List tools
GET/toolsAll enabled tools with their input fields (the same fields the dashboard form uses) and whether your plan includes them.
Query parameters
categorystringoptionalFilter by category: topical-map, keywords, content-intelligence, content-studio, entity-seo, eeat, technical, internal-linking, competitors, advanced
curl https://semanticson.com/api/v1/tools \
-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.
Get a tool
GET/tools/{slug}One tool with its input fields (name, type, label, options, required, defaults) — build a form or a request body for POST /tools/{slug}/run from them.
Path parameters
slugstringrequired1–100 characters
curl https://semanticson.com/api/v1/tools/SLUG \
-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.
Run a tool
POST/tools/{slug}/runQueues a tool run and returns immediately with status queued. Poll GET /executions/{executionId} (or subscribe to the tool.completed webhook) for the result. Plan access, run limits and AI allowance apply exactly as in the dashboard. With a site key the run belongs to the site's project.
Accepts an Idempotency-Key header for safe retries.
Path parameters
slugstringrequired1–100 characters
Request body
inputobjectoptionalField values keyed by field name (see
fieldsin GET /tools)default {}
projectIdstring or nulloptionalSave results to this project
at most 64 characters
Response fields Show 13 fields
object"execution"idstringtoolstringtoolNamestringprojectIdstring or nullstatusstringOne of:
queued,running,succeeded,failed,cancelledprogressstring or nullerrorobject or nullerror.codestringerror.messagestringresultanyTool result (summary, blocks, data, sources) once succeeded
usageobjectusage.inputTokensnumberusage.outputTokensnumberusage.usedOwnKeybooleancreatedAtstringstartedAtstring or nullfinishedAtstring or null
curl -X POST https://semanticson.com/api/v1/tools/SLUG/run \
-H "Authorization: Bearer $SEMANTICSON_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"niche": "specialty coffee equipment",
"depth": "standard"
},
"projectId": "cm1abc…"
}'Response · 202 Accepted
A JSON object with the fields listed under Response fields.
Errors use the standard error object.
Get a tool run
GET/executions/{executionId}Status and, once succeeded, the full result of a tool run.
Path parameters
executionIdstringrequired1–64 characters
Response fields Show 13 fields
object"execution"idstringtoolstringtoolNamestringprojectIdstring or nullstatusstringOne of:
queued,running,succeeded,failed,cancelledprogressstring or nullerrorobject or nullerror.codestringerror.messagestringresultanyTool result (summary, blocks, data, sources) once succeeded
usageobjectusage.inputTokensnumberusage.outputTokensnumberusage.usedOwnKeybooleancreatedAtstringstartedAtstring or nullfinishedAtstring or null
curl https://semanticson.com/api/v1/executions/EXECUTION_ID \
-H "Authorization: Bearer $SEMANTICSON_API_KEY"Response · 200 OK
A JSON object with the fields listed under Response fields.
Errors use the standard error object.
List tool runs
GET/executionsYour tool runs, newest first, without result (fetch GET /executions/{executionId} for it). With a site key, only runs in the site's project.
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
toolstringoptionalTool slug
at most 100 characters
projectIdstringoptionalat most 64 characters
statusstringoptionalOne of:
queued,running,succeeded,failed,cancelled
curl https://semanticson.com/api/v1/executions \
-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.
Download a tool result
GET/executions/{executionId}/exportReturns the file itself (content-disposition: attachment), not JSON. Only succeeded runs can be exported. Formats not included in your plan return 402 export_not_in_plan; brandId (a white-label brand profile) requires a plan with white-label reports.
Path parameters
executionIdstringrequiredThe execution id
1–64 characters
Query parameters
formatstringrequiredFile format: csv, json, md, html, xlsx, pdf, docx. Available formats depend on your plan (
plan.features.exportsin GET /me).One of:
csv,json,md,html,xlsx,pdf,docxbrandIdstringoptionalat most 64 characters
curl https://semanticson.com/api/v1/executions/EXECUTION_ID/export \
-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.