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

200

Successful response

401

Unauthorized — invalid or missing API token

403

Forbidden — insufficient permissions

Examples

Bash
# Returns plain text — not JSON
curl https://api.lynkow.com/v1/llms.txt \
  -H "Authorization: Bearer $API_TOKEN"

Response Example

JSON
"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

200

Successful response

401

Unauthorized — invalid or missing API token

403

Forbidden — insufficient permissions

Notes: - Can be large for sites with many articles. No pagination — returns everything.

Examples

Bash
curl https://api.lynkow.com/v1/llms-full.txt \
  -H "Authorization: Bearer $API_TOKEN"

Response Example

JSON
"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

slug

path

string

Yes

URL-friendly identifier, unique per site and locale

Responses

Status

Description

200

Successful response

401

Unauthorized — invalid or missing API token

403

Forbidden — insufficient permissions

404

Not found

Examples

Bash
curl https://api.lynkow.com/v1/markdown/content/getting-started-with-lynkow \
  -H "Authorization: Bearer $API_TOKEN"

Response Example

JSON
"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

slug

path

string

Yes

URL-friendly identifier, unique per site and locale

Responses

Status

Description

200

Successful response

401

Unauthorized — invalid or missing API token

403

Forbidden — insufficient permissions

404

Not found

Examples

Bash
curl https://api.lynkow.com/v1/markdown/pages/about \
  -H "Authorization: Bearer $API_TOKEN"

Response Example

JSON
"Returns plain text (Content-Type: text/markdown). Example output:\n# About Us\n\nWe build tools for the modern web.\n"