Implement get method for AgentIndexAPI