hosting
GET /v1/sites/{siteId}/ide-assist/models
The AI models the site's web editor may use.
ავტორიზაცია
ეს ენდპოინტი საჯაროა. ის არ მოითხოვს არც რამედას და არც ორგანიზაციას — ეს არის ის, რასაც ჩვენი მარკეტინგული საიტი და AI პასუხების ძრავები კითხულობენ.
ეს ბოლო წერტილი არ იღებს ორგანიზაციის იდენტიფიკატორს. თქვენი გასაღები უკვე აიდენტიფიცირებს იმ ორგანიზაციას, რომელსაც ის ეკუთვნის, და პასუხი შემოფარგლულია მისით.
სცადეთ
შეSubstituted any value inside angle brackets with your own and the key placeholder with a key from your dashboard.
curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/ide-assist/modelsშესული ხართ? თქვენი სამართავ პანელში არსებული API კონსოლი ავტომატურად ამატებს თქვენი რეალური ორგანიზაციის ID-სა და საკუთარ გასაღებს და ატარებს მოთხოვნას ცოცხალ API-ს წინააღმდეგ, რათა იხილოთ რეალური პასუხი. გაAღით ეს ენდპოინტი 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). |
პასუხი
| სახელი | ტიპი | სავალდებულო | რა არის ეს |
|---|---|---|---|
models | IdeAssistModel[] | დიახ | — |
refusal | string | დიახ | 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