context
- Category: sessions
- Access: read
- Audience: ordinary (an ordinary user normally calls this directly)
Purpose
One-call orientation: pocket, caller, project, session, boundary, catch-up.
Arguments
Takes no arguments.
Result
JSON object with server, client_id, role, session counts and caller binding.
Boundaries
Project-scoped reads; foreign projects read empty. Caller-owned rows only where applicable.
Lifecycle / side effects
Read-only; no rows written.
Errors
Bad types are rejected (strict validator). Failures move nothing (atomic).
Example
{}
Result shape:
{
"server": {
"name": "saphira-memory"
}
}