agency-board

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

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

Све agency-board крајње тачке

Сва документација за програмере →

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

Пошаљите 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_triagebooleanНе—
auto_triage_appliesbooleanНе—
digest_cadencestring<off, daily, weekdays, weekly>Не—
digest_hour_utcintegerНе—
preferred_providerstringНе—
preferred_modelstringНе—

Одговор

НазивТипОбавезноШта је ово
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 an…

Грешке које ова крајња тачка може вратити

401 · 403 · 404 · 422