cURL
Before use, you must authorize the Bailian platform to access your OSS bucket via a Service-Linked Role (SLR). In the Alibaba Cloud RAM console, confirm that the service-linked role
AliyunServiceRoleForBailian has been created; otherwise, the API call will return a permission error.Authorizations
string
header
required
DashScope API Key,在控制台 API Key 页面 获取。
Body
application/jsonstring
required
类目 ID,通过 listCategory 获取。
enum<string>
default"UNSTRUCTURED"
required
类目类型。
UNSTRUCTURED,SESSION_FILE
string
required
OSS Bucket 名称。
string
required
OSS 所在地域,如 cn-beijing。
cn-beijing
object[]
required
要导入的文件详情列表。
items: 1–10
string[]
文件关联的标签列表,最多 10 个。
items <= 10
boolean
defaultfalse
当 ossKey 对应的文件已存在时是否覆盖,默认 false。