---
title: "POST /model-hub/feedback/submit-feedback/"
method: POST
path: "/model-hub/feedback/submit-feedback/"
tags: ["model-hub"]
---

# POST /model-hub/feedback/submit-feedback/

`POST /model-hub/feedback/submit-feedback/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/model-hub/feedback/submit-feedback/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

Submit feedback action for re-tuning or re-calculating metrics

## Request body

- Feedback
  - `id` string, uuid
  - `source_id` string, required
  - `source` 'dataset' | 'prompt' | 'sdk' | 'trace' | 'experiment' | 'observe' | 'eval_playground', required
  - `user_eval_metric` string, uuid, nullable
  - `value` string, required
  - `explanation` string, nullable
  - `row_id` string, nullable
  - `custom_eval_config_id` string, uuid, nullable
  - `feedback_improvement` string, nullable
  - `action_type` string, nullable

## Response `201`

Created

- Feedback
  - `id` string, uuid
  - `source_id` string, required
  - `source` 'dataset' | 'prompt' | 'sdk' | 'trace' | 'experiment' | 'observe' | 'eval_playground', required
  - `user_eval_metric` string, uuid, nullable
  - `value` string, required
  - `explanation` string, nullable
  - `row_id` string, nullable
  - `custom_eval_config_id` string, uuid, nullable
  - `feedback_improvement` string, nullable
  - `action_type` string, nullable

## Other responses

- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
