v13
OpenAPI 3.0.32026-07-31359869.4 MBList sessions
Retrieves a paginated list of sessions belonging to a specific sandbox. Results are sorted by creation time and paginated using an opaque cursor.
Query parameters
The unique identifier or name of the project to list sessions for.
The unique identifier or name of the project to list sessions for.
Filter sessions by sandbox name. Only sessions belonging to the specified sandbox are returned.
Filter sessions by sandbox name. Only sessions belonging to the specified sandbox are returned.
Maximum number of sessions to return in the response. Used for pagination.
Maximum number of sessions to return in the response. Used for pagination.
Opaque pagination cursor from a previous response.
Opaque pagination cursor from a previous response.
Sort direction for results by creation time.
Sort direction for results by creation time.
The Team identifier to perform the request on behalf of.
The Team slug to perform the request on behalf of.
Response
The list of sessions matching the request filters.
Example response
{
"sessions": [
{
"sourceSandboxName": "my-sandbox",
"projectId": "prj_123a6c5209bc3778245d011443644c8d27dc2c50",
"id": "sbx_123a6c5209bc3778245d011443644c8d27dc2c50",
"memory": 2048,
"vcpus": 2,
"region": "iad1",
"runtime": "node22",
"timeout": 3600000,
"status": "running",
"requestedAt": 1750344501629,
"startedAt": 1750344501629,
"cwd": "/vercel/sandbox",
"requestedStopAt": 1750344501629,
"stoppedAt": 1750344501629,
"abortedAt": 1750344501629,
"duration": 3600000,
"sourceSnapshotId": "snap_123a6c5209bc3778245d011443644c8d27dc2c50",
"snapshottedAt": 1750344501629,
"createdAt": 1750344501629,
"updatedAt": 1750344501629,
"networkPolicy": {
"mode": "custom",
"allowedDomains": [
"api.vercel.com",
"*.example.com"
],
"allowedCIDRs": [
"10.0.0.0/8"
],
"deniedCIDRs": [
"10.0.0.0/8"
],
"injectionRules": [
{
"domain": "api.vercel.com",
"headerNames": [
"Authorization",
"X-API-Key"
]
}
]
},
"activeCpuDurationMs": 42,
"networkTransfer": {
"in": 12543852,
"out": 15368
}
}
]
}