Using API against SQL question with variable

Hi,
I have a SQL question with an optional variable. When I check the value with the API I get the right value in
GET /api/card/XXXX
$response[“result_metadata”][0][“fingerprint”][“type”][“type/Number”][“avg”];

but if I put this question in a dashboard with a filter, and I use the filter for some minutes I get the “filtered” value when I check the question with the API.

In my opinion, questions should come “unfiltered” when check with the API, because I don’t know what filters are using the web users…

Thanks for your support

Hi @jose.carlossanchez
You are showing something from the fingerprint, which isn’t part of the filter.
The best way to learn the API, is to just use Metabase while having your browser developer Network-tab open and looking at the request, and what data is being send/received.
https://www.metabase.com/learn/developing-applications/advanced-metabase/metabase-api.html