- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Returns the list of all answer records in the specified project in reverse chronological order.
HTTP request
GET https://{endpoint}/v2/{parent=projects/*/locations/*}/answerRecords
Where {endpoint}
is one of the supported service endpoints
.
The URLs use gRPC Transcoding syntax.
Path parameters
parent
string
Required. The project to list all answer records for in reverse chronological order. Format: projects/<Project ID>/locations/<Location
ID>
.
Authorization requires the following IAM
permission on the specified resource parent
:
-
dialogflow.answerrecords.list
Query parameters
filter
string
Optional. Filters to restrict results to specific answer records. The expression has the following syntax:
<field> <operator> <value> [AND <field> <operator> <value>] ...
The following fields and operators are supported: * conversationId with equals(=) operator
Examples:
-
conversationId=barmatches answer records in theprojects/foo/locations/global/conversations/barconversation (assuming the parent isprojects/foo/locations/global).
For more information about filtering, see API Filtering .
pageSize
integer
Optional. The maximum number of records to return in a single page. The server may return fewer records than this. If unspecified, we use 10. The maximum is 100.
pageToken
string
Optional. The ListAnswerRecordsResponse.next_page_token
value returned from a previous list request used to continue listing on the next page.
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of ListAnswerRecordsResponse
.
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 .

