Skip to main content
POST
Deploy Create
When called with an API key, the key needs the models scope (about scopes).

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
x-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"