Skip to content

The documents, in order, with the tab each sits under

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

GET
/api/v1/documents
curl --request GET \
--url https://deck.example.com/api/v1/documents \
--cookie qd_auth=<qd_auth>
Media typeapplication/json
Array<object>
object
id
required
integer format: int64
kind
required
One of:

Mail: cards about email threads, an archive part with Archive all, and a new report per round.

string
Allowed value: inbox
name
required

What the person calls it, shown as its sub-tab: free text.

string
position
required

Its order among the documents, lowest first; top-level tabs follow their first document.

integer format: int64
slug
required

Its name in URLs and ?doc=: inbox, work, docspring.

string
tab
required

The top-level tab it sits under: free text (“Inbox”, “Work”).

string
writer_node

The agent that writes it: an agent’s report commands go to the document it writes. None: any agent may (the Inbox, as before documents).

string | null
writer_tab
string | null

Example

[
{
"kind": "inbox"
}
]

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"
}