    struct HistoryController

    extension HistoryController : Sendable, SendableMetatype

The entry point for interacting with the history API.
- `


  ### [query()](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HistoryController#/s:13GoogleHomeSDK17HistoryControllerV5queryAA0D5QueryCyF)


  ` Creates a new `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Classes/HistoryQuery.html` for querying history.

  #### Declaration

  Swift

      func query() -> https://developers.home.google.com/reference/swift/GoogleHomeSDK/Classes/HistoryQuery.html

- `


  ### [fetchApplicableFilters()](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HistoryController#/s:13GoogleHomeSDK17HistoryControllerV22fetchApplicableFiltersSayAC10FilterSpecVGyYaKF)


  ` Fetches the list of applicable filters for the given object.

  #### Declaration

  Swift

      func fetchApplicableFilters() async throws -> [HistoryController.https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HistoryController/FilterSpec.html]

- `


  ### [deleteAll(from:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HistoryController#/s:13GoogleHomeSDK17HistoryControllerV9deleteAll4fromyAA0B6Object_p_tYaKF)


  ` Deletes all history items for the given objects.

  #### Declaration

  Swift

      func deleteAll(from object: any https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/HomeObject.html) async throws

- `


  ### [deleteAll(from:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HistoryController#/s:13GoogleHomeSDK17HistoryControllerV9deleteAll4fromySS_tYaKF)


  ` Deletes all history items for the referenced objects.

  #### Declaration

  Swift

      func deleteAll(from objectID: String) async throws

- `


  ### [deleteAll(for:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HistoryController#/s:13GoogleHomeSDK17HistoryControllerV9deleteAll3forySaySSG_tYaKF)


  ` Deletes all history items with the given event type IDs from the structure.

  #### Declaration

  Swift

      func deleteAll(for eventTypeIDs: [String]) async throws

- `


  ### [FilterSpec](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HistoryController/FilterSpec.html)


  ` Imformation about a single attribute filter and its supported values.

  #### Declaration

  Swift

      struct FilterSpec

      extension https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HistoryController.html.FilterSpec : Sendable, SendableMetatype