Skip to content

The deck's version and release, and who the caller is

The OpenAPI spec (JSON)Licence, versions and sign-in

GET
/api/v1/info
curl --request GET \
--url https://deck.example.com/api/v1/info \
--cookie qd_auth=<qd_auth>

GET /api/info: what agents and the web app need to know about this deck.

Media typeapplication/json

GET /api/info: what agents and the web app need to know about this deck.

object
accounts
required
Array<object>

An account label from deck config.

object
address

The mailbox’s address (you@example.com): the web app’s “View email” opens a card’s thread in Gmail with it.

string | null
id
required
string
label
required
string
actions

Quietdeck solo: the actions its runner carries out once the person approves them. A card proposing another is refused when posted. Absent on other decks.

Array | null
boards
required
Array<string>
built_at

When that release was built.

string | null
caller
required

Who the deck thinks is calling.

One of:

An agent (or a shell) on a node, with a session token.

object
kind
required
string
Allowed value: session
session
required

A session by its tab, on a node. session_id pins one conversation when the tab has been reused.

object
node
required
string
>= 1 characters <= 100 characters
session_id
string | null
tab
required
string
>= 1 characters <= 200 characters
commit

The release running: the commit it was built from (scripts/build-images passes it), or None for a local build.

string | null
settings
required

The deck’s settings (the Settings screen).

object
chat_shortcuts

Chat shortcuts: replies the Inbox’s chat box offers in one tap (“Just archive and nothing else”). Each is sent as an ordinary message.

Array<string>
default: 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 <= 30 items
report

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.

boolean
default: true
require_filter_proposal
required

Retired with the deck’s leases (Fleetlayer’s leases plugin approves filters now): kept within v1, and has no effect.

boolean
show_pending_count

“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.

boolean
default: true
undo_seconds
required

Approve All’s undo window in seconds: 0 (off) or 1 to 60.

integer format: uint32
<= 60
solo

Quietdeck solo: the deck on the person’s own machine. The Inbox then polls /api/solo/health and warns when the runner or its agent is failing.

boolean
started_at
required

When this deck started: with rolling deploys, when the release went live (or the deck last restarted).

string
version
required
string

Example

{
"actions": [
"archive"
],
"caller": {
"kind": "session"
},
"settings": {
"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
},
"solo": false
}

An error, with its message.

Media typeapplication/json

Every error the REST API returns, with an HTTP status.

object
error
required
string

Example generated

{
"error": "example"
}