Create a Dataset

Guide to creating a Dataset in the Fetch Hive API.

Create a new data set

post

Create a new data set with specified parameters

Authorizations
Body
Responses
200
Successful response
application/json
post
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
  }
}
{
  "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-06-27T02:23:43.823Z",
    "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
  }
}

Last updated

Was this helpful?