Skip to main content

Collections API

The Collections API allows you to create and manage curated collections of documents and resources. Organize related content into themed collections, making it easier for users to discover and access relevant information within your organization.

Use Cases

Content Curation

Create organized collections of related documents, resources, and links to help users discover relevant content more efficiently.

Knowledge Organization

Group documents by topic, project, or department to create structured knowledge repositories that improve content discoverability.

Resource Management

Add, update, and remove items from collections to keep curated content current and maintain high-quality resource lists.

API Endpoints

MethodEndpointPurpose
POST/rest/api/v1/addcollectionitemsAdd Collection item
Add items to a Collection.
POST/rest/api/v1/createcollectionCreate Collection
Create a publicly visible (empty) Collection of documents.
POST/rest/api/v1/deletecollectionDelete Collection
Delete a Collection given the Collection's ID.
POST/rest/api/v1/deletecollectionitemDelete Collection item
Delete a single item from a Collection.
POST/rest/api/v1/editcollectionUpdate Collection
Update the properties of an existing Collection.
POST/rest/api/v1/editcollectionitemUpdate Collection item
Update the URL, Glean Document ID, description of an item within a Collection given its ID.
POST/rest/api/v1/getcollectionRead Collection
Read the details of a Collection given its ID. Does not fetch items in this Collection.
POST/rest/api/v1/listcollectionsList Collections
List all existing Collections.