# Autoresearch Sandboxes

Mint the infra-only service token, confined to its own workspace, that lets Sandcovery run Autoresearch sandboxes on your prepaid credit.

Sandcovery runs Autoresearch's 1 vCPU, 2 GiB `sandbox-sm` sandbox, as `autoresearch/1x2`, on your own Autoresearch organization's prepaid credit, so the organization needs credit before a create succeeds.

1. Create a workspace that only Sandcovery uses.
2. As an organization admin, mint an organization service token on Autoresearch's [team page](https://autoresearch.sfcompute.com/team), or with `POST https://autoresearch.sfcompute.com/preview/org/tokens`, with `scopes` set to `["infra"]` alone and `workspaces` naming only that workspace. The `infra` scope is the narrowest one that creates sandboxes, and the token cannot read billing, members, or other workspaces.
3. Add that token as your Autoresearch credential.

A dedicated workspace matters because Sandcovery finds a sandbox whose create answer was lost by reading a tag file in each live sandbox of the token's workspace, which would also run that read in any other sandbox there.

A token expires 90 days after it is minted unless you set `expires_in_days`, so replace the credential before it expires, or mint it with `expires_in_days` set to `0` and revoke it on the team page when you stop using it.
