cURL
curl --request GET \ --url https://studio.edgeimpulse.com/v1/api/{projectId}/model-variants \ --header 'x-api-key: <api-key>'
{ "success": true, "modelVariants": [ { "variant": "int8", "isReferenceVariant": true, "isEnabled": true, "isSelected": true } ], "error": "<string>" }
Get a list of model variants applicable to all trained learn blocks in this project.
Project ID
Impulse ID. If this is unset then the default impulse is used.
OK
Whether the operation succeeded
All model variants relevant for all learn blocks in the project
Show child attributes
int8
float32
akida
True if this model variant is the default or "reference variant" for this project
True if profiling for this model variant is enabled for the current project
True if this is the selected model variant for this project, used to keep the same view after refreshing. Update this via defaultProfilingVariant in UpdateProjectRequest.
Optional error description (set if 'success' was false)
Was this page helpful?