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
Headers
Path Parameters
Query Parameters
Body
application/json
Response
201
application/json
Successful Response
The response is of type object
.