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

# User Settings

> Get and update user preferences

## Get Settings

```bash theme={null}
curl https://elumenta.ru/api/v2/user/settings \
  -H "Authorization: Bearer nb_YOUR_API_KEY"
```

```json theme={null}
{
  "language": "en",
  "image_format": "webp",
  "notifications_enabled": true,
  "default_image_size": "1024x1024"
}
```

## Update Settings

```bash theme={null}
curl -X PATCH https://elumenta.ru/api/v2/user/settings \
  -H "Authorization: Bearer nb_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"image_format": "png", "language": "ru"}'
```

<ParamField body="language" type="string">
  Interface language: `en` | `ru`
</ParamField>

<ParamField body="image_format" type="string">
  Default output format for image generation: `webp` (default) | `png` | `jpeg`
</ParamField>

<ParamField body="notifications_enabled" type="boolean">
  Enable/disable Telegram bot notifications.
</ParamField>

Returns `200 OK` with the updated settings object.
