Create Feedback
**This endpoint is deprecated. Please use [Give Feedback](https://docs.patronus.ai/reference/give-feedback) endpoint instead.** ## Provide feedback for LLM Monitoring results and Evaluation Run results. Feedbacks are used by [Active Learning](https://docs.patronus.ai/docs/active-learning) ### Give feedback for a Evaluation Run result: To give feedback for evaluation run result, following fields has to be provided to identify the sample for which feedback is given: - evaluation_run_id - evaluator_id - evaluation_run_candidate_input_id example: ```bash curl --location 'https://api.patronus.ai/v1/feedback' --header 'x-api-key: <your api key>' --header 'Content-Type: application/json' --data '{ "feedback_positive": true, "evaluation_run_id": "1234567891234567890", "evaluator_id": "toxicity-v1", "evaluation_run_candidate_input_id": 1 }' ``` ### Give feedback for a LLM Monitoring result: To give feedback for LLM Monitoring result only `evaluation_result_id` to identify the record. example: ```bash curl --location 'https://api.patronus.ai/v1/feedback' --header 'x-api-key: <your api key>' --header 'Content-Type: application/json' --data '{ "feedback_positive": true, "evaluation_result_id": "1234567891234567890" }' ```