List all agents for the current tenant.
Args: current_user: The current authenticated user tenant: The tenant database agent_type: Optional filter by agent type
Returns: List[Agent]: List of agents
Raises: HTTPException(400): If input validation fails HTTPException(500): If database operation fails or other error occurs
JWT Authorization header using the Bearer scheme. Example: 'Authorization: Bearer {token}'
Filter by agent type
private, public Successful Response
Unique identifier for the agent
Name of the agent
Brief description of what the agent does
Long string with the agent instructions
Type of agent (private/public)
When the agent was created
When the agent was last updated
Email of the user who created the agent
List of API names that the agent contains
List of MCP server names that the agent contains
List of context IDs that the agent contains
Either a URL or base64 string for the agent icon