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

# Домены

> Управлять доменами, проверкой, DNS-статусом, ключами настройки и рабочими областями доменов.

# Домены

Управлять доменами, проверкой, DNS-статусом, ключами настройки и рабочими областями доменов.

<script src="/locale-bridge.js" />

В примерах используется режим кода A2A. MCP предоставляет тот же режим кода через инструмент `execute`.

## Функции

### `domains.delete`

```text theme={null}
domains.delete(account_id: str, domain: str) -> {}
```

Домены: `domains.delete`.

| Свойство              | Значение                                                   | Свойство                 | Значение        |
| --------------------- | ---------------------------------------------------------- | ------------------------ | --------------- |
| Требуемое разрешение  | `domain.delete`                                            | Требуется аутентификация | `да`            |
| Режим выполнения      | `sync`                                                     | Возможность              | `domain.delete` |
| Тип ресурса           | `account`                                                  | Поле ID ресурса          | `account_id`    |
| Публичный маршрут API | `DELETE /v1/public/accounts/{account_id}/domains/{domain}` |                          |                 |

<AccordionGroup>
  <Accordion title="Аргументы">
    | Имя          | Тип   | Обязательный |
    | ------------ | ----- | ------------ |
    | `account_id` | `str` | да           |
    | `domain`     | `str` | да           |
  </Accordion>

  <Accordion title="Возвращает">
    | Поле     | Тип  | Обязательный |
    | -------- | ---- | ------------ |
    | `result` | `{}` | да           |
  </Accordion>

  <Accordion title="Пример A2A">
    Запрос:

    ```json theme={null}
    {
      "request_id": "example",
      "session_id": "session_123",
      "code": "domains.delete(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\")"
    }
    ```

    Ответ:

    ```json theme={null}
    {
      "request_id": "example",
      "status": "completed",
      "result": {
        "last_value": {}
      },
      "responses": [
        {
          "index": 0,
          "function": "domains.delete",
          "status": "completed",
          "result": {}
        }
      ],
      "complexity_score": 1
    }
    ```
  </Accordion>

  <Accordion title="Пример MCP">
    Запрос:

    ```json theme={null}
    {
      "jsonrpc": "2.0",
      "id": "example",
      "method": "tools/call",
      "params": {
        "name": "hybridbox_execute",
        "arguments": {
          "code": "domains.delete(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\")"
        }
      }
    }
    ```

    Ответ:

    ```json theme={null}
    {
      "jsonrpc": "2.0",
      "id": "example",
      "result": {
        "content": [
          {
            "type": "text",
            "text": "{\n  \"request_id\": \"example\",\n  \"status\": \"completed\",\n  \"result\": {\n    \"last_value\": {}\n  },\n  \"responses\": [\n    {\n      \"index\": 0,\n      \"function\": \"domains.delete\",\n      \"status\": \"completed\",\n      \"result\": {}\n    }\n  ],\n  \"complexity_score\": 1\n}"
          }
        ],
        "isError": false
      }
    }
    ```
  </Accordion>
</AccordionGroup>

### `domains.get`

```text theme={null}
domains.get(account_id: str, domain: str) -> Domain
```

Домены: `domains.get`.

| Свойство              | Значение                                                | Свойство                 | Значение      |
| --------------------- | ------------------------------------------------------- | ------------------------ | ------------- |
| Требуемое разрешение  | `domain.view`                                           | Требуется аутентификация | `да`          |
| Режим выполнения      | `sync`                                                  | Возможность              | `domain.view` |
| Тип ресурса           | `account`                                               | Поле ID ресурса          | `account_id`  |
| Публичный маршрут API | `GET /v1/public/accounts/{account_id}/domains/{domain}` |                          |               |

<AccordionGroup>
  <Accordion title="Аргументы">
    | Имя          | Тип   | Обязательный |
    | ------------ | ----- | ------------ |
    | `account_id` | `str` | да           |
    | `domain`     | `str` | да           |
  </Accordion>

  <Accordion title="Возвращает">
    | Поле                         | Тип                                                                                                                       | Обязательный |
    | ---------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------ |
    | `id`                         | `str`                                                                                                                     | да           |
    | `name`                       | `str`                                                                                                                     | да           |
    | `outbound_routing_ready`     | `bool`                                                                                                                    | да           |
    | `status`                     | `str`                                                                                                                     | да           |
    | `workspace_id`               | `str`                                                                                                                     | да           |
    | `auto_renew`                 | `bool`                                                                                                                    | нет          |
    | `created_at`                 | `str \| null`                                                                                                             | нет          |
    | `dedicated_ip_id`            | `str \| null`                                                                                                             | нет          |
    | `dns_records`                | `[{"id": int, "name": str, "ttl": int, "type": str, "value": str, "is_system_managed"?: bool, "priority"?: int \| null}]` | нет          |
    | `inbound_tenant_external_id` | `str \| null`                                                                                                             | нет          |
    | `inbound_tenant_id`          | `str \| null`                                                                                                             | нет          |
    | `inbound_tenant_name`        | `str \| null`                                                                                                             | нет          |
    | `inbound_tenant_type`        | `str \| null`                                                                                                             | нет          |
    | `mailboxes`                  | `[{"active": bool, "email": str, "first_name": str, "id": str, "last_name": str}]`                                        | нет          |
    | `redirect_mode`              | `"301" \| "302" \| "iframe" \| null`                                                                                      | нет          |
    | `redirect_url`               | `str \| null`                                                                                                             | нет          |
    | `tags`                       | `[{"id": str, "name": str}]`                                                                                              | нет          |
    | `updated_at`                 | `str \| null`                                                                                                             | нет          |
  </Accordion>

  <Accordion title="Пример A2A">
    Запрос:

    ```json theme={null}
    {
      "request_id": "example",
      "session_id": "session_123",
      "code": "domains.get(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\")"
    }
    ```

    Ответ:

    ```json theme={null}
    {
      "request_id": "example",
      "status": "completed",
      "result": {
        "last_value": true
      },
      "responses": [
        {
          "index": 0,
          "function": "domains.get",
          "status": "completed",
          "result": true
        }
      ],
      "complexity_score": 1
    }
    ```
  </Accordion>

  <Accordion title="Пример MCP">
    Запрос:

    ```json theme={null}
    {
      "jsonrpc": "2.0",
      "id": "example",
      "method": "tools/call",
      "params": {
        "name": "hybridbox_execute",
        "arguments": {
          "code": "domains.get(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\")"
        }
      }
    }
    ```

    Ответ:

    ```json theme={null}
    {
      "jsonrpc": "2.0",
      "id": "example",
      "result": {
        "content": [
          {
            "type": "text",
            "text": "{\n  \"request_id\": \"example\",\n  \"status\": \"completed\",\n  \"result\": {\n    \"last_value\": true\n  },\n  \"responses\": [\n    {\n      \"index\": 0,\n      \"function\": \"domains.get\",\n      \"status\": \"completed\",\n      \"result\": true\n    }\n  ],\n  \"complexity_score\": 1\n}"
          }
        ],
        "isError": false
      }
    }
    ```
  </Accordion>
</AccordionGroup>

### `domains.health`

```text theme={null}
domains.health(account_id: str, domain: str, refresh?: bool) -> Domain
```

Домены: `domains.health`.

| Свойство              | Значение                                                       | Свойство                 | Значение      |
| --------------------- | -------------------------------------------------------------- | ------------------------ | ------------- |
| Требуемое разрешение  | `domain.view`                                                  | Требуется аутентификация | `да`          |
| Режим выполнения      | `sync`                                                         | Возможность              | `domain.view` |
| Тип ресурса           | `account`                                                      | Поле ID ресурса          | `account_id`  |
| Публичный маршрут API | `GET /v1/public/accounts/{account_id}/domains/{domain}/health` |                          |               |

<AccordionGroup>
  <Accordion title="Аргументы">
    | Имя          | Тип    | Обязательный |
    | ------------ | ------ | ------------ |
    | `account_id` | `str`  | да           |
    | `domain`     | `str`  | да           |
    | `refresh`    | `bool` | нет          |
  </Accordion>

  <Accordion title="Возвращает">
    | Поле                | Тип                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | Обязательный |
    | ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
    | `cache_ttl_seconds` | `int`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | да           |
    | `cached`            | `bool`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | да           |
    | `checked_at`        | `str`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | да           |
    | `checks`            | `{"dns": {"status": "healthy" \| "warning" \| "critical" \| "unknown", "a"?: {"status": "healthy" \| "warning" \| "critical" \| "unknown", "actual"?: [str] \| null, "code"?: str \| null, "days_remaining"?: int \| null, "error"?: str \| null, "expected"?: [str] \| null, "expires_at"?: str \| null, "issuer"?: str \| null, "record"?: str \| null, "records"?: [str] \| null, "status_code"?: int \| null} \| null, "dkim"?: {"status": "healthy" \| "warning" \| "critical" \| "unknown", "actual"?: [str] \| null, "code"?: str \| null, "days_remaining"?: int \| null, "error"?: str \| null, "expected"?: [str] \| null, "expires_at"?: str \| null, "issuer"?: str \| null, "record"?: str \| null, "records"?: [str] \| null, "status_code"?: int \| null} \| null, "dmarc"?: {"status": "healthy" \| "warning" \| "critical" \| "unknown", "actual"?: [str] \| null, "code"?: str \| null, "days_remaining"?: int \| null, "error"?: str \| null, "expected"?: [str] \| null, "expires_at"?: str \| null, "issuer"?: str \| null, "record"?: str \| null, "records"?: [str] \| null, "status_code"?: int \| null} \| null, "error"?: str \| null, "mx"?: {"status": "healthy" \| "warning" \| "critical" \| "unknown", "actual"?: [str] \| null, "code"?: str \| null, "days_remaining"?: int \| null, "error"?: str \| null, "expected"?: [str] \| null, "expires_at"?: str \| null, "issuer"?: str \| null, "record"?: str \| null, "records"?: [str] \| null, "status_code"?: int \| null} \| null, "ns"?: {"status": "healthy" \| "warning" \| "critical" \| "unknown", "actual"?: [str] \| null, "code"?: str \| null, "days_remaining"?: int \| null, "error"?: str \| null, "expected"?: [str] \| null, "expires_at"?: str \| null, "issuer"?: str \| null, "record"?: str \| null, "records"?: [str] \| null, "status_code"?: int \| null} \| null, "spf"?: {"status": "healthy" \| "warning" \| "critical" \| "unknown", "actual"?: [str] \| null, "code"?: str \| null, "days_remaining"?: int \| null, "error"?: str \| null, "expected"?: [str] \| null, "expires_at"?: str \| null, "issuer"?: str \| null, "record"?: str \| null, "records"?: [str] \| null, "status_code"?: int \| null} \| null}, "ports": {"status": "healthy" \| "warning" \| "critical" \| "unknown", "error"?: str \| null, "imap_143"?: {"status": "healthy" \| "warning" \| "critical" \| "unknown", "actual"?: [str] \| null, "code"?: str \| null, "days_remaining"?: int \| null, "error"?: str \| null, "expected"?: [str] \| null, "expires_at"?: str \| null, "issuer"?: str \| null, "record"?: str \| null, "records"?: [str] \| null, "status_code"?: int \| null} \| null, "imaps_993"?: {"status": "healthy" \| "warning" \| "critical" \| "unknown", "actual"?: [str] \| null, "code"?: str \| null, "days_remaining"?: int \| null, "error"?: str \| null, "expected"?: [str] \| null, "expires_at"?: str \| null, "issuer"?: str \| null, "record"?: str \| null, "records"?: [str] \| null, "status_code"?: int \| null} \| null, "smtp_25"?: {"status": "healthy" \| "warning" \| "critical" \| "unknown", "actual"?: [str] \| null, "code"?: str \| null, "days_remaining"?: int \| null, "error"?: str \| null, "expected"?: [str] \| null, "expires_at"?: str \| null, "issuer"?: str \| null, "record"?: str \| null, "records"?: [str] \| null, "status_code"?: int \| null} \| null, "submission_587"?: {"status": "healthy" \| "warning" \| "critical" \| "unknown", "actual"?: [str] \| null, "code"?: str \| null, "days_remaining"?: int \| null, "error"?: str \| null, "expected"?: [str] \| null, "expires_at"?: str \| null, "issuer"?: str \| null, "record"?: str \| null, "records"?: [str] \| null, "status_code"?: int \| null} \| null}, "ssl": {"status": "healthy" \| "warning" \| "critical" \| "unknown", "actual"?: [str] \| null, "code"?: str \| null, "days_remaining"?: int \| null, "error"?: str \| null, "expected"?: [str] \| null, "expires_at"?: str \| null, "issuer"?: str \| null, "record"?: str \| null, "records"?: [str] \| null, "status_code"?: int \| null}, "web": {"status": "healthy" \| "warning" \| "critical" \| "unknown", "error"?: str \| null, "http_root"?: {"status": "healthy" \| "warning" \| "critical" \| "unknown", "actual"?: [str] \| null, "code"?: str \| null, "days_remaining"?: int \| null, "error"?: str \| null, "expected"?: [str] \| null, "expires_at"?: str \| null, "issuer"?: str \| null, "record"?: str \| null, "records"?: [str] \| null, "status_code"?: int \| null} \| null, "http_www"?: {"status": "healthy" \| "warning" \| "critical" \| "unknown", "actual"?: [str] \| null, "code"?: str \| null, "days_remaining"?: int \| null, "error"?: str \| null, "expected"?: [str] \| null, "expires_at"?: str \| null, "issuer"?: str \| null, "record"?: str \| null, "records"?: [str] \| null, "status_code"?: int \| null} \| null, "https_root"?: {"status": "healthy" \| "warning" \| "critical" \| "unknown", "actual"?: [str] \| null, "code"?: str \| null, "days_remaining"?: int \| null, "error"?: str \| null, "expected"?: [str] \| null, "expires_at"?: str \| null, "issuer"?: str \| null, "record"?: str \| null, "records"?: [str] \| null, "status_code"?: int \| null} \| null, "https_www"?: {"status": "healthy" \| "warning" \| "critical" \| "unknown", "actual"?: [str] \| null, "code"?: str \| null, "days_remaining"?: int \| null, "error"?: str \| null, "expected"?: [str] \| null, "expires_at"?: str \| null, "issuer"?: str \| null, "record"?: str \| null, "records"?: [str] \| null, "status_code"?: int \| null} \| null}}` | да           |
    | `domain_id`         | `str`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | да           |
    | `domain_name`       | `str`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | да           |
    | `summary_status`    | `"healthy" \| "warning" \| "critical" \| "unknown"`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | да           |
    | `timings_ms`        | `{}`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | да           |
  </Accordion>

  <Accordion title="Пример A2A">
    Запрос:

    ```json theme={null}
    {
      "request_id": "example",
      "session_id": "session_123",
      "code": "domains.health(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\", refresh=true)"
    }
    ```

    Ответ:

    ```json theme={null}
    {
      "request_id": "example",
      "status": "completed",
      "result": {
        "last_value": 123
      },
      "responses": [
        {
          "index": 0,
          "function": "domains.health",
          "status": "completed",
          "result": 123
        }
      ],
      "complexity_score": 1
    }
    ```
  </Accordion>

  <Accordion title="Пример MCP">
    Запрос:

    ```json theme={null}
    {
      "jsonrpc": "2.0",
      "id": "example",
      "method": "tools/call",
      "params": {
        "name": "hybridbox_execute",
        "arguments": {
          "code": "domains.health(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\", refresh=true)"
        }
      }
    }
    ```

    Ответ:

    ```json theme={null}
    {
      "jsonrpc": "2.0",
      "id": "example",
      "result": {
        "content": [
          {
            "type": "text",
            "text": "{\n  \"request_id\": \"example\",\n  \"status\": \"completed\",\n  \"result\": {\n    \"last_value\": 123\n  },\n  \"responses\": [\n    {\n      \"index\": 0,\n      \"function\": \"domains.health\",\n      \"status\": \"completed\",\n      \"result\": 123\n    }\n  ],\n  \"complexity_score\": 1\n}"
          }
        ],
        "isError": false
      }
    }
    ```
  </Accordion>
</AccordionGroup>

### `domains.list`

```text theme={null}
domains.list(account_id: str, page?: int, page_size?: int, search?: str | null, workspace_id?: str | null) -> Page[Domain]
```

Домены: `domains.list`.

| Свойство              | Значение                                       | Свойство                 | Значение      |
| --------------------- | ---------------------------------------------- | ------------------------ | ------------- |
| Требуемое разрешение  | `domain.view`                                  | Требуется аутентификация | `да`          |
| Режим выполнения      | `sync`                                         | Возможность              | `domain.view` |
| Тип ресурса           | `account`                                      | Поле ID ресурса          | `account_id`  |
| Публичный маршрут API | `GET /v1/public/accounts/{account_id}/domains` |                          |               |

<AccordionGroup>
  <Accordion title="Аргументы">
    | Имя            | Тип           | Обязательный |
    | -------------- | ------------- | ------------ |
    | `account_id`   | `str`         | да           |
    | `page`         | `int`         | нет          |
    | `page_size`    | `int`         | нет          |
    | `search`       | `str \| null` | нет          |
    | `workspace_id` | `str \| null` | нет          |
  </Accordion>

  <Accordion title="Возвращает">
    | Поле        | Тип                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | Обязательный |
    | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------ |
    | `items`     | `[{"id": str, "name": str, "outbound_routing_ready": bool, "status": str, "workspace_id": str, "auto_renew"?: bool, "created_at"?: str \| null, "dedicated_ip_id"?: str \| null, "inbound_tenant_external_id"?: str \| null, "inbound_tenant_id"?: str \| null, "inbound_tenant_name"?: str \| null, "inbound_tenant_type"?: str \| null, "redirect_mode"?: "301" \| "302" \| "iframe" \| null, "redirect_url"?: str \| null, "tags"?: [{"id": str, "name": str}], "updated_at"?: str \| null}]` | да           |
    | `page`      | `int`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | да           |
    | `page_size` | `int`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | да           |
    | `total`     | `int`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | да           |
  </Accordion>

  <Accordion title="Пример A2A">
    Запрос:

    ```json theme={null}
    {
      "request_id": "example",
      "session_id": "session_123",
      "code": "domains.list(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", page=123, page_size=123, search=\"<string>\", workspace_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
    }
    ```

    Ответ:

    ```json theme={null}
    {
      "request_id": "example",
      "status": "completed",
      "result": {
        "last_value": true
      },
      "responses": [
        {
          "index": 0,
          "function": "domains.list",
          "status": "completed",
          "result": true
        }
      ],
      "complexity_score": 1
    }
    ```
  </Accordion>

  <Accordion title="Пример MCP">
    Запрос:

    ```json theme={null}
    {
      "jsonrpc": "2.0",
      "id": "example",
      "method": "tools/call",
      "params": {
        "name": "hybridbox_execute",
        "arguments": {
          "code": "domains.list(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", page=123, page_size=123, search=\"<string>\", workspace_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
        }
      }
    }
    ```

    Ответ:

    ```json theme={null}
    {
      "jsonrpc": "2.0",
      "id": "example",
      "result": {
        "content": [
          {
            "type": "text",
            "text": "{\n  \"request_id\": \"example\",\n  \"status\": \"completed\",\n  \"result\": {\n    \"last_value\": true\n  },\n  \"responses\": [\n    {\n      \"index\": 0,\n      \"function\": \"domains.list\",\n      \"status\": \"completed\",\n      \"result\": true\n    }\n  ],\n  \"complexity_score\": 1\n}"
          }
        ],
        "isError": false
      }
    }
    ```
  </Accordion>
</AccordionGroup>

### `domains.move`

```text theme={null}
domains.move(account_id: str, domain: str, target_workspace_id: str) -> Domain
```

Домены: `domains.move`.

| Свойство              | Значение                                                      | Свойство                 | Значение              |
| --------------------- | ------------------------------------------------------------- | ------------------------ | --------------------- |
| Требуемое разрешение  | `domain.move`                                                 | Требуется аутентификация | `да`                  |
| Режим выполнения      | `sync`                                                        | Возможность              | `domain.move`         |
| Тип ресурса           | `workspace`                                                   | Поле ID ресурса          | `target_workspace_id` |
| Публичный маршрут API | `POST /v1/public/accounts/{account_id}/domains/{domain}/move` |                          |                       |

<AccordionGroup>
  <Accordion title="Аргументы">
    | Имя                   | Тип   | Обязательный |
    | --------------------- | ----- | ------------ |
    | `account_id`          | `str` | да           |
    | `domain`              | `str` | да           |
    | `target_workspace_id` | `str` | да           |
  </Accordion>

  <Accordion title="Возвращает">
    | Поле                | Тип                                | Обязательный |
    | ------------------- | ---------------------------------- | ------------ |
    | `account_id`        | `str`                              | да           |
    | `domain_id`         | `str`                              | да           |
    | `domain_name`       | `str`                              | да           |
    | `from_workspace_id` | `str`                              | да           |
    | `reconciled`        | `{"linked_records_changed"?: int}` | да           |
    | `to_workspace_id`   | `str`                              | да           |
    | `status`            | `str`                              | нет          |
  </Accordion>

  <Accordion title="Пример A2A">
    Запрос:

    ```json theme={null}
    {
      "request_id": "example",
      "session_id": "session_123",
      "code": "domains.move(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\", target_workspace_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
    }
    ```

    Ответ:

    ```json theme={null}
    {
      "request_id": "example",
      "status": "completed",
      "result": {
        "last_value": 123
      },
      "responses": [
        {
          "index": 0,
          "function": "domains.move",
          "status": "completed",
          "result": 123
        }
      ],
      "complexity_score": 1
    }
    ```
  </Accordion>

  <Accordion title="Пример MCP">
    Запрос:

    ```json theme={null}
    {
      "jsonrpc": "2.0",
      "id": "example",
      "method": "tools/call",
      "params": {
        "name": "hybridbox_execute",
        "arguments": {
          "code": "domains.move(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\", target_workspace_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
        }
      }
    }
    ```

    Ответ:

    ```json theme={null}
    {
      "jsonrpc": "2.0",
      "id": "example",
      "result": {
        "content": [
          {
            "type": "text",
            "text": "{\n  \"request_id\": \"example\",\n  \"status\": \"completed\",\n  \"result\": {\n    \"last_value\": 123\n  },\n  \"responses\": [\n    {\n      \"index\": 0,\n      \"function\": \"domains.move\",\n      \"status\": \"completed\",\n      \"result\": 123\n    }\n  ],\n  \"complexity_score\": 1\n}"
          }
        ],
        "isError": false
      }
    }
    ```
  </Accordion>
</AccordionGroup>

### `domains.purchase`

```text theme={null}
domains.purchase(account_id: str, contact_info: {"address_1": str, "city": str, "country": str, "email": str, "first_name": str, "last_name": str, "organization": str, "phone": str, "state": str, "zip": str}, domains: [str], workspace_id: str) -> Domain
```

Домены: `domains.purchase`.

| Свойство              | Значение                                                 | Свойство                 | Значение          |
| --------------------- | -------------------------------------------------------- | ------------------------ | ----------------- |
| Требуемое разрешение  | `domain.purchase`                                        | Требуется аутентификация | `да`              |
| Режим выполнения      | `sync`                                                   | Возможность              | `domain.purchase` |
| Тип ресурса           | `account`                                                | Поле ID ресурса          | `account_id`      |
| Публичный маршрут API | `POST /v1/public/accounts/{account_id}/domains/purchase` |                          |                   |

<AccordionGroup>
  <Accordion title="Аргументы">
    | Имя            | Тип                                                                                                                                                               | Обязательный |
    | -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
    | `account_id`   | `str`                                                                                                                                                             | да           |
    | `contact_info` | `{"address_1": str, "city": str, "country": str, "email": str, "first_name": str, "last_name": str, "organization": str, "phone": str, "state": str, "zip": str}` | да           |
    | `domains`      | `[str]`                                                                                                                                                           | да           |
    | `workspace_id` | `str`                                                                                                                                                             | да           |
  </Accordion>

  <Accordion title="Возвращает">
    | Поле                | Тип                                                                                                            | Обязательный |
    | ------------------- | -------------------------------------------------------------------------------------------------------------- | ------------ |
    | `results`           | `[{"domain_name": str, "status": str, "error"?: str \| null, "error_code"?: str \| null, "id"?: str \| null}]` | да           |
    | `currency`          | `str \| null`                                                                                                  | нет          |
    | `estimated_total`   | `str \| null`                                                                                                  | нет          |
    | `failed_count`      | `int`                                                                                                          | нет          |
    | `payment_url`       | `str \| null`                                                                                                  | нет          |
    | `purchase_batch_id` | `str \| null`                                                                                                  | нет          |
    | `successful_count`  | `int`                                                                                                          | нет          |
  </Accordion>

  <Accordion title="Пример A2A">
    Запрос:

    ```json theme={null}
    {
      "request_id": "example",
      "session_id": "session_123",
      "code": "domains.purchase(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", contact_info=\"<string>\", domains=\"example.com\", workspace_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
    }
    ```

    Ответ:

    ```json theme={null}
    {
      "request_id": "example",
      "status": "completed",
      "result": {
        "last_value": "<string>"
      },
      "responses": [
        {
          "index": 0,
          "function": "domains.purchase",
          "status": "completed",
          "result": "<string>"
        }
      ],
      "complexity_score": 1
    }
    ```
  </Accordion>

  <Accordion title="Пример MCP">
    Запрос:

    ```json theme={null}
    {
      "jsonrpc": "2.0",
      "id": "example",
      "method": "tools/call",
      "params": {
        "name": "hybridbox_execute",
        "arguments": {
          "code": "domains.purchase(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", contact_info=\"<string>\", domains=\"example.com\", workspace_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
        }
      }
    }
    ```

    Ответ:

    ```json theme={null}
    {
      "jsonrpc": "2.0",
      "id": "example",
      "result": {
        "content": [
          {
            "type": "text",
            "text": "{\n  \"request_id\": \"example\",\n  \"status\": \"completed\",\n  \"result\": {\n    \"last_value\": \"<string>\"\n  },\n  \"responses\": [\n    {\n      \"index\": 0,\n      \"function\": \"domains.purchase\",\n      \"status\": \"completed\",\n      \"result\": \"<string>\"\n    }\n  ],\n  \"complexity_score\": 1\n}"
          }
        ],
        "isError": false
      }
    }
    ```
  </Accordion>
</AccordionGroup>

### `domains.search`

```text theme={null}
domains.search(account_id: str, domains: [str], workspace_id: str) -> list[Domain]
```

Домены: `domains.search`.

| Свойство              | Значение                                              | Свойство                 | Значение        |
| --------------------- | ----------------------------------------------------- | ------------------------ | --------------- |
| Требуемое разрешение  | `domain.create`                                       | Требуется аутентификация | `да`            |
| Режим выполнения      | `sync`                                                | Возможность              | `domain.create` |
| Тип ресурса           | `account`                                             | Поле ID ресурса          | `account_id`    |
| Публичный маршрут API | `GET /v1/public/accounts/{account_id}/domains/search` |                          |                 |

<AccordionGroup>
  <Accordion title="Аргументы">
    | Имя            | Тип     | Обязательный |
    | -------------- | ------- | ------------ |
    | `account_id`   | `str`   | да           |
    | `domains`      | `[str]` | да           |
    | `workspace_id` | `str`   | да           |
  </Accordion>

  <Accordion title="Возвращает">
    | Поле                 | Тип                                                                                                                  | Обязательный |
    | -------------------- | -------------------------------------------------------------------------------------------------------------------- | ------------ |
    | `available`          | `bool`                                                                                                               | да           |
    | `domain`             | `str`                                                                                                                | да           |
    | `price`              | `str`                                                                                                                | да           |
    | `alternatives`       | `[{"domain": str, "price": str, "available"?: bool, "currency"?: str, "is_premium"?: bool, "is_suggestion"?: bool}]` | нет          |
    | `currency`           | `str`                                                                                                                | нет          |
    | `is_premium`         | `bool`                                                                                                               | нет          |
    | `is_suggestion`      | `bool`                                                                                                               | нет          |
    | `unavailable_reason` | `str \| null`                                                                                                        | нет          |
  </Accordion>

  <Accordion title="Пример A2A">
    Запрос:

    ```json theme={null}
    {
      "request_id": "example",
      "session_id": "session_123",
      "code": "domains.search(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domains=\"example.com\", workspace_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
    }
    ```

    Ответ:

    ```json theme={null}
    {
      "request_id": "example",
      "status": "completed",
      "result": {
        "last_value": true
      },
      "responses": [
        {
          "index": 0,
          "function": "domains.search",
          "status": "completed",
          "result": true
        }
      ],
      "complexity_score": 1
    }
    ```
  </Accordion>

  <Accordion title="Пример MCP">
    Запрос:

    ```json theme={null}
    {
      "jsonrpc": "2.0",
      "id": "example",
      "method": "tools/call",
      "params": {
        "name": "hybridbox_execute",
        "arguments": {
          "code": "domains.search(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domains=\"example.com\", workspace_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
        }
      }
    }
    ```

    Ответ:

    ```json theme={null}
    {
      "jsonrpc": "2.0",
      "id": "example",
      "result": {
        "content": [
          {
            "type": "text",
            "text": "{\n  \"request_id\": \"example\",\n  \"status\": \"completed\",\n  \"result\": {\n    \"last_value\": true\n  },\n  \"responses\": [\n    {\n      \"index\": 0,\n      \"function\": \"domains.search\",\n      \"status\": \"completed\",\n      \"result\": true\n    }\n  ],\n  \"complexity_score\": 1\n}"
          }
        ],
        "isError": false
      }
    }
    ```
  </Accordion>
</AccordionGroup>

### `domains.update`

```text theme={null}
domains.update(account_id: str, domain: str, auto_renew?: bool | null, redirect_mode?: "301" | "302" | "iframe" | null, redirect_url?: str | null, workspace_id?: str | null) -> Domain
```

Домены: `domains.update`.

| Свойство              | Значение                                                  | Свойство                 | Значение        |
| --------------------- | --------------------------------------------------------- | ------------------------ | --------------- |
| Требуемое разрешение  | `domain.update`                                           | Требуется аутентификация | `да`            |
| Режим выполнения      | `sync`                                                    | Возможность              | `domain.update` |
| Тип ресурса           | `account`                                                 | Поле ID ресурса          | `account_id`    |
| Публичный маршрут API | `PATCH /v1/public/accounts/{account_id}/domains/{domain}` |                          |                 |

<AccordionGroup>
  <Accordion title="Аргументы">
    | Имя             | Тип                                  | Обязательный |
    | --------------- | ------------------------------------ | ------------ |
    | `account_id`    | `str`                                | да           |
    | `domain`        | `str`                                | да           |
    | `auto_renew`    | `bool \| null`                       | нет          |
    | `redirect_mode` | `"301" \| "302" \| "iframe" \| null` | нет          |
    | `redirect_url`  | `str \| null`                        | нет          |
    | `workspace_id`  | `str \| null`                        | нет          |
  </Accordion>

  <Accordion title="Возвращает">
    | Поле            | Тип                                  | Обязательный |
    | --------------- | ------------------------------------ | ------------ |
    | `auto_renew`    | `bool`                               | да           |
    | `id`            | `str`                                | да           |
    | `workspace_id`  | `str`                                | да           |
    | `redirect_mode` | `"301" \| "302" \| "iframe" \| null` | нет          |
    | `redirect_url`  | `str \| null`                        | нет          |
  </Accordion>

  <Accordion title="Пример A2A">
    Запрос:

    ```json theme={null}
    {
      "request_id": "example",
      "session_id": "session_123",
      "code": "domains.update(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\", auto_renew=true, redirect_mode=\"<string>\", redirect_url=\"<string>\", workspace_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
    }
    ```

    Ответ:

    ```json theme={null}
    {
      "request_id": "example",
      "status": "completed",
      "result": {
        "last_value": true
      },
      "responses": [
        {
          "index": 0,
          "function": "domains.update",
          "status": "completed",
          "result": true
        }
      ],
      "complexity_score": 1
    }
    ```
  </Accordion>

  <Accordion title="Пример MCP">
    Запрос:

    ```json theme={null}
    {
      "jsonrpc": "2.0",
      "id": "example",
      "method": "tools/call",
      "params": {
        "name": "hybridbox_execute",
        "arguments": {
          "code": "domains.update(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\", auto_renew=true, redirect_mode=\"<string>\", redirect_url=\"<string>\", workspace_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
        }
      }
    }
    ```

    Ответ:

    ```json theme={null}
    {
      "jsonrpc": "2.0",
      "id": "example",
      "result": {
        "content": [
          {
            "type": "text",
            "text": "{\n  \"request_id\": \"example\",\n  \"status\": \"completed\",\n  \"result\": {\n    \"last_value\": true\n  },\n  \"responses\": [\n    {\n      \"index\": 0,\n      \"function\": \"domains.update\",\n      \"status\": \"completed\",\n      \"result\": true\n    }\n  ],\n  \"complexity_score\": 1\n}"
          }
        ],
        "isError": false
      }
    }
    ```
  </Accordion>
</AccordionGroup>

### `domains.verify`

```text theme={null}
domains.verify(account_id: str, domain: str) -> Domain
```

Домены: `domains.verify`.

| Свойство              | Значение                                                        | Свойство                 | Значение        |
| --------------------- | --------------------------------------------------------------- | ------------------------ | --------------- |
| Требуемое разрешение  | `domain.verify`                                                 | Требуется аутентификация | `да`            |
| Режим выполнения      | `sync`                                                          | Возможность              | `domain.verify` |
| Тип ресурса           | `account`                                                       | Поле ID ресурса          | `account_id`    |
| Публичный маршрут API | `POST /v1/public/accounts/{account_id}/domains/{domain}/verify` |                          |                 |

<AccordionGroup>
  <Accordion title="Аргументы">
    | Имя          | Тип   | Обязательный |
    | ------------ | ----- | ------------ |
    | `account_id` | `str` | да           |
    | `domain`     | `str` | да           |
  </Accordion>

  <Accordion title="Возвращает">
    | Поле                     | Тип     | Обязательный |
    | ------------------------ | ------- | ------------ |
    | `actual_nameservers`     | `[str]` | да           |
    | `domain_id`              | `str`   | да           |
    | `expected_nameservers`   | `[str]` | да           |
    | `message`                | `str`   | да           |
    | `status`                 | `str`   | да           |
    | `verified`               | `bool`  | да           |
    | `missing_nameservers`    | `[str]` | нет          |
    | `unexpected_nameservers` | `[str]` | нет          |
  </Accordion>

  <Accordion title="Пример A2A">
    Запрос:

    ```json theme={null}
    {
      "request_id": "example",
      "session_id": "session_123",
      "code": "domains.verify(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\")"
    }
    ```

    Ответ:

    ```json theme={null}
    {
      "request_id": "example",
      "status": "completed",
      "result": {
        "last_value": true
      },
      "responses": [
        {
          "index": 0,
          "function": "domains.verify",
          "status": "completed",
          "result": true
        }
      ],
      "complexity_score": 1
    }
    ```
  </Accordion>

  <Accordion title="Пример MCP">
    Запрос:

    ```json theme={null}
    {
      "jsonrpc": "2.0",
      "id": "example",
      "method": "tools/call",
      "params": {
        "name": "hybridbox_execute",
        "arguments": {
          "code": "domains.verify(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\")"
        }
      }
    }
    ```

    Ответ:

    ```json theme={null}
    {
      "jsonrpc": "2.0",
      "id": "example",
      "result": {
        "content": [
          {
            "type": "text",
            "text": "{\n  \"request_id\": \"example\",\n  \"status\": \"completed\",\n  \"result\": {\n    \"last_value\": true\n  },\n  \"responses\": [\n    {\n      \"index\": 0,\n      \"function\": \"domains.verify\",\n      \"status\": \"completed\",\n      \"result\": true\n    }\n  ],\n  \"complexity_score\": 1\n}"
          }
        ],
        "isError": false
      }
    }
    ```
  </Accordion>
</AccordionGroup>
