curl --request GET \ --url https://api.dune.com/api/v1/query/{queryId}/private \ --header 'X-DUNE-API-KEY: <x-dune-api-key>'
This API allows for anyone to private a query. Only the API key generated under the context of the owner of that query will work.
Was this page helpful?