Guide to creating a Dataset in the Fetch Hive API.
Last updated 18 days ago
Was this helpful?
Create a new data set with specified parameters
POST /v1/data_sets HTTP/1.1 Host: api.fetchhive.com Authorization: YOUR_API_KEY Content-Type: application/json Accept: */* Content-Length: 122 { "data_set": { "name": "text", "description": "text", "search_type": "hybrid", "search_score_threshold": 1, "search_chunk_limit": 1 } }
Successful response
{ "message": "Successfully created a data set.", "data_set": { "id": 1, "name": "text", "description": "text", "token": "text", "search_score_threshold": 1, "search_chunk_limit": 1, "generated_at": "2025-04-24T09:58:09.141Z", "data_item_count": 1, "status": "text", "search_type": "hybrid", "is_active": true, "is_archived": true, "is_hybrid_search": true, "is_vector_search": true, "is_full_text_search": true } }