Skip to main content
POST
Create Deployment

授权

Authorization
string
header
必填

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

请求体

application/json
name
string
必填
Required string length: 2 - 128
Pattern: ^[A-Za-z0-9][A-Za-z0-9._-]*$
model_source
ArtifactModelSource · object
必填
config
ServingConfigIn · object
必填
fleet_id
string
默认值:""
serve_mode
enum<string>
默认值:proxied
可用选项:
proxied,
direct

响应

Successful Response

deployment
ModelDeploymentOut · object
必填
initial_token
DeploymentTokenCreatedOut · object | null