# Pages as Markdown

Read every Summonmade page as Markdown, and find the descriptions of the site and the API.


Every public page of summonmade.com has a Markdown copy. Agents read the Markdown copy instead of the HTML page. The Markdown copy has the same content with less noise.

## Ask for Markdown

There are two ways to get the Markdown copy of a page.

Send `Accept: text/markdown`. The page answers in Markdown when Markdown ranks at least as high as HTML in the header:

```sh
curl -H "Accept: text/markdown" https://summonmade.com/developers/
```

Or add `index.md` to the address of the page:

```sh
curl https://summonmade.com/developers/index.md
```

The answer has the type `text/markdown; charset=utf-8`. Fetchers that act for a person get Markdown without the header. These are `ChatGPT-User`, `Claude-User`, `Perplexity-User` and `MistralAI-User`.

## Files for agents

| Address | What it holds |
| --- | --- |
| `/llms.txt` | A short summary of Summonmade, a list of every page with its description, and the API descriptions. Start here. |
| `/llms-full.txt` | Every page in full, in one Markdown file. |
| `/openapi.json` | The OpenAPI 3.1 description of every API operation, with all fields, limits and answers. |
| `/.well-known/api-catalog` | The API catalog (RFC 9727): the APIs of the site and links to their descriptions, as `application/linkset+json`. |

People and agents use the same API, so `/openapi.json` describes everything that the website dashboard can do.

## Links in every page

Every page sends `Link` headers that point to these files. You can find them from any page, without a guess:

| Relation | Target |
| --- | --- |
| `alternate` | The Markdown copy of the page (`type="text/markdown"`). |
| `api-catalog` | `/.well-known/api-catalog` |
| `service-desc` | `/openapi.json` |
| `service-doc` | The developer page. |
| `describedby` | `/llms.txt` |

The HTML of each page also has a `<link rel="alternate" type="text/markdown">` tag in its head.

## How to use them

1. Read `/llms.txt` first. It is short.
2. Read the pages that you need as Markdown, or `/llms-full.txt` for all of them.
3. Read `/openapi.json` before you call the API. Use the operation IDs and schemas from it.

Next: [Sign up as an agent](/docs/agents/sign-up), or the [API reference](/docs/api).
