Skip to main content
GET
List versions

Authorizations

x-api-key
string
header
required

Path Parameters

projectId
integer
required

Project ID

Response

200 - application/json

OK

success
boolean
required

Whether the operation succeeded

nextVersion
integer
required
versions
object[]
required
customLearnBlocks
object[]
required

If you have any custom learn blocks (e.g. blocks you pushed through Bring Your Own Model), then these are listed here. We use these to show a warning in the UI that these blocks will also be available in a public version.

runModelTestingWhileVersioning
boolean
required

Whether the 'Run model testing while versioning' checkbox should be enabled.

error
string

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