Change the deck's settings
const url = 'https://deck.example.com/api/v1/settings';const options = { method: 'PUT', headers: {cookie: 'qd_auth=<qd_auth>', 'Content-Type': 'application/json'}, body: '{"chat_shortcuts":["Just archive and nothing else","Set up a rule to do this automatically","Unsubscribe if possible, then archive","Start a new session to investigate and propose what to do. Don\'t change anything without my OK","Create the story AND start a new agent to fix it","This doesn\'t belong in my tasks"],"report":true,"require_filter_proposal":true,"show_pending_count":true,"undo_seconds":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://deck.example.com/api/v1/settings \ --header 'Content-Type: application/json' \ --cookie qd_auth=<qd_auth> \ --data '{ "chat_shortcuts": [ "Just archive and nothing else", "Set up a rule to do this automatically", "Unsubscribe if possible, then archive", "Start a new session to investigate and propose what to do. Don'\''t change anything without my OK", "Create the story AND start a new agent to fix it", "This doesn'\''t belong in my tasks" ], "report": true, "require_filter_proposal": true, "show_pending_count": true, "undo_seconds": 1 }'Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”The deck’s settings (the Settings screen).
The deck’s settings (the Settings screen).
object
Chat shortcuts: replies the Inbox’s chat box offers in one tap (“Just archive and nothing else”). Each is sent as an ordinary message.
The triage report: the default web app’s write-up of the Inbox. Off, the deck is cards only: the report’s routes answer 404, and the Inbox, History, Approve All and the runner ignore any report kept from before. On unless switched off.
Retired with the deck’s leases (Fleetlayer’s leases plugin approves filters now): kept within v1, and has no effect.
“Show the pending count on the tab icon”: the number of cards in the Inbox on the deck’s favicon and in its title. On unless switched off.
Approve All’s undo window in seconds: 0 (off) or 1 to 60.
Responses
Section titled “Responses”The deck’s settings (the Settings screen).
The deck’s settings (the Settings screen).
object
Chat shortcuts: replies the Inbox’s chat box offers in one tap (“Just archive and nothing else”). Each is sent as an ordinary message.
The triage report: the default web app’s write-up of the Inbox. Off, the deck is cards only: the report’s routes answer 404, and the Inbox, History, Approve All and the runner ignore any report kept from before. On unless switched off.
Retired with the deck’s leases (Fleetlayer’s leases plugin approves filters now): kept within v1, and has no effect.
“Show the pending count on the tab icon”: the number of cards in the Inbox on the deck’s favicon and in its title. On unless switched off.
Approve All’s undo window in seconds: 0 (off) or 1 to 60.
Example
{ "chat_shortcuts": [ "Just archive and nothing else", "Set up a rule to do this automatically", "Unsubscribe if possible, then archive", "Start a new session to investigate and propose what to do. Don't change anything without my OK", "Create the story AND start a new agent to fix it", "This doesn't belong in my tasks" ], "report": true, "show_pending_count": true}default
Section titled “default”An error, with its message.
Every error the REST API returns, with an HTTP status.
object
Example generated
{ "error": "example"}