메인 콘텐츠로 건너뛰기
POST
Add a model file to a deployment

인증

Authorization
string
header
필수

A workspace-scoped Cloud JWT.

경로 매개변수

id
string
필수

본문

application/json
blobId
string
필수

The id of the workspace's upload holding the file.

type
string
필수

The model folder the file goes in, such as loras or checkpoints.

filename
string

The file's name in that folder; the upload's own name where absent.

응답

Accepted; the entry reads adding.

id
string
필수
type
string
필수

The model folder the file is in.

filename
string
필수
status
enum<string>
필수

adding until the deployment's workers can use the file, ready once they can, failed where it could not be added, and removing once a removal was asked.

사용 가능한 옵션:
adding,
ready,
failed,
removing
sizeBytes
integer<int64>
필수

The file's size as its upload declared it.

failure
string

Why a failed file was not added, for the log; absent otherwise. Not for display: a surface says " was not added to this deployment. Remove it and add it again."