Best way to give API access to files

I have tried to upload files to Assistant, though it works perfectly fine in Playground, it doesn’t work with the API.

As I’ve seen many other threads about this and nobody really finding any solutions, I was just curious if there is any other way to give API access to files.

Hi there!

Have you had a look at this guidance?

https://platform.openai.com/docs/assistants/tools/file-search/step-4-create-a-thread