rpc Upload (stream PayloadsUploadRequest) returns (PayloadsUploadResponse);

## 18.66.1. Messages

Copy
Copied!

message PayloadsUploadRequest {
bytes data = 4;
}


This request is streamed. Files larger than the maximum chunk size must be broken up into multiple chunks. Only the first chunk is required to contain a header message. All chunks should contain payload_id, details, and data values.

## 18.67.1. Properties

type: message

Note this request is streamed. Only the first chunk is required to contain a header message.

type: message

Required. If the identifier value is omitted from the request or does not match any known payload identifier, Clara Deploy SDK will be unable to fulfill the request.

See Identifier for details.

### 18.67.1.3. details

type: message

Details about the file being uploaded. Unlike other RPC which use the PayloadFileDetails message, requests from the Upload RPC are relative to the root of the payload’s input folder, and are not relative to the root of the payload itself.

### 18.67.1.4. data

type: bytes

Contents of the file as raw bytes.

Copy
Copied!

message PipelineUploadResponse {
}


Clara Deploy SDK Payloads service will respond to any upload request with a PayloadsUploadResponse message. Requestors can use the response message to determine the result of their request.

## 18.68.1. Properties

type: message

Details about the file being uploaded. Unlike other RPC which use the PayloadFileDetails message, responses from the Upload RPC are relative to the root of the payload’s input folder, and are not relative to the root of the payload itself.