Draft the site's files for AI agents
https://seolyticize.com /api/v1/tools/draft_agent_files Drafts, for the client's site, the files AI agents read — nothing is published: robots.txt with a Content-Signal line (search, ai-input, ai-train) in every user-agent group, every Allow and Disallow kept exactly as it is, with aiTrain the user's own choice; an ai-catalog.json in the Agentic Resource Discovery 1.0 shape (specVersion 1.0, standard media types and placeholder representativeQueries) listing the agent card the site already has, with resources ARD has no type for (llms.txt, sitemaps, API catalogs) named in skipped; and WebMCP tool stubs (document.modelContext, falling back to navigator.modelContext) carrying readOnlyHint, consequentialHint and untrustedContentHint, one per real form found on the homepage and the pages given or its contact, booking and sign-up pages, with forms that send, buy or delete marked consequential. Answers 'write our Content-Signal lines', 'make us an ai-catalog.json' and 'how do we expose our forms to browser agents'. Free.
Parameters
Idempotency-KeystringheaderRequest body
application/json
clientIdstringrequiredaiTrainstringrequiredaiInputstringsearchstringurlsstring[]{
"clientId": "string",
"aiTrain": "yes",
"aiInput": "yes",
"search": "yes",
"urls": []
}Code samples
cURL
curl -X POST "https://seolyticize.com/api/v1/tools/draft_agent_files" \
-H "Authorization: Bearer $SEOLYTICIZE_API_KEY" \
-H "Idempotency-Key: <value>" \
-H "Content-Type: application/json" \
-d '{"clientId":"string","aiTrain":"yes","aiInput":"yes","search":"yes","urls":[]}'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/draft_agent_files
WWW-AuthenticatestringSame as 400 · POST /api/v1/tools/draft_agent_files
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/draft_agent_files
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/draft_agent_files
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/draft_agent_files
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/draft_agent_files
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerRetry-AfterintegerSame as 400 · POST /api/v1/tools/draft_agent_files
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-Resetinteger