POST
/
v1
/
feedback
/
submit
from vlmrun.client import VLMRun

client = VLMRun(api_key="<VLMRUN_API_KEY>")
response = client.feedback.submit(
    request_id="<request_id>",
    response={"name": "John Doe", "date_of_birth": "1955-01-01", "email": "john@doe.com"},
    notes="Excellent prediction quality"
)
{
  "id": "<string>",
  "request_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z"
}

Submit feedback for a prediction to help improve model performance through fine-tuning.

from vlmrun.client import VLMRun

client = VLMRun(api_key="<VLMRUN_API_KEY>")
response = client.feedback.submit(
    request_id="<request_id>",
    response={"name": "John Doe", "date_of_birth": "1955-01-01", "email": "john@doe.com"},
    notes="Excellent prediction quality"
)

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request model for submitting feedback.

Response

200
application/json

Successful Response

Response model for feedback operations.