cURL
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.
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