{
  "ml.put_trained_model_definition_part": {
    "documentation": {
      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-put-trained-model-definition-part",
      "description": "Create part of a trained model definition"
    },
    "stability": "stable",
    "visibility": "public",
    "headers": {
      "accept": [
        "application/json"
      ],
      "content_type": [
        "application/json"
      ]
    },
    "url": {
      "paths": [
        {
          "path": "/_ml/trained_models/{model_id}/definition/{part}",
          "methods": [
            "PUT"
          ],
          "parts": {
            "model_id": {
              "type": "string",
              "description": "The ID of the trained model for this definition part"
            },
            "part": {
              "type": "int",
              "description": "The part number"
            }
          }
        }
      ]
    },
    "body": {
      "description": "The trained model definition part",
      "required": true
    }
  }
}
