Create, attach, switch, detach, select or associate a conversation computer
Create an independent computer identity with a caller-provided retry UUID, or select a target/home with the last observed revision. Detach removes an unselected, unassociated catalog computer from this conversation without deleting the computer. Association requires workflow read access, preserves physical identity and does not change the editor. Attaching, switching to or selecting a catalog computer needs space write permission, and a deleted computer is refused. Switch atomically attaches and selects a catalog computer. Detach is refused while a live execution-bound turn or goal uses the computer. Selection never stops existing work; unstarted queued turns use the selection at admission. Allocation remains lazy and subject to the existing account limits.
/api/agent/sessions/{sessionId}/sandboxessessionIdnumberrequiredPath parameter: sessionId
Request
curl -X POST https://trickest.io/api/agent/sessions/{sessionId}/sandboxes \
-H "Authorization: Token $TRICKEST_TOKEN" \
-H "Content-Type: application/json" \
-d '{ }'Responses
homeIdstringrequiredselectedIdstringrequiredrevisionintegerrequiredtargetsobject[]requiredidstringrequirednamestringrequiredworkflowIdstringrequiredkeyobjectrequiredworkflowIdstringagentSessionIdstringrequiredandroidReservedbooleancodestringrequiredmessagestringrequireddetailsobjectField-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.