agency-board
PATCH /v1/agency/boards/{boardId}/ai/settings
Turn auto-triage or the standup digest on or off.
Նույնականացում
Ուղարկեք API բանալին որպես bearer թոքեն։ Այս վերջնակետը բնութագրում չի նշում որոշակի թույլտվության մասին, ուստի տվեք ձեր բանալուն նվազագույն անհրաժեշտը և ենթադրություններ անելու փոխարեն ստուգեք պատասխանը:
Այս վերջնակետը կազմակերպության ID չի ընդունում: Ձեր բանալին արդեն իսկ նույնականացնում է այն կազմակերպությունը, որին պատկանում է, և պատասխանը սահմանափակված է դրանով:
Փորձել
Փոխարինեք անկյունային փակագծերում գտնվող ցանկացած բան ձեր սեփական արժեքներով, և բանալու տեղապահը՝ ձեր վահանակի բանալիով:
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 վահանակը լրացնում է ձեր իրական կազմակերպության ID-ն և ձեր սեփական բանալին և գործարկում է հարցումը ուղիղ 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.
Պարամետրեր
| Անուն | Տեսակ | Պահանջվում է | Ինչ է դա |
|---|---|---|---|
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… |
Այս վերջնակետի կողմից վերադարձվող սխալները
401 · 403 · 404 · 422