curl --request POST \
--url https://open.bigmodel.cn/api/llm-application/open/v2/application/file_stat \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"app_id": "<string>",
"file_ids": [
"<string>"
]
}'
{
"data": [
{
"file_id": "<string>",
"code": 123,
"msg": "<string>"
}
],
"code": 123,
"message": "<string>",
"timestamp": 123
}
获取指定文件的解析状态。
curl --request POST \
--url https://open.bigmodel.cn/api/llm-application/open/v2/application/file_stat \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"app_id": "<string>",
"file_ids": [
"<string>"
]
}'
{
"data": [
{
"file_id": "<string>",
"code": 123,
"msg": "<string>"
}
],
"code": 123,
"message": "<string>",
"timestamp": 123
}
使用以下格式进行身份验证:Bearer <your api key>
请求成功
The response is of type object
.