Skip to main content
POST
/
v1
/
deploy
Deploy Create
curl --request POST \
  --url https://api.example.com/v1/deploy \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model_name": "<string>",
  "provider": "cnt",
  "version": "<string>"
}
'
{
  "deploy_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

xi-api-key
string | null

Body

application/json
model_name
string
required

model name in specified provider

provider
enum<string>
default:cnt

namespace for the model name

Available options:
huggingface,
deepinfra,
cnt
version
string | null

A specific revision, if left empty uses the last one

Response

Successful Response

deploy_id
string
required

Deploy Id

Example:

"fkj843kjh8"