Get Trial Logs
Get the logs for a trial.
get
https://studio.edgeimpulse.com/v1
/api/{projectId}/optimize/trial/{trialId}/stdout
Get trial logs
cURL
Python
Node.js
curl --request GET \
--url 'https://studio.edgeimpulse.com/v1/api/{projectId}/optimize/trial/{trialId}/stdout?limit=SOME_INTEGER_VALUE' \
--header 'x-jwt-token: REPLACE_KEY_VALUE'
import http.client
conn = http.client.HTTPSConnection("studio.edgeimpulse.com")
headers = { 'x-jwt-token': "REPLACE_KEY_VALUE" }
conn.request("GET", "/v1/api/{projectId}/optimize/trial/{trialId}/stdout?limit=SOME_INTEGER_VALUE", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
const request = require('request');
const options = {
method: 'GET',
url: 'https://studio.edgeimpulse.com/v1/api/{projectId}/optimize/trial/{trialId}/stdout',
qs: {limit: 'SOME_INTEGER_VALUE'},
headers: {'x-jwt-token': 'REPLACE_KEY_VALUE'}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
Export as PDF
Copy link