Python API examples not correct

:bug: Python API search_recency_filter not supported

The documentation shows a search_recency_filter arg in the Python API:

# For general information and current events
web_search = client.search.create(
    query="latest tech news",
    search_mode="web",
    search_recency_filter="day"
)

:white_check_mark: Expected Behavior

I expect the parameter to be in the API

:cross_mark: Actual Behavior

TypeError: SearchResource.create() got an unexpected keyword argument ‘search_recency_filter’

:counterclockwise_arrows_button: Steps to Reproduce

  1. Call the API in the documented way.
  2. Observe the unexpected behavior.

:globe_showing_europe_africa: Environment

  • API Version: ?
  • SDK (if applicable): 0.11.0
  • Operating System: Linux

FYI, this is the same with the TypeScript SDK, it seems that in general search_recency_filter is not implemented in the API endpoint. The API docs say it is, but the API reference does not list it. And the SDK typings do not have it either.

And there are more discrepancies between docs and implementation, started to collect them here: