← API reference
Mutation / aiml

upsertMLModelSource

Create or replace ML XML authoring source. Updates require the observed authoring revision and preserve training and publication state.

Arguments

Authoritative ML XML and, for updates, the model identity and observed authoring revision.

Returns UpsertMLModelConfigPayload!

Explore in a view

AI and ML
View exact SDL
"""
Create or replace ML XML authoring source. Updates require the observed authoring revision and preserve training and publication state.
"""
upsertMLModelSource(
  """
  Authoritative ML XML and, for updates, the model identity and observed authoring revision.
  """
  input: MLModelSourceInput!
): UpsertMLModelConfigPayload! @topic(names: ["aiml"])

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