agency-board

PATCH /v1/agency/boards/{boardId}/ai/settings

Turn auto-triage or the standup digest on or off.

Барлық agency-board соңғы нүктелері

Аутентификация

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_triagebooleanЖоқ
auto_triage_appliesbooleanЖоқ
digest_cadencestring<off, daily, weekdays, weekly>Жоқ
digest_hour_utcintegerЖоқ
preferred_providerstringЖоқ
preferred_modelstringЖоқ

Жауап

АтыTүріМіндеттіМазмұны
board_idUuidИәUUIDv7 identifier — sortable by creation time (docs/02 §8).
auto_triagebooleanИәTriage a card when it lands in the intake column. Off by default.
auto_triage_appliesbooleanЖоқ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_cadencestring<off, daily, weekdays, weekly>Иә
digest_hour_utcintegerЖоқ
digest_next_atstringЖоқ
digest_last_ok_atstringЖоқWhen a digest last SUCCEEDED. Kept separate from `digest_next_at` deliberately: one column cannot serve both a cursor and a staleness alarm.
preferred_providerstringЖоқ
preferred_modelstringЖоқBlank means the cheapest model we can run, computed from the price table.
entitledbooleanЖоқ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_keybooleanЖоқ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