agency-board
PATCH /v1/agency/boards/{boardId}/ai/settings
Turn auto-triage or the standup digest on or off.
Pengesahan
Hantar kunci API sebagai token pembawa. Titik akhir ini tidak menyatakan kebenaran tertentu dalam spesifikasi, jadi berikan kunci anda kebenaran minimum yang diperlukan dan semak respons tersebut daripada membuat andaian.
Titik akhir ini tidak memerlukan id organisasi. Kunci anda telah mengenal pasti organisasi kepunyaannya, dan respons dis skopkan kepadanya.
Cuba
Gantikan apa sahaja di dalam kurungan sudut dengan nilai anda sendiri, dan pemegang tempat kunci dengan kunci dari papan pemuka anda.
curl -X PATCH https://api.zinndigital.com/v1/agency/boards/{boardId}/ai/settings \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ }'Sudah log masuk? Konsol API dalam papan pemuka anda mengisi id organisasi sebenar dan kunci anda sendiri, serta menjalankan permintaan terhadap API langsung supaya anda boleh melihat respons sebenar. Buka penamat ini dalam konsol API
Butiran
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.
Parameter
| Nama | Jenis | Diperlukan | Apakah ia |
|---|---|---|---|
boardId (path) | Uuid | Ya | Project board ID (UUIDv7). |
Badan permintaan
| Nama | Jenis | Diperlukan | Apakah ia |
|---|---|---|---|
auto_triage | boolean | Tidak | — |
auto_triage_applies | boolean | Tidak | — |
digest_cadence | string<off, daily, weekdays, weekly> | Tidak | — |
digest_hour_utc | integer | Tidak | — |
preferred_provider | string | Tidak | — |
preferred_model | string | Tidak | — |
Respons
| Nama | Jenis | Diperlukan | Apakah ia |
|---|---|---|---|
board_id | Uuid | Ya | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
auto_triage | boolean | Ya | Triage a card when it lands in the intake column. Off by default. |
auto_triage_applies | boolean | Tidak | 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> | Ya | — |
digest_hour_utc | integer | Tidak | — |
digest_next_at | string | Tidak | — |
digest_last_ok_at | string | Tidak | 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 | Tidak | — |
preferred_model | string | Tidak | Blank means the cheapest model we can run, computed from the price table. |
entitled | boolean | Tidak | 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 `… |
Ralat yang boleh dikembalikan oleh titik akhir ini
401 · 403 · 404 · 422