agency-board
PATCH /v1/agency/boards/{boardId}/ai/settings
Turn auto-triage or the standup digest on or off.
Аутентификация
API кілтін bearer токені ретінде жіберіңіз. Бұл соңғы нүкте сипаттамада арнайы рұқсатты көрсетпейді, сондықтан болжағаннан гөрі кілтіңізге қажетті ең аз рұқсатты беріп, жауапты тексеріңіз.
Бұл соңғы нүкте ұйым идентификаторын қабылдамайды. Сіздің кілтіңіз оның қай ұйымға тиесілі екенін өзі анықтайды және жауап соған шектеледі.
Әрекет етіп көру
Бұрыштық жақшалардағы кез келген нәрсені өз мәндеріңізбен, ал кілт орналастырушысын басқару тақтасынан алынған кілтпен алмастырыңыз.
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 арқылы орындайды. Бұл соңғы нүктені 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.
Параметрлер
| Аты | Tүрі | Міндетті | Мазмұны |
|---|---|---|---|
boardId (path) | Uuid | Иә | Project board ID (UUIDv7). |
Сұрау денесі
| Аты | Tүрі | Міндетті | Мазмұны |
|---|---|---|---|
auto_triage | boolean | Жоқ | — |
auto_triage_applies | boolean | Жоқ | — |
digest_cadence | string<off, daily, weekdays, weekly> | Жоқ | — |
digest_hour_utc | integer | Жоқ | — |
preferred_provider | string | Жоқ | — |
preferred_model | string | Жоқ | — |
Жауап
| Аты | Tүрі | Міндетті | Мазмұны |
|---|---|---|---|
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… |
Бұл соңғы нүкте қайтара алатын қателер
401 · 403 · 404 · 422