Record the client's canonical facts
https://seolyticize.com /api/v1/tools/set_client_facts Writes the client's facts — prices, plan limits, countries served, founding date, contact details — each with a key ("starter plan price"), its value ("$29/month"), a category and optionally the terms a sentence must contain to be about it; replaces a fact with the same key. Keys are case-insensitive and stored folded (lowercase, single spaces): "Free plan limits" is saved and listed as "free plan limits", and the answer gives each key as stored, so compare keys folded. dryRun: true saves nothing and lists wouldSet, each fact as it would be saved with the value it would replace. check_ai_brand_accuracy checks assistants against them first, and score_content and get_freshness_queue flag pages whose text contradicts one. Answers 'remember that our price is now $29'. Free.
Parameters
Idempotency-KeystringheaderRequest body
application/json
clientIdstringrequiredfactsobject[]requiredShow child parameters
keystringrequiredvaluestringrequiredcategorystringtermsstring[]sourceUrlstringdryRunboolean{
"clientId": "string",
"facts": [
{
"key": "string",
"value": "string",
"category": "other",
"terms": [],
"sourceUrl": null
}
],
"dryRun": false
}Code samples
cURL
curl -X POST "https://seolyticize.com/api/v1/tools/set_client_facts" \
-H "Authorization: Bearer $SEOLYTICIZE_API_KEY" \
-H "Idempotency-Key: <value>" \
-H "Content-Type: application/json" \
-d '{"clientId":"string","facts":[{"key":"string","value":"string","category":"other","terms":[],"sourceUrl":null}],"dryRun":false}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
data, and its meta.Example
{
"data": {},
"meta": {
"requestId": "string",
"costMicros": 0,
"cached": true,
"cachedFrom": "string",
"dataAsOf": "string",
"sources": [
"string"
],
"partial": true,
"next": [
{
"tool": "string",
"args": {},
"why": "string"
}
],
"nextCursor": "string",
"dryRun": true
}
}Schema
datarequiredmetaobjectrequiredShow child parameters
requestIdstringrequiredcostMicrosintegerrequiredcachedbooleanrequiredcachedFromstringdataAsOfstringsourcesstring[]partialbooleanrequirednextobject[]requiredShow child parameters
toolstringargsobjectwhystringnextCursorstringdryRunbooleanX-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerX-Request-IdstringExample
{
"error": "string",
"code": "string",
"next": "string",
"requestId": "string"
}Schema
errorstringrequiredcodestringnextstringrequestIdstringX-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/set_client_facts
WWW-AuthenticatestringSame as 400 · POST /api/v1/tools/set_client_facts
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/set_client_facts
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/set_client_facts
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/set_client_facts
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/set_client_facts
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerRetry-AfterintegerSame as 400 · POST /api/v1/tools/set_client_facts
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-Resetinteger