Edit Collection

Update a collection’s title.

This endpoint only supports changing the title. To change document membership, use the dedicated /collection/{collection_id}/add and /collection/{collection_id}/remove endpoints instead.

Changes take effect immediately for all users of the collection.

Authentication

AuthorizationBearer

API key or access token, sent as Authorization: Bearer <token>. The simplest option: create an API key in your dashboard under Settings, then paste it here.

OR
AuthorizationBearer

API key or access token, sent as Authorization: Bearer <token>. The simplest option: create an API key in your dashboard under Settings, then paste it here.

Path parameters

collection_idstringRequiredformat: "uuid"
org_idstringRequiredformat: "uuid"
The unique identifier of the organization.
project_idstringRequiredformat: "uuid"
The unique identifier of the project.

Request

This endpoint expects an object.
titlestringRequired

Response

Collection updated successfully
titlestring
project_idstringformat: "uuid"
idstringformat: "uuid"
createdstring
modifiedstring
summarystring or null
embedding_instanceslist of objectsDefaults to []
task_idslist of stringsDefaults to []

Errors

400
Bad Request Error
403
Forbidden Error
422
Unprocessable Entity Error