Triggers the setup-sandbox background task to create a personal sandbox, provision a GitHub repo, take a snapshot, and shut down. For personal API keys, sets up the sandbox for the key owner’s account. Organization API keys may specify account_id to target any account within their organization. Authentication is handled via the x-api-key header or Authorization Bearer token.
Your Recoup API key. Learn more.
Optional account targeting parameters
UUID of the account to set up the sandbox for. Only applicable for organization API keys - org keys can specify an account_id for any account within their organization. If not provided, sets up the sandbox for the API key's own account.
Setup task triggered successfully
Status of the setup operation
success The Trigger.dev run ID for the setup-sandbox background task. Use this with GET /api/tasks/runs to check the status and retrieve results.
"run_abc123def456"