# Add an API reference

An API reference turns your OpenAPI spec or GraphQL schema into pages in your docs: one for the API and one for each endpoint, with its parameters, body, responses and request examples. It sits in a tab of your docs, beside your articles.

Tuti reads OpenAPI 3.0 and 3.1 (JSON or YAML) and GraphQL schemas, up to 5 MB.

## Add a reference

1. In **Docs**, select the **+** beside **Collections** in the tree (or **Add content**), then **API reference**.
2. Choose where the spec is:
   - **From GitHub**: a file in a repository you've connected (see [Connect GitHub](https://tuti.so/help/docs/github)). Tuti reads it again when a pull request into its branch merges.
   - **From a URL**: a public `https://` address. Select **Fetch**. Tuti reads it again every 6 hours.
   - **Upload a file**: drop your spec in, or choose it.
3. Check the **Name**, which starts as your spec's title, and the **Tab** it goes in.
4. Select **Add reference**.

![The Add API reference dialog: From GitHub, From a URL and Upload a file, with a spec file chosen, the Name and the Tab](https://6930edc03fec4916994551992f3f1ea4.r2.cloudflarestorage.com/tuti/m/cmwnm8htp000r2jmviyrml7zn/896.webp?X-Amz-Expires=7200&X-Amz-Date=20261124T000000Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=0ca32e9f9104a6766ef060f7701dbf98%2F20261124%2Fauto%2Fs3%2Faws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=0373a410b3c065479e68d38252cee92cf4d8b10f1ea1cab53b2cffaaee056d73)

> The reference is published as soon as you add it. Everyone who can read its tab sees every endpoint, so switch off anything internal straight away.

A reference has no access settings of its own: it follows its tab's (see [Choose who can read what](https://tuti.so/help/docs/who-can-read)).

## Choose which endpoints readers see

Open the reference from the Docs tree. **Endpoints** lists your spec's groups and each endpoint in them, with a switch.

- Switch a group off to hide all its endpoints.
- Switch one endpoint off to hide just that one.

Hidden endpoints aren't on your help center, in search or in AI answers. Your choices are kept when the spec changes. While anything is hidden, endpoints that a new version adds start hidden too, and a note at the top of **Endpoints** lists them.

![A reference's Endpoints page: Published, 8 of 10 on the help center, with the groups Invoices, Customers and Payments on and Internal switched off](https://6930edc03fec4916994551992f3f1ea4.r2.cloudflarestorage.com/tuti/m/cmwnm8kdd000s2jmvm24wgkw7/960.webp?X-Amz-Expires=7200&X-Amz-Date=20261124T000000Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=0ca32e9f9104a6766ef060f7701dbf98%2F20261124%2Fauto%2Fs3%2Faws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=1bc68cc050f62bc2bffebebfacfb7451238e85eca174760c90915cb79aa49913)

To take the whole reference off your help center, open **More actions** (⋯) and choose **Unpublish**. **Delete** removes it and its pages.

## Keep it up to date

- **From GitHub** and **From a URL**: Tuti reads the spec again by itself. To read it now, select **Sync now**.
- **Upload a file**: select **Upload new version** on the reference's page.

If a sync fails, a banner on the reference's page says why, and readers keep seeing the last version that worked.

## Change its settings

Open the reference and select **Settings**.

| Setting | What it does |
| --- | --- |
| **Name and address** | Changing the address moves its pages. Links to the old address stop working. |
| **Base address** | Where requests go when your spec's servers have no host. |
| **Source** | Where the spec is read from, and when it was last read. |
| **In the help center's tree** | **Groups as folders**, **Groups as headings** or **One entry**. |
| **Group order** | Drag groups into the order readers see. |
| **Try it** | **Let readers try requests** turns Try it on or off. |

## What readers get

Each endpoint has a page with its method and path, parameters, body and responses, and examples in cURL, JavaScript and Python. Endpoints show in your docs' search, and AI answers can cite them.

![A reader's page for the endpoint Create an invoice: POST /invoices with Try it, the body's fields, the responses, and request and response examples beside them](https://6930edc03fec4916994551992f3f1ea4.r2.cloudflarestorage.com/tuti/m/cmwnm8ogv000t2jmvp1xb4m40/960.webp?X-Amz-Expires=7200&X-Amz-Date=20261124T000000Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=0ca32e9f9104a6766ef060f7701dbf98%2F20261124%2Fauto%2Fs3%2Faws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=5bef7d17dd58d6240ccc61cfaa7da6e81307bfef273a0bb8d101b6a1c5f584f6)

**Try it** sends a real request with the reader's own key. The key stays in their browser tab and is never stored by Tuti. The request goes straight from the reader's browser. If your API doesn't allow browser requests (CORS), a GET goes through Tuti instead, and for any other request the reader selects **Send through Tuti**. Tuti only sends to a domain your project has verified: your custom domain, your site or your support email's domain.

You can also manage references through the API: see [Use the API and MCP](https://tuti.so/help/docs/api-and-mcp).
