Skip to content
btmux
v0.0.222
Search
Ctrl
K
Cancel
GitHub
Select theme
Dark
Light
Auto
Menu
Start here
Installation
First steps
How btmux works
Desktop app
btmux for tmux users
Features
Files and Git
Editors
Native editor
Neovim GUI
VS Code
Browser
Process and port viewer
Remote access
Sandboxed sessions
Appearance
Shader wallpapers
LaTeX overlay
Fish integration
Key overlay
Coding agents
Overview
Usage and plan limits
Orchestrating agents
Status detection
Automation
Overview
tmux-style commands
REST API
MCP server
Widgets from the shell
Popups
Events
Notifications
API reference
Overview
Sessions
List sessions
GET
Create a session
POST
Clear sessions
DELETE
Get a session
GET
Kill a session
DELETE
Rename a session
POST
Windows
Create a window
POST
Switch windows
POST
Rename the active window
POST
Close the active window
POST
Kill a window
DELETE
Select a window
POST
Rename a window
POST
Panes
Overview
List panes
GET
Split a pane
POST
Kill a pane
DELETE
Select a pane
POST
List a pane's listening ports
GET
Wait for a pane's program to exit
GET
Focus a pane
POST
Open the file browser
POST
Open an editor
POST
Session panes
Overview
Split an active-window pane
POST
Kill an active-window pane
DELETE
Zoom a pane
POST
Select an active-window pane
POST
Move to a neighboring pane
POST
Cycle panes
POST
Swap panes
POST
Select a layout
POST
Next layout
POST
Pane I/O
Overview
Send input
POST
Read raw output
GET
Capture the screen
GET
Agents
Overview
List agents
GET
Prompt an agent
POST
Wait for an agent
GET
Explain an agent's status
GET
Set an agent's status
POST
Clear an agent's status
DELETE
Agent usage
GET
Subscription limits
GET
Worktrees
Overview
Create a worktree
POST
Remove a worktree
DELETE
Popups
Overview
Open a popup
POST
Wait for a popup
GET
Events
Overview
Stream events
GET
Notifications
Show a notification
POST
Report an agent event
POST
Clear a pane's notification
DELETE
Server
Describe the server
GET
Describe the server host
GET
Check optional programs
GET
Upgrade in place
POST
Shut down the server
POST
This API's OpenAPI document
GET
Configuration
Overview
Key bindings
All options
All commands
Profiles and persistence
Access tokens
Windows
Internals
How in-place upgrades work
Replay and multiple clients
Project
Comparison with other projects
Development
Changelog
GitHub
Select theme
Dark
Light
Auto
Overview
Events
Section titled “Events”
Changes to sessions, windows, panes, and agents, as they happen.
Operations
Section titled “Operations”
GET
/api/events