You need to enable JavaScript to run this app.
数据智能体 DataAgent(私有化)

数据智能体 DataAgent(私有化)

复制全文
知识库
创建文件夹
复制全文
创建文件夹

请求方式及路径

请求方式:POST
请求地址:{{domain}}/profile_platform/api/v2/rag/document/folder/create

请求参数

参数名

类型

是否必传

参数示例

描述

kb_id

int

1

知识库ID

parent_id

int

0

父文件夹ID,0表示根目录,默认0

name

string

"新建文件夹"

文件夹名称

响应参数

参数名

类型

是否必传

参数示例

描述

code

int

0

响应码:0=成功,非0=失败

msg

string

"success"

Code非0时,返回错误信息

message

string

"success"

错误信息(与msg相同)

data

DocumentModel

见下方

创建的文件夹信息

DocumentModel

参数名

类型

是否必传

参数示例

描述

id

int

100

文件夹ID

kb_id

int

1

知识库ID

parent_id

int

0

父文件夹ID

name

string

"新建文件夹"

文件夹名称

is_folder

bool

true

是否为文件夹

path

string

"/新建文件夹"

文件夹路径

created_by

string

"user@example.com"

创建人

create_time

string

"2024-01-01 12:00:00"

创建时间

update_time

string

"2024-01-01 12:00:00"

更新时间

最近更新时间:2026.03.06 15:26:35
这个页面对您有帮助吗?
有用
有用
无用
无用