List All Active Sessions

Retrieve a paginated list of all active sessions associated with your Geonode account.

Retrieve a paginated list of all currently active proxy sessions for your account. This endpoint helps you monitor and manage your active connections.

Request

curl -X GET "https://app-api.geonode.com/api/sessions/proxies" \
     -H "Authorization: Basic base64(username:password)"

Query Parameters

ParameterTypeRequiredDefaultDescription
pageintegerNo1Page number for pagination
pageSizeintegerNo250Number of sessions per page (max 250)

Response

200 Success

A list of active sessions retrieved successfully.

Response Fields

FieldTypeDescription
sessionsarrayA list of currently active proxy sessions
sessions[].idstringA unique identifier for the session
sessions[].userSessionIdstringThe user-defined session identifier
sessions[].userIdstringThe Geonode user ID associated with the session
sessions[].portstringThe port number assigned to the session
sessions[].domainstringThe target domain being accessed in the session
sessions[].countrystringThe country code representing the location
sessions[].rotatingIntervalInSecondsnumberThe interval (in seconds) at which the session rotates
sessions[].durationInSecondsnumberThe total duration (in seconds) the session has been active
countintegerThe number of active sessions returned in the current page
totalintegerThe total number of active sessions across all pages
pageintegerThe current page number
pageSizeintegerThe number of sessions per page

Example Response

{
  "sessions": [
    {
      "id": "a7f7c7a3-aaaa-4908-b7bd-71091daadaa6",
      "userSessionId": "vzzzzd",
      "userId": "geonode_userid",
      "port": "10000",
      "domain": "ip-api.com",
      "country": "dz",
      "rotatingIntervalInSeconds": 179.32,
      "durationInSeconds": 2.785
    }
  ],
  "count": 1,
  "total": 1,
  "page": 1,
  "pageSize": 250
}

On this page