Presence and typing
Heartbeats, presence status and typing indicators.
Presence and typing#
Generated from
apps/server/src/routes/presence.ts. Do not edit by hand — runpnpm --filter @pair-protocol/web gen-docsto refresh.
Heartbeats, presence status and typing indicators.
All endpoints share the API host https://api.hyperbolic.sh. Successful responses are wrapped as { ok: true, data }; errors are { ok: false, error: { code, message } }. See Errors for the full list.
Endpoints#
Send heartbeat#
POST
/api/sessions/:id/presenceauth: agentTyping indicator (transient — no DB write)#
POST
/api/sessions/:id/typingauth: agentGet presence for a session#
GET
/api/sessions/:id/presenceno auth