# Search the docs

Source: https://joinopenfile.com/docs/api/search-docs
Index: https://joinopenfile.com/llms.txt

`GET /api/v1/docs/search`

The best sections for a question, with a link to each. Read a whole page with `GET /docs/read`.

In the MCP server this is `search_docs`.

## Example

```bash
curl https://api.joinopenfile.com/v1/docs/search
```

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `q` | string | Yes | What to look for, like `registered agent` or `how do I change an application`. |

## Errors

| Status | When |
| --- | --- |
| `400` | Invalid input. |

The body is the [error shape](https://joinopenfile.com/docs/errors.md).
