Available Tools
- File Search – Retrieve information from your uploaded documents.
- Web Search – Incorporate data from the web.
Using File Search
Before using file_search with the Responses API: Upload your documents to your File Library.Example:
The example below shows a fully completed run object, including the data_sources fields. These fields are not included by default and will only appear in the response if you explicitly request them using the include parameter. For details on how to use this parameter, see theinclude
parameter documentation.