← API reference
Mutation / aiml

upsertAIAgent

Create or update an AI agent. Requires aiAgent:write permission.

Arguments

AI agent data

Returns UpsertAIAgentPayload!

Explore in a view

AI and ML
View exact SDL
"""Create or update an AI agent. Requires aiAgent:write permission."""
upsertAIAgent(
  """AI agent data"""
  input: UpsertAIAgentInput!
): UpsertAIAgentPayload! @topic(names: ["aiml"])

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