hosting
GET /v1/sites/{siteId}/ide-assist/models
The AI models the site's web editor may use.
Authentification
Cet point de terminaison est public. Il ne nécessite aucun identifiant ni aucune organisation : c'est ce que notre propre site marketing et nos moteurs de réponse IA lisent.
Cet endpoint ne prend aucun identifiant d'organisation. Votre clé identifie déjà l'organisation à laquelle elle appartient, et la réponse y est limitée.
Essayer
Remplacez tout ce qui se trouve entre crochets par vos propres valeurs, et le espace réservé à la clé par une clé de votre tableau de bord.
curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/ide-assist/modelsConnecté ? La console d'API de votre tableau de bord saisit votre véritable ID d'organisation ainsi que votre propre clé, et exécute la requête sur l'API de production afin que vous puissiez voir la réponse réelle. Ouvrir ce point de terminaison dans la console API
Détails
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ètres
| Nom | Type | Obligatoire | Qu'est-ce que c'est |
|---|---|---|---|
siteId (path) | Uuid | Oui | Site ID (UUIDv7). |
Réponse
| Nom | Type | Obligatoire | Qu'est-ce que c'est |
|---|---|---|---|
models | IdeAssistModel[] | Oui | — |
refusal | string | Oui | 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. |
Erreurs que cet point de terminaison peut renvoyer
404 · 422