Skip to content

The Inbox, for one account or all of them

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

GET
/api/v1/inbox
curl --request GET \
--url https://deck.example.com/api/v1/inbox \
--cookie qd_auth=<qd_auth>
account
string
doc
string

The Inbox, for one account or all of them. Nothing here is a count: has_later only says whether to show the Later link.

Media typeapplication/json

The Inbox, for one account or all of them. Nothing here is a count: has_later only says whether to show the Later link.

object
actions
required
Array<object>

A card as the deck serves it.

object
account
required

An account label from deck config.

string
>= 1 characters <= 100 characters
action_records
required

The current version’s actions, in order.

Array<object>

An action as stored on a card version.

object
action
required

One proposed action. The type tag is also the name runner.eligible uses.

One of:
object
account
required
string
>= 1 characters <= 100 characters
thread_id
required
string
>= 1 characters <= 200 characters
type
required
string
Allowed value: archive
key
additional properties
card_id
required
integer format: int64
card_version
required
integer format: int64
error
string | null
finished_at
string | null
id
required
integer format: int64
outcome

What was sent and what came back.

run_by
Any of:
string
Allowed values: runner agent
seq
required
integer format: int64
started_at
string | null
status
required
string
Allowed values: pending released started done failed stopped
actions
Array
default: <= 20 items

One proposed action. The type tag is also the name runner.eligible uses.

One of:
object
account
required
string
>= 1 characters <= 100 characters
thread_id
required
string
>= 1 characters <= 200 characters
type
required
string
Allowed value: archive
key
additional properties
auto_grant

Ask for an automatic action under this grant: the deck runs rules match, and stores the card as automatic only when it allows.

integer | null format: int64
excerpt

The email’s own words for the Inbox’s details pane, as plain text: the newest message verbatim, or a thread as one line per message (Mary: Did we update this for Compass?). Leave out quoted replies, signatures and footers. The pane shows the first lines. On an account whose rules keep customers’ data out of other systems, leave out end users’ personal data and document contents, as stories and forwards do.

string | null
facts

Key facts shown under the summary, each {"label": "Amount", "value": "$1,200"}.

Array<object>
default: <= 30 items

One fact on a card: an amount, a date, a reference.

object
label
required

A few words: “Amount”, “Due”.

string
>= 1 characters <= 100 characters
value
required

“$1,200”, “1 December”.

string
>= 1 characters <= 1000 characters
key
additional properties
grant_id
integer | null format: int64
handoff_reason
string | null
id
required
integer format: int64
keep_in_inbox

Nothing touches the thread (a newsletter the person reads themselves).

boolean
last_message_at

When that message arrived. A thread left for later takes a new card only for a message newer than that.

string | null
last_message_ref

The newest message the card was prepared on, for freshness checks.

string | null
link

Open in Gmail (or the draft).

string | null
list_id

The List-Id header, for strict rules and the learning loop.

string | null
needs_agent

The agent wants to carry the card out itself, whatever the runner could do.

boolean
pending

The person’s decision on this version while it waits out the undo window: the card still reads open until the batch is released (or undone, when this goes away).

Any of:

A decision in its undo window (Card.pending).

object
batch
required

The Approve All batch: POST /api/v1/decisions/undo with it cancels the decision.

string
kind
required

The kinds of decision the person makes on a card.

string
Allowed values: approve edit adjust move_down move_up later stop
release_at
required

When the batch is released to the runner.

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
prepared_at
required
string
reason
required
string
>= 1 characters <= 5000 characters
recheck_note
string | null
rechecked_at
string | null
refs
Array<string>
default: <= 50 items
rule_ref

The rules.md row the agent used.

string | null
section
required

Where a card sits in the Inbox.

One of:
string
Allowed values: suggestion later sent
sender
Any of:

The sender as the agent read it.

object
address
required
string
>= 3 characters <= 320 characters
name
string | null
key
additional properties
sender_auth
object
dkim_pass
boolean
dmarc_pass
boolean
spf_pass

The sending server is one the domain’s SPF record allows. Absent on cards from before 28 Nov 2026, and left out of the deck’s answers when absent, so a CLI from before then (which refuses unknown fields here) still reads them.

boolean | null
state
required
string
Allowed values: open revising approved executing handed_off done failed handled_elsewhere later automatic
subject
required
string
<= 1000 characters
summary
required

What the email is, in a few words: the Inbox shows it on one line beside the proposed action. Lead with the kind of email and leave out who sent it and what their company does unless the person needs that to decide: “Sales pitch: card dunning”, “Water bill, direct debit”, “Customer asks how webhook retries work”. Facts and drafts carry the rest.

string
>= 1 characters <= 5000 characters
thread_key
required

The thread’s ID as the mail service gives it: Gmail’s thread ID, exactly (19a4f0c2b7e1d3a5), with no account or service prefix (the account is its own field). One card per account and thread; a forward without a source names the thread by it.

string
>= 1 characters <= 300 characters
to

Which of the person’s addresses the newest message went to (an alias such as hello@example.com when that’s where it arrived). The Inbox shows it with the sender; without it, the account’s address stands in.

string | null
updated_at
required
string
version
required
integer format: int64
approving

The batch still in its undo window, if any.

Any of:

What Approve All did: nothing is released until release_at, and Undo with batch cancels it until then.

object
batch
required
string
cards
required

The cards with a decision in this batch.

Array<integer>
release_at
required
string
skipped
required
Array<object>

A card Approve All left alone, and why.

object
card_id
required
integer format: int64
reason
required
string
archive_list
required
Array<object>

A card as the deck serves it.

object
account
required

An account label from deck config.

string
>= 1 characters <= 100 characters
action_records
required

The current version’s actions, in order.

Array<object>

An action as stored on a card version.

object
action
required

One proposed action. The type tag is also the name runner.eligible uses.

One of:
object
account
required
string
>= 1 characters <= 100 characters
thread_id
required
string
>= 1 characters <= 200 characters
type
required
string
Allowed value: archive
key
additional properties
card_id
required
integer format: int64
card_version
required
integer format: int64
error
string | null
finished_at
string | null
id
required
integer format: int64
outcome

What was sent and what came back.

run_by
Any of:
string
Allowed values: runner agent
seq
required
integer format: int64
started_at
string | null
status
required
string
Allowed values: pending released started done failed stopped
actions
Array
default: <= 20 items

One proposed action. The type tag is also the name runner.eligible uses.

One of:
object
account
required
string
>= 1 characters <= 100 characters
thread_id
required
string
>= 1 characters <= 200 characters
type
required
string
Allowed value: archive
key
additional properties
auto_grant

Ask for an automatic action under this grant: the deck runs rules match, and stores the card as automatic only when it allows.

integer | null format: int64
excerpt

The email’s own words for the Inbox’s details pane, as plain text: the newest message verbatim, or a thread as one line per message (Mary: Did we update this for Compass?). Leave out quoted replies, signatures and footers. The pane shows the first lines. On an account whose rules keep customers’ data out of other systems, leave out end users’ personal data and document contents, as stories and forwards do.

string | null
facts

Key facts shown under the summary, each {"label": "Amount", "value": "$1,200"}.

Array<object>
default: <= 30 items

One fact on a card: an amount, a date, a reference.

object
label
required

A few words: “Amount”, “Due”.

string
>= 1 characters <= 100 characters
value
required

“$1,200”, “1 December”.

string
>= 1 characters <= 1000 characters
key
additional properties
grant_id
integer | null format: int64
handoff_reason
string | null
id
required
integer format: int64
keep_in_inbox

Nothing touches the thread (a newsletter the person reads themselves).

boolean
last_message_at

When that message arrived. A thread left for later takes a new card only for a message newer than that.

string | null
last_message_ref

The newest message the card was prepared on, for freshness checks.

string | null
link

Open in Gmail (or the draft).

string | null
list_id

The List-Id header, for strict rules and the learning loop.

string | null
needs_agent

The agent wants to carry the card out itself, whatever the runner could do.

boolean
pending

The person’s decision on this version while it waits out the undo window: the card still reads open until the batch is released (or undone, when this goes away).

Any of:

A decision in its undo window (Card.pending).

object
batch
required

The Approve All batch: POST /api/v1/decisions/undo with it cancels the decision.

string
kind
required

The kinds of decision the person makes on a card.

string
Allowed values: approve edit adjust move_down move_up later stop
release_at
required

When the batch is released to the runner.

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
prepared_at
required
string
reason
required
string
>= 1 characters <= 5000 characters
recheck_note
string | null
rechecked_at
string | null
refs
Array<string>
default: <= 50 items
rule_ref

The rules.md row the agent used.

string | null
section
required

Where a card sits in the Inbox.

One of:
string
Allowed values: suggestion later sent
sender
Any of:

The sender as the agent read it.

object
address
required
string
>= 3 characters <= 320 characters
name
string | null
key
additional properties
sender_auth
object
dkim_pass
boolean
dmarc_pass
boolean
spf_pass

The sending server is one the domain’s SPF record allows. Absent on cards from before 28 Nov 2026, and left out of the deck’s answers when absent, so a CLI from before then (which refuses unknown fields here) still reads them.

boolean | null
state
required
string
Allowed values: open revising approved executing handed_off done failed handled_elsewhere later automatic
subject
required
string
<= 1000 characters
summary
required

What the email is, in a few words: the Inbox shows it on one line beside the proposed action. Lead with the kind of email and leave out who sent it and what their company does unless the person needs that to decide: “Sales pitch: card dunning”, “Water bill, direct debit”, “Customer asks how webhook retries work”. Facts and drafts carry the rest.

string
>= 1 characters <= 5000 characters
thread_key
required

The thread’s ID as the mail service gives it: Gmail’s thread ID, exactly (19a4f0c2b7e1d3a5), with no account or service prefix (the account is its own field). One card per account and thread; a forward without a source names the thread by it.

string
>= 1 characters <= 300 characters
to

Which of the person’s addresses the newest message went to (an alias such as hello@example.com when that’s where it arrived). The Inbox shows it with the sender; without it, the account’s address stands in.

string | null
updated_at
required
string
version
required
integer format: int64
finished_cards

Cards the report names that were carried out after an approval (done, or done by a rule): their defaults keep the green check on every device and after the report changes, without the browser having to remember.

Array<integer>
default:
has_later
required
boolean
last_agent_at

When an agent last posted a card or took decisions. The Inbox shows it only when it’s over an hour ago.

string | null
presence

Whether the person is reading the Inbox, and what the runner holds meanwhile.

object
active
required
boolean
active_until
string | null
held

New items the runner holds until the person is idle, e.g. “2 Work, 1 in Ops alerts (Matrix)”. None when nothing waits.

string | null
held_count
required
integer format: uint64
report

The triage agent’s current report, which the Inbox shows in place of the cards.

Any of:
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
rule_offers

Cards whose target’s tab had grants archived when its earlier session closed.

Array<object>
default:

On a card that forwards to, resumes or starts a session in a tab whose earlier session’s grants were archived when it closed: those grants can move to this card’s target.

object
card_id
required
integer format: int64
rule_ids
required
Array<integer>
to
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
running
required

Whether any approved action is still waiting or running, for Stop.

boolean
sent
required
Array<object>

A card as the deck serves it.

object
account
required

An account label from deck config.

string
>= 1 characters <= 100 characters
action_records
required

The current version’s actions, in order.

Array<object>

An action as stored on a card version.

object
action
required

One proposed action. The type tag is also the name runner.eligible uses.

One of:
object
account
required
string
>= 1 characters <= 100 characters
thread_id
required
string
>= 1 characters <= 200 characters
type
required
string
Allowed value: archive
key
additional properties
card_id
required
integer format: int64
card_version
required
integer format: int64
error
string | null
finished_at
string | null
id
required
integer format: int64
outcome

What was sent and what came back.

run_by
Any of:
string
Allowed values: runner agent
seq
required
integer format: int64
started_at
string | null
status
required
string
Allowed values: pending released started done failed stopped
actions
Array
default: <= 20 items

One proposed action. The type tag is also the name runner.eligible uses.

One of:
object
account
required
string
>= 1 characters <= 100 characters
thread_id
required
string
>= 1 characters <= 200 characters
type
required
string
Allowed value: archive
key
additional properties
auto_grant

Ask for an automatic action under this grant: the deck runs rules match, and stores the card as automatic only when it allows.

integer | null format: int64
excerpt

The email’s own words for the Inbox’s details pane, as plain text: the newest message verbatim, or a thread as one line per message (Mary: Did we update this for Compass?). Leave out quoted replies, signatures and footers. The pane shows the first lines. On an account whose rules keep customers’ data out of other systems, leave out end users’ personal data and document contents, as stories and forwards do.

string | null
facts

Key facts shown under the summary, each {"label": "Amount", "value": "$1,200"}.

Array<object>
default: <= 30 items

One fact on a card: an amount, a date, a reference.

object
label
required

A few words: “Amount”, “Due”.

string
>= 1 characters <= 100 characters
value
required

“$1,200”, “1 December”.

string
>= 1 characters <= 1000 characters
key
additional properties
grant_id
integer | null format: int64
handoff_reason
string | null
id
required
integer format: int64
keep_in_inbox

Nothing touches the thread (a newsletter the person reads themselves).

boolean
last_message_at

When that message arrived. A thread left for later takes a new card only for a message newer than that.

string | null
last_message_ref

The newest message the card was prepared on, for freshness checks.

string | null
link

Open in Gmail (or the draft).

string | null
list_id

The List-Id header, for strict rules and the learning loop.

string | null
needs_agent

The agent wants to carry the card out itself, whatever the runner could do.

boolean
pending

The person’s decision on this version while it waits out the undo window: the card still reads open until the batch is released (or undone, when this goes away).

Any of:

A decision in its undo window (Card.pending).

object
batch
required

The Approve All batch: POST /api/v1/decisions/undo with it cancels the decision.

string
kind
required

The kinds of decision the person makes on a card.

string
Allowed values: approve edit adjust move_down move_up later stop
release_at
required

When the batch is released to the runner.

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
prepared_at
required
string
reason
required
string
>= 1 characters <= 5000 characters
recheck_note
string | null
rechecked_at
string | null
refs
Array<string>
default: <= 50 items
rule_ref

The rules.md row the agent used.

string | null
section
required

Where a card sits in the Inbox.

One of:
string
Allowed values: suggestion later sent
sender
Any of:

The sender as the agent read it.

object
address
required
string
>= 3 characters <= 320 characters
name
string | null
key
additional properties
sender_auth
object
dkim_pass
boolean
dmarc_pass
boolean
spf_pass

The sending server is one the domain’s SPF record allows. Absent on cards from before 28 Nov 2026, and left out of the deck’s answers when absent, so a CLI from before then (which refuses unknown fields here) still reads them.

boolean | null
state
required
string
Allowed values: open revising approved executing handed_off done failed handled_elsewhere later automatic
subject
required
string
<= 1000 characters
summary
required

What the email is, in a few words: the Inbox shows it on one line beside the proposed action. Lead with the kind of email and leave out who sent it and what their company does unless the person needs that to decide: “Sales pitch: card dunning”, “Water bill, direct debit”, “Customer asks how webhook retries work”. Facts and drafts carry the rest.

string
>= 1 characters <= 5000 characters
thread_key
required

The thread’s ID as the mail service gives it: Gmail’s thread ID, exactly (19a4f0c2b7e1d3a5), with no account or service prefix (the account is its own field). One card per account and thread; a forward without a source names the thread by it.

string
>= 1 characters <= 300 characters
to

Which of the person’s addresses the newest message went to (an alias such as hello@example.com when that’s where it arrived). The Inbox shows it with the sender; without it, the account’s address stands in.

string | null
updated_at
required
string
version
required
integer format: int64
suggestions
required
Array<object>

A card as the deck serves it.

object
account
required

An account label from deck config.

string
>= 1 characters <= 100 characters
action_records
required

The current version’s actions, in order.

Array<object>

An action as stored on a card version.

object
action
required

One proposed action. The type tag is also the name runner.eligible uses.

One of:
object
account
required
string
>= 1 characters <= 100 characters
thread_id
required
string
>= 1 characters <= 200 characters
type
required
string
Allowed value: archive
key
additional properties
card_id
required
integer format: int64
card_version
required
integer format: int64
error
string | null
finished_at
string | null
id
required
integer format: int64
outcome

What was sent and what came back.

run_by
Any of:
string
Allowed values: runner agent
seq
required
integer format: int64
started_at
string | null
status
required
string
Allowed values: pending released started done failed stopped
actions
Array
default: <= 20 items

One proposed action. The type tag is also the name runner.eligible uses.

One of:
object
account
required
string
>= 1 characters <= 100 characters
thread_id
required
string
>= 1 characters <= 200 characters
type
required
string
Allowed value: archive
key
additional properties
auto_grant

Ask for an automatic action under this grant: the deck runs rules match, and stores the card as automatic only when it allows.

integer | null format: int64
excerpt

The email’s own words for the Inbox’s details pane, as plain text: the newest message verbatim, or a thread as one line per message (Mary: Did we update this for Compass?). Leave out quoted replies, signatures and footers. The pane shows the first lines. On an account whose rules keep customers’ data out of other systems, leave out end users’ personal data and document contents, as stories and forwards do.

string | null
facts

Key facts shown under the summary, each {"label": "Amount", "value": "$1,200"}.

Array<object>
default: <= 30 items

One fact on a card: an amount, a date, a reference.

object
label
required

A few words: “Amount”, “Due”.

string
>= 1 characters <= 100 characters
value
required

“$1,200”, “1 December”.

string
>= 1 characters <= 1000 characters
key
additional properties
grant_id
integer | null format: int64
handoff_reason
string | null
id
required
integer format: int64
keep_in_inbox

Nothing touches the thread (a newsletter the person reads themselves).

boolean
last_message_at

When that message arrived. A thread left for later takes a new card only for a message newer than that.

string | null
last_message_ref

The newest message the card was prepared on, for freshness checks.

string | null
link

Open in Gmail (or the draft).

string | null
list_id

The List-Id header, for strict rules and the learning loop.

string | null
needs_agent

The agent wants to carry the card out itself, whatever the runner could do.

boolean
pending

The person’s decision on this version while it waits out the undo window: the card still reads open until the batch is released (or undone, when this goes away).

Any of:

A decision in its undo window (Card.pending).

object
batch
required

The Approve All batch: POST /api/v1/decisions/undo with it cancels the decision.

string
kind
required

The kinds of decision the person makes on a card.

string
Allowed values: approve edit adjust move_down move_up later stop
release_at
required

When the batch is released to the runner.

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
prepared_at
required
string
reason
required
string
>= 1 characters <= 5000 characters
recheck_note
string | null
rechecked_at
string | null
refs
Array<string>
default: <= 50 items
rule_ref

The rules.md row the agent used.

string | null
section
required

Where a card sits in the Inbox.

One of:
string
Allowed values: suggestion later sent
sender
Any of:

The sender as the agent read it.

object
address
required
string
>= 3 characters <= 320 characters
name
string | null
key
additional properties
sender_auth
object
dkim_pass
boolean
dmarc_pass
boolean
spf_pass

The sending server is one the domain’s SPF record allows. Absent on cards from before 28 Nov 2026, and left out of the deck’s answers when absent, so a CLI from before then (which refuses unknown fields here) still reads them.

boolean | null
state
required
string
Allowed values: open revising approved executing handed_off done failed handled_elsewhere later automatic
subject
required
string
<= 1000 characters
summary
required

What the email is, in a few words: the Inbox shows it on one line beside the proposed action. Lead with the kind of email and leave out who sent it and what their company does unless the person needs that to decide: “Sales pitch: card dunning”, “Water bill, direct debit”, “Customer asks how webhook retries work”. Facts and drafts carry the rest.

string
>= 1 characters <= 5000 characters
thread_key
required

The thread’s ID as the mail service gives it: Gmail’s thread ID, exactly (19a4f0c2b7e1d3a5), with no account or service prefix (the account is its own field). One card per account and thread; a forward without a source names the thread by it.

string
>= 1 characters <= 300 characters
to

Which of the person’s addresses the newest message went to (an alias such as hello@example.com when that’s where it arrived). The Inbox shows it with the sender; without it, the account’s address stands in.

string | null
updated_at
required
string
version
required
integer format: int64
timeline
required

Unread automatic actions.

Array<object>
object
account
string | null
count
required
integer format: int64
created_at
required
string
id
required
integer format: int64
kind
required
One of:
string
Allowed values: auto_action sent_forwarded lease_absorbed lease_expired lease_cleanup_overdue filter_without_proposal session_started session_resumed session_closed webhook_delivered grant_archived
read_at
string | null
refs
required
Array<string>
source
required
string
Allowed values: runner agent deck
text
required
string

Example

{
"actions": [
{
"action_records": [
{
"action": {
"type": "archive"
},
"run_by": "runner",
"status": "pending"
}
],
"actions": [],
"auto_grant": null,
"excerpt": null,
"facts": [],
"keep_in_inbox": false,
"last_message_at": null,
"last_message_ref": null,
"link": null,
"list_id": null,
"needs_agent": false,
"pending": null,
"refs": [],
"rule_ref": null,
"section": "suggestion",
"sender": null,
"sender_auth": {
"dkim_pass": false,
"dmarc_pass": false
},
"state": "open",
"to": null
}
],
"archive_list": [
{
"action_records": [
{
"action": {
"type": "archive"
},
"run_by": "runner",
"status": "pending"
}
],
"actions": [],
"auto_grant": null,
"excerpt": null,
"facts": [],
"keep_in_inbox": false,
"last_message_at": null,
"last_message_ref": null,
"link": null,
"list_id": null,
"needs_agent": false,
"pending": null,
"refs": [],
"rule_ref": null,
"section": "suggestion",
"sender": null,
"sender_auth": {
"dkim_pass": false,
"dmarc_pass": false
},
"state": "open",
"to": null
}
],
"finished_cards": [],
"presence": {
"active": false,
"active_until": null,
"held": null,
"held_count": 0
},
"report": null,
"rule_offers": [],
"sent": [
{
"action_records": [
{
"action": {
"type": "archive"
},
"run_by": "runner",
"status": "pending"
}
],
"actions": [],
"auto_grant": null,
"excerpt": null,
"facts": [],
"keep_in_inbox": false,
"last_message_at": null,
"last_message_ref": null,
"link": null,
"list_id": null,
"needs_agent": false,
"pending": null,
"refs": [],
"rule_ref": null,
"section": "suggestion",
"sender": null,
"sender_auth": {
"dkim_pass": false,
"dmarc_pass": false
},
"state": "open",
"to": null
}
],
"suggestions": [
{
"action_records": [
{
"action": {
"type": "archive"
},
"run_by": "runner",
"status": "pending"
}
],
"actions": [],
"auto_grant": null,
"excerpt": null,
"facts": [],
"keep_in_inbox": false,
"last_message_at": null,
"last_message_ref": null,
"link": null,
"list_id": null,
"needs_agent": false,
"pending": null,
"refs": [],
"rule_ref": null,
"section": "suggestion",
"sender": null,
"sender_auth": {
"dkim_pass": false,
"dmarc_pass": false
},
"state": "open",
"to": null
}
],
"timeline": [
{
"kind": "auto_action",
"source": "runner"
}
]
}

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