Skip to content

The triage agent replies in the report

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

POST
/api/v1/report/replies
curl --request POST \
--url https://deck.example.com/api/v1/report/replies \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "text": "example", "to": "example" }'
doc
string

quietdeck report reply: the agent’s answer in a default’s thread, which the Inbox shows under it.

Media typeapplication/json

quietdeck report reply: the agent’s answer in a default’s thread, which the Inbox shows under it.

object
text
required
string
>= 1 characters <= 4000 characters
to
required

The default: the [key] its messages to you carry (cards:c_12, archive-all), or a card it names (c_12).

string
>= 1 characters <= 500 characters
key
additional properties

Example generated

{
"text": "example",
"to": "example"
}
Media typeapplication/json
object
answers
required

The person’s answers and changes on this report, oldest first.

Array<object>
object
about
required

The question or the default’s text, so the agent reads the answer without the report.

string
answered_at
required
string
cards

For an answer to an <Ask cards="…">: the cards it’s about. The Inbox shows it in the thread of the default that names them.

string | null
control
required

The <Ask>’s id, or for a <Default> its id or cards value.

string
id
required
integer format: int64
kind
required
One of:

An option of an <Ask>, or its Other text.

string
Allowed value: choice
picked_up
required

The agent has it: delivered as a message, or taken with quietdeck report answers.

boolean
report_version
required
integer format: int64
value
required
string
cards_not_in_report
required

Open cards (waiting on the person, handed off or failed) that no <Default> names: the Inbox points at the Cards screen for them, and report set lists them for the agent.

Array<integer>
changes

The latest changes, newest last (at most 20): the Inbox toasts new ones.

Array<object>
default:

One change to the report, for the Inbox’s toast and Approve All’s settle window.

object
at
required
string
cards
required

The cards whose defaults this change added or altered.

Array<integer>
id
required
integer format: int64
reply

The agent’s answer to the person’s chat (quietdeck chat reply), not a change: summary is its text.

boolean
summary
required

What changed, in a line: the agent’s --change, or what the deck worked out.

string
version
required
integer format: int64
created_at
required
string
document_id

The document it’s on (GET /documents); 1 is the Inbox.

integer format: int64
default: 1
finished

The agent said nothing on it waits for the person any more (quietdeck report done): the Inbox shows “All done.” until the agent edits it or starts the next one.

boolean
id
required
integer format: int64
item_times

When each top-level list item’s text last changed, in the order the items are written (items): the Work tab shows it as “(1 hour ago)”.

Array<string> | null
markdown
required
string
posted_by
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
updated_at
required
string
version
required

Goes up with every edit; an edit names the version it was made from.

integer format: int64

Example

{
"answers": [
{
"kind": "choice"
}
],
"changes": [],
"document_id": 1,
"finished": 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"
}