Skip to content

Read raw output

GET
/api/panes/{pane_id}/output
Code sample: Shell / cURL
curl --request GET \
--url http://127.0.0.1:8004/api/panes/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/output \
--header 'Authorization: Bearer <token>'

The pane’s retained output as the terminal emulator receives it; capture renders it as text.

pane_id
required
string format: uuid

Pane ID

cols
integer format: int32
<= 65535
rows
integer format: int32
<= 65535

Raw PTY bytes, escapes included

Media typeapplication/octet-stream
string format: binary

The shell failed to start; or a malformed ID or query parameter

Media typetext/plain
string

Missing or wrong access token

Media typetext/plain
string

The request’s Host or Origin isn’t allowed, or the caller can’t use this route (a guest token, or btmux connect)

No such pane