Collections
Create and manage collections (groups of files) for organized querying.
Create a collection
POST /api/v1/collections
POST /api/v1/collectionsHeaders
Name
Type
Description
Request Body
Name
Type
Description
{
"name": "Q4 Reports",
"file_ids": [
"a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"b2c3d4e5-f6a7-8901-bcde-f12345678901"
]
}Response (201: Created)
List all collections
GET /api/v1/collections
GET /api/v1/collectionsResponse (200: OK)
Get collection details
GET /api/v1/collections/{collection_id}
GET /api/v1/collections/{collection_id}Delete a collection
DELETE /api/v1/collections/{collection_id}
DELETE /api/v1/collections/{collection_id}Response (200: OK)
Example: Create and query a collection
Last updated