List active sessions
/v1/auth/sessionsLists the authenticated user's active sessions (non-revoked, unexpired refresh tokens), newest first, as an items array exposing each session's id, ip_address, user_agent, created_at, and expires_at. Guarded by UserJwtGuard.
Responses
application/json
items *SessionDto[]
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
Returned object
curl -X GET "https://auth.canopy-io.com/v1/auth/sessions"
{ "items": [ { "id": "string", "ip_address": "string", "user_agent": "string", "created_at": "2026-04-20T12:00:00.000Z", "expires_at": "2026-04-20T12:00:00.000Z" } ] }
Tell us how we can improve this guide.