Vector store search in Azure OpenAI service returns "Resource not found"

Elier Delgado 20 Reputation points
2025-04-03T20:52:48.39+00:00

Hello, I was able to create / upload files, create a vector store, etc. "inside" the Azure OpenAI Resource. However, I cannot make the search work. I'm wondering what I might be doing wrong?

I'm able to GET the vector store resource as shown below, so it exists, therefor the 404 Resource not found on the /search make no sense. The search always returns: 404 Resource Not found.

## Get vector store
GET https://abc123.openai.azure.com/openai/vector_stores/vs_abc123?api-version=2025-03-01-preview
Authorization: Bearer {{$OPENAI_API_KEY}}

## Search vector store returns 404 Resource Not Found
POST https://abc123.openai.azure.com/openai/vector_stores/vs_abc123/search?api-version=2025-03-01-preview
Authorization: Bearer {{$OPENAI_API_KEY}}
Content-Type: application/json
OpenAI-Beta: assistants=v2

{
    "query": "do something"
}

Here is the documentation:
https://learn.microsoft.com/en-us/azure/ai-services/openai/reference-preview#search-vector-store

Can someone confirms if that works?

FYI: it works just fine in api.openai.com

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,602 questions
{count} votes

Accepted answer
  1. JAYA SHANKAR G S 4,035 Reputation points Microsoft External Staff Moderator
    2025-04-22T12:47:16.0766667+00:00

    Hello @Elier Delgado ,

    Got updates from product team, the /search endpoint is not currently supported. However, it is on the roadmap and expected to add support.

    We’ll continue to monitor the rollout and will notify you as soon as the endpoint becomes available.

    Thank you


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.