- [JSON representation](https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3beta1/MatchIntentResponse#SCHEMA_REPRESENTATION)

Response of \[MatchIntent\]\[\].

| JSON representation |
|---|
| ``` { "matches": [ { object (`https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3beta1/projects.locations.agents.conversations#Match`) } ], "currentPage": { object (`https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3beta1/projects.locations.agents.flows.pages#Page`) }, // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "text": string, "triggerIntent": string, "transcript": string, "triggerEvent": string // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| `matches[]` | ``object (`https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3beta1/projects.locations.agents.conversations#Match`)`` Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query. |
| `currentPage` | ``object (`https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3beta1/projects.locations.agents.flows.pages#Page`)`` The current `https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3beta1/projects.locations.agents.flows.pages#Page`. Some, not all fields are filled in this message, including but not limited to `name` and `displayName`. |
| The original conversational query. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `text` | `string` If `https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3beta1/QueryInput#TextInput` was provided as input, this field will contain a copy of the text. |
| `triggerIntent` | `string` If an `https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3beta1/QueryInput#IntentInput` was provided as input, this field will contain a copy of the intent identifier. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`. |
| `transcript` | `string` If `https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3beta1/QueryInput#AudioInput` was provided as input, this field will contain the transcript for the audio. |
| `triggerEvent` | `string` If an `https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3beta1/QueryInput#EventInput` was provided as input, this field will contain a copy of the event name. |
| End of mutually exclusive fields. ||