List finished jobs

List finished jobs

Get all finished jobs for this project

GEThttps://studio.edgeimpulse.com/v1/api/{projectId}/jobs/history
Path parameters
projectId*integer

Project ID

Query parameters
Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

Optional error description (set if 'success' was false)

jobs*array of Job (object)

Active jobs

totalJobCount*integer
Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/jobs/history', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text",
  "jobs": [
    {
      "category": "text",
      "key": "text",
      "created": "2024-07-17T23:41:33.837Z",
      "started": "2024-07-17T23:41:33.837Z",
      "finished": "2024-07-17T23:41:33.837Z",
      "finishedSuccessful": false,
      "jobNotificationUids": [],
      "additionalInfo": "text",
      "computeTime": 0,
      "createdByUser": {
        "name": "text",
        "username": "text",
        "photo": "text"
      }
    }
  ]
}

Last updated