snapshots
Get snapshot by ID or name
get/snapshots/{id}
Path parameters
idstring required
Snapshot ID or name
Headers
X-Daytona-Organization-IDstring
Use with JWT to specify the organization ID
Response
The snapshot
Example response
{
"buildInfo": {
"dockerfileContent": "FROM node:14\nWORKDIR /app\nCOPY . .\nRUN npm install\nCMD [\"npm\", \"start\"]",
"contextHashes": [
"hash1",
"hash2"
],
"snapshotRef": "daytonaio/sandbox:latest"
},
"initialRunnerId": "runner123",
"ref": "daytonaio/sandbox:latest",
"sandboxClass": "linux-vm"
}