Rest API to search using search query

We uploaded files to OPEN AI using rest API v1/files.

Now we need to search the file using some search query. Please suggest on the rest api for this. We tried by creating a vector store
v1/vector_stores

We are able to get files in this vector store but we are not able to perform search within the content of file.

2 Likes

Hi there and welcome to the Forum!

Currently the only way to search files attached to a vector store is via the Assistants API. You can find details on the file search capabilities here.

1 Like