AI & LLM Integration

Access Shelby documentation for AI agents and LLMs

Shelby documentation provides two methods for programmatic access optimized for AI agents and LLMs.

Full Documentation Endpoint

Get all documentation in a single plain text file.

curl https://docs.shelby.xyz/llms-full.txt

The response includes all pages formatted as:

# Page Title (URL)

Page content in markdown...

# Next Page Title (URL)

Next page content...

Individual Page Markdown

Direct URL

Access any page's markdown content by appending .mdx or .md to the page URL:

curl https://docs.shelby.xyz/sdks/typescript.mdx
# or
curl https://docs.shelby.xyz/sdks/typescript.md

Examples:

  • /sdks/typescript/sdks/typescript.mdx or /sdks/typescript.md
  • /protocol/quickstart/protocol/quickstart.mdx or /protocol/quickstart.md
  • /tools/cli/tools/cli.mdx or /tools/cli.md

Accept Header

Alternatively, request any documentation page as markdown by setting the Accept header to text/markdown:

curl -H "Accept: text/markdown" https://docs.shelby.xyz/docs/quickstart

This works for all documentation sections:

  • /docs/* - Core documentation
  • /apis/* - API references
  • /protocol/* - Protocol specifications
  • /examples/* - Code examples
  • /sdks/* - SDK documentation