Endpoints serving content in plain text / markdown format, optimized
for AI crawlers and LLM consumption. Follows the llms.txt standard.
4 endpoints
GET /llms.txt
Get llms.txt
Returns an index of your site's content in the llms.txt format.
Lists all published contents and pages with their titles and URLs.
Responses
Status | Description |
|---|---|
| Successful response |
| Unauthorized — invalid or missing API token |
| Forbidden — insufficient permissions |
Examples
# Returns plain text — not JSON
curl https://api.lynkow.com/v1/llms.txt \
-H "Authorization: Bearer $API_TOKEN"Response Example
"Returns plain text (Content-Type: text/plain). Example output:\n# My Website\n> A headless CMS platform.\n\n## Contents\n- [Getting Started with Lynkow](https://www.example.com/blog/getting-started)\n- [Advanced Configuration](https://www.example.com/blog/advanced-configuration)\n\n## Pages\n- [About](https://www.example.com/about)\n"GET /llms-full.txt
Get full site content as text
Returns ALL published content concatenated into a single text file. Useful for LLMs that need the full site context in one request.
Responses
Status | Description |
|---|---|
| Successful response |
| Unauthorized — invalid or missing API token |
| Forbidden — insufficient permissions |
Notes: - Can be large for sites with many articles. No pagination — returns everything.
Examples
curl https://api.lynkow.com/v1/llms-full.txt \
-H "Authorization: Bearer $API_TOKEN"Response Example
"Returns plain text (Content-Type: text/plain) with all published\ncontent concatenated and separated by headers.\n"GET /markdown/content/:slug
Get content as markdown
Returns a single content's body converted to markdown format.
Parameters
Name | In | Type | Required | Description |
|---|---|---|---|---|
| path | string | Yes | URL-friendly identifier, unique per site and locale |
Responses
Status | Description |
|---|---|
| Successful response |
| Unauthorized — invalid or missing API token |
| Forbidden — insufficient permissions |
| Not found |
Examples
curl https://api.lynkow.com/v1/markdown/content/getting-started-with-lynkow \
-H "Authorization: Bearer $API_TOKEN"Response Example
"Returns plain text (Content-Type: text/markdown). Example output:\n# Getting Started with Lynkow\n\nLearn how to set up your first headless CMS with Lynkow.\n\n## Prerequisites\n...\n"GET /markdown/pages/:slug
Get page as markdown
Returns a site block (page) data rendered as markdown.
Parameters
Name | In | Type | Required | Description |
|---|---|---|---|---|
| path | string | Yes | URL-friendly identifier, unique per site and locale |
Responses
Status | Description |
|---|---|
| Successful response |
| Unauthorized — invalid or missing API token |
| Forbidden — insufficient permissions |
| Not found |
Examples
curl https://api.lynkow.com/v1/markdown/pages/about \
-H "Authorization: Bearer $API_TOKEN"Response Example
"Returns plain text (Content-Type: text/markdown). Example output:\n# About Us\n\nWe build tools for the modern web.\n"