Import the client's facts from a manifest
https://seolyticize.com /api/v1/tools/import_client_facts Reads a facts manifest the site's repository owns — JSON {"facts": [{key, value, category?, terms?, sourceUrl?}]}, the same fields as set_client_facts — and writes it with set_client_facts, so the facts live next to the code they describe. From content given, from url, or by default from https://<client domain>/.well-known/seolyticize.json. dryRun: true shows what would change (wouldSet, each with what it replaces) and writes nothing. Each deploy hook call compares the published manifest with the registered facts and lists differences as factsDrift. Answers 'keep our facts in sync with the repo'. Free.
Parameters
Idempotency-KeystringheaderRequest body
application/json
clientIdstringrequiredurlstringcontentstringdryRunboolean{
"clientId": "string",
"url": "string",
"content": "string",
"dryRun": false
}Code samples
cURL
curl -X POST "https://seolyticize.com/api/v1/tools/import_client_facts" \
-H "Authorization: Bearer $SEOLYTICIZE_API_KEY" \
-H "Idempotency-Key: <value>" \
-H "Content-Type: application/json" \
-d '{"clientId":"string","url":"string","content":"string","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/import_client_facts
WWW-AuthenticatestringSame as 400 · POST /api/v1/tools/import_client_facts
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/import_client_facts
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/import_client_facts
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/import_client_facts
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/import_client_facts
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerRetry-AfterintegerSame as 400 · POST /api/v1/tools/import_client_facts
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-Resetinteger