CWSANDBOX_API_KEY. For Forge API key authentication, see Get started. For CKS requirements, see Placement modes.
This example shows how to run multiple CoreWeave sandboxes in parallel using a session. A session applies shared defaults across the sandboxes and cleans them up automatically when the block exits. Use this pattern to coordinate work across several sandboxes without managing each lifecycle individually.
Sessions manage multiple sandboxes with shared defaults and automatic cleanup:
Multiple sandboxes
Tutorial for managing multiple CoreWeave sandbox instances using sessions with shared defaults
These examples use a CoreWeave API access token in
For sandbox pools, adoption patterns, and lifecycle management, see the Sessions guide.
Last modified on October 14, 2026