POST
/
api
/
{projectId}
/
jobs
/
version
Version project
curl --request POST \
  --url https://studio.edgeimpulse.com/v1/api/{projectId}/jobs/version \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "bucketId": 123,
  "description": "<string>",
  "makePublic": true,
  "runModelTestingWhileVersioning": true
}'
{
  "success": true,
  "error": "<string>",
  "id": 12873488112
}

Authorizations

x-api-key
string
header
required

Path Parameters

projectId
integer
required

Project ID

Body

application/json
description
string
required
makePublic
boolean
required

Whether to make this version available on a public URL.

bucketId
integer

Data bucket ID. Keep empty to store in Edge Impulse hosted storage.

runModelTestingWhileVersioning
boolean

Whether to run model testing when creating this version (if this value is omitted, it will use the current state of 'runModelTestingWhileVersioning' that is returned in ListVersionsResponse).

Response

200 - application/json

OK

success
boolean
required

Whether the operation succeeded

id
integer
required

Job identifier. Status updates will include this identifier.

Example:

12873488112

error
string

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