v38

latestOpenAPI 3.0.3AGPL-3.0raw.githubusercontent.com2026-08-022461333.9 MB
Collections

Add an object to a collection

Adding the same object twice is a no-op rather than a duplicate. A pinned collection refuses anything but its own type, and an object that does not exist is refused rather than stored as a dangling id.

put/collections/{collection_id}/items

Path parameters

collection_idstring required

Query parameters

idstring
object_typestring

Type of the object

Request body

idstring required
object_typestring

Type of the object

Response

Confirmation the object was added

successstring