Lerty icon

Lerty

Interact with Lerty AI agents

Get Agent

AI-generated

Overview

This node operation retrieves detailed information about a specific Lerty AI agent. It is useful when you need to fetch the current configuration, status, or metadata of an agent within the Lerty platform. For example, you might use this operation to verify agent details before sending messages or managing conversations.

Use Case Examples

  1. Fetch details of an agent by selecting it from a list or by providing its ID to understand its capabilities or status.
  2. Use the retrieved agent information to dynamically adjust workflow logic based on agent properties.

Properties

Name Meaning
Agent The identifier of the Lerty AI agent to retrieve information about. It can be selected from a list of agents or specified by ID.

Output

JSON

  • id - The unique identifier of the agent.
  • name - The name of the agent.
  • description - A description of the agent.
  • status - The current status of the agent.
  • createdAt - Timestamp when the agent was created.
  • updatedAt - Timestamp when the agent was last updated.
  • metadata - Additional metadata associated with the agent.

Dependencies

  • Requires an API key credential for Lerty API authentication.

Troubleshooting

  • Ensure the provided agent ID is valid and matches the required format (letters, numbers, hyphens, underscores).
  • Verify that the API credentials are correct and have sufficient permissions to access agent information.
  • Check network connectivity and the availability of the Lerty API endpoint.
  • Common error messages include 'Unknown operation' if the operation parameter is incorrect, or 'Failed to load agents' if the API call fails. These can be resolved by verifying configuration and credentials.

Links

Discussion