Save a chat's computer as a device
Turns the caller's draft computer (a chat's own computer, spaceId: null) into a device in spaceId with name. Nothing is copied or restarted: the chat keeps the same box, which now appears in the space's Devices. Only the draft's owner can save it. Requires space write permission and Enterprise, and counts toward the vault's device limit.
/api/computers/{id}/saveidstringrequiredspaceIdstringrequirednamestringrequiredRequest
curl -X POST https://trickest.io/api/computers/{id}/save \
-H "Authorization: Token $TRICKEST_TOKEN" \
-H "Content-Type: application/json" \
-d '{ }'Responses
kindenumrequiredOne of: linux, android
androidVariantobjectrequiredidstringrequiredspaceIdstringrequirednamestringrequiredstateenumrequiredOne of: creating, active, deleting, unconfirmed, deleted
statusenumrequiredOne of: pending, running, stopping, stopped, snapshotting, failed, aborted, unavailable
createdBystringrequiredcreatedAtstringrequiredupdatedAtstringrequireddeletedAtstringrequirednativeobjectrequiredidstringrequiredruntimestringvcpusnumbermemorynumberportsnumber[]timeoutnumberpermissionsobjectwritebooleanrequiredsourceobjectrequiredcomputerIdstringrequiredsnapshotIdstringrequiredworkflowIdstringactivityobjectrequiredstateenumrequiredOne of: working, idle
lastStateenumrequiredOne of: running, completed, failed, unconfirmed
sourceenumrequiredOne of: agent, workflow, user
operationenumrequiredOne of: command, write, start, stop, restore, capture, create
sessionIdstringrequiredrunIdstringrequiredworkflowIdstringrequiredtoolNamestringrequiredobservedAtstringrequiredgoalobjectrequiredcodestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.