Skip to content

Select an active-window pane

POST
/api/sessions/{session_id}/panes/{pane_id}/select
Code sample: Shell / cURL
curl --request POST \
--url http://127.0.0.1:8004/api/sessions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/panes/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/select \
--header 'Authorization: Bearer <token>'
session_id
required
string format: uuid

Session ID

pane_id
required
string format: uuid

Pane ID

Done

A malformed ID

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 session

The pane isn’t in the session’s active window