Collections
Create a Collection
Upload data to a collection name and it's created automatically.
Create a Collection
Collections are created automatically when you upload data. Just pick a collection name and start uploading — no setup, no code changes, no waiting.
1. Upload data
Upload records to any collection name. If the collection doesn't exist yet, it's created on the fly:
curl -X POST https://api.qanatix.com/api/v1/upload/fasteners/bolt/batch \
-H "Authorization: Bearer sk_live_abc123..." \
-H "Content-Type: application/json" \
-d '{"records": [{"name": "M8 Bolt A2", "collection_data": {"part_number": "M8-A2-40"}}]}'Data is queryable instantly — no async processing or indexing delays.
2. Search
curl -X POST https://api.qanatix.com/api/v1/search/fasteners \
-H "Authorization: Bearer sk_live_abc123..." \
-d '{"query": "M8 bolt stainless"}'List collections
curl https://api.qanatix.com/api/v1/collections \
-H "Authorization: Bearer sk_live_abc123..."Returns all collections your tenant has data in, with record counts.