List a computer's snapshots
Unexpired snapshots, newest first: named saves (with their capture state) and the fleet's own captures (unnamed). Reads never resume the computer. Requires space read permission.
GET
/api/computers/{id}/snapshotsPath parameters
idstringrequiredRequest
curl
curl -X GET https://trickest.io/api/computers/{id}/snapshots \
-H "Authorization: Token $TRICKEST_TOKEN"Responses
200Snapshots
snapshotsobject[]requiredidstringrequiredrequestIdstringrequirednamestringrequiredstateenumrequiredOne of: capturing, ready, failed, unconfirmed
managedbooleanrequiredcreatedBystringrequiredcreatedAtstringrequiredexpiresAtstringrequiredsizeBytesnumberrequiredversionnumberrequiredcomputerStatusenumrequiredOne of: pending, running, stopping, stopped, snapshotting, failed, aborted, unavailable
availablebooleanrequired400Bad Request – validation error or malformed input
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
401Unauthorized – missing or expired token
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
403Forbidden – insufficient permissions
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
429Too Many Requests – rate limited
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
500Internal Server Error
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.