agency-board
PATCH /v1/agency/boards/{boardId}/ai/settings
Turn auto-triage or the standup digest on or off.
Упълномощаване
Изпратете API ключ като носител (bearer token). Тази точка за достъп не указва конкретно разрешение в спецификацията, затова дайте на ключа си най-малкото необходимо и проверете отговора, вместо да правите предположения.
Този ендпойнт не изисква идентификатор на организация. Вашият ключ вече идентифицира организацията, към която принадлежи, и отговорът е ограничен до нея.
Опитайте
Заменете всичко в квадратни скоби със собствени стойности, а ключовия заместващ символ – с ключ от вашето табло за управление.
curl -X PATCH https://api.zinndigital.com/v1/agency/boards/{boardId}/ai/settings \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ }'Влязохте ли в профила си? API конзолата във вашето табло за управление попълва действителното идентификационно число на вашата организация и вашия собствен ключ и изпълнява заявката спрямо реалното API, за да можете да видите действителния отговор. Отворете този крайpoint в API конзолата
Детайли
Both are **opt-in and off by default** — each is recurring billed work, so a board created for a test or an import must not start spending on a schedule nobody chose. Setting `digestCadence` to anything but `off` schedules the first digest; setting it to `off` clears the schedule.
Параметри
| Име | Тип | Задължително | Какво представлява |
|---|---|---|---|
boardId (path) | Uuid | Да | Project board ID (UUIDv7). |
Тяло на заявката
| Име | Тип | Задължително | Какво представлява |
|---|---|---|---|
auto_triage | boolean | Не | — |
auto_triage_applies | boolean | Не | — |
digest_cadence | string<off, daily, weekdays, weekly> | Не | — |
digest_hour_utc | integer | Не | — |
preferred_provider | string | Не | — |
preferred_model | string | Не | — |
Отговор
| Име | Тип | Задължително | Какво представлява |
|---|---|---|---|
board_id | Uuid | Да | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
auto_triage | boolean | Да | Triage a card when it lands in the intake column. Off by default. |
auto_triage_applies | boolean | Не | Apply the triage suggestions, or only propose them. Separate from `auto_triage` because "tell me what you think" and "do it" are different appetites. |
digest_cadence | string<off, daily, weekdays, weekly> | Да | — |
digest_hour_utc | integer | Не | — |
digest_next_at | string | Не | — |
digest_last_ok_at | string | Не | When a digest last SUCCEEDED. Kept separate from `digest_next_at` deliberately: one column cannot serve both a cursor and a staleness alarm. |
preferred_provider | string | Не | — |
preferred_model | string | Не | Blank means the cheapest model we can run, computed from the price table. |
entitled | boolean | Не | Whether this organisation's plan includes board AI at all, so a client can stop offering what the engine would refuse. `false` means every run on this board answers `200` with `… |
own_key | boolean | Не | Whether this organisation holds a live BYO provider key. Present under exactly the same condition as `entitled` — both are omitted when the caller did not scope the question to… |
Грешки, които този крайpoint може да върне
401 · 403 · 404 · 422