The [API docs](https://platform.openai.com/docs/api-reference/responses/object#responses/object-output-web-search-tool-call-action-search-action-sources-type) and [source code](https://github.com/openai/openai-python/blob/0b4bc5049f31f9d03b773d6919064e007b378778/src/openai/types/responses/response_function_web_search.py#L12-L13) both claim that `ActionSearchSource.type` will always be `'url'`, but in fact it can be `'api'` as well: ```yaml - action: query: 'weather: Mexico, Mexico City' sources: - name: oai-weather type: api type: search id: ws_08313d91a201f39c0068c4ab69d5bc81958a568c6c8fa3b010 status: completed type: web_search_call ```