Skip to content

One session, optionally with its timeline

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

GET
/api/v1/sessions/show
curl --request GET \
--url 'https://deck.example.com/api/v1/sessions/show?session=example&timeline=false' \
--cookie qd_auth=<qd_auth>
session
required
string
timeline
boolean

quietdeck sessions show <session>: one session, and with --timeline every summary point it has, oldest first.

Media typeapplication/json

quietdeck sessions show <session>: one session, and with --timeline every summary point it has, oldest first.

object
continues

The session this one continues, when it was started from a handoff.

Any of:

One end of a move, as sessions show prints it: the session on the other end and the handoff between them.

object
at
required
string
handoff_id
required
integer format: int64
session
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
moved_to

The session that continues this one, when it was moved.

Any of:

One end of a move, as sessions show prints it: the session on the other end and the handoff between them.

object
at
required
string
handoff_id
required
integer format: int64
session
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
session
required

A session as the deck serves it.

object
address

Where the orchestrator runs it, in the orchestrator’s own terms (herdr: a pane ID). Opaque to the deck.

string | null
agent
required

Which harness runs the session.

string
Allowed values: claude codex
closed_at

When herdr reported it closed. A session that isn’t running and has no closed_at went away without a close event: herdr stopped, or the machine shut down.

string | null
cwd
string | null
ended
Any of:

How a session ended, from herdr’s close events.

One of:

Its tab closed: a person closed it, or the last process in it exited.

object
how
required
string
Allowed value: tab_closed
last_activity
string | null
links
required
Array<object>
object
added_at
required
string
kind
required
string
Allowed values: github_pr shortcut_story linear_issue link
ref

owner/repo#1234, sc-6450, ENG-12.

string | null
source
required

agent, or the detector’s name.

string
state
Any of:
string
Allowed values: open merged closed done
title
string | null
url
required
string
node
required
string
node_online
required

The node is connected now. When it isn’t, everything above is as last pushed.

boolean
open_url

A link that brings the session forward in its orchestrator on the machine it runs on (herdr: herdr://open).

string | null
opens_in

The orchestrator’s name, for “Open in …”.

string | null
page
string | null
paragraph
string | null
project
string | null
prompt

The harness’s own menu it’s waiting on (blocked), when its node reads one through Fleetlayer.

Any of:

A blocked prompt: one of the harness’s own menus (Claude Code’s question form, a permission prompt, a plan to approve) waiting in a session, as Fleetlayer reads it (meta.prompt). The Work tab shows it as a form; the answer goes back through Fleetlayer.

object
at

When it appeared, as Fleetlayer gives it.

string | null
id
required

Fleetlayer’s ID for this prompt: stable while it shows, new for every prompt. An answer names it.

string
kind
required

question, permission or plan.

string
options

A permission or plan prompt’s choices.

Array<object>
default:
object
description
string | null
label
required
string
n
required

What to answer to pick it.

integer format: uint32
plan

A plan prompt’s plan.

string | null
questions

A question form’s questions, in order.

Array<object>
default:
object
header
string | null
multiSelect
boolean
options
Array<object>
default:
object
description
string | null
label
required
string
n
required

What to answer to pick it.

integer format: uint32
other

It takes a free-text answer too.

boolean
question
required
string
tool

A permission prompt’s tool, by name, and a short form of its input.

string | null
tool_input
string | null
pushed_at
required
string
resume_command

The command that resumes it, to copy until herdr’s create-and-resume is there.

string | null
running
required

Whether the agent is running now.

boolean
sentence
string | null
session_id
required
string
status
required

Herdr’s agent_status, as each node forwards it.

  • idle: waiting for input, and the person has seen its last turn.
  • done: idle, with a finished turn nobody has looked at yet (herdr’s blue dot).
  • working: running a turn.
  • blocked: waiting on the person: a permission prompt, a question (herdr’s red dot).
  • unknown: herdr can’t tell, or the agent isn’t running.
string
Allowed values: idle done working blocked unknown
status_changed_at
required
string
tab
string | null
workspace
string | null
timeline
required
Array<object>

One point on a session’s timeline, with the session’s three tiers as of that point.

Key: session_id + period. The deck replaces a stored record with the same key.

object
activity_from
required

The first and last real activity the record covers.

string
activity_to
required
string
agent
required

Which harness runs the session.

string
Allowed values: claude codex
dir

The session’s working directory.

string | null
origin
required

Who wrote a record.

One of:

Written by the node’s summaries module.

string
Allowed value: node
page
required

Up to about a page, Markdown.

string
paragraph
required

One or two paragraphs.

string
period
required

The stretch of activity a record covers.

Live summaries are one point per local hour of activity: a later update in the same hour replaces the earlier one (same session_id, same period). Old history (the import, and the daily sweep’s catch-up on a long transcript) is chunked by local day for the last 30 days and by ISO week before that.

One of:

The local hour of the activity’s last real moment, floored: 2026-11-23T14.

object
key
required
string
kind
required
string
Allowed value: hour
sentence
required

The one-liner.

string
session_id
required
string
tab

The herdr tab label when the record was written, if the session had one.

string | null
written_at
required
string

Example

{
"session": {
"agent": "claude",
"ended": {
"how": "tab_closed"
},
"links": [
{
"kind": "github_pr",
"state": "open"
}
],
"open_url": null,
"opens_in": null,
"prompt": null,
"status": "idle"
},
"timeline": [
{
"agent": "claude",
"origin": "node",
"period": {
"kind": "hour"
}
}
]
}

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