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

The node operation "Deletes Agent Server Directories" under the "Chat" resource allows users to delete specific directories related to agent servers for one or more chat sessions. This is useful for cleaning up or managing storage associated with chat sessions, especially when agent server directories accumulate unnecessary data over time.

Typical use cases include:

  • Removing temporary or cached files created by agents during chat sessions.
  • Managing disk space by deleting unused or obsolete agent server directories linked to specific chat sessions.
  • Automating cleanup tasks in workflows that handle multiple chat sessions.

For example, if you have several chat sessions and want to clear their associated agent server directories to free up resources, this operation can be used by specifying the session IDs and optionally filtering by directory types.

Properties

Name Meaning
Session IDs IDs of the chat sessions whose agent server directories should be deleted (required).
Additional Options Collection of optional parameters:
- Dir Types: Types of agent directories to delete (optional query parameter).

Output

The output will contain the full HTTP response from the API call to delete the specified agent server directories. The json field typically includes confirmation of deletion or status information returned by the server.

No binary data output is expected from this operation.

Dependencies

  • Requires an API key credential for authentication to the backend service.
  • The base URL for API requests is configured via credentials and must point to the appropriate server endpoint.
  • Proper permissions are needed to delete agent server directories associated with chat sessions.

Troubleshooting

  • Invalid Session IDs: If the provided session IDs do not exist or are incorrect, the API may return an error indicating that the sessions were not found. Verify the session IDs before making the request.
  • Permission Denied: Lack of proper authorization or insufficient permissions can cause errors. Ensure the API key has rights to manage chat sessions and agent directories.
  • Timeouts: Deleting large directories might take time; consider adjusting timeout settings if supported.
  • Incorrect Directory Types: Specifying invalid or unsupported directory types in the additional options may result in no directories being deleted or an error.

To resolve these issues:

  • Double-check input values for correctness.
  • Confirm API credentials and permissions.
  • Review API documentation for valid directory types and usage limits.

Links and References

Discussion