Перейти к основному содержанию
DELETE
Remove a model file added to a deployment

Авторизации

Authorization
string
header
обязательно

A workspace-scoped Cloud JWT.

Параметры пути

id
string
обязательно
modelId
string
обязательно

The id of an entry in the deployment's added models.

Ответ

Accepted; the entry reads removing. Remove ? It is deleted from this deployment's disk, and jobs that name it will fail. A job already running may still finish, and a worker that already loaded it may keep using it for a few minutes. Where the release keeps its own file at that folder and name, only the entry is dropped and jobs that name the file keep working.

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