Skip to Content

Mastra Platform

Create the API token and find the project and environment that let Sandcovery run sandboxes in your own Mastra Platform workspace.

For Mastra Platform, create an sk_ API token on your organization's settings page under API Tokens, then copy the project ID and the environment ID from your project's Workspaces tab, and add all three. Use a staging or preview environment if you want to keep Sandcovery's sandboxes apart from production, since each environment has its own sandbox pool.

Each Sandcovery sandbox is one sandbox on Mastra's base template, with Python 3, Node 22, and TypeScript, at 2 vCPUs and 1 GiB of memory, in the region of the environment you name. Ports open through a sign-in cookie that lasts an hour, which Sandcovery returns with each port's URL. Mastra Platform has no pause or snapshot that Sandcovery can use, so a sandbox runs until Sandcovery destroys it at its TTL.