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
| Name | Type | Required | Description |
|---|
run_id | string | Yes | The provisioning run id returned by POST /validate/twins/provision. |
Response fields
| Field | Type | Description |
|---|
run_id | string | Provisioning run id. |
status | string | Reset status (e.g. reset_complete). |
baseline_kind | string | null | The kind of baseline that was replayed (e.g. scenario, prompt, empty). |
factory_reset | object | Per-twin results of the factory reset step. |
seed_results | object | Per-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
| Status | Description |
|---|
400 | Invalid 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. |
404 | Run not found for the authenticated user. |