Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url https://api.thehaystack.ai/v2/haystack/collections/create \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "Sunday Sermons" } '
{ "collection": { "id": 1, "name": "Sunday Sermons", "fullService": false, "variantTypes": [ { "id": 123, "name": "Sermon Video", "indexable": true, "displayOrder": 123, "collectionId": 123 } ] } }
Create a new collection
Enter your API token from the Haystack dashboard
"Sunday Sermons"
Collection created
Show child attributes