GET
/
api
/
{projectId}
/
deployment
/
last
Get information on the last deployment build
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>"
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

projectId
integer
required

Project ID

Query Parameters

impulseId
integer

Impulse ID. If this is unset then the default impulse is used.

Response

200 - application/json

OK

success
boolean
required

Whether the operation succeeded

hasBuild
boolean
required

Does the deployment build still exist? (Builds are deleted if they are no longer valid for the project)

error
string

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

lastBuild
object
lastDeploymentTarget
object