Post
AI-generatedOverview
This node, named 'Get Agents From Database', is designed to retrieve information about agents from a database via an API call. It is useful in scenarios where you need to fetch active agent data, specifically of a certain type ('monari'), from a remote service. For example, it can be used in workflows that require agent details for monitoring, reporting, or further processing.
Use Case Examples
- Fetching active 'monari' type agents from the database to display in a dashboard.
- Retrieving agent information to trigger alerts or notifications based on agent status.
Properties
| Name | Meaning |
|---|---|
| Operation | Defines the action to perform, which in this case is 'Post' to get agents from the database. |
Output
JSON
response- The JSON response containing the agents information retrieved from the database.
Dependencies
- Requires an API key credential and a user ID credential to authenticate the request to the external API at https://api.mona-ai.cloud/database/getAgentsFromDatabase.
Troubleshooting
- Ensure that the API key and user ID credentials are correctly configured and valid, as authentication failure will prevent data retrieval.
- Check network connectivity to the API endpoint to avoid request timeouts or connection errors.
- Verify that the 'typeOfAgent' and 'isActive' parameters match the expected values in the database to get the correct agent data.
Links
- Mona AI Database API Documentation - Official API documentation for the endpoint used to get agents from the database.