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.
Discover and invoke generated commands for every customer-facing AskNews API operation.
asknews api listList generated operations and their parameters
Options:
| Option | Description |
|---|---|
--tag <tag> | filter by API group |
--safety <level> | filter by read-only, high-cost, or mutating |
Examples:
asknews api list --output json
asknews api list --tag news --safety read-only --output jsonasknews api alerts — 8 operationsasknews api analytics — 1 operationsasknews api autofilter — 1 operationsasknews api byok — 3 operationsasknews api charts — 1 operationsasknews api chat — 3 operationsasknews api distribution — 2 operationsasknews api forecast — 1 operationsasknews api graph — 1 operationsasknews api index-urls — 1 operationsasknews api news — 5 operationsasknews api newsletters — 11 operationsasknews api ping — 1 operationsasknews api profile — 2 operationsasknews api reddit — 1 operationsasknews api stories — 2 operationsasknews api websearch — 1 operationsasknews api wiki — 1 operationsUse asknews api <group> <operation> --help for the installed schema and exact enums.
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.