curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/deployment/last \
--header 'x-api-key: <api-key>'{
"success": true,
"hasBuild": true,
"error": "<string>",
"lastBuild": {
"version": 123,
"deploymentType": "<string>",
"engine": "tflite",
"created": "2023-11-07T05:31:56Z",
"modelType": "int8"
},
"lastDeploymentTarget": {
"name": "<string>",
"description": "<string>",
"image": "<string>",
"imageClasses": "<string>",
"format": "<string>",
"hasEonCompiler": true,
"hasTensorRT": true,
"hasTensaiFlow": true,
"hasDRPAI": true,
"hasTIDL": true,
"hasAkida": true,
"hasMemryx": true,
"hasStAton": true,
"hasCevaNpn": true,
"hideOptimizations": true,
"uiSection": "library",
"supportedEngines": [
"tflite"
],
"preferredEngine": "tflite",
"docsUrl": "<string>",
"modelVariants": [
{
"variant": "int8",
"supported": true,
"hint": "<string>"
}
],
"recommendedForProject": true,
"disabledForProject": true,
"latencyDevice": "<string>",
"badge": {
"name": "<string>",
"description": "<string>"
},
"customDeployId": 123,
"integrateUrl": "<string>",
"ownerOrganizationName": "<string>",
"url": "<string>",
"firmwareRepoUrl": "<string>",
"reasonTargetDisabled": "<string>"
}
}Get information on the result of the last successful deployment job, including info on the build e.g. whether it is still valid.
curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/deployment/last \
--header 'x-api-key: <api-key>'{
"success": true,
"hasBuild": true,
"error": "<string>",
"lastBuild": {
"version": 123,
"deploymentType": "<string>",
"engine": "tflite",
"created": "2023-11-07T05:31:56Z",
"modelType": "int8"
},
"lastDeploymentTarget": {
"name": "<string>",
"description": "<string>",
"image": "<string>",
"imageClasses": "<string>",
"format": "<string>",
"hasEonCompiler": true,
"hasTensorRT": true,
"hasTensaiFlow": true,
"hasDRPAI": true,
"hasTIDL": true,
"hasAkida": true,
"hasMemryx": true,
"hasStAton": true,
"hasCevaNpn": true,
"hideOptimizations": true,
"uiSection": "library",
"supportedEngines": [
"tflite"
],
"preferredEngine": "tflite",
"docsUrl": "<string>",
"modelVariants": [
{
"variant": "int8",
"supported": true,
"hint": "<string>"
}
],
"recommendedForProject": true,
"disabledForProject": true,
"latencyDevice": "<string>",
"badge": {
"name": "<string>",
"description": "<string>"
},
"customDeployId": 123,
"integrateUrl": "<string>",
"ownerOrganizationName": "<string>",
"url": "<string>",
"firmwareRepoUrl": "<string>",
"reasonTargetDisabled": "<string>"
}
}Project ID
Impulse ID. If this is unset then the default impulse is used.
OK
Whether the operation succeeded
Does the deployment build still exist? (Builds are deleted if they are no longer valid for the project)
Optional error description (set if 'success' was false)
Show child attributes
The build version, incremented after each deployment build
Deployment type of the build
tflite, tflite-eon, tflite-eon-ram-optimized, tensorrt, tensaiflow, drp-ai, tidl, akida, syntiant, memryx, neox, ethos-linux, st-aton, ceva-npn The time this build was created
int8, float32, akida, requiresRetrain Show child attributes
Preferably use supportedEngines / preferredEngine
Preferably use supportedEngines / preferredEngine
Preferably use supportedEngines / preferredEngine
Preferably use supportedEngines / preferredEngine
Preferably use supportedEngines / preferredEngine
Preferably use supportedEngines / preferredEngine
Preferably use supportedEngines / preferredEngine
Preferably use supportedEngines / preferredEngine
Preferably use supportedEngines / preferredEngine
library, firmware, mobile, hidden tflite, tflite-eon, tflite-eon-ram-optimized, tensorrt, tensaiflow, drp-ai, tidl, akida, syntiant, memryx, neox, ethos-linux, st-aton, ceva-npn tflite, tflite-eon, tflite-eon-ram-optimized, tensorrt, tensaiflow, drp-ai, tidl, akida, syntiant, memryx, neox, ethos-linux, st-aton, ceva-npn Whether this deployment target is recommended for the project based on connected devices.
Whether this deployment target is disabled for the project based on various attributes of the project.
If the deployment target is disabled for the project, this gives the reason why.
Was this page helpful?