POST
/
v1
/
projects
/
{project_id}
/
deployments
curl --request POST \
  --url https://api.landing.ai/v1/projects/{project_id}/deployments \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "modelId": "<string>",
  "threshold": 123
}'
{
  "data": {
    "id": "<string>",
    "predictionUrl": "<string>",
    "name": "<string>",
    "modelId": "<string>",
    "threshold": 123
  }
}

Headers

apikey
string | null

Path Parameters

project_id
integer
required

Query Parameters

timeout
integer | null
default:60

Body

application/json

Response

201
application/json

Successful Response

The response is of type object.