Remove items from an item collection
Removes one or more items from the specified item collection. This operation is idempotent: the platform skips the identifiers that do not match an item in the collection. The response lists the result for each identifier of an item in the results array. The items themselves remain in the knowledge store.
Authentication
x-api-keystring
Your API key.
Note
You can find your API key on the API Keys page.
Path parameters
knowledge_store_id
The unique identifier of the knowledge store.
collection_id
The unique identifier of the knowledge store item collection.
Request
This endpoint expects an object.
item_ids
The unique identifiers of the items to remove from the collection. Include up to 500 identifiers per request.
Response
The items have been successfully removed from the collection.
results
An array with one entry for each identifier of an item in the request, in request order.
_id
The unique identifier of the item collection.
knowledge_store_id
The unique identifier of the knowledge store this collection belongs to.
name
The name of the item collection.
description
The description of the item collection.
metadata
Custom metadata for the item collection. Keys are strings; each value is a string, a number, a boolean, or an array of strings.
member_count
The number of items in the collection.
created_at
The date and time when the item collection was created, in the RFC 3339 format.
updated_at
The date and time when the item collection was last updated, in the RFC 3339 format.
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error