v1

latestOpenAPI 3.1.02026-07-26357455.7 KB
Deployment

Create Deployment

This endpoint creates a deployment, which is an instance for running a model and performing predictions.

To create a deployment, you only need to provide a unique name. Upon successful creation, the endpoint will return an HTTP URL where you can send requests for predictions (also known as inferences).

The deployment name cannot be changed after creation.

Here's a breakdown of the deployment creation options:

Model (Optional): You can either:

  • Provide the model data during deployment creation, making it ready to use immediately.
  • Upload a model to the deployment later and then use it for predictions.

Threshold (Optional):

  • Specify a custom threshold value for your predictions.
  • If not provided, the default value used during model training will be applied.
post/v1/projects/{project_id}/deployments

Path parameters

project_idinteger required

Query parameters

timeoutinteger nullable

Headers

apikeystring nullable

Request body

namestring required
modelIdstring uuid4 nullable
thresholdnumber nullable

Response

Successful Response