API
API endpoints
Download your artifacts
1 min
starts downloading an artifact this could be a file or a folder inside the underlying container so make sure the path is an absolute unix path to a specific file or folder note you can only download the artifact after you've stopped the session you'll then download it directly from the container itself the artifact will be a tar gz archive containing your file or folder we'll remove the artifacts when we remove the container from the host machine that means you could lose them if you don't grab them in tim e, container data is held on the machine for a duration of 4 hours before being cleared to retain space please limit your download to 100mb tab examples url https api gameye io artifacts name download artifact method get request pathparameters name session kind required type string description the unique id of the session you re downloading the artifact from children name path kind required type string description the local path inside the container for the target file or folder that you want to download children queryparameters headerparameters bodydataparameters formdataparameters results languages id zjvq9dxxq1cok96yrljtq code a download of the artifact in tar gz format has been initiated language 200 customlabel id ahdbizduuii2kfvp0l vk code you are not authorized to fetch an artifact please make sure that the nincluded bearer token is correct language 401 customlabel id frhxk14zp45xe w2ukqiu code could not find a session with the given session id it is possible that either the nsession has never existed at all or the container s lifespan on the machine has nexpired language 404 customlabel selectedlanguageid ahdbizduuii2kfvp0l vk examples languages id s7ai1al6m6gyppsntkoec code curl location request get https api gameye io artifacts?session string path string n header accept application json language curl customlabel id bg pkwve9zz gdrjoy64d 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 artifacts?session string path string requestoptions n then response response text n then result console log result n catch error console log error error ; language javascript customlabel id ltpo2wawdzbtfjihsjy13 code import requests n nurl https api gameye io artifacts?session string path string n npayload nheaders n accept application json n n nresponse requests request get url headers headers data payload n nprint response text n n language python customlabel id t2xuyuvntbxf3lpzao8l1 code require uri nrequire net http n nurl uri https api gameye io artifacts?session string path 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 n n language ruby customlabel selectedlanguageid t2xuyuvntbxf3lpzao8l1 description currentnewparameter label path parameter value pathparameters response name id kind optional type string description id of the cake retrieved