hosting

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

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

Բոլոր hosting վերջնակետերը

Նույնականացում

Այս վերջնակետը հանրային է: Այն չի պահանջում որևէ հավատարմագիր կամ կազմակերպություն. դա այն է, ինչ կարդում են մեր սեփական մարքեթինգային կայքը և արհեստական բանականության պատասխանների շարժիչները:

Այս վերջնակետը կազմակերպության ID չի ընդունում: Ձեր բանալին արդեն իսկ նույնականացնում է այն կազմակերպությունը, որին պատկանում է, և պատասխանը սահմանափակված է դրանով:

Փորձել

Փոխարինեք անկյունային փակագծերում գտնվող ցանկացած բան ձեր սեփական արժեքներով, և բանալու տեղապահը՝ ձեր վահանակի բանալիով:

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

Մուտք գործե՞լ եք: Ձեր վահանակի API վահանակը լրացնում է ձեր իրական կազմակերպության ID-ն և ձեր սեփական բանալին և գործարկում է հարցումը ուղիղ 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. 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".

Պարամետրեր

ԱնունՏեսակՊահանջվում էԻնչ է դա
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