<!--
{
  "availability" : [
    "iOS: 10.3.0 - 15.0.0",
    "iPadOS: 10.3.0 - 15.0.0",
    "macCatalyst: 13.1.0 - 15.0.0",
    "visionOS: 1.0.0 - 1.0.0",
    "watchOS: 3.2.0 - 8.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INSearchForBillsIntentResponse",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INSearchForBillsIntentResponse"
  },
  "title" : "INSearchForBillsIntentResponse"
}
-->

# INSearchForBillsIntentResponse

Your app’s response to a request to a search for bills.

```
class INSearchForBillsIntentResponse
```

## Overview

Use an [`INSearchForBillsIntentResponse`](/documentation/Intents/INSearchForBillsIntentResponse) object to return the list of bills found during a search operation. After performing a search using the criteria specified in an [`INSearchForBillsIntent`](/documentation/Intents/INSearchForBillsIntent) object, create an instance of this class and fill it with the results of that search. Siri communicates the information from your response to the user at appropriate times.

You create an [`INSearchForBillsIntentResponse`](/documentation/Intents/INSearchForBillsIntentResponse) object in the [`confirm(intent:completion:)`](/documentation/Intents/INSearchForBillsIntentHandling/confirm(intent:completion:)) and [`handle(intent:completion:)`](/documentation/Intents/INSearchForBillsIntentHandling/handle(intent:completion:)) methods of your search for bills handler object. For more information about implementing your handler object, see [`INSearchForBillsIntentHandling`](/documentation/Intents/INSearchForBillsIntentHandling).

## Topics

### Initializing the Response Object

[`init(code: INSearchForBillsIntentResponseCode, userActivity: NSUserActivity?)`](/documentation/Intents/INSearchForBillsIntentResponse/init(code:userActivity:))

Initializes the response object with the specified code and user activity object.

### Getting the Response Code

[`var code: INSearchForBillsIntentResponseCode`](/documentation/Intents/INSearchForBillsIntentResponse/code)

The code indicating whether you successfully handled the intent.

[`enum INSearchForBillsIntentResponseCode`](/documentation/Intents/INSearchForBillsIntentResponseCode)

Constants indicating the state of the response.

### Accessing the Search Results

[`var bills: [INBillDetails]?`](/documentation/Intents/INSearchForBillsIntentResponse/bills)

The bills found during the search.

## Relationships

### Conforms To

[`NSCopying`](/documentation/Foundation/NSCopying)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Hashable`](/documentation/Swift/Hashable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Equatable`](/documentation/Swift/Equatable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

### Inherits From

[`INIntentResponse`](/documentation/Intents/INIntentResponse)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)