Перейти к основному содержанию

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-статусом, ключами настройки и рабочими областями доменов. В примерах используется режим кода A2A. MCP предоставляет тот же режим кода через инструмент execute.

Функции

domains.delete

domains.delete(account_id: str, domain: str) -> {}
Домены: domains.delete.
СвойствоЗначениеСвойствоЗначение
Требуемое разрешениеdomain.deleteТребуется аутентификацияда
Режим выполненияsyncВозможностьdomain.delete
Тип ресурсаaccountПоле ID ресурсаaccount_id
Публичный маршрут APIDELETE /v1/public/accounts/{account_id}/domains/{domain}
ИмяТипОбязательный
account_idstrда
domainstrда
ПолеТипОбязательный
result{}да
Запрос:
{
  "request_id": "example",
  "session_id": "session_123",
  "code": "domains.delete(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\")"
}
Ответ:
{
  "request_id": "example",
  "status": "completed",
  "result": {
    "last_value": {}
  },
  "responses": [
    {
      "index": 0,
      "function": "domains.delete",
      "status": "completed",
      "result": {}
    }
  ],
  "complexity_score": 1
}
Запрос:
{
  "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\")"
    }
  }
}
Ответ:
{
  "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
  }
}

domains.get

domains.get(account_id: str, domain: str) -> Domain
Домены: domains.get.
СвойствоЗначениеСвойствоЗначение
Требуемое разрешениеdomain.viewТребуется аутентификацияда
Режим выполненияsyncВозможностьdomain.view
Тип ресурсаaccountПоле ID ресурсаaccount_id
Публичный маршрут APIGET /v1/public/accounts/{account_id}/domains/{domain}
ИмяТипОбязательный
account_idstrда
domainstrда
ПолеТипОбязательный
idstrда
namestrда
outbound_routing_readyboolда
statusstrда
workspace_idstrда
auto_renewboolнет
created_atstr | nullнет
dedicated_ip_idstr | nullнет
dns_records[{"id": int, "name": str, "ttl": int, "type": str, "value": str, "is_system_managed"?: bool, "priority"?: int | null}]нет
inbound_tenant_external_idstr | nullнет
inbound_tenant_idstr | nullнет
inbound_tenant_namestr | nullнет
inbound_tenant_typestr | nullнет
mailboxes[{"active": bool, "email": str, "first_name": str, "id": str, "last_name": str}]нет
redirect_mode"301" | "302" | "iframe" | nullнет
redirect_urlstr | nullнет
tags[{"id": str, "name": str}]нет
updated_atstr | nullнет
Запрос:
{
  "request_id": "example",
  "session_id": "session_123",
  "code": "domains.get(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\")"
}
Ответ:
{
  "request_id": "example",
  "status": "completed",
  "result": {
    "last_value": true
  },
  "responses": [
    {
      "index": 0,
      "function": "domains.get",
      "status": "completed",
      "result": true
    }
  ],
  "complexity_score": 1
}
Запрос:
{
  "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\")"
    }
  }
}
Ответ:
{
  "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
  }
}

domains.health

domains.health(account_id: str, domain: str, refresh?: bool) -> Domain
Домены: domains.health.
СвойствоЗначениеСвойствоЗначение
Требуемое разрешениеdomain.viewТребуется аутентификацияда
Режим выполненияsyncВозможностьdomain.view
Тип ресурсаaccountПоле ID ресурсаaccount_id
Публичный маршрут APIGET /v1/public/accounts/{account_id}/domains/{domain}/health
ИмяТипОбязательный
account_idstrда
domainstrда
refreshboolнет
ПолеТипОбязательный
cache_ttl_secondsintда
cachedboolда
checked_atstrда
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_idstrда
domain_namestrда
summary_status"healthy" | "warning" | "critical" | "unknown"да
timings_ms{}да
Запрос:
{
  "request_id": "example",
  "session_id": "session_123",
  "code": "domains.health(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\", refresh=true)"
}
Ответ:
{
  "request_id": "example",
  "status": "completed",
  "result": {
    "last_value": 123
  },
  "responses": [
    {
      "index": 0,
      "function": "domains.health",
      "status": "completed",
      "result": 123
    }
  ],
  "complexity_score": 1
}
Запрос:
{
  "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)"
    }
  }
}
Ответ:
{
  "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
  }
}

domains.list

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
Публичный маршрут APIGET /v1/public/accounts/{account_id}/domains
ИмяТипОбязательный
account_idstrда
pageintнет
page_sizeintнет
searchstr | nullнет
workspace_idstr | nullнет
ПолеТипОбязательный
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}]да
pageintда
page_sizeintда
totalintда
Запрос:
{
  "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\")"
}
Ответ:
{
  "request_id": "example",
  "status": "completed",
  "result": {
    "last_value": true
  },
  "responses": [
    {
      "index": 0,
      "function": "domains.list",
      "status": "completed",
      "result": true
    }
  ],
  "complexity_score": 1
}
Запрос:
{
  "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\")"
    }
  }
}
Ответ:
{
  "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
  }
}

domains.move

domains.move(account_id: str, domain: str, target_workspace_id: str) -> Domain
Домены: domains.move.
СвойствоЗначениеСвойствоЗначение
Требуемое разрешениеdomain.moveТребуется аутентификацияда
Режим выполненияsyncВозможностьdomain.move
Тип ресурсаworkspaceПоле ID ресурсаtarget_workspace_id
Публичный маршрут APIPOST /v1/public/accounts/{account_id}/domains/{domain}/move
ИмяТипОбязательный
account_idstrда
domainstrда
target_workspace_idstrда
ПолеТипОбязательный
account_idstrда
domain_idstrда
domain_namestrда
from_workspace_idstrда
reconciled{"linked_records_changed"?: int}да
to_workspace_idstrда
statusstrнет
Запрос:
{
  "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\")"
}
Ответ:
{
  "request_id": "example",
  "status": "completed",
  "result": {
    "last_value": 123
  },
  "responses": [
    {
      "index": 0,
      "function": "domains.move",
      "status": "completed",
      "result": 123
    }
  ],
  "complexity_score": 1
}
Запрос:
{
  "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\")"
    }
  }
}
Ответ:
{
  "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
  }
}

domains.purchase

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
Публичный маршрут APIPOST /v1/public/accounts/{account_id}/domains/purchase
ИмяТипОбязательный
account_idstrда
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_idstrда
ПолеТипОбязательный
results[{"domain_name": str, "status": str, "error"?: str | null, "error_code"?: str | null, "id"?: str | null}]да
currencystr | nullнет
estimated_totalstr | nullнет
failed_countintнет
payment_urlstr | nullнет
purchase_batch_idstr | nullнет
successful_countintнет
Запрос:
{
  "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\")"
}
Ответ:
{
  "request_id": "example",
  "status": "completed",
  "result": {
    "last_value": "<string>"
  },
  "responses": [
    {
      "index": 0,
      "function": "domains.purchase",
      "status": "completed",
      "result": "<string>"
    }
  ],
  "complexity_score": 1
}
Запрос:
{
  "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\")"
    }
  }
}
Ответ:
{
  "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
  }
}
domains.search(account_id: str, domains: [str], workspace_id: str) -> list[Domain]
Домены: domains.search.
СвойствоЗначениеСвойствоЗначение
Требуемое разрешениеdomain.createТребуется аутентификацияда
Режим выполненияsyncВозможностьdomain.create
Тип ресурсаaccountПоле ID ресурсаaccount_id
Публичный маршрут APIGET /v1/public/accounts/{account_id}/domains/search
ИмяТипОбязательный
account_idstrда
domains[str]да
workspace_idstrда
ПолеТипОбязательный
availableboolда
domainstrда
pricestrда
alternatives[{"domain": str, "price": str, "available"?: bool, "currency"?: str, "is_premium"?: bool, "is_suggestion"?: bool}]нет
currencystrнет
is_premiumboolнет
is_suggestionboolнет
unavailable_reasonstr | 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\")"
}
Ответ:
{
  "request_id": "example",
  "status": "completed",
  "result": {
    "last_value": true
  },
  "responses": [
    {
      "index": 0,
      "function": "domains.search",
      "status": "completed",
      "result": true
    }
  ],
  "complexity_score": 1
}
Запрос:
{
  "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\")"
    }
  }
}
Ответ:
{
  "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
  }
}

domains.update

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
Публичный маршрут APIPATCH /v1/public/accounts/{account_id}/domains/{domain}
ИмяТипОбязательный
account_idstrда
domainstrда
auto_renewbool | nullнет
redirect_mode"301" | "302" | "iframe" | nullнет
redirect_urlstr | nullнет
workspace_idstr | nullнет
ПолеТипОбязательный
auto_renewboolда
idstrда
workspace_idstrда
redirect_mode"301" | "302" | "iframe" | nullнет
redirect_urlstr | 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\")"
}
Ответ:
{
  "request_id": "example",
  "status": "completed",
  "result": {
    "last_value": true
  },
  "responses": [
    {
      "index": 0,
      "function": "domains.update",
      "status": "completed",
      "result": true
    }
  ],
  "complexity_score": 1
}
Запрос:
{
  "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\")"
    }
  }
}
Ответ:
{
  "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
  }
}

domains.verify

domains.verify(account_id: str, domain: str) -> Domain
Домены: domains.verify.
СвойствоЗначениеСвойствоЗначение
Требуемое разрешениеdomain.verifyТребуется аутентификацияда
Режим выполненияsyncВозможностьdomain.verify
Тип ресурсаaccountПоле ID ресурсаaccount_id
Публичный маршрут APIPOST /v1/public/accounts/{account_id}/domains/{domain}/verify
ИмяТипОбязательный
account_idstrда
domainstrда
ПолеТипОбязательный
actual_nameservers[str]да
domain_idstrда
expected_nameservers[str]да
messagestrда
statusstrда
verifiedboolда
missing_nameservers[str]нет
unexpected_nameservers[str]нет
Запрос:
{
  "request_id": "example",
  "session_id": "session_123",
  "code": "domains.verify(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\")"
}
Ответ:
{
  "request_id": "example",
  "status": "completed",
  "result": {
    "last_value": true
  },
  "responses": [
    {
      "index": 0,
      "function": "domains.verify",
      "status": "completed",
      "result": true
    }
  ],
  "complexity_score": 1
}
Запрос:
{
  "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\")"
    }
  }
}
Ответ:
{
  "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
  }
}