Guide to updating a Dataset in the Fetch Hive API.
Last updated 18 days ago
Was this helpful?
Update a specific data set's details
Data set token
PATCH /v1/data_sets/{id} 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 updated 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:59:08.325Z", "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 } }