Guides
Reset API
Return one environment or every environment in a sandbox to its declared baseline.
Reset one environment:
Reset the full sandbox:
For current JSON environments, initial state establishes the first baseline
and a later successful state load establishes a new one. The five canonical
Supabase samples separately expect reset to restore the original session seed.
Treat that difference as part of the environment contract and test it before
depending on a later SQL load as a baseline.
A full reset coordinates independent environments. Inspect each result because
one failure does not imply another environment was rolled back.
Reset overwrites live state. Prefer a new sandbox for unrelated test groups.
Use reset for repeated attempts inside one deliberate test boundary.
