Create a new file collection for organizing related documents.
Request Body
Optional description of the collection’s purpose
curl -X POST https://api-be.atthene.com/api/v1/collections/ \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Product Documentation",
"description": "All product manuals and guides"
}'
Response
{
"id": "coll_456",
"name": "Product Documentation",
"description": "All product manuals and guides",
"status": "pending",
"progress": 0,
"data_source_count": 0,
"total_size": 0,
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-01-15T10:30:00Z"
}