The Inbox, for one account or all of them
const url = 'https://deck.example.com/api/v1/inbox';const options = {method: 'GET', headers: {cookie: 'qd_auth=<qd_auth>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://deck.example.com/api/v1/inbox \ --cookie qd_auth=<qd_auth>Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”The Inbox, for one account or all of them. Nothing here is a count: has_later only says whether to show the
Later link.
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
A card as the deck serves it.
object
An account label from deck config.
The current version’s actions, in order.
An action as stored on a card version.
object
One proposed action. The type tag is also the name runner.eligible uses.
object
object
Close a support conversation (Intercom): its “archive”. account is the deck’s account for the support inbox
(intercom), conversation_id the conversation’s ID there.
object
Out of spam and back into the inbox: Gmail’s “Not spam”.
object
object
Pass the email on to a session, with the fixed forward header.
object
The user’s own comment, set on a sent row. Part of the approved payload, not an adjustment.
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
A Gmail draft in the thread, which the user edits and sends themselves. The normal reply path.
object
The address it’s sent from. Must be one the account can send as (checked when the card is posted, again before sending, and against the sent message’s From header afterwards).
Sends straight away. Never runner-eligible.
object
The address it’s sent from. Must be one the account can send as (checked when the card is posted, again before sending, and against the sent message’s From header afterwards).
A tracker story: create one, or comment on one. Boards are names from deck config; the runner’s and the skill’s own config map them to the tracker’s IDs.
object
object
object
What to do with a task on the person’s own task board.
object
object
object
Retired: leases moved to Fleetlayer (fleetlayer lease). Kept so cards stored before still read; the deck
refuses a new card or edit that carries one ([LEASES_RETIRED]), and the runner never carries one out.
object
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
object
Message, wrap up or close another session (the Work tab’s session actions).
object
What to do with another session, approved from the Work tab.
Pass the person’s words on (text).
Ask it to run its wrap-up: the end-of-session sweep for loose ends. text replaces the default request.
Close it.
Compact its context (/compact, typed in by Fleetlayer while it’s idle): for a long-running session that
always has more to do (Nathan, 28 Nov 2026: “compact, not close”).
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
What was sent and what came back.
One proposed action. The type tag is also the name runner.eligible uses.
object
object
Close a support conversation (Intercom): its “archive”. account is the deck’s account for the support inbox
(intercom), conversation_id the conversation’s ID there.
object
Out of spam and back into the inbox: Gmail’s “Not spam”.
object
object
Pass the email on to a session, with the fixed forward header.
object
The user’s own comment, set on a sent row. Part of the approved payload, not an adjustment.
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
A Gmail draft in the thread, which the user edits and sends themselves. The normal reply path.
object
The address it’s sent from. Must be one the account can send as (checked when the card is posted, again before sending, and against the sent message’s From header afterwards).
Sends straight away. Never runner-eligible.
object
The address it’s sent from. Must be one the account can send as (checked when the card is posted, again before sending, and against the sent message’s From header afterwards).
A tracker story: create one, or comment on one. Boards are names from deck config; the runner’s and the skill’s own config map them to the tracker’s IDs.
object
object
object
What to do with a task on the person’s own task board.
object
object
object
Retired: leases moved to Fleetlayer (fleetlayer lease). Kept so cards stored before still read; the deck
refuses a new card or edit that carries one ([LEASES_RETIRED]), and the runner never carries one out.
object
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
object
Message, wrap up or close another session (the Work tab’s session actions).
object
What to do with another session, approved from the Work tab.
Pass the person’s words on (text).
Ask it to run its wrap-up: the end-of-session sweep for loose ends. text replaces the default request.
Close it.
Compact its context (/compact, typed in by Fleetlayer while it’s idle): for a long-running session that
always has more to do (Nathan, 28 Nov 2026: “compact, not close”).
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
Ask for an automatic action under this grant: the deck runs rules match, and stores the card as automatic
only when it allows.
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.
Key facts shown under the summary, each {"label": "Amount", "value": "$1,200"}.
One fact on a card: an amount, a date, a reference.
object
A few words: “Amount”, “Due”.
“$1,200”, “1 December”.
Nothing touches the thread (a newsletter the person reads themselves).
When that message arrived. A thread left for later takes a new card only for a message newer than that.
The newest message the card was prepared on, for freshness checks.
Open in Gmail (or the draft).
The List-Id header, for strict rules and the learning loop.
The agent wants to carry the card out itself, whatever the runner could do.
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).
A decision in its undo window (Card.pending).
object
The Approve All batch: POST /api/v1/decisions/undo with it cancels the decision.
The kinds of decision the person makes on a card.
When the batch is released to the runner.
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
The rules.md row the agent used.
Where a card sits in the Inbox.
What the person needs to look at: a reply in their name, money, a decision, something only they can do.
Routine mail Approve All just handles, one line each: an archive, with at most a label or a one-line unsubscribe reply (“Unsubscribe, thanks.”) before it. Sales pitches and FYI mail go here.
object
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.
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.
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.
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.
The batch still in its undo window, if any.
What Approve All did: nothing is released until release_at, and Undo with batch cancels it until then.
object
The cards with a decision in this batch.
A card Approve All left alone, and why.
object
A card as the deck serves it.
object
An account label from deck config.
The current version’s actions, in order.
An action as stored on a card version.
object
One proposed action. The type tag is also the name runner.eligible uses.
object
object
Close a support conversation (Intercom): its “archive”. account is the deck’s account for the support inbox
(intercom), conversation_id the conversation’s ID there.
object
Out of spam and back into the inbox: Gmail’s “Not spam”.
object
object
Pass the email on to a session, with the fixed forward header.
object
The user’s own comment, set on a sent row. Part of the approved payload, not an adjustment.
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
A Gmail draft in the thread, which the user edits and sends themselves. The normal reply path.
object
The address it’s sent from. Must be one the account can send as (checked when the card is posted, again before sending, and against the sent message’s From header afterwards).
Sends straight away. Never runner-eligible.
object
The address it’s sent from. Must be one the account can send as (checked when the card is posted, again before sending, and against the sent message’s From header afterwards).
A tracker story: create one, or comment on one. Boards are names from deck config; the runner’s and the skill’s own config map them to the tracker’s IDs.
object
object
object
What to do with a task on the person’s own task board.
object
object
object
Retired: leases moved to Fleetlayer (fleetlayer lease). Kept so cards stored before still read; the deck
refuses a new card or edit that carries one ([LEASES_RETIRED]), and the runner never carries one out.
object
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
object
Message, wrap up or close another session (the Work tab’s session actions).
object
What to do with another session, approved from the Work tab.
Pass the person’s words on (text).
Ask it to run its wrap-up: the end-of-session sweep for loose ends. text replaces the default request.
Close it.
Compact its context (/compact, typed in by Fleetlayer while it’s idle): for a long-running session that
always has more to do (Nathan, 28 Nov 2026: “compact, not close”).
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
What was sent and what came back.
One proposed action. The type tag is also the name runner.eligible uses.
object
object
Close a support conversation (Intercom): its “archive”. account is the deck’s account for the support inbox
(intercom), conversation_id the conversation’s ID there.
object
Out of spam and back into the inbox: Gmail’s “Not spam”.
object
object
Pass the email on to a session, with the fixed forward header.
object
The user’s own comment, set on a sent row. Part of the approved payload, not an adjustment.
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
A Gmail draft in the thread, which the user edits and sends themselves. The normal reply path.
object
The address it’s sent from. Must be one the account can send as (checked when the card is posted, again before sending, and against the sent message’s From header afterwards).
Sends straight away. Never runner-eligible.
object
The address it’s sent from. Must be one the account can send as (checked when the card is posted, again before sending, and against the sent message’s From header afterwards).
A tracker story: create one, or comment on one. Boards are names from deck config; the runner’s and the skill’s own config map them to the tracker’s IDs.
object
object
object
What to do with a task on the person’s own task board.
object
object
object
Retired: leases moved to Fleetlayer (fleetlayer lease). Kept so cards stored before still read; the deck
refuses a new card or edit that carries one ([LEASES_RETIRED]), and the runner never carries one out.
object
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
object
Message, wrap up or close another session (the Work tab’s session actions).
object
What to do with another session, approved from the Work tab.
Pass the person’s words on (text).
Ask it to run its wrap-up: the end-of-session sweep for loose ends. text replaces the default request.
Close it.
Compact its context (/compact, typed in by Fleetlayer while it’s idle): for a long-running session that
always has more to do (Nathan, 28 Nov 2026: “compact, not close”).
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
Ask for an automatic action under this grant: the deck runs rules match, and stores the card as automatic
only when it allows.
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.
Key facts shown under the summary, each {"label": "Amount", "value": "$1,200"}.
One fact on a card: an amount, a date, a reference.
object
A few words: “Amount”, “Due”.
“$1,200”, “1 December”.
Nothing touches the thread (a newsletter the person reads themselves).
When that message arrived. A thread left for later takes a new card only for a message newer than that.
The newest message the card was prepared on, for freshness checks.
Open in Gmail (or the draft).
The List-Id header, for strict rules and the learning loop.
The agent wants to carry the card out itself, whatever the runner could do.
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).
A decision in its undo window (Card.pending).
object
The Approve All batch: POST /api/v1/decisions/undo with it cancels the decision.
The kinds of decision the person makes on a card.
When the batch is released to the runner.
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
The rules.md row the agent used.
Where a card sits in the Inbox.
What the person needs to look at: a reply in their name, money, a decision, something only they can do.
Routine mail Approve All just handles, one line each: an archive, with at most a label or a one-line unsubscribe reply (“Unsubscribe, thanks.”) before it. Sales pitches and FYI mail go here.
object
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.
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.
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.
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.
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.
When an agent last posted a card or took decisions. The Inbox shows it only when it’s over an hour ago.
Whether the person is reading the Inbox, and what the runner holds meanwhile.
object
New items the runner holds until the person is idle, e.g. “2 Work, 1 in Ops alerts (Matrix)”. None when nothing waits.
The triage agent’s current report, which the Inbox shows in place of the cards.
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.
Cards whose target’s tab had grants archived when its earlier session closed.
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
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
Whether any approved action is still waiting or running, for Stop.
A card as the deck serves it.
object
An account label from deck config.
The current version’s actions, in order.
An action as stored on a card version.
object
One proposed action. The type tag is also the name runner.eligible uses.
object
object
Close a support conversation (Intercom): its “archive”. account is the deck’s account for the support inbox
(intercom), conversation_id the conversation’s ID there.
object
Out of spam and back into the inbox: Gmail’s “Not spam”.
object
object
Pass the email on to a session, with the fixed forward header.
object
The user’s own comment, set on a sent row. Part of the approved payload, not an adjustment.
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
A Gmail draft in the thread, which the user edits and sends themselves. The normal reply path.
object
The address it’s sent from. Must be one the account can send as (checked when the card is posted, again before sending, and against the sent message’s From header afterwards).
Sends straight away. Never runner-eligible.
object
The address it’s sent from. Must be one the account can send as (checked when the card is posted, again before sending, and against the sent message’s From header afterwards).
A tracker story: create one, or comment on one. Boards are names from deck config; the runner’s and the skill’s own config map them to the tracker’s IDs.
object
object
object
What to do with a task on the person’s own task board.
object
object
object
Retired: leases moved to Fleetlayer (fleetlayer lease). Kept so cards stored before still read; the deck
refuses a new card or edit that carries one ([LEASES_RETIRED]), and the runner never carries one out.
object
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
object
Message, wrap up or close another session (the Work tab’s session actions).
object
What to do with another session, approved from the Work tab.
Pass the person’s words on (text).
Ask it to run its wrap-up: the end-of-session sweep for loose ends. text replaces the default request.
Close it.
Compact its context (/compact, typed in by Fleetlayer while it’s idle): for a long-running session that
always has more to do (Nathan, 28 Nov 2026: “compact, not close”).
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
What was sent and what came back.
One proposed action. The type tag is also the name runner.eligible uses.
object
object
Close a support conversation (Intercom): its “archive”. account is the deck’s account for the support inbox
(intercom), conversation_id the conversation’s ID there.
object
Out of spam and back into the inbox: Gmail’s “Not spam”.
object
object
Pass the email on to a session, with the fixed forward header.
object
The user’s own comment, set on a sent row. Part of the approved payload, not an adjustment.
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
A Gmail draft in the thread, which the user edits and sends themselves. The normal reply path.
object
The address it’s sent from. Must be one the account can send as (checked when the card is posted, again before sending, and against the sent message’s From header afterwards).
Sends straight away. Never runner-eligible.
object
The address it’s sent from. Must be one the account can send as (checked when the card is posted, again before sending, and against the sent message’s From header afterwards).
A tracker story: create one, or comment on one. Boards are names from deck config; the runner’s and the skill’s own config map them to the tracker’s IDs.
object
object
object
What to do with a task on the person’s own task board.
object
object
object
Retired: leases moved to Fleetlayer (fleetlayer lease). Kept so cards stored before still read; the deck
refuses a new card or edit that carries one ([LEASES_RETIRED]), and the runner never carries one out.
object
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
object
Message, wrap up or close another session (the Work tab’s session actions).
object
What to do with another session, approved from the Work tab.
Pass the person’s words on (text).
Ask it to run its wrap-up: the end-of-session sweep for loose ends. text replaces the default request.
Close it.
Compact its context (/compact, typed in by Fleetlayer while it’s idle): for a long-running session that
always has more to do (Nathan, 28 Nov 2026: “compact, not close”).
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
Ask for an automatic action under this grant: the deck runs rules match, and stores the card as automatic
only when it allows.
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.
Key facts shown under the summary, each {"label": "Amount", "value": "$1,200"}.
One fact on a card: an amount, a date, a reference.
object
A few words: “Amount”, “Due”.
“$1,200”, “1 December”.
Nothing touches the thread (a newsletter the person reads themselves).
When that message arrived. A thread left for later takes a new card only for a message newer than that.
The newest message the card was prepared on, for freshness checks.
Open in Gmail (or the draft).
The List-Id header, for strict rules and the learning loop.
The agent wants to carry the card out itself, whatever the runner could do.
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).
A decision in its undo window (Card.pending).
object
The Approve All batch: POST /api/v1/decisions/undo with it cancels the decision.
The kinds of decision the person makes on a card.
When the batch is released to the runner.
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
The rules.md row the agent used.
Where a card sits in the Inbox.
What the person needs to look at: a reply in their name, money, a decision, something only they can do.
Routine mail Approve All just handles, one line each: an archive, with at most a label or a one-line unsubscribe reply (“Unsubscribe, thanks.”) before it. Sales pitches and FYI mail go here.
object
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.
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.
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.
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.
A card as the deck serves it.
object
An account label from deck config.
The current version’s actions, in order.
An action as stored on a card version.
object
One proposed action. The type tag is also the name runner.eligible uses.
object
object
Close a support conversation (Intercom): its “archive”. account is the deck’s account for the support inbox
(intercom), conversation_id the conversation’s ID there.
object
Out of spam and back into the inbox: Gmail’s “Not spam”.
object
object
Pass the email on to a session, with the fixed forward header.
object
The user’s own comment, set on a sent row. Part of the approved payload, not an adjustment.
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
A Gmail draft in the thread, which the user edits and sends themselves. The normal reply path.
object
The address it’s sent from. Must be one the account can send as (checked when the card is posted, again before sending, and against the sent message’s From header afterwards).
Sends straight away. Never runner-eligible.
object
The address it’s sent from. Must be one the account can send as (checked when the card is posted, again before sending, and against the sent message’s From header afterwards).
A tracker story: create one, or comment on one. Boards are names from deck config; the runner’s and the skill’s own config map them to the tracker’s IDs.
object
object
object
What to do with a task on the person’s own task board.
object
object
object
Retired: leases moved to Fleetlayer (fleetlayer lease). Kept so cards stored before still read; the deck
refuses a new card or edit that carries one ([LEASES_RETIRED]), and the runner never carries one out.
object
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
object
Message, wrap up or close another session (the Work tab’s session actions).
object
What to do with another session, approved from the Work tab.
Pass the person’s words on (text).
Ask it to run its wrap-up: the end-of-session sweep for loose ends. text replaces the default request.
Close it.
Compact its context (/compact, typed in by Fleetlayer while it’s idle): for a long-running session that
always has more to do (Nathan, 28 Nov 2026: “compact, not close”).
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
What was sent and what came back.
One proposed action. The type tag is also the name runner.eligible uses.
object
object
Close a support conversation (Intercom): its “archive”. account is the deck’s account for the support inbox
(intercom), conversation_id the conversation’s ID there.
object
Out of spam and back into the inbox: Gmail’s “Not spam”.
object
object
Pass the email on to a session, with the fixed forward header.
object
The user’s own comment, set on a sent row. Part of the approved payload, not an adjustment.
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
A Gmail draft in the thread, which the user edits and sends themselves. The normal reply path.
object
The address it’s sent from. Must be one the account can send as (checked when the card is posted, again before sending, and against the sent message’s From header afterwards).
Sends straight away. Never runner-eligible.
object
The address it’s sent from. Must be one the account can send as (checked when the card is posted, again before sending, and against the sent message’s From header afterwards).
A tracker story: create one, or comment on one. Boards are names from deck config; the runner’s and the skill’s own config map them to the tracker’s IDs.
object
object
object
What to do with a task on the person’s own task board.
object
object
object
Retired: leases moved to Fleetlayer (fleetlayer lease). Kept so cards stored before still read; the deck
refuses a new card or edit that carries one ([LEASES_RETIRED]), and the runner never carries one out.
object
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
object
Message, wrap up or close another session (the Work tab’s session actions).
object
What to do with another session, approved from the Work tab.
Pass the person’s words on (text).
Ask it to run its wrap-up: the end-of-session sweep for loose ends. text replaces the default request.
Close it.
Compact its context (/compact, typed in by Fleetlayer while it’s idle): for a long-running session that
always has more to do (Nathan, 28 Nov 2026: “compact, not close”).
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
Ask for an automatic action under this grant: the deck runs rules match, and stores the card as automatic
only when it allows.
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.
Key facts shown under the summary, each {"label": "Amount", "value": "$1,200"}.
One fact on a card: an amount, a date, a reference.
object
A few words: “Amount”, “Due”.
“$1,200”, “1 December”.
Nothing touches the thread (a newsletter the person reads themselves).
When that message arrived. A thread left for later takes a new card only for a message newer than that.
The newest message the card was prepared on, for freshness checks.
Open in Gmail (or the draft).
The List-Id header, for strict rules and the learning loop.
The agent wants to carry the card out itself, whatever the runner could do.
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).
A decision in its undo window (Card.pending).
object
The Approve All batch: POST /api/v1/decisions/undo with it cancels the decision.
The kinds of decision the person makes on a card.
When the batch is released to the runner.
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
The rules.md row the agent used.
Where a card sits in the Inbox.
What the person needs to look at: a reply in their name, money, a decision, something only they can do.
Routine mail Approve All just handles, one line each: an archive, with at most a label or a one-line unsubscribe reply (“Unsubscribe, thanks.”) before it. Sales pitches and FYI mail go here.
object
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.
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.
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.
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.
Unread automatic actions.
object
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" } ]}default
Section titled “default”An error, with its message.
Every error the REST API returns, with an HTTP status.
object
Example generated
{ "error": "example"}