Overview
Thefetch_agents function retrieves a list of AI agents with optional filtering and pagination support.
Function Signature
Parameters
Optional configuration for filtering and pagination:
page: Page number for pagination (optional)per_page: Number of results per page (optional)is_active: Filter agents by active status (optional)search: Search query to filter agents (optional)
Return Value
ReturnsResult<AgentListResponse> containing:
data: Vector ofAiAgentobjectshas_more: Boolean indicating if more results are available
Basic Usage
Advanced Usage
Error Handling
Rate Limits
- List operations: 100 requests per minute
- Burst limit: 10 requests per second
Related Functions
- create_agent - Create a new AI agent
- fetch_agent - Get agent by ID
- update_agent - Update agent configuration
- delete_agent - Delete agent
