Get deployment info

GET {{baseUrl}}/api/:projectId/deployment?type=<string>&modelType=<string>&engine=<string>

Gives information on whether a deployment was already built for a type

Request Params

KeyDatatypeRequiredDescription
typestring(Required) The name of the built target. You can find this by listing all deployment targets through listDeploymentTargetsForProject (via GET /v1/api/{projectId}/deployment/targets) and see the format type.
modelTypestringOptional model type of the build (if not, it uses the settings in the Keras block)
enginestringOptional engine for the build (if not, it uses the default engine for the deployment target)

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;hasDeployment&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;version&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}