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 retrieves a list of access permissions associated with a specific prompt template. It is useful for managing and auditing who has access rights to a given prompt template within an AI-powered system that organizes prompts for various collections or workflows. For example, an administrator can use this operation to verify which users or groups have permission to use or modify a particular prompt template, ensuring proper access control and security compliance.

Properties

Name Meaning
Prompt Template ID The unique identifier of the prompt template whose access permissions you want to retrieve. This property is required.

Output

The output JSON contains a list of access permissions for the specified prompt template. Each entry in the list denotes a user or group that has access rights to the prompt template, including details about the type and level of permission granted. This allows downstream workflow steps to process or display permission information accordingly.

The node does not output binary data.

Dependencies

  • Requires an API key credential for authentication to the external service.
  • The base URL for API requests is configured from the credential's URL.
  • The node sends HTTP GET requests to the endpoint /prompt_templates/{prompt_template_id}/permissions to fetch the permissions.

Troubleshooting

  • Missing or invalid Prompt Template ID: Ensure the "Prompt Template ID" property is provided and correctly references an existing prompt template.
  • Authentication errors: Verify that the API key credential is valid and has sufficient permissions to access prompt template permissions.
  • Network or API errors: Check connectivity to the configured API endpoint and ensure the service is operational.
  • Permission Denied: If the user associated with the API key lacks rights to view permissions, the API may return an error; confirm appropriate roles and privileges.

Links and References

  • No direct links available from the source code. For more information, consult the API documentation of the AI platform managing prompt templates and permissions.

Discussion