← API reference
Mutation / aiml

trainMLModel

Trigger training for an ML model. Requires mlmodelconfig:execute permission.

Arguments

ID of the ML model config to train

Returns TrainMLModelPayload!

Explore in a view

AI and ML
View exact SDL
"""
Trigger training for an ML model. Requires mlmodelconfig:execute permission.
"""
trainMLModel(
  """ID of the ML model config to train"""
  id: MLModelConfigID!
): TrainMLModelPayload! @topic(names: ["aiml"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.