cURL
Authorizations
string
header
required
DashScope API Key, obtained from the API Key page in the console.
Body
application/jsonstring
required
Knowledge Base ID. The parameter name is id, not index_id or indexId.
string
Knowledge Base description.
string
Knowledge Base name. 1 to 20 characters. Supports Unicode letter characters (including English, Chinese, and digits) and may contain a colon (:), underscore (_), period (.), or hyphen (-).
length: 1–20
number
Minimum Rerank score threshold, in the range [0, 1]. Chunks scoring below this value are filtered out.
0 <= x <= 1
Response
200-application/json