List agent sessions
Lists the caller's agent sessions in a vault, newest first, with optional workflow, computer, space, status and title filters. Computer history requires read access and follows durable attached-computer membership, including unselected targets. hasMore is true when a further page exists. Page with offset, or send cursor (empty for the first page, then each response's nextCursor) for keyset paging, which returns every session once across pages and includes nextCursor, null on the last page.
/api/agent/sessionsvaultIdstringrequiredworkflowIdobjectcomputerIdobjectspaceIdstringstatusenumlimitintegerrequireddefault: 50offsetintegerdefault: 0qstringcursorstringsharedenumRequest
curl -X GET https://trickest.io/api/agent/sessions \
-H "Authorization: Token $TRICKEST_TOKEN"Responses
sessionsobject[]requiredidstringrequiredvault_idstringrequireduser_idstringrequiredtitlestringstatusenumrequiredOne of: ACTIVE, ARCHIVED, DELETED
modelstringcreated_atstringrequiredupdated_atstringrequiredhasBlockedQueuebooleanlastRunStatusstringlastRunIdstringlastRunCreatedAtstringlastRunUpdatedAtstringhasMorebooleanrequirednextCursorstringcodestringrequiredmessagestringrequireddetailsobjectField-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.