How to create a data explorer query with the APIs?

Thanks for sharing the article of Reverse engineer the discourse API ;

I’ve gone through it and realised that there should be two separate calls need to be made.

First should be, the POST call to /admin/plugins/explorer/queries , which will generate the ID associated with the query.

Secondly, the PUT call needs to be made on /admin/plugins/explorer/queries/id to edit the default query.

But I’m wondering whether there is a provision to create the query(by making the single API call) directly without knowing the ID.

Let me know if that’s possible.