请求URL
GET https://lxapi.lexiangla.com/cgi-bin/v1/kb/files/{file_id}
请求头
参数 | 是否必须 | 说明 |
---|---|---|
Authorization | 是 | 接口调用凭证 access_token 值格式:"Bearer access_token" 示例值:"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJS" |
其他说明
事项 | 说明 |
---|---|
权限要求 | 知识库管理 |
频率限制 | 3000次/分钟 |
参数说明
参数 | 是否必须 | 说明 |
---|---|---|
file_id | 是 | 附件ID |
响应
200 Ok 状态码
{
"data": {
"type": "kb_file",
"id": "decb54ddae7a4593a72a70d326fe1xxx",
"attributes": {
"created_at": "2025-07-21 14:26:42",
"updated_at": "2025-07-21 14:26:42",
"name": "xxx.mov"
},
"links": {
"download": "https://file.lexiang-asset.com/xxxx"
}
}
}
参数 | 说明 |
---|---|
attributes.name | 附件名称 |
links.download | 附件下载链接 |