import { Hyperbrowser } from '@hyperbrowser/sdk';
const client = new Hyperbrowser({ apiKey: 'your-api-key' });
await client.sessions.list({
status: 'active'
});{
"sessions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"teamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "active",
"startTime": "<string>",
"endTime": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
],
"totalCount": 100,
"page": 1,
"pageSize": 10
}import { Hyperbrowser } from '@hyperbrowser/sdk';
const client = new Hyperbrowser({ apiKey: 'your-api-key' });
await client.sessions.list({
status: 'active'
});{
"sessions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"teamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "active",
"startTime": "<string>",
"endTime": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
],
"totalCount": 100,
"page": 1,
"pageSize": 10
}