# Export Users' Feedback

When trying out your pipeline, users can give feedback for each answer. You can export this feedback into a CSV file.

## Export Feedback from the UI

1. Log in to <a href="https://cloud.deepset.ai/" target="_blank"><ProductName /></a> and go to _Pipelines_.
2. Find the pipeline whose feedback you want to export, click the more actions icon next to it, and choose **Export feedback**.  

  <ClickableImage
    src="/img/how-tos/export_feedback.png"
    alt="A screenshot of the ellipsis icon expanded and the export feedback option visible"
    size="standard"
  />
  
3. Choose _Export feedback_. This downloads the CSV file to your computer. 

## Export Feedback with REST API

You need to [Generate an API Key](/docs/how-to-guides/managing-access/generate-api-key.mdx) first.

Use the [Get Pipeline Feedback](/docs/api/main/get-pipeline-feedback-stats-api-v-2-workspaces-workspace-id-pipelines-pipeline-id-feedback-stats-get.api.mdx) endpoint. Here's the code to export the feedback:

```curl
curl --request GET \
    --url https://api.cloud.deepset.ai/api/v1/workspaces/<YOUR_WORKSPACE_NAME>/pipelines/<YOUR_PIPELINE_NAME>/feedback \
    --header 'accept: text/csv' \
    --header 'authorization: Bearer <YOUR_API_KEY>'
```
