admin/knowledge_base/data_source

Create Kb Datasource

post/api/v1/admin/knowledge_bases/{kb_id}/datasources

Request

  • Base URL: https://tidb.ai (the document declares no server; this is the origin it was published from)
  • URL: https://tidb.ai/api/v1/admin/knowledge_bases/{kb_id}/datasources
  • Auth: API key in cookie session

Path parameters

kb_idinteger required

Request body

namestring required
data_source_type'file' | 'web_sitemap' | 'web_single_page' required

Response

Successful Response

idinteger required
namestring required
data_source_type'file' | 'web_sitemap' | 'web_single_page' required

Changes

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