POST
/
paas
/
v4
/
files
/
parser
/
create
文件解析
curl --request POST \
  --url https://open.bigmodel.cn/api/paas/v4/files/parser/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form tool_type=lite \
  --form file_type=PDF \
  --form file=@example-file
{
  "success": true,
  "message": "任务创建成功",
  "task_id": "task_123456789"
}

Authorizations

Authorization
string
header
required

使用以下格式进行身份验证:Bearer <your api key>

Body

multipart/form-data

Response

200
application/json

任务创建成功

The response is of type object.