Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Send Authorization: Bearer <api_key>. The legacy Authorization: Api-Key <api_key> scheme is also accepted.

Body

application/json

Body for creating a model via POST /v1/models.

source
LibraryListingSourceV1 · object
required

Create a model by forking a library listing accessible to the caller's organization.

Response

200 - application/json

A newly created deployment and its model.

model
ModelV1 · object
required

The model the deployment belongs to. May have been created by this call.

deployment
DeploymentV1 · object
required

The newly created deployment.