Create part of a trained model definition PUT /_ml/trained_models/{model_id}/definition/{part} Auth Authorization Path Body Response Required authorization Cluster privileges manage_ml Path parameters model_id string required The unique identifier of the trained model. part number required The definition part number. When the definition is loaded for inference the definition parts are streamed in the order of their part number. The first part must be 0 and the final part must be total_parts - 1. Request body { } definition string required The definition part for the model. Must be a base64 encoded string. total_definition_length number required The total uncompressed definition length in bytes. Not base64 encoded. total_parts number required The total number of parts that will be uploaded. Must be greater than 0. Response 200 application/json acknowledged boolean required For a successful response, this value is always true. On failure, an exception is returned instead.