Add files to a collection for processing.
Request Body
Array of file IDs to add to the collection
curl -X POST https://api-be.atthene.com/api/v1/collections/coll_123/files/ \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"file_ids": ["file_123", "file_456", "file_789"]
}'
Response
{
"success": true,
"added": 3,
"failed": 0,
"results": [
{
"file_id": "file_123",
"status": "added"
},
{
"file_id": "file_456",
"status": "added"
},
{
"file_id": "file_789",
"status": "added"
}
]
}