Skip to main content
GET
/
api
/
v1
/
sessions
/
{browser_id}
Retrieve a session
curl --request GET \
  --url https://emereg.com/api/v1/sessions/{browser_id} \
  --header 'Authorization: Bearer <token>'
{
  "project_id": 5,
  "browser_settings": {
    "proxy": {
      "country": "sg"
    },
    "record_live": true,
    "live_url": "https://emereg.com/session/inspector.html?wss=browser.emereg.com/devtools/page/7FDF552596C3FCE19FF411F486FDD642"
  },
  "timeout": 60,
  "started_at": "2024-08-14T06:08:12Z",
  "ended_at": "2024-08-14T06:08:53Z",
  "status": "FINISHED",
  "created_at": "2024-08-14T14:08:07.791Z",
  "updated_at": "2024-08-14T14:08:53.523Z",
  "browser_id": "cbcf1d9b-a157-43c9-99e9-a07506c536a6"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

browser_id
string
required

Unique identifier for the browser session.

Response

Successfully retrieved the session details.

project_id
integer

ID of the project associated with the session.

browser_settings
object
timeout
integer

Timeout duration for the session in seconds.

started_at
string<date-time>

Timestamp the session was started.

ended_at
string<date-time>

Timestamp the session was ended.

status
string

Current status of the session.

created_at
string<date-time>

Timestamp the session was created.

updated_at
string<date-time>

Timestamp the session was last updated.

browser_id
string

Unique identifier for the browser session.