autofilter
Generate filter params for AskNews endpoints
This is a helper endpoint designed to intelligently populate the "parameters of the /news search endpoint of AskNews. It takes a description of the type of news that you want to access, and then maps it to the available parameters automatically.
This endpoint returns the parameters, called filter_params, which can be used in a variety of other AskNews endpoints, for example, /news, /graph, /chat.
get/v1/chat/autofilter
Request
- Base URLhttps://api.asknews.app
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
querystring required
A description of what kind of news you want to get.
Response
Filter params ready to be used.
Changes
No recorded changes to this operation across all 11 revisions of this API.