Returns preliminary intent match results, doesn't change the session status.
HTTP request
POST https://{endpoint}/v3/{session=projects/*/locations/*/agents/*/sessions/*}:matchIntent
Where {endpoint}
is one of the supported service endpoints.
The URLs use gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
session |
Required. The name of the session this query is sent to. Format: For more information, see the sessions guide. Authorization requires the following IAM permission on the specified resource
|
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "queryParams": { object ( |
Fields | |
---|---|
query |
The parameters of this query. |
query |
Required. The input specification. |
persist |
Persist session parameter changes from |
Response body
If successful, the response body contains an instance of MatchIntentResponse
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/dialogflow
For more information, see the Authentication Overview.