19.56. Payloads Create RPC


Requests the creation of a new payload of PAYLOAD_TYPE_REUSABLE.

See PayloadType for additional details.

rpc Create(PayloadsCreateRequest) returns (PayloadsCreateResponse);


  • PayloadsCreateRequest

  • PayloadsCreateResponse


message PayloadsCreateRequest { RequestHeader header = 1; map<string, string> metadata = 2; }


type: message

Standard RPC request header.

See RequestHeader for details.


type: map

Metadata (set of key/value pairs) associated with the job.

Key and value are string types.

If duplicate keys are passed in the request, the job will not be created and and an error will be returned.

Keys are compared using case insensitive comparator functions.

The maximum allowed size of a metadata key is 128 bytes, while the maximum allowed size of a metadata value is 256 bytes.

The maximum allowed size for the overall metadata of an individual job is 4 Megabytes.

Metadata is only supported for reusable payloads. Metadata is not supported for pipeline payloads.


message PayloadsCreateResponse { ResponseHeader header = 1; Identifier payload_id = 2; PayloadType type = 5; }

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.


type: message

Standard RPC response header.

See ResponseHeader for details.

type: message

Unique identifier of the new payload.

See Identifier for additional details.

type: enum

Type of the payload.

See PayloadType for additional details.

© Copyright 2018-2020, NVIDIA Corporation. All rights reserved.. Last updated on Feb 1, 2023.