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
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
page | integer | No | 1 | Page number for pagination |
pageSize | integer | No | 250 | Number of sessions per page (max 250) |
Response
200 Success
A list of active sessions retrieved successfully.
Response Fields
| Field | Type | Description |
|---|---|---|
sessions | array | A list of currently active proxy sessions |
sessions[].id | string | A unique identifier for the session |
sessions[].userSessionId | string | The user-defined session identifier |
sessions[].userId | string | The Geonode user ID associated with the session |
sessions[].port | string | The port number assigned to the session |
sessions[].domain | string | The target domain being accessed in the session |
sessions[].country | string | The country code representing the location |
sessions[].rotatingIntervalInSeconds | number | The interval (in seconds) at which the session rotates |
sessions[].durationInSeconds | number | The total duration (in seconds) the session has been active |
count | integer | The number of active sessions returned in the current page |
total | integer | The total number of active sessions across all pages |
page | integer | The current page number |
pageSize | integer | The 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
}