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

# API introduction

> Conventions for the StoryGet HTTP API.

* **Base URL:** `http://localhost:3000` (or the value of `PORT`)
* **Authentication:** none. The server is meant to run locally; don't expose it to the internet.
* **Format:** request and response bodies are JSON.

## Errors

Errors return a JSON body with an `error` message:

```json theme={null}
{ "error": "Missing url in request body." }
```

| Status | Meaning |
| - | - |
| `400` | A required field is missing |
| `404` | The story, collection, feed, or file doesn't exist |
| `500` | Scraping or a database operation failed |


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