Skip to main content

sandbox.reset

Throw the sandbox away and plant a fresh copy of the sample data

Request
POST/api/v1/sandbox/reset
Scope required
sandbox:manage
Effect
Deletes something. Confirm with a person before calling it.
Acts on
Acts on the account’s own job search.
MCP tool
sandbox_reset
Environment
Sandbox only.
Request body
JSON.

What it does

Deletes everything in the sandbox tenant and seeds a new one from the sample world, which is how an integration test gets back to a known state. Existing sandbox credentials keep working — they resolve to whichever tenant the sandbox holds today — but every id handed out before the reset is gone. A reset within a minute of the last one is refused with 409, and a live credential is refused with 403 `sandbox_only`. Read the tenant it planted with `sandbox.get`.

Response

canResetAt
string, required
lastResetAt
string or null, required
organizationSlug
string or null, required
seededAt
string, required
tenantEmail
string, required

Examples

Start the next test run clean

Start the next test run clean — request
curl -s -X POST https://www.jobapplicationtracking.com/api/v1/sandbox/reset \
  -H "Authorization: Bearer $JAT_KEY"
Start the next test run clean — response
{
  "tenantEmail": "sandbox-9f2c1a7b3d4e5f60@sandbox.invalid",
  "organizationSlug": "northwind-careers",
  "seededAt": "2026-02-11T17:05:00.000Z",
  "lastResetAt": null,
  "canResetAt": "2026-02-11T17:06:00.000Z"
}

Related operations