Skip to content
masterclass Buddy

AI & ML · Module

files

File search lets the Responses API retrieve information from uploaded files. Files must be added to a vector store before the model can search them.

Last updated

Syntax

tools: [{ type: "file_search", vector_store_ids: ["vs_..."] }]

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Responses API
  • vector stores
  • File API
  • semantic search
  • keyword search
  • file indexing

Source: File search | OpenAI API. Checked 2026-11-03.