List all sandboxes associated with the authenticated account and their current statuses. Returns sandbox details including lifecycle state, timeout remaining, and creation timestamp. For personal API keys, returns sandboxes for the key owner’s account. For organization API keys, returns sandboxes for the authenticated account unless account_id is specified. Authentication is handled via the x-api-key header or Authorization Bearer token.
Your Recoup API key. Learn more.
Filter by a specific sandbox ID. When provided, returns only the sandbox matching this ID. Must be a sandbox that your account or organization is an admin of.
"sbx_abc123def456"
Filter to a specific account. Only applicable for organization API keys - org keys can filter to any account within their organization. Personal keys cannot use this parameter.
Sandboxes retrieved successfully
Response containing sandbox information
Status of the request
success, error Array of sandbox objects
The account's saved snapshot ID used for creating new sandboxes. Null if no snapshot has been saved.
"snap_abc123def456"
The GitHub repository URL associated with the account's sandbox environment. Used as the filesystem source when restoring sandboxes.
"https://github.com/username/repo"
The recursive file tree of the account's GitHub repository. Null if no github_repo is set or if the fetch fails.
Error message (only present if status is error)