Delete multiple query history entries based on filters
Deletes all query history entries that match the specified filter criteria. If no filters are provided, all query history entries will be deleted. This operation also removes all associated metadata attributes for the deleted queries.
Filters can be combined to narrow down the selection of queries to delete. Queries that are still RUNNING cannot be deleted. If you need to delete running queries, you must cancel them first using the appropriate endpoint.
Query Parameters
Filter by username(s). Can be a single value or JSON array like ["user1", "user2"]
Filter by query status(es). Can be a single value or JSON array
Filter by query type(s). Can be a single value or JSON array
Only include queries started after this ISO-8601 date/time
Only include queries started before this ISO-8601 date/time
Only include queries ended after this ISO-8601 date/time
Only include queries ended before this ISO-8601 date/time
Maximum duration in milliseconds or ISO-8601 duration format (e.g., PT1H30M for 1 hour 30 minutes)
Minimum duration in milliseconds or ISO-8601 duration format (e.g., PT1H30M for 1 hour 30 minutes)
Filter by metadata attributes using the pattern 'metadata.{attributeName}'. Can be a single value or JSON array. For example: metadata.foo=["value1", "value2"]
Response
Successfully deleted all matching query history entries