hosting

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

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

همه نقاط پایانی hosting

احراز هویت

این نقطه پایانی عمومی است. هیچ مدرک احراز هویت و هیچ سازمانی نمی‌پذیرد — این همان چیزی است که سایت بازاریابی خودمان و موتورهای پاسخ‌دهنده هوش مصنوعی می‌خوانند.

این نقطه پایانی هیچ شناسه سازمانی را دریافت نمی‌کند. کلید شما در حال حاضر سازمان مربوطه را مشخص می‌کند و پاسخ در همان محدوده ارائه می‌شود.

امتحان کنید

هر چیزی را که داخل براکت‌های زاویه‌دار قرار دارد با مقادیر خودتان جایگزین کنید، و نگهدارنده کلید را با کلیدی از داشبورد خود جایگزین نمایید.

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

وارد شده‌اید؟ کنسول API در داشبورد شما شناسه سازمان واقعی و کلید خودتان را پر می‌کند و درخواست را روی 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