Skip to content

Report focus state

POST
/api/v1/focus

Reports which project and worktrees a client is actively viewing. Used by the system tray to suppress desktop notifications for focused projects.

Focus state report

One of:
object

No Content

Bad Request

object
code
string
Allowed values: INVALID_BODY INVALID_CONTAINER_ID INVALID_CONTAINER_NAME INVALID_WORKTREE_ID INVALID_WORKTREE_NAME REQUIRED_FIELD INVALID_PATH INVALID_NETWORK_CONFIG NOT_A_DIRECTORY NOT_FOUND NAME_TAKEN CONTAINER_EXISTS NOT_CONFIGURED STALE_MOUNTS BUDGET_EXCEEDED PROXY_ERROR INTERNAL
error
string