hosting
GET /v1/sites/{siteId}/ide-assist/models
The AI models the site's web editor may use.
Hitelesítés
Ez a végpont nyilvános. Nem igényel hitelesítő adatot és szervezetet sem – ezt olvassa a saját marketingoldalunk és az MI-válaszadó motorunk is.
Ez a végpont nem fogad el szervezeti azonosítót. Az Ön kulcsa már azonosítja azt a szervezetet, amelyhez tartozik, és a válasz is erre vonatkozik.
Próbálja ki
Cserélje ki a hegyes zárójelek közötti részt a saját értékeivel, a kulcshelyőrzőt pedig a vezérlőpultján található kulccsal.
curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/ide-assist/modelsBe van jelentkezve? A vezérlőpultban lévő API-konzol kitölti a valós szervezetazonosítóját és a saját kulcsát, és a kérést az éles API-n futtatja, hogy láthassa a tényleges választ. Nyissa meg ezt a végpontot az API konzolban
Részletek
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".
Paraméterek
| Név | Típus | Kötelező | Mi ez |
|---|---|---|---|
siteId (path) | Uuid | Igen | Site ID (UUIDv7). |
Válasz
| Név | Típus | Kötelező | Mi ez |
|---|---|---|---|
models | IdeAssistModel[] | Igen | — |
refusal | string | Igen | 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. |
Hibák, amelyeket ez a végpont visszaadhattatlan
404 · 422