โ† API reference
Query / aiml

getAIAgent

Fetch an AI agent by ID. Requires aiAgent:read permission.

Arguments

AI agent ID to fetch

Returns AIAgentState

Scalar fields at a glance

nameString!
descriptionString
roleString!
goalString!
backstoryString!
โ†— View the complete AIAgentState type

Explore in a view

AI and ML
View exact SDL
"""Fetch an AI agent by ID. Requires aiAgent:read permission."""
getAIAgent(
  """AI agent ID to fetch"""
  id: AIAgentID!
): AIAgentState @topic(names: ["aiml"])

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