getSession
Retrieve full session details including status, proxy configuration, and timing.
Query
query GetSession($id: ID!) {
session(id: $id) {
id
status
proxy {
type
country
ip
}
viewport {
width
height
}
createdAt
expiresAt
}
}
Variables
{
"id": "ses_k8m2n4p6"
}
Response
{
"data": {
"session": {
"id": "ses_k8m2n4p6",
"status": "active",
"proxy": {
"type": "residential",
"country": "US",
"ip": "203.0.113.42"
},
"viewport": {
"width": 1920,
"height": 1080
},
"createdAt": "2026-06-23T15:00:00Z",
"expiresAt": "2026-06-23T15:30:00Z"
}
}
}