Search

Home

Privacy Mask

Feedback API

Feedback API

Feedback API

The Feedback API enhances the accuracy of vehicle damage detection models through human-in-the-loop validation. After customers process media using the Damage API, human reviewers refine or correct the automated output, and the final inspection results are submitted back via the Feedback API. These validated results are then used to retrain and continuously improve the AI models.

Method
Base URL
Endpoint
POST
https://reports.inspektlabs.com
/api/feedback

Authentication

  • Requires JWT token in Authorization: Bearer <token> header.
  • The Bearer token is obtained from the Authentication API.

To ensure fair usage, the API allows up to 5 requests per minute. Please plan your integration accordingly.

Click the button below to download the Postman collection for the API.

feedback_api.json5.5 KiB

Parameters

Field
Type
Required
Description
inspection_id
string
Yes
Unique identifier for an inspection
feedback
string
Yes
Your Feedback text

Payload

{
   "inspection_id": "ins123",
   "feedback": "this is a good inspection"
}

Response

{
   "message": "Thanks for the feedback",
   "status": "success"
}

Error message and status code

HTTP Code
Message
400
Missing or malformed payload
404
Invalid inspection ID
429
API rate limit exceeded
500
Something Went Wrong

curl

curl -X POST "https://reports.inspektlabs.com/api/feedback" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "inspection_id": "ins123",
    "feedback": "this is awesome"
  }'

Replace the Fields with your actual values. Use only the appropriate keys and mandatory fields as per your use case.

←Damage API

Q Score API→

On this page

  • Feedback API
  • Authentication
  • Parameters
  • Payload
  • Response
  • Error message and status code
  • curl