← API reference
Mutation / aiml

updateAIAgent

Update an AI agent. Only provided fields are changed. Requires aiAgent:write permission.

Arguments

AI agent ID to update

Fields to update — only provided fields are changed

Returns UpsertAIAgentPayload!

Explore in a view

AI and ML
View exact SDL
"""
Update an AI agent. Only provided fields are changed. Requires aiAgent:write permission.
"""
updateAIAgent(
  """AI agent ID to update"""
  id: AIAgentID!
  """Fields to update — only provided fields are changed"""
  input: UpdateAIAgentInput!
): UpsertAIAgentPayload! @topic(names: ["aiml"])

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