Files
Manage files used by agents or users. These endpoints support file uploads, previews, and importing files directly from URLs.
查询参数
tenant_idany of可选Example:
Tenant Id
40d39c4b-9585-4123-8fd4-f1cc23a1184cstring可选
null可选
tenant_unit_idany of可选Example:
Tenant Unit ID
da114de3-d7e6-4161-bc55-0ce85dbee589string可选
null可选
请求体
filestring · binary必填
Upload file
响应
201
Successful Response
application/json
422
Validation Error
application/json
post
/admin/api/v2/files/upload查询参数
tenant_idany of可选Example:
Tenant Id
40d39c4b-9585-4123-8fd4-f1cc23a1184cstring可选
null可选
tenant_unit_idany of可选Example:
Tenant Unit ID
da114de3-d7e6-4161-bc55-0ce85dbee589string可选
null可选
请求体
The remote url
urlstring必填
响应
201
Successful Response
application/json
422
Validation Error
application/json
post
/admin/api/v2/files/remote-url/upload最后更新于
这有帮助吗?