sandboxes
List sandboxes (v2)
Changed onList all sandboxes
get/v2/sandboxes
Request
- Base URLhttps://api.e2b.app
- URLhttps://api.e2b.app/v2/sandboxes
- Auth
- API key in header X-API-Key
- or HTTP bearer and API key in header X-Team-ID
- or API key in header X-Admin-Token and API key in header X-Team-ID
- or HTTP bearer and API key in header X-Team-ID
Query parameters
metadatastring
Metadata query used to filter the sandboxes (e.g. "user=abc&app=prod"). Each key and values must be URL encoded.
stateSandbox State[]
Filter sandboxes by one or more states
order'asc' | 'desc'
Sort direction
Sort direction by sandbox start time. Defaults to desc (newest first).
startedAfterstring date-time
Return sandboxes started at or after this timestamp.
templatestring
Filter sandboxes by a template ID or alias.
nextTokenstring
Cursor to start the list from
limitinteger
Maximum number of items to return per page
Response
Successfully returned all running sandboxes
Changes
- info
added the non-success response with the status
- info
- info
the endpoint scheme security
AdminJWTAuth AND AdminTeamAuthwas added to the API
- info