Performance Calibration
Simulates real world usage and returns performance metrics.
post
https://studio.edgeimpulse.com/v1
/api/{projectId}/jobs/performance-calibration
Performance Calibration
Simulates real world usage and returns performance metrics.
Parameters
Path
projectId*
integer
Project ID
Body
Example
Schema
{
"backgroundNoiseLabel": "string",
"otherNoiseLabels": [
"string"
],
"uploadKey": "string",
"sampleLengthMinutes": 0
}
Responses
200: OK
OK
cURL
Python
Node.js
curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/jobs/performance-calibration \
--header 'content-type: application/json' \
--header 'x-jwt-token: REPLACE_KEY_VALUE' \
--data '{"backgroundNoiseLabel":"string","otherNoiseLabels":["string"],"uploadKey":"string","sampleLengthMinutes":0}'
import http.client
conn = http.client.HTTPSConnection("studio.edgeimpulse.com")
payload = "{\"backgroundNoiseLabel\":\"string\",\"otherNoiseLabels\":[\"string\"],\"uploadKey\":\"string\",\"sampleLengthMinutes\":0}"
headers = {
'content-type': "application/json",
'x-jwt-token': "REPLACE_KEY_VALUE"
}
conn.request("POST", "/v1/api/{projectId}/jobs/performance-calibration", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
const request = require('request');
const options = {
method: 'POST',
url: 'https://studio.edgeimpulse.com/v1/api/{projectId}/jobs/performance-calibration',
headers: {'content-type': 'application/json', 'x-jwt-token': 'REPLACE_KEY_VALUE'},
body: {
backgroundNoiseLabel: 'string',
otherNoiseLabels: ['string'],
uploadKey: 'string',
sampleLengthMinutes: 0
},
json: true
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
Last modified 1mo ago