API
API endpoints
List current sessions
1 min
gives you a list of all the active sessions linked to your api token (note it only shows active sessions, not those that have already been stopped ) tab examples url https api gameye io session name list sessions method get request pathparameters queryparameters kind optional name filter type object children description give us a list of tags to use to filter your sessions if none of the nsessions meet the criteria you ll get an empty list of sessions headerparameters bodydataparameters formdataparameters results languages id p hqpxlyukpjhm3saok0k code n sessions n n id c595bc6f 8522 4a62 95cd 8742136643ea n image my very special game n location frankfurt n host a b c d n created 1648472895000 n port n 80 tcp 49160 n n labels n env gameye session id this is my test session 103 gameye host a b c d n tags my example tag 1 another example tag 3 n n n n language 200 customlabel id dldp9iwi4ku7yeh8w9pqa code you are not authorized to fetch a list of active sessions please make sure that the nincluded bearer token is correct n language 401 customlabel selectedlanguageid p hqpxlyukpjhm3saok0k examples languages id t9f2ucp1a kdfdwim0ie6 code curl location request get https api gameye io session?filter object n header accept application json language curl customlabel id jzavseqevmscfqxmkyi7l code var myheaders new headers ; nmyheaders append accept application json ; n nvar requestoptions n method get n headers myheaders n redirect follow n ; n nfetch https api gameye io session?filter object requestoptions n then response response text n then result console log result n catch error console log error error ; language javascript customlabel id ee1bryr0zh5k7tduvqnfg code import requests n nurl https api gameye io session?filter object n npayload nheaders n accept application json n n nresponse requests request get url headers headers data payload n nprint response text n language python customlabel id uo9tofzyweii17bndqmwl code require uri nrequire net http n nurl uri https api gameye io session?filter object n nhttps net http new url host url port nhttps use ssl true n nrequest net http get new url nrequest accept application json n nresponse https request request nputs response read body n language ruby customlabel id u2qdllzkdxqdd0yzsdirp code var request require request ; nvar options n method get n url https api gameye io session?filter object n headers n accept application json n n ; nrequest options function error response n if error throw new error error ; n console log response body ; n ; n language nodejs customlabel selectedlanguageid u2qdllzkdxqdd0yzsdirp description currentnewparameter label header parameter value headerparameters