Set compute time limit

Set compute time limit

Change the job compute time limit for the project. This function is only available through a JWT token, and is not available to all users.

POSThttps://studio.edgeimpulse.com/v1/api/{projectId}/compute-time-limit
Path parameters
projectId*integer

Project ID

Body
jobLimitM*integer

New job limit in seconds.

Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

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

Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/compute-time-limit', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text"
}

Last updated