I am trying to export the runtime of queries executed on redash. So far, the only endpoint I found that includes runtimes is the query_results endpoint. But this endpoint also returns the entire dataset, which is time consuming.

So, title. Can I somehow tell the query_results endpoint that I am not interested with the data field, so that I don’t fetch it redundantly. Or any other endpoint, for the sake of curiosity.

It’s not supported. You could modify the QueryResultsResource handler to implement this feature, though.