cURL
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>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
model name in specified provider
namespace for the model name
huggingface
deepinfra
cnt
A specific revision, if left empty uses the last one
Successful Response
Deploy Id
"fkj843kjh8"