Create an empty Knowledge

This API allows users to initialize a new knowledge base with a specified name. The created knowledge base will be empty, ready for adding files.

post/datasets

Request

  • Base URL
    https://web-aihub.cequens.com/v1
  • URL
    https://web-aihub.cequens.com/v1/datasets
  • Auth
    API key in header Authorization

Request body

namestring required

Knowledge name

Response

200

idstring
namestring
descriptionunknown
providerstring
permissionstring
data_source_typeunknown
indexing_techniqueunknown
app_countinteger
document_countinteger
word_countinteger
created_bystring
created_atinteger
updated_bystring
updated_atinteger
embedding_modelunknown
embedding_model_providerunknown
embedding_availableunknown

Example response

{
  "id": "d0fdd4a8-7de7-4755-83d1-4e6ed6dc606e",
  "name": "testcc",
  "provider": "vendor",
  "permission": "only_me",
  "created_by": "a952836f-d846-4446-a647-465acf78eea9",
  "created_at": 1727643651,
  "updated_by": "a952836f-d846-4446-a647-465acf78eea9",
  "updated_at": 1727643651,
  "retrieval_model_dict": {
    "search_method": "semantic_search",
    "top_k": 2
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.