List Finished Jobs
Get all finished jobs for this project
get
https://studio.edgeimpulse.com/v1
/api/{projectId}/jobs/history
List finished jobs
Get all finished jobs for this project
Parameters
Path
projectId*
integer
Project ID
Query
startDate
string
Start date
endDate
string
End date
limit
integer
Maximum number of results
offset
integer
Offset in results, can be used in conjunction with LimitResultsParameter to implement paging.
rootOnly
boolean
Whether to exclude jobs with a parent ID (so jobs started as part of another job)
Responses
200: OK
OK
cURL
Python
Node.js
curl --request GET \
--url 'https://studio.edgeimpulse.com/v1/api/{projectId}/jobs/history?startDate=SOME_STRING_VALUE&endDate=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE&offset=SOME_INTEGER_VALUE&rootOnly=SOME_BOOLEAN_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}/jobs/history?startDate=SOME_STRING_VALUE&endDate=SOME_STRING_VALUE&limit=SOME_INTEGER_VALUE&offset=SOME_INTEGER_VALUE&rootOnly=SOME_BOOLEAN_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}/jobs/history',
qs: {
startDate: 'SOME_STRING_VALUE',
endDate: 'SOME_STRING_VALUE',
limit: 'SOME_INTEGER_VALUE',
offset: 'SOME_INTEGER_VALUE',
rootOnly: 'SOME_BOOLEAN_VALUE'
},
headers: {'x-jwt-token': 'REPLACE_KEY_VALUE'}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
Last modified 1mo ago