curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/deployment/last \
--header 'x-api-key: <api-key>'
{
"success": true,
"error": "<string>",
"hasBuild": true,
"lastBuild": {
"version": 123,
"deploymentType": "<string>",
"engine": "tflite",
"modelType": "int8",
"created": "2023-11-07T05:31:56Z"
},
"lastDeploymentTarget": {
"name": "<string>",
"description": "<string>",
"image": "<string>",
"imageClasses": "<string>",
"format": "<string>",
"latencyDevice": "<string>",
"hasEonCompiler": true,
"hasTensorRT": true,
"hasTensaiFlow": true,
"hasDRPAI": true,
"hasTIDL": true,
"hasAkida": true,
"hasMemryx": true,
"hasStAton": true,
"hasCevaNpn": true,
"hideOptimizations": true,
"badge": {
"name": "<string>",
"description": "<string>"
},
"uiSection": "library",
"customDeployId": 123,
"integrateUrl": "<string>",
"ownerOrganizationName": "<string>",
"supportedEngines": [
"tflite"
],
"preferredEngine": "tflite",
"url": "<string>",
"docsUrl": "<string>",
"firmwareRepoUrl": "<string>",
"modelVariants": [
{
"variant": "int8",
"supported": true,
"hint": "<string>"
}
],
"recommendedForProject": true,
"disabledForProject": true,
"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,
"error": "<string>",
"hasBuild": true,
"lastBuild": {
"version": 123,
"deploymentType": "<string>",
"engine": "tflite",
"modelType": "int8",
"created": "2023-11-07T05:31:56Z"
},
"lastDeploymentTarget": {
"name": "<string>",
"description": "<string>",
"image": "<string>",
"imageClasses": "<string>",
"format": "<string>",
"latencyDevice": "<string>",
"hasEonCompiler": true,
"hasTensorRT": true,
"hasTensaiFlow": true,
"hasDRPAI": true,
"hasTIDL": true,
"hasAkida": true,
"hasMemryx": true,
"hasStAton": true,
"hasCevaNpn": true,
"hideOptimizations": true,
"badge": {
"name": "<string>",
"description": "<string>"
},
"uiSection": "library",
"customDeployId": 123,
"integrateUrl": "<string>",
"ownerOrganizationName": "<string>",
"supportedEngines": [
"tflite"
],
"preferredEngine": "tflite",
"url": "<string>",
"docsUrl": "<string>",
"firmwareRepoUrl": "<string>",
"modelVariants": [
{
"variant": "int8",
"supported": true,
"hint": "<string>"
}
],
"recommendedForProject": true,
"disabledForProject": true,
"reasonTargetDisabled": "<string>"
}
}
Project ID
Impulse ID. If this is unset then the default impulse is used.
OK
The response is of type object
.