Get Agents From Database icon

Get Agents From Database

Get the agents information from the database.

Post

AI-generated

Overview

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

  1. Fetching active 'monari' type agents from the database to display in a dashboard.
  2. 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

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

Discussion