The session making this request and who it is
GET
/v1/cli/sessions/currentOperation session.current · since 2026-11-05 · stable
Needs a session withreadscopeAnswers200 OK
The session making the request: its id, scope, device, expiry and the person it belongs to.
Only a CLI session may call it.
Errors
Every error is { "error", "message", "detail"? } (Errors and references). Besides the codes any route can answer.
GET/v1/cli/sessions/current
curl "https://api.rykloud.com/v1/cli/sessions/current" \
-H "Authorization: Bearer $RYKLOUD_TOKEN"With the rykloud CLI
rykloud auth statusCommand reference: rykloud auth status