h2oGPTe icon

h2oGPTe

h2oGPTe is an AI-powered search assistant for your internal teams to answer questions gleaned from large volumes of documents, websites and workplace content.

Actions198

Overview

This node operation "Lists Agent Directory Stats Across All Agent Chat Sessions" retrieves statistical information about agent directories across all agent chat sessions. It is useful for monitoring and analyzing the usage or status of directories managed by agents in chat sessions, such as file counts, sizes, or other directory-level metrics aggregated over multiple sessions.

Practical scenarios include:

  • Auditing agent activity by checking directory stats across chat sessions.
  • Monitoring storage or resource usage related to agent-managed directories.
  • Generating reports on agent directory utilization for operational insights.

Properties

Name Meaning
Additional Options A collection of optional parameters to refine the query:
- Offset Number of agent chat sessions to skip before returning results (pagination offset).
- Limit Maximum number of results to return (pagination limit).
- Filter Text Text filter applied to narrow down the results based on matching text criteria.

Output

The output JSON contains a list of agent directory statistics aggregated across all agent chat sessions. Each item in the output represents stats for an agent directory, including details such as directory names, counts, sizes, or other relevant metrics provided by the API endpoint /agents/directory_stats.

The node does not explicitly handle binary data for this operation.

Dependencies

  • Requires an API key credential for authentication with the H2O GPT API.
  • The base URL for API requests is configured from credentials.
  • The node sends a GET request to the /agents/directory_stats endpoint with optional query parameters for pagination and filtering.

Troubleshooting

  • Empty Results: If no directory stats are returned, verify that there are existing agent chat sessions with directories and that the filter text (if used) matches expected values.
  • Authentication Errors: Ensure the API key credential is correctly configured and has permissions to access agent directory stats.
  • Pagination Issues: Adjust Offset and Limit properties if you expect more results than returned.
  • API Endpoint Errors: Check network connectivity and API availability; errors from the API will be passed through.

Links and References

Discussion