Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.argalabs.com/llms.txt

Use this file to discover all available pages before exploring further.

POST /validate/twins/provision/{run_id}/reset
Replays the baseline seed captured at provision time, restoring twin state in place. No VM restart is performed and twin URLs remain unchanged. Only twin_quickstart runs in ready status can be reset. For long-lived scenario twin environments, use the reseed scenario environment flow instead. Path parameters
NameTypeRequiredDescription
run_idstringYesThe provisioning run id returned by POST /validate/twins/provision.
Response fields
FieldTypeDescription
run_idstringProvisioning run id.
statusstringReset status (e.g. reset_complete).
baseline_kindstring | nullThe kind of baseline that was replayed (e.g. scenario, prompt, empty).
factory_resetobjectPer-twin results of the factory reset step.
seed_resultsobjectPer-twin results of replaying the baseline seed.
Response
{
  "run_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "status": "reset_complete",
  "baseline_kind": "scenario",
  "factory_reset": {},
  "seed_results": {}
}
Errors
StatusDescription
400Invalid run_id, unsupported run type, run not in ready status, no environment URL, no provisioned twins, or twins that cannot be reset via this API.
404Run not found for the authenticated user.