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.

پارامترها

نامنوعالزامیچیست
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 `…

خطاهایی که این نقطه پایانی می‌تواند برگرداند

401 · 403 · 404 · 422