Last updated 7 months ago
Get the logs for a trial.
Project ID
trial ID
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
Total number of logs (only the last 1000 lines are returned)
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/optimize/trial/{trialId}/stdout', { method: 'GET', headers: {}, }); const data = await response.json();
{ "success": false, "error": "text", "stdout": [ { "created": "2024-11-18T16:24:09.364Z", "data": "text", "logLevel": "error" } ] }