> ## Documentation Index
> Fetch the complete documentation index at: https://docs.siftstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Step 5: Generate Report and view it in Sift

export const SiftIcon = ({className}) => <span className={`inline-flex items-center align-middle text-black dark:text-white ${className || ''}`}>
    <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Artwork" x="0px" y="0px" viewBox="0 0 1005.58 733.96" style={{
  enableBackground: "new 0 0 1005.58 733.96",
  width: "2em",
  height: "2em"
}} xmlSpace="preserve">
      <path fill="currentColor" d="M552.16,150.89c-165.6,0-180.29,160.61-300.62,192.32v2.67h601.24v-2.67C747.74,324.18,717.72,150.89,552.16,150.89z   M453.46,583.08c165.6,0,180.29-160.61,300.62-192.32v-2.67H152.84v2.67C257.88,409.78,287.91,583.08,453.46,583.08z" />
    </svg>
  </span>;

## Overview

As in [Step 5](../tutorial-1/step-5) of the first tutorial, let's generate a Report using the newly created Rule.
This time, we will do it using the REST API instead of the UI.
The endpoint we will use to generate the report is: [EvaluateRules](/api-reference/ruleservice/evaluaterules).

## Generate Report

Run the cURL command below to generate the Report.

```bash theme={null}
curl -X POST "YOUR_REST_API_URL_HERE/api/v1/rules/evaluate-rules" \
  -H "Authorization: Bearer YOUR_API_KEY_HERE" \
  -H "Content-Type: application/json" \
  -d '{
    "run": {
      "id": "RUN_ID"
    },
    "allApplicableRules": true,
    "reportName": "fl_demo_report"
  }'
```

**Placeholders**

* Replace `YOUR_REST_API_URL_HERE` with your REST API URL obtained in the previous step.
* Replace `YOUR_API_KEY_HERE` with your API key obtained in the previous step.
* Replace `fl` (in `fl_demo_report`) with your initials.
* Replace `RUN_ID` with the Run ID you copied in [Step 3](/old-learning-path/tutorial-2/step-3#view-imported-data-in-sift).

<Accordion title="A successful response">
  ```bash theme={null}
  {
    "createdAnnotationCount": 0, 
    "reportId": "string",
    "jobId": "string"
  }
  ```
</Accordion>

## View generated Report in Sift

Now that we have generated the Report using the REST API, let's view the generated Report in Sift.

1. In **Sift**, click <SiftIcon className="icon-sift" />.
2. Click the <Icon icon="list-check" /> **Reports** tab.
3. In the **Report name** box, enter the name of the Report.
4. In the **Reports** table, click the name of the Report.
