# Docs for agents

Markdown pages, llms.txt and an OpenAPI file, for AI agents and the people who build with them.

Everything in these docs can be read without a browser, a script or an account.

| What | Where |
| --- | --- |
| An index of every page | [/llms.txt](https://chatwise.so/llms.txt) |
| Every page in one file | [/llms-full.txt](https://chatwise.so/llms-full.txt) |
| One page as Markdown | Its address with `.md`, such as [/docs/quickstart.md](https://chatwise.so/docs/quickstart.md) |
| Every route and event, with schemas and examples | [/docs/openapi.json](https://chatwise.so/docs/openapi.json) (OpenAPI 3.1) |

- **Markdown by header.** A request for a page with `Accept: text/markdown` gets the same Markdown.
- **Copy a page.** Each page has a button that copies its Markdown.
- **Complete pages.** The page of an event has everything needed to handle it: headers, an example, every field and the code that verifies the signature. The page of a route has its scope, fields, examples and errors.
- **All samples are there.** On the website the samples of a step are tabs. In Markdown each one follows the other.

## Signed examples to test with

The OpenAPI file has `x-webhook-signing-examples`: two deliveries with their secret, headers and exact body, signed by the code that signs real ones. Use them to test a receiver without sending anything. They are old, so pass their timestamp as the current time.

## Generated from the code

The API reference and the event pages are generated from the OpenAPI file, and that is built from the code of the API: its routes, scopes, request checks and response types. An event the API doesn't send yet is marked **coming soon**.
