Models UploadModel RPC
Requests the uploads of a new model to model repository.
rpc UploadModel(stream ModelsUploadModelRequest) returns (ModelsUploadModelResponse);
Messages
ModelsUploadModelRequest
ModelsUploadModelResponse
message ModelsUploadModelRequest {
RequestHeader header = 1;
ModelDetails details = 2;
bytes data = 4;
}
Properties
header
type: message
Standard RPC request header.
See RequestHeader for details.
details
type: message
Description of the model.
See (ModelDetails)[model-details.md] for additional details.
data
type: bytes
Contents of Model as a compressed zip stream.
ModelsUploadModelResponse
message ModelsUploadModelResponse {
ResponseHeader header = 1;
ModelDetails details = 2;
}
Clara Deploy SDK Models service will respond to any delete request with a ModelsListModelsResponse message. Requestors can use the response header to determine the result of their request.
Properties
header
type: message
Standard RPC response header.
See ResponseHeader for details.
details
type: message
Details of the uploaded model.
See (ModelDetails)[model-details.md] for additional details.