# UI

> The UI operations of the Hub REST API (1 operation).

URL: https://docs.synap.live/docs/reference/hub-api/ui · Generated from Synap-core/backend@c31e261ab (main)

Paths are relative to `/api/hub` on a pod.

## POST /ui/focus

Open a surface in the user's browser

Emits a ui:focus event to the authenticated user's browser, instructing it to open the specified surface (entity, view, cell, document, channel, or app).

Request body (`application/json`): object

| Field | Type | Required | Description |
|---|---|---|---|
| `surface` | object | yes |  |

Responses:

- `200`: Event emitted
- `400`: Bad request
- `403`: Forbidden
