Returns a paginated list of box instances. Use this endpoint to monitor environments, filter by status or type, or retrieve boxes by labels or device type.
Enter your API Key in the format: Bearer
Page number
1
Page size
10
Filter boxes by their current status (pending, running, stopped, error, terminated, all). Must be an array of statuses. Use 'all' to get boxes with any status.
all, pending, running, error, terminated ["running"]Filter boxes by their type (linux, android, all). Must be an array of types. Use 'all' to get boxes of any type.
all, linux, android ["linux"]Filter boxes by their labels. Labels are key-value pairs that help identify and categorize boxes. Use this to filter boxes that match specific label criteria. For example, you can filter by project, environment, team, or any custom labels you've added to your boxes.
Filter boxes by their device type (virtual, physical)
"virtual"
List box
Response containing paginated list of box instances
Total number of items
100
Page number
1
Page size
10
A box instance that can be either Linux or Android type
Linux box instance with full configuration and status
[
{
"id": "c9bdc193-b54b-4ddb-a035-5ac0c598d32d",
"type": "linux",
"status": "running",
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-15T10:35:00.000Z",
"expiresAt": "2024-01-15T10:40:00.000Z",
"config": {
"os": { "version": "ubuntu-20.04" },
"workingDir": "/home/user",
"labels": { "environment": "development" },
"envs": { "NODE_ENV": "production" },
"cpu": 2,
"memory": 1024,
"storage": 30
}
},
{
"id": "f7e8a2c1-9d4e-4b3a-8c6f-1e5d7a9b2c4e",
"type": "android",
"status": "pending",
"createdAt": "2024-01-15T10:32:00.000Z",
"updatedAt": "2024-01-15T10:32:00.000Z",
"expiresAt": "2024-01-15T10:47:00.000Z",
"config": {
"os": { "version": "12" },
"deviceType": "virtual",
"workingDir": "/data/local/tmp",
"labels": { "app": "mobile-testing" },
"envs": { "ANDROID_HOME": "/opt/android-sdk" },
"cpu": 2,
"memory": 2048,
"storage": 20
}
}
]