The GEO Assets generation endpoint accepts your website URL and kicks off an asynchronous 4-stage pipeline — Page Discovery, Content Crawl, Enhanced Asset Generation, and Final Report. Because the job can take several minutes, the endpoint returns immediately with aDocumentation Index
Fetch the complete documentation index at: https://docs.cognerd.in/llms.txt
Use this file to discover all available pages before exploring further.
jobId. You then poll the status endpoint until the job is completed, then fetch the generated files.
Start a generation job
Request body
The root URL of the website to crawl and generate GEO files for. Must include the protocol (e.g.
https://yoursite.com).Response
Unique identifier for this generation job. Use it to poll status and retrieve results.
Initial job state — always
"queued" on a successful submission.Poll for job status
UseGET /api/geo-assets/job/:jobId/status to check progress. Poll every 5–10 seconds until status is "completed" or "failed".
Status response
One of
"queued", "processing", "completed", or "failed".Completion percentage from 0 to 100.
Current pipeline stage:
"discovering", "crawling", "generating", or "complete".Generated files
When the job completes, seven files are available via the reports endpoints:| File | Purpose |
|---|---|
llms.txt | Machine-readable brand summary for AI agents |
robots.txt | AI-aware crawl rules for LLM crawlers |
sitemap.xml | Structured page index for AI crawlers |
site.jsonld | Site entity schema (schema.org WebSite) |
organization.jsonld | Brand identity schema (schema.org Organization) |
website.jsonld | Website schema with sitelinks search action |
entities.json | Entity relationship graph (people, products, topics) |
Error responses
| Status | Code | Meaning |
|---|---|---|
| 401 | UNAUTHORIZED | Missing or invalid Bearer token |
| 402 | INSUFFICIENT_CREDITS | Fewer than 20 credits available |
| 400 | INVALID_URL | The url field is missing or malformed |
| 500 | INTERNAL_ERROR | Job failed to start; retry the request |