Docs / Workers and automation / The decisions endpoint
The decisions endpoint
On Pro, off by default. Turned on, small yes or no questions, such as whether a new bug repeats an old one, can be answered by a decision model. Nothing is sent unless you opt in.
Two switches, both off
| Your switch off | Your switch on | |
|---|---|---|
| Workspace switch off | no | no |
| Workspace switch on | no | yes |
The workspace owner's switch is under Setup, Workspace; yours is under Setup, Your data. What goes where, and to whom, is on the decisions endpoint under your data.
What it is used for
| Where | Question it answers | If it does not answer in time |
|---|---|---|
| Programs and webhooks | Does this read like an item already open? | The bug is raised as usual, with no hint |
| Start of a session | Which skill fits this work? | Hints work as before |
| Your agent | decide: a yes or no, a pick, or a score | Refused with a plain reason, and nothing sent, while either switch is off |
| A script or hook on your machine | helper decide, through a helper or runner signed in with the decisions box ticked | An empty answer within a second, and the script carries on |
It never blocks a write: each use runs after the write landed, with a short time limit, and an answer is only ever a hint. Your log of questions and answers is your own: the words for seven days, the rest for 30. An owner sees counts only.
Checked against the code at e28af69c. Site built from f04f4af1.