I’m strictly following the file upload API example for assistants but not getting expected result. It would be appreciated if the ETA for assistants to be allowed to file upload API.
curl https://api.openai.com/v1/files \
-H 'OpenAI-Beta: assistants=v1' -H "Authorization: Bearer [REDACTED]" \
-F purpose="assistants" \
-F file="@[REDACTED]"
{
"error": {
"message": "'assistants' is not one of ['fine-tune'] - 'purpose'",
"type": "invalid_request_error",
"param": null,
"code": null
}
}