> ## 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.

# Marketplace

> Browse and install community assistants

## Список ассистентов маркетплейса

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

```json theme={null}
{
  "assistants": [
    {
      "id": "asst_code_wizard",
      "name": "Code Wizard",
      "description": "Expert at Python, JS, debugging and refactoring",
      "model": "claude-sonnet-4.5",
      "installs": 4210,
      "rating": 4.8
    }
  ],
  "total": 87
}
```

## Установка ассистента

```bash theme={null}
curl -X POST https://elumenta.ru/api/v2/assistants/marketplace/asst_code_wizard/install \
  -H "Authorization: Bearer nb_YOUR_API_KEY"
```

Возвращает `201 Created`. Ассистент появится в вашем личном списке по адресу `GET /api/v2/assistants`.

## Использование установленного ассистента

Передайте ID ассистента в запросе на генерацию:

```json theme={null}
{
  "model": "claude-sonnet-4.5",
  "assistant_id": "asst_code_wizard",
  "messages": [{ "role": "user", "content": "Отрефактори эту функцию..." }]
}
```
