cURL
curl --request GET \ --url https://api.example.com/sessions \ --header 'Authorization: Bearer <token>'
{ "items": [ { "session_id": "<string>", "timeout_minutes": 123, "created_at": "2023-11-07T05:31:56Z", "last_accessed_at": "2023-11-07T05:31:56Z", "status": "active", "closed_at": "2023-11-07T05:31:56Z", "duration": "<string>", "steps": [ {} ], "error": "<string>", "credit_usage": 123, "proxies": false, "browser_type": "chromium", "use_file_storage": false, "network_request_bytes": 0, "network_response_bytes": 0 } ], "page": 123, "page_size": 123, "has_next": true, "has_previous": true }
The access token received from the authorization server in the OAuth 2.0 flow.
Page number
x >= 1
Number of items per page
1 <= x <= 100
Whether to only return active sessions
Whether to only return sessions for the current token (apikey)
Successful Response
Show child attributes
Was this page helpful?