API
API endpoints
Get all logs
1 min
get all the logs of a session from its underlying container we'll send both stdout and stderr this is useful to get secure access to debug server related issues logs are only available after the session has stopped you'll take them directly from the container itself we'll remove these logs when we remove the container from the host machine that means you could lose them if you don't grab them in time unlike /logs , this doesn't stream new logs from the container once you get all the logs, the underlying connection closes tab examples url https api gameye io query log name get logs method get request pathparameters queryparameters headerparameters bodydataparameters kind required name matchkey type string description the unique id of the session to get the logs formdataparameters results languages id 57qatxq0wl5opzso1sz9s code logs of the specified session have been retrieved n n language 200 customlabel id 7lzqvxhd5vd1mz3t057af code you are not authorized to fetch logs please make sure that the included bearer ntoken is correct n language 401 customlabel id risvslwk 9h1aco8fg 5q code could not find the associated session language 404 customlabel selectedlanguageid 57qatxq0wl5opzso1sz9s examples languages id duuv zi2ue0 xvzpgqajw code curl location request get https api gameye io query log?matchkey string n header accept application json language curl customlabel id 5bvq8w5nwmyiij0ccmjlv 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 query log?matchkey string requestoptions n then response response text n then result console log result n catch error console log error error ; language javascript customlabel id 9c1 sp6 guzea3hx74y3 code import requests n nurl https api gameye io query log?matchkey string 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 jm8jo8gsc8edj6mqv3vhe code require uri nrequire net http n nurl uri https api gameye io query log?matchkey string 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 language ruby customlabel selectedlanguageid jm8jo8gsc8edj6mqv3vhe description currentnewparameter label body parameter value bodydataparameters