Pause Sandbox
Pause a running sandbox while preserving its state. PollGET /v1/sandboxes/{sandboxId} to track state transition to Paused.
Path Parameters
Unique sandbox identifier
Response
Pause operation accepted.Sandbox will transition to Pausing state. Poll
GET /v1/sandboxes/{sandboxId} to track progress.Response Headers
Unique request identifier for tracing
Error Responses
Authentication credentials are missing or invalid
The authenticated user lacks permission for this operation
The requested sandbox does not exist
The operation conflicts with the current state
An unexpected server error occurred
Example Request
Resume Sandbox
Resume execution of a paused sandbox. PollGET /v1/sandboxes/{sandboxId} to track state transition to Running.
Path Parameters
Unique sandbox identifier
Response
Resume operation accepted.Sandbox will transition from Paused → Running. Poll
GET /v1/sandboxes/{sandboxId} to track progress.Response Headers
Unique request identifier for tracing
Error Responses
Authentication credentials are missing or invalid
The authenticated user lacks permission for this operation
The requested sandbox does not exist
The operation conflicts with the current state
An unexpected server error occurred
Example Request
Delete Sandbox
Delete a sandbox, terminating its execution. The sandbox will transition through Stopping state to Terminated.Path Parameters
Unique sandbox identifier
Response
Sandbox successfully deleted.Sandbox has been scheduled for termination and will transition to Stopping state, then Terminated.
Response Headers
Unique request identifier for tracing
Error Responses
Authentication credentials are missing or invalid
The authenticated user lacks permission for this operation
The requested sandbox does not exist
The operation conflicts with the current state
An unexpected server error occurred
Example Request
Renew Sandbox Expiration
Renew the absolute expiration time of a sandbox.Path Parameters
Unique sandbox identifier
Request Body
New absolute expiration time in UTC (RFC 3339 format).Must be in the future and after the current expiresAt time.Example:
"2025-11-16T14:30:45Z"Response
The new absolute expiration time in UTC (RFC 3339 format).Example:
"2025-11-16T14:30:45Z"Response Headers
Unique request identifier for tracing
Status Code
Sandbox expiration updated successfully.Returns only the updated expiresAt field.
Error Responses
The request was invalid or malformed
Authentication credentials are missing or invalid
The authenticated user lacks permission for this operation
The requested sandbox does not exist
The operation conflicts with the current state
An unexpected server error occurred
Example Request
Example Response
Get Sandbox
Returns the complete sandbox information including image specification and entrypoint.Path Parameters
Unique sandbox identifier
Response
Unique sandbox identifier
Container image specification used to provision this sandbox
Current lifecycle status and detailed state information
Custom metadata from creation request
Entry process specification
Timestamp when sandbox will auto-terminate (RFC 3339 format)
Sandbox creation timestamp (RFC 3339 format)
Response Headers
Unique request identifier for tracing
Status Code
Sandbox current state and metadata
Error Responses
Authentication credentials are missing or invalid
The authenticated user lacks permission for this operation
The requested sandbox does not exist
An unexpected server error occurred
Example Request
Example Response
List Sandboxes
List all sandboxes with optional filtering and pagination using query parameters. All filter conditions use AND logic. Multiplestate parameters use OR logic within states.
Query Parameters
Filter by lifecycle state. Pass multiple times for OR logic.Example:
?state=Running&state=PausedArbitrary metadata key-value pairs for filtering. Keys and values must be url encoded.Example: To filter by
project=Apollo and note=Demo Test:?metadata=project%3DApollo%26note%3DDemo%252520TestPage number for paginationDefault: 1, Minimum: 1
Number of items per pageDefault: 20, Minimum: 1
Response
Array of sandbox objects
Pagination metadata for list responses
Response Headers
Unique request identifier for tracing
Status Code
Paginated collection of sandboxes
Error Responses
The request was invalid or malformed
Authentication credentials are missing or invalid
An unexpected server error occurred