> ## Documentation Index
> Fetch the complete documentation index at: https://docs.neuro-tech.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Content types

> Supported content types and encoding formats for Neuron API requests and responses.

The Neuron API primarily uses **JSON** for both request bodies and responses.

## Supported types

| Content-Type               | Usage                                                    |
| -------------------------- | -------------------------------------------------------- |
| `application/json`         | Standard JSON — required for all POST/PUT/PATCH requests |
| `multipart/form-data`      | File uploads                                             |
| `application/octet-stream` | Binary data streams                                      |

## Request encoding

Always set the `Content-Type` header when sending a body:

```bash theme={null}
curl -X POST https://api.neuro-tech.io/v1/resource \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"key": "value"}'
```

## Response encoding

All responses are UTF-8 encoded JSON unless otherwise noted. Set `Accept: application/json` to ensure correct content negotiation.

## File uploads

When uploading files, use `multipart/form-data`:

```bash theme={null}
curl -X POST https://api.neuro-tech.io/v1/files \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "file=@/path/to/file.pdf"
```
