Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
AyeshaChhapra
Contributor II
Contributor II

How to apply user filters in Qlik Narrative API responses?

I’ve been working with the Qlik APIs for narrative responses and noticed something I can’t resolve.

  • Current API in use: /api/v1/questions/actions/ask
    Docs

  • Previously used API: /api/v1/nl/query
    Docs

→ These endpoint doesn’t seem to provide an option to pass filters.

The issue is that I want the narrative response to reflect user-applied filters, but currently the APIs only return unfiltered data values.

 

Labels (3)
1 Reply
Karen763Purvis
Contributor
Contributor

Hello! MyWisely

Qlik’s narrative API endpoints don’t directly support user-applied filters, so responses often reflect unfiltered data. To work around this, ensure filters are applied within the app context or use session-based selections. You can also explore passing filter logic through the context field, though results may vary. For precise control, consider filtering data before sending it to the narrative layer.