Miscellaneous
Utility endpoints for session management — link a customer email to a prediction session for follow-up tracking and history.
Configuration
Developer Settings
Manage global preferences for your API responses.
Universal Price Adjustment
Automatically increment or decrement all price estimations rendered by the API. This is applied proportionally to itemized breakdowns.
Submit Prediction Feedback
Use a session_id from a prediction to submit accuracy feedback.
POST /api/v1/predict/feedback
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
session_id | string | Yes | Prediction or diagnostic session ID to rate. |
rating | string | Yes | good or wrong. |
comment | string | No | Optional free-text feedback comment. |
Example Request
curl -X POST https://dev.api.aiadmin.quickmechs.com/api/v1/predict/feedback \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"session_id":"sess_abc123","rating":"good","comment":"Accurate estimate."}'Try it
Request
POST /api/v1/predict/feedback {}
Response
// Submit feedback to see the result
Link Customer Email
Associate a customer's email address with an existing prediction session for follow-up.
POST /api/v1/predict/link-email
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
session_id | string | Yes | Active diagnostic session ID to link. |
email | string | Yes | Customer email address to associate with the session. |
Example Request
curl -X POST https://dev.api.aiadmin.quickmechs.com/api/v1/predict/link-email \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"session_id":"sess_abc123","email":"customer@example.com"}'Try it
Request
POST /api/v1/predict/link-email {}
Response
// Link an email to a prediction session