agency-board
PATCH /v1/agency/boards/{boardId}/ai/settings
Turn auto-triage or the standup digest on or off.
אימות
שלח מפתח 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_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 an… |
שגיאות שנקודה קצה זו עשויה להחזיר
401 · 403 · 404 · 422