Skip to content

List where you're signed in

The users.sessions.list operation: GET /api/v1/users/me/sessions in the REST API and the users_sessions_list tool in the MCP server.

GET/api/v1/users/me/sessions

Lists your active console sessions, newest first: when each started, when you last signed in on it, when it ends (after 2 hours without activity, and 12 hours after the sign-in at the latest), and the country and browser of the sign-in. End one, or all but the current one, with users.sessions.revoke.

Who can call it: the signed-in user, for their own account.

At a glance

  • REST: GET /api/v1/users/me/sessions
  • MCP tool: users_sessions_list
  • Operation ID: users.sessions.list
  • Scope: Platform
  • Permission: account:read
  • Risk tier: read
  • Dry run: Not supported
  • Idempotency: Not needed (read only)
  • Modes: Test and live
  • Authentication: API key with the account:read scope
  • Since: M13

Request

Query parameters

This operation takes no query parameters.

Response

200 OK with a JSON object:

FieldTypeDescription
object"list"
dataarray of object
data[].object"session"
data[].idses_… ID
data[].createdAtdate-timeWhen the session was created (the sign-in).
data[].lastAuthenticatedAtdate-timeWhen you last proved who you are on this session (sign-in or a fresh sign-in).
data[].idleExpiresAtdate-timeWhen it ends without activity (2 hours after the last request, moved forward by activity).
data[].expiresAtdate-timeWhen it ends at the latest (12 hours after the sign-in).
data[].countrystring or nullThe country of the sign-in request, when known.
data[].userAgentstring or nullThe browser that signed in.

Examples

One session

HTTP
GET /api/v1/users/me/sessions
Authorization: Bearer or_test_…

Response (200):

JSON
{
  "object": "list",
  "data": [
    {
      "object": "session",
      "id": "ses_01m4tx5nj8emwbyf7y9vcf47xc",
      "createdAt": "2026-10-30T08:15:00.000Z",
      "lastAuthenticatedAt": "2026-10-30T08:15:00.000Z",
      "idleExpiresAt": "2026-10-30T10:15:00.000Z",
      "expiresAt": "2026-10-30T20:15:00.000Z",
      "country": "HR",
      "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 15_5) AppleWebKit/605.1.15 Version/18.5 Safari/605.1.15"
    }
  ]
}

Errors

CodeHTTP statusWhenWhat to do
permission_denied403The caller isn't a signed-in user.Ask an organization owner or admin for a role or scope that allows this action.

It can also return these common errors: validation_failed, api_version_unsupported, authentication_required, api_key_invalid, resource_not_found, dry_run_not_supported, rate_limited, internal_error.