hosting

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

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

Toate punctele finale hosting

Autentificare

Acest punct final este public. Nu necesită nicio acreditare și nicio organizație – este ceea ce citesc propriul nostru site de marketing și motoarele de răspuns AI.

Acest endpoint nu necesită un ID de organizație. Cheia ta identifică deja organizația căreia îi aparține, iar răspunsul este limitat la aceasta.

Încearcă

Înlocuiți tot ce se află între paranteze unghiulare cu propriile valori și substituentul cheie cu o cheie din tabloul de bord.

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

Autentificat? Consola API din panoul de control îți completează ID-ul real al organizației și propria cheie și rulează cererea în API-ul live, astfel încât să poți vedea răspunsul efectiv. Deschideți acest punct final în consola API

Detalii

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. Models we hold no published price for are listed last and marked `priced: false` rather than hidden — a customer running on their own provider key may spend it on anything their account can run, and removing one would look like we had withdrawn it. 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".

Parametri

NumeTipObligatoriuCe este
siteId (path)UuidDaSite ID (UUIDv7).

Răspuns

NumeTipObligatoriuCe este
modelsIdeAssistModel[]Da
refusalstringDaWhy `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.

Erori pe care le poate returna acest punct final

404 · 422