Collections
Filter by collection name.
Filter by collection visibility.
The offset of the collections to get.
0The limit of the collections to get.
10The order by field to sort the collections by.
idPossible values: The direction to order the collections by.
ascPossible values: Successful Response
listValidation Error
GET /v1/collections HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"object": "list",
"data": [
{
"object": "collection",
"id": 1,
"name": "text",
"owner": "text",
"description": "text",
"visibility": "private",
"created": 1,
"updated": 1,
"documents": 0,
"size": 0,
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"ANY_ADDITIONAL_PROPERTY": "anything"
}The name of the collection.
The description of the collection.
The type of the collection. Public collections are available to all users, private collections are only available to the user who created them.
privatePossible values: Successful Response
Validation Error
POST /v1/collections HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 96
{
"name": "text",
"description": "text",
"visibility": "private",
"ANY_ADDITIONAL_PROPERTY": "anything"
}No content
The collection ID
Successful Response
collection00Validation Error
GET /v1/collections/{collection_id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"object": "collection",
"id": 1,
"name": "text",
"owner": "text",
"description": "text",
"visibility": "private",
"created": 1,
"updated": 1,
"documents": 0,
"size": 0,
"ANY_ADDITIONAL_PROPERTY": "anything"
}The collection ID
Successful Response
No content
Validation Error
DELETE /v1/collections/{collection_id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
The collection ID
The collection to update.
The name of the collection.
The description of the collection.
The type of the collection. Public collections are available to all users, private collections are only available to the user who created them.
Successful Response
No content
Validation Error
PATCH /v1/collections/{collection_id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 96
{
"name": "text",
"description": "text",
"visibility": "private",
"ANY_ADDITIONAL_PROPERTY": "anything"
}No content
Last updated
Was this helpful?