← API reference
Mutation / aiml

createAIAgent

Create a new AI agent. Requires aiAgent:write permission.

Arguments

AI agent data

Returns UpsertAIAgentPayload!

Explore in a view

AI and ML
View exact SDL
"""Create a new AI agent. Requires aiAgent:write permission."""
createAIAgent(
  """AI agent data"""
  input: CreateAIAgentInput!
): UpsertAIAgentPayload! @topic(names: ["aiml"])

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