> ## Documentation Index
> Fetch the complete documentation index at: https://servitlive.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Search

> Search the story library.

## POST /search

| Body field | Type | Required |
| - | - | - |
| `query` | string | no. Empty returns all stories that match the filters |
| `options` | object | no. See [search options](https://servitlive.com/guides/search.md) |

```bash theme={null}
curl -X POST http://localhost:3000/search \
  -H "Content-Type: application/json" \
  -d '{"query": "dragon", "options": {"minWordCount": 1000, "limit": 20}}'
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.