You file a ticket with the database team so they can add your fixed query to the service API. After a few rounds of exchanging messages and meetings it might be added.
If it's a third-party API (say, a weather forecast or market data) the answers will range from "no" to "yes, and it will cost you X".
If it's a third-party API (say, a weather forecast or market data) the answers will range from "no" to "yes, and it will cost you X".