ai
GET /v1/ai/site-builds/{siteBuildId}/images
What generating this draft's images would cost. Spends nothing.
Автентифікація
Надішліть ключ API як маркер носія (bearer token). Ключ повинен мати дозвіл sites.create; ключ без нього відхиляється з кодом 403, а не 404.
Цей кінцевий пункт не потребує ідентифікатора організації. Ваш ключ уже ідентифікує організацію, якій він належить, і відповідь обмежується її межами.
Спробувати
Замініть усе в кутових дужках власними значеннями, а заповнювач ключа — ключем із вашої панелі керування.
curl -X GET https://api.zinndigital.com/v1/ai/site-builds/{siteBuildId}/images \
-H "Authorization: Bearer zdk_live_…"Увійшли в систему? Консоль API у вашій панелі керування автоматично підставляє ваш реальний ідентифікатор організації та ваш власний ключ, а також виконує запит до робочого API, щоб ви могли побачити справжню відповідь. Відкрийте цю кінцеву точку в консолі API
Деталі
Lists every image the generated markup asks for and prices them, **without generating anything and without charging anything**. Images already generated for this draft are listed separately and are not quoted again. The list comes from the `<img>` tags in the generated HTML rather than from a number anybody types, so the count shown is the number of images the site actually uses. `unit_price_usd_micros` is `0` when the organization is on its own provider key — that is the true answer to "what will we charge you", not a missing value; their own provider bills them directly. Requires `sites.create`.
Параметри
| Назва | Тип | Обов'язкове | Що це таке |
|---|---|---|---|
siteBuildId (path) | Uuid | Так | — |
Відповідь
| Назва | Тип | Обов'язкове | Що це таке |
|---|---|---|---|
quote | object | Так | — |
Помилки, які може повертати ця кінцева точка
401 · 403 · 404 · 429