Skip to main content
GET
/
v1
/
sessions
/
{session_id}
Get Browser Session
curl --request GET \  --url https://api.anchorbrowser.io/v1/sessions/{session_id} \  --header 'anchor-api-key: <api-key>'
{  "session_id": "<string>",  "team_id": "<string>",  "duration": 123,  "status": "<string>",  "credits_used": 123,  "configuration": {},  "playground": true,  "proxy_bytes": 123,  "tokens": {},  "steps": [  {}  ],  "tags": {},  "created_at": "2023-11-07T05:31:56Z" }

Authorizations

anchor-api-key
string
header
required

API key passed in the header

Path Parameters

session_id
string
required

The ID of the session to retrieve.

Response

Session retrieved successfully.

session_id
string

The unique identifier of the session.

team_id
string

The team ID associated with the session.

duration
integer

The duration of the session in seconds.

status
string

The current status of the session.

credits_used
number

The number of credits consumed by the session.

configuration
object

The configuration settings for the session.

playground
boolean

Whether this is a playground session.

proxy_bytes
integer

The number of bytes transferred through the proxy.

tokens
object

Token usage information.

steps
object[]

Array of steps executed in the session.

tags
object

Tags associated with the session.

created_at
string<date-time>

The timestamp when the session was created.