Skip to main content
Save a running or paused runtime under a name that is unique in the project. The runtime keeps its ID and continues after the save. Use the name or the snapshot id when you start new runtimes.

Parameters

Response

Returns a snapshot object. state is active when the snapshot is ready.
  • Pass either template or snapshot when you create a runtime later. Save first, then restore the snapshot.
  • Files written on the source after the save are not in the snapshot.
  • Open terminals and streams on the source may drop for the pause. Reconnect when the call returns.
  • The call waits until the snapshot is stored. A cold save of a large disk takes longer than a hot save of a small working set.

Endpoint

POST /v1/agents/snapshots