Retrieve all agents owned by the user.
This endpoint returns a comprehensive list of all agents created by the user, including their configuration, usage statistics, and conversation settings.
Query Parameters:
include_inactive (optional): Set to true to include inactive agents. Default: falseResponse includes:
Returns:
agents: List of agent objects, each containing:
id: Unique agent identifiername: Agent name (normalized, URL-friendly)description: Agent descriptionbase_model: Model ID used by the agentbase_model_name: Human-readable model namecreated_date: ISO 8601 timestamp of creationstatus: Agent status (e.g., “ACTIVE”, “INACTIVE”)creator: Username/email of the agent creatorendpoint: Full API endpoint URL for running the agentusage_count: Total number of times the agent has been invokedlast_used: ISO 8601 timestamp of last usage (null if never used)performance_metrics: Performance statistics (average_uncertainty, human_interventions, average_response_time, user_satisfaction_score)system_prompt: Full system instructions for the agentuncertainty_threshold: Temperature setting (0.0-2.0)conversation_saving_enabled: Whether conversations are savedExample Request:
GET /api/v3/agents
Headers: {"Authorization": "Bearer <api_key>"}
Example Response:
{
"agents": [
{
"id": "agent-123",
"name": "customer_support_bot",
"description": "Handles customer inquiries",
"base_model": "nugen-flash-instruct",
"base_model_name": "Nugen Flash Instruct",
"created_date": "2024-01-15T10:30:00Z",
"status": "ACTIVE",
"creator": "user@example.com",
"endpoint": "https://api.nugen.in/api/v3/agents/run-agents/customer_support_bot/run",
"usage_count": 42,
"last_used": "2024-01-20T15:45:00Z",
"performance_metrics": {
"average_uncertainty": 0.0,
"human_interventions": 0,
"average_response_time": 0.0,
"user_satisfaction_score": 0.0
},
"system_prompt": "You are a helpful customer support agent. Be empathetic and solution-oriented.",
"uncertainty_threshold": 0.7,
"conversation_saving_enabled": true
}
]
}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Returns a comprehensive list of all agents created by the user
List of agent objects with their configuration, status, deployment info, and usage statistics