hosting

GET /v1/sites/{siteId}/ide-assist/models

The AI models the site's web editor may use.

Все эндпоинты hosting

Вся документация для разработчиков

Аутентификация

Этот эндпоинт является публичным. Он не требует учетных данных и организации — его читают наш собственный маркетинговый сайт и поисковые системы на базе ИИ.

Этот эндпоинт не принимает идентификатор организации. Ваш ключ уже определяет организацию, к которой он принадлежит, и ответ ограничивается ее рамками.

Попробовать

Замените всё в угловых скобках на собственные значения, а плейсхолдер ключа — на ключ из вашей панели управления.

curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/ide-assist/models

Вошли в систему? Консоль API в вашей панели управления автоматически подставляет реальный идентификатор вашей организации и ваш собственный ключ, а также выполняет запрос к работающему API, чтобы вы могли увидеть актуальный ответ. Откройте эту конечную точку в API-консоли

Подробнее

What the editor's model picker offers this organisation, cheapest first. The first entry is also the one marked default: the editor's automatic choice is computed from our published price list rather than typed into the code, so a cheaper model becomes the default when it appears and nobody has to remember to change it. ⛔ Every model listed carries a real price, and one we cannot price is not listed. Owner ruling 2026-09-09, reading this dropdown: "it says model price unknown - how can they be unknown they are public … it can never say unknown!" The rule this replaced listed unpriced models marked priced: false, on the reasoning that a BYO-key customer may run anything their account can — a fair argument that lost to the measurement, because 33 of 45 verified models were unpriced and the "marked exception" was three quarters of the list. A stale price is still offered, with its age: a freshness problem must not become an availability problem. Authenticated by the same grant as the assistant itself. When the organisation cannot spend at all, models is empty and refusal says why: an empty list on its own cannot be told apart from "we could not look".

Параметры

ИмяТипОбязательноЧто это
siteId (path)UuidДаSite ID (UUIDv7).

Ответ

ИмяТипОбязательноЧто это
modelsIdeAssistModel[]Да
refusalstringДаWhy models is empty, when it is. Empty otherwise. An empty list with no reason cannot be told apart from "we could not look", so the reason travels with it.

Ошибки, которые может возвращать этот эндпоинт

404 · 422