API reference
Projects
Projects hold everything else: keywords, maps, briefs, audits and connected websites.
List projects
GET/projectsProjects in every workspace you are a member of. A site key only sees its own 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
statusstringoptionalOne of:
active,archived,alldefault "active"
curl https://semanticson.com/api/v1/projects \
-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.
Get a project
GET/projects/{projectId}Path parameters
projectIdstringrequired
Response fields Show 15 fields
object"project"idstringnamestringdomainstringdescriptionstringindustrystringcentralEntitystringtargetAudiencestringcountrystringlanguagestringnotesstringstatusstringOne of:
active,archivedcreatedAtstringupdatedAtstringcompetitorsarray of objectscompetitors[].domainstringcompetitors[].labelstring
curl https://semanticson.com/api/v1/projects/PROJECT_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.
Create a project
POST/projectsCreates a project in your own workspace. Counts towards your plan's active-project limit (402 project_limit when it is reached). Fires the project.created webhook.
Accepts an Idempotency-Key header for safe retries.
Request body
namestringrequired1–120 characters
domainstringrequired1–253 characters
descriptionstringoptionalat most 2,000 characters · default ""
industrystringoptionalat most 160 characters · default ""
centralEntitystringoptionalat most 160 characters · default ""
targetAudiencestringoptionalat most 500 characters · default ""
countrystringoptionalTwo-letter country code, e.g. US, GB, DE
default "US"
languagestringoptionalLanguage code, e.g. en, de, es
default "en"
notesstringoptionalat most 5,000 characters · default ""
competitorsarray of string or objectsoptionalCompetitor domains (at most 10): plain strings or
{ domain, label }objects. The project's own domain and duplicates are ignored.at most 10 items · default []
Response fields Show 15 fields
object"project"idstringnamestringdomainstringdescriptionstringindustrystringcentralEntitystringtargetAudiencestringcountrystringlanguagestringnotesstringstatusstringOne of:
active,archivedcreatedAtstringupdatedAtstringcompetitorsarray of objectscompetitors[].domainstringcompetitors[].labelstring
curl -X POST https://semanticson.com/api/v1/projects \
-H "Authorization: Bearer $SEMANTICSON_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Espresso Lab",
"domain": "espressolab.example",
"industry": "Coffee equipment",
"centralEntity": "Espresso",
"country": "US",
"language": "en",
"competitors": [
"baristahustle.com",
{
"domain": "seriouseats.com",
"label": "Serious Eats"
}
]
}'Response · 201 Created
A JSON object with the fields listed under Response fields.
Errors use the standard error object.
Update a project
PATCH/projects/{projectId}Send only the fields to change. status: "archived" archives the project (content becomes read-only); "active" restores it, which counts towards the workspace owner's active-project limit again. competitors replaces the whole list.
Accepts an Idempotency-Key header for safe retries.
Path parameters
projectIdstringrequired
Request body
namestringoptional1–120 characters
domainstringoptional1–253 characters
descriptionstringoptionalat most 2,000 characters
industrystringoptionalat most 160 characters
centralEntitystringoptionalat most 160 characters
targetAudiencestringoptionalat most 500 characters
countrystringoptionalTwo-letter country code, e.g. US, GB, DE
languagestringoptionalLanguage code, e.g. en, de, es
notesstringoptionalat most 5,000 characters
statusstringoptionalOne of:
active,archivedcompetitorsarray of string or objectsoptionalCompetitor domains (at most 10): plain strings or
{ domain, label }objects. The project's own domain and duplicates are ignored.at most 10 items
Response fields Show 15 fields
object"project"idstringnamestringdomainstringdescriptionstringindustrystringcentralEntitystringtargetAudiencestringcountrystringlanguagestringnotesstringstatusstringOne of:
active,archivedcreatedAtstringupdatedAtstringcompetitorsarray of objectscompetitors[].domainstringcompetitors[].labelstring
curl -X PATCH https://semanticson.com/api/v1/projects/PROJECT_ID \
-H "Authorization: Bearer $SEMANTICSON_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"targetAudience": "Home baristas upgrading their first machine",
"competitors": [
"baristahustle.com"
],
"status": "active"
}'Response · 200 OK
A JSON object with the fields listed under Response fields.
Errors use the standard error object.
Delete a project
DELETE/projects/{projectId}Permanently deletes the project and everything in it (maps, keywords, briefs, entities, audits, connected sites). Only workspace owners and admins can delete, and only on plans that include project deletion (archiveProjects); otherwise archive it with PATCH instead.
Accepts an Idempotency-Key header for safe retries.
Path parameters
projectIdstringrequired
curl -X DELETE https://semanticson.com/api/v1/projects/PROJECT_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.