curl --location -g --request POST 'http://dev-cn.your-api-server.com/v1/assistants/files/create?GroupId=${Groupid}' \
--header 'Authorization: Bearer ${API KEY}' \
--header 'Content-Type: application/json' \
--data-raw '{
"assistant_id": "asst_abc123",
"file_id": "${file_id}"
}'
{
"id": "${file id},
"object": "assistant.file",
"created_at": 1703229247,
"assistant_id": "asst_abc123",
"base_resp": {
"status_code": 0,
"status_msg": "success"
}
}