Deleting all queries in the query tab and encountering search issues with non-searchable entity type QUERY

Original Slack Thread

How do I delete all the queries in the query tab? I gave it a try with datahub delete --query "urn:li:query:*" -n this comment but got Found no urns to delete. Maybe you want to change your filters to be something different?

Hey there! :wave: Make sure your message includes the following information if relevant, so we can help more effectively!

  1. Which DataHub version are you using? (e.g. 0.12.0)
  2. Please post any relevant error logs on the thread!

Version 0.11.0

I gave it a try with GraphQL query:

    searchAcrossEntities(input: {
        start: 0,
        count: 100,
        query: "*",
        types: [QUERY]
    ) {
        searchResults {
            entity {

Got this error:

    "errors": [
            "message": "An unknown error occurred.",
            "locations": [
                    "line": 2,
                    "column": 5
            "path": [
            "extensions": {
                "code": 500,
                "type": "SERVER_ERROR",
                "classification": "DataFetchingException"
    "data": {
        "searchAcrossEntities": null
    "extensions": {}

Is entity type QUERY not searchable? I don’t see it listed|here in SEARCHABLE_ENTITY_TYPES. Is there any workaround?

Search is meant to return search results. I think you’re looking to scroll through the entities’ aspects. The graphql is here ( and I know that the OpenAPI endpoint supports listing using scroll as well and deleting but not in bulk. The OpenAPI endpoint is here: (unfortunately there are no queries on the demo system). The test urns use uuids like this