---
title: "Create From Feedback"
method: POST
path: "/api/v1/eval_rubrics/from_feedback"
tags: ["eval_rubrics"]
---

# Create From Feedback

`POST /api/v1/eval_rubrics/from_feedback`

Convert user feedback items into structured eval rubric using LLM rewrite.

## Cookies

- `wos-session` string
- `datalab_active_team` string

## Request body

- CreateRubricFromFeedbackRequest
  - `name` string, required
  - `feedback_items` FeedbackItem[], required
    - `block_id` string, nullable
    - `block_type` string, nullable
    - `page_number` integer, nullable
    - `content_snippet` string, required — The block's current markdown/text
    - `feedback` string, required — User's feedback text
    - `expected_output` string, nullable
    - `feedback_type` 'incorrect' | 'missing' | 'formatting' | 'other', required — One of: incorrect, missing, formatting, other

## Response `200`

Successful Response

- EvalRubricResponse
  - `id` integer, required
  - `name` string, required
  - `description` string, nullable, required
  - `eval_definition` object, required
  - `source` string, required
  - `source_processor_id` string, nullable, required
  - `archived` boolean, required
  - `version` integer, required
  - `version_history` unknown[], nullable
    - unknown
  - `created` string, date-time, nullable, required
  - `updated` string, date-time, nullable, required

## Other responses

- `422` — Validation Error

---

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