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 fetches metadata details for a specific collection identified by its unique Collection ID. It is useful when you want to retrieve comprehensive information about a collection, such as its attributes and configuration, without fetching the entire collection content or documents.

Common scenarios:

  • Displaying collection details in a dashboard or UI.
  • Verifying collection properties before performing further operations.
  • Auditing or logging collection metadata for administrative purposes.

Practical example:
You have a collection of documents related to a project, and you want to get metadata like creation date, description, or other settings associated with that collection to display in your app or use it in conditional logic.

Properties

Name Meaning
Collection ID The unique identifier of the collection whose metadata you want to fetch. This is a required string input.

Output

The output JSON contains the detailed metadata of the specified collection. This typically includes various attributes describing the collection's properties, settings, and possibly status information. The exact structure depends on the API response but generally provides all relevant metadata fields for the collection.

The node does not output binary data for this operation.

Dependencies

  • Requires an API key credential for authentication to the external service.
  • The base URL for API requests is configured from the credentials.
  • The node sends a GET request to the endpoint /collections/{collection_id}/metadata where {collection_id} is replaced by the provided Collection ID.

Troubleshooting

  • Missing or invalid Collection ID: Ensure the Collection ID is provided and correctly formatted; otherwise, the API will return an error indicating the collection was not found.
  • Authentication errors: Verify that the API key credential is valid and has permissions to access collection metadata.
  • Network issues or timeouts: Check network connectivity and increase timeout settings if necessary.
  • API rate limits: If many requests are made in a short period, the API might throttle requests; handle retries accordingly.

Links and References

  • Refer to the external API documentation for "Collections" and "Get Collection Metadata" endpoints for detailed response schema and additional parameters.
  • Consult your platform's credential setup guide to configure the required API key authentication.

Discussion