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)system_prompt: Full system instructions for the agentuncertainty_threshold: Temperature setting (0.0-1.0)conversation_saving_enabled: Whether conversations are savedExample Response:
{
"agents": [
{
"id": "agent-123",
"name": "customer_support_bot",
"description": "Handles customer inquiries",
"base_model": "nugen-flash-instruct",
"created_date": "2024-01-15T10:30:00Z",
"status": "Active",
"endpoint": "https://api.nugen.in/api/v3/agents/run-agents/customer_support_bot/run",
"usage_count": 42,
"last_used": "2024-01-20T15:45:00Z",
"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