---
title: "Lists user's questions and answers that have a feedback."
method: GET
path: "/question_answer_feedbacks"
tags: ["Chat"]
---

# Lists user's questions and answers that have a feedback.

`GET /question_answer_feedbacks`

## Request

- Base URL: `https://h2ogpte.genai.h2o.ai/api/v1`
- URL: `https://h2ogpte.genai.h2o.ai/api/v1/question_answer_feedbacks`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/h2o/apis/h2ogpte-rest-api/docs/question_answer_feedbacks/get.ts> (a function with typed inputs; its response is checked against the schema)

Lists user's questions and answers that have a feedback.

## Query parameters

- `offset` integer
- `limit` integer
- `collection_id` string
- `interval` string
- `no_collection` boolean

## Response `200`

Successful operation

- QAFeedback[]
  - `question_content` string, required
  - `reply_content` string, required
  - `question_id` string, required
  - `reply_id` string, required
  - `llm` string
  - `system_prompt` string
  - `pre_prompt_query` string
  - `prompt_query` string
  - `pre_prompt_summary` string
  - `prompt_summary` string
  - `rag_config` string
  - `collection_documents` string[]
  - `votes` integer, required
  - `expected_answer` string
  - `user_comment` string
  - `collection_id` string
  - `collection_name` string
  - `response_created_at_time` string, required
  - `prompt_template_id` string
  - `include_chat_history` string
  - `chat_session_id` string
  - `voted_user_id` string
  - `voted_username` string

## Other responses

- `400`: Bad request
- `401`: Unauthorized - Invalid or missing API key
- `default`: Unexpected error

---

[API](https://skmtc.dev/h2o/apis/h2ogpte-rest-api.md) - [All operations](https://skmtc.dev/h2o/apis/h2ogpte-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/h2o/apis/h2ogpte-rest-api/revisions/a82a117320f4?raw)
