List active sessions
GET
/auth/sessions
const url = 'https://localhost:3000/api/v1/auth/sessions';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://localhost:3000/api/v1/auth/sessions \ --header 'Authorization: <Authorization>'Returns the authenticated account’s active sessions, most recently seen first. The session making the request is flagged with current=true.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Active sessions
Media typeapplication/json
Array<object>
object
created_at
required
string format: date-time
current
required
boolean
device
required
string
expires_at
required
string format: date-time
id
required
string format: uuid
ip
required
string
last_seen_at
required
string format: date-time
Example
[ { "created_at": "2026-11-15T10:30:00Z", "current": true, "device": "Mozilla/5.0 (X11; Linux x86_64) Firefox/133.0", "expires_at": "2026-11-22T10:30:00Z", "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ip": "203.0.113.7", "last_seen_at": "2026-11-15T11:02:00Z" }]Unauthorized
Media typeapplication/json
object
error
required
string
message
string
Example
{ "error": "invalid_request", "message": "Invalid request body"}Internal error
Media typeapplication/json
object
error
required
string
message
string
Example
{ "error": "invalid_request", "message": "Invalid request body"}