Skip to content

The triage agent takes the answers

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

POST
/api/v1/report/answers/take
curl --request POST \
--url https://deck.example.com/api/v1/report/answers/take \
--header 'Authorization: Bearer <token>'
doc
string
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
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

Example

[
{
"kind": "choice"
}
]

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