The triage agent takes the answers
POST
/api/v1/report/answers/take
const url = 'https://deck.example.com/api/v1/report/answers/take';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
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/answers/take \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”doc
string
Responses
Section titled “Responses”Media typeapplication/json
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
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
Example
[ { "kind": "choice" }]default
Section titled “default”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"}