GET
/
v1
/
sessions
/
all
/
status
JavaScript
import Anchorbrowser from 'anchorbrowser';

const client = new Anchorbrowser({
  apiKey: 'My API Key',
});

const response = await client.sessions.all.status();

console.log(response.data);
{
  "data": {
    "count": 123,
    "items": [
      {
        "session_id": "550e8400-e29b-41d4-a716-446655440000",
        "status": "running",
        "created_at": "2024-01-01T12:00:00Z"
      }
    ]
  }
}

Authorizations

anchor-api-key
string
header
required

API key passed in the header

Response

200
application/json

Successfully retrieved status for all browser sessions

The response is of type object.