We use cookies to ensure you get the best experience on our website. Some of these cookies are provided by third parties. You are free to decide which categories you would like to permit and can withdraw this consent at any time (via cookie preferences link on the footer).
By accepting the necessary cookies, you agree to our privacy policy and terms of service, both located in the footer of the website.
Learn more on our terms of service and privacy policy.
Generated from AskNews API 0.24.95.
asknews api autofilter autofilterThis 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/autofilterautofilterread-onlyOptions:
| Option | Description |
|---|---|
--query | A description of what kind of news you want to get. Location: query. Type: string. Required. |
All commands support --output human|table|json|jsonl|yaml, --json, API/auth URL
overrides, request timeout, and color control. Result data is written to stdout; diagnostics
are written to stderr.