---
title: "Rate Stagegate Verdict"
method: POST
path: "/stagegate/verdict-ratings"
tags: ["Stagegate"]
---

# Rate Stagegate Verdict

`POST /stagegate/verdict-ratings`

## Request

- Base URL: `https://be.graph8.com/api/v1`
- URL: `https://be.graph8.com/api/v1/stagegate/verdict-ratings`
- Auth: HTTP bearer

Thumbs up or down on a backtest verdict, for a saved rule (`rule_id`) or a draft (`conditions`). One rating per person; a changed thumb updates it. Personal key only.

## Headers

- `Authorization` string, nullable
- `X-Target-Org-Id` string, nullable

## Request body

- StagegateRatingRequest
  - `rating` 'up' | 'down', required
  - `verdict` 'hurts_win_rate' | 'no_effect' | 'flagged_win_more' | 'not_enough_data' | 'hidden', required
  - `window_days` 90 | 180 | 365, required
  - `rule_id` string, uuid, nullable: Rate a saved rule's verdict, or ...
  - `conditions` object[], nullable: ... a draft's, by its conditions.
  - `pipeline_ids` string[], nullable

## Response `200`

Successful Response

- ApiResponseStagegateFeedbackPayload
  - `data` StagegateFeedbackPayload, required: The acknowledgement of a "this is wrong" report or a verdict rating.
  - `pagination` PaginationMeta
    - `page` integer, required: Current page number (1-indexed)
    - `limit` integer, required: Items per page
    - `total` integer, required: Total number of items
    - `has_next` boolean, required: Whether there are more pages
    - `next_cursor` string, nullable: Opaque cursor for the next page; null when there are no more items. Pass it back as the `cursor` query param to fetch the following page without computing page numbers.
    - `total_available` integer, nullable: Search endpoints only: how many records really match, when known. Can be larger than `total`, which is capped at the 10,000 results that can be paged. For company search this is a distinct-company estimate. Null when unknown; absent outside search.
    - `total_is_lower_bound` boolean, nullable: Search endpoints only: true when more records match than `total` shows (the result set is larger than the 10,000 results that can be paged). Absent outside search.
    - `notes` string[], nullable: Search endpoints only: plain-language notes about the result, e.g. that more records match than can be paged, or that a reversed `between` range was put in order.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/graph8/apis/graph8-developer-api.md) · [All operations](https://skmtc.dev/graph8/apis/graph8-developer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/graph8/apis/graph8-developer-api/revisions/2e7cfa0ca921?raw)
