Method: projects.answerRecords.list

Returns the list of all answer records in the specified project in reverse chronological order.

HTTP request

GET https://dialogflow.googleapis.com/v2/{parent=projects/*}/answerRecords

The URL uses gRPC Transcoding syntax.

Path parameters

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

Parameters
filter

string

Required. Filters to restrict results to specific answer records. Filter on answer record type. Currently predicates on type is supported, valid values are ARTICLE_ANSWER, FAQ_ANSWER.

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.