List Agents
AI-generatedOverview
This node operation lists all available Lerty AI agents. It is useful for scenarios where you want to retrieve and display a list of agents to select from or to manage them programmatically. For example, you might use this operation to populate a dropdown menu in a workflow or to audit all agents currently configured in your Lerty AI environment.
Use Case Examples
- Retrieve a list of all Lerty AI agents to display in a user interface.
- Fetch all agents to perform bulk updates or monitoring.
Properties
| Name | Meaning |
|---|---|
| Additional Fields | Optional fields to customize the request, including metadata key-value pairs and request timeout in milliseconds. |
Output
JSON
agents- Array of agent objects returned by the Lerty API, each representing an available agent.count- The total number of agents returned in the list.
Dependencies
- Requires an API key credential for Lerty API authentication.
Troubleshooting
- Common issues include API authentication failures due to incorrect or missing API credentials. Ensure the API key is valid and has the necessary permissions.
- Network or connectivity issues may cause request failures. Verify that the Lerty API endpoint is accessible from your environment.
- If the node throws an error about failing to load agents, check the API credentials and network connectivity.