list_project_collections
List all collections within a Watson Discovery project to retrieve their names and UUIDs for inventory or further operations.
Instructions
Watson Discovery List Project Collections
Description
The Watson Discovery List Project Collections return a lists of existing collections for the specified project and returns structured information about each collection
Function
This tool connects to your IBM Watson Discovery instance using your provided authentication credentials, listing the available collections of a project, and returns structured information about each collection.
Use Cases
Inventory management of Watson Discovery collections
Collection selection for further operations, such as querying
Pre-processing step before performing operations on specific projects and collections
Integration with automated workflows that require collection UUIDs
Authentication
This tool requires valid IBM Cloud IAM API credentials to access your Watson Discovery instance. Ensure your service account has appropriate permissions to list collections.
Output Format
Results are returned as a structured array of collections objects, each containing:
name: The collection name (string)collection_id: The collection's UUID (string in UUID format)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes |