Skip to main content

API Reference

This section provides comprehensive API reference documentation for the Knowledge Discovery APIs. The APIs are divided into two main categories:

Agent API​

The Agent API provides endpoints for creating and managing AI agents, including:

  • Model Discovery: Retrieve available models and their deprecation status
  • Agent Management: Create, update, retrieve, and delete agents
  • Question Submission: Submit questions to agents for asynchronous processing
  • Agent Versions: Manage and retrieve different versions of agents
  • Agent Avatars: Manage agent avatar images
  • Guardrails: Retrieve available content safety guardrails for agent configuration

Question & Answer API​

The Question & Answer (Q&A) API provides endpoints for managing questions, retrieving answers, and handling feedback:

  • Answer Retrieval: Poll for and retrieve generated answers
  • Question History: Retrieve historical questions and answers
  • Feedback Management: Submit and analyze user feedback on answers
  • Trust Loop Feedback: Submit, retrieve, and delete structured feedback (type, categories, and details) on conversation messages, and review aggregated feedback metrics and submission details per agent (requires the trustLoopFeedback feature flag)

Next Steps​