I get this for both of them:
CONTENT_TYPE="application/json"
FILE_STORE_ID="file-cr2IqoYc5TKLAy9g3tXSsLn5"
VECTOR_STORE_ID="vs_BGZTsHutIG4ncQkAjQYo7pJm"
curl https://api.openai.com/v1/vector_stores/${VECTOR_STORE_ID}/files \
-H "Authorization: Bearer ${OPENAI_API_KEY}" \
-H "Content-Type: ${CONTENT_TYPE}" \
-H "OpenAI-Beta: assistants=v2" \
-d "{
\"file_id\": \"${FILE_STORE_ID}\"
}"
{
“id”: “file-cr2IqoYc5TKLAy9g3tXSsLn5”,
“object”: “vector_store.file”,
“usage_bytes”: 0,
“created_at”: 1721005143,
“vector_store_id”: “vs_BGZTsHutIG4ncQkAjQYo7pJm”,
“status”: “in_progress”,
“last_error”: {
“code”: “unsupported_file”,
“message”: “The file type is not supported.”
},
“chunking_strategy”: {
“type”: “static”,
“static”: {
“max_chunk_size_tokens”: 800,
“chunk_overlap_tokens”: 400
}
}
}%