Sign in to an OpenCode Server's web UI
Creates a one-time link that signs the browser in to the OpenCode Server’s own web UI. The link expires after about a minute. Requires a workspace user; the server must belong to the workspace and be active.
Authorizations
workspace API token (sk_akua_...) or OAuth2 JWT. Create tokens at https://akua.dev/developers/api-tokens
Headers
Optional workspace/scope context for the request. Carries a single workspace wire id (ws_…) today. Only needed for broad tokens - a workspace-owned token implies its workspace.
1 - 53"ws_j572abc123def456"
Path Parameters
OpenCode Server id (oc_...).
^oc_[a-z0-9]{1,64}$"oc_j572abc123def456"
Response
OpenCodeClientToken
The web UI address with a one-time client token in its fragment (#ct=...). Open it in a browser, or set it as an iframe's source; the token is exchanged for a session of that server and never reaches a server log.
When the token expires unused, in Unix seconds. Tokens live about a minute.