The triage agent replies in the report
const url = 'https://deck.example.com/api/v1/report/replies';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"text":"example","to":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”quietdeck report reply: the agent’s answer in a default’s thread, which the Inbox shows under it.
quietdeck report reply: the agent’s answer in a default’s thread, which the Inbox shows under it.
object
The default: the [key] its messages to you carry (cards:c_12, archive-all), or a card it names
(c_12).
Example generated
{ "text": "example", "to": "example"}Responses
Section titled “Responses”object
The person’s answers and changes on this report, oldest first.
object
The question or the default’s text, so the agent reads the answer without the report.
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.
The <Ask>’s id, or for a <Default> its id or cards value.
The agent has it: delivered as a message, or taken with quietdeck report answers.
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.
The latest changes, newest last (at most 20): the Inbox toasts new ones.
One change to the report, for the Inbox’s toast and Approve All’s settle window.
object
The cards whose defaults this change added or altered.
The agent’s answer to the person’s chat (quietdeck chat reply), not a change: summary is its text.
What changed, in a line: the agent’s --change, or what the deck worked out.
The document it’s on (GET /documents); 1 is the Inbox.
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.
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)”.
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
Goes up with every edit; an edit names the version it was made from.
Example
{ "answers": [ { "kind": "choice" } ], "changes": [], "document_id": 1, "finished": false}default
Section titled “default”An error, with its message.
Every error the REST API returns, with an HTTP status.
object
Example generated
{ "error": "example"}