Query data influx cloud db by using flux and api

I am trying to get data out of a influx cloud database by using the api. In Postman I have made a request, see attached images. Unfortunately, the request seems to be incorrect but for me it is unclear what might be wrong…

Kind regards,

@pzwaag1 Your API request isn’t wrong, but you’re trying to use dashboard variables in your query (v.timeRangeStart and v.timeRangeStop). These variables are only available when executing queries from an InfluxDB dashboard or the Data Explorer. You need to replace them with either absolute timestamps or relative durations.

yes, this works!!!
thanks very much!

kind regards,