---
title: "Rate a discover recipe (0 clears your rating)"
method: POST
path: "/compat/v2/discover/rateDiscoverRecipe"
tags: ["discover"]
---

# Rate a discover recipe (0 clears your rating)

`POST /compat/v2/discover/rateDiscoverRecipe`

## Request body

- object
  - `id` string, uuid, required
  - `rating` integer, required

## Response `200`

Successful response

- object
  - `ratingAverage` number, required
  - `ratingCount` integer, required
  - `myRating` integer, nullable, required

## Other responses

- `400` — Invalid input data
- `401` — Authorization not provided
- `403` — Insufficient access
- `500` — Internal server error

---

[API](https://skmtc.dev/recipesage/apis/recipesage-api.md) · [All operations](https://skmtc.dev/recipesage/apis/recipesage-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/recipesage/recipesage-api/revisions/08ef517bf108/schema)
