Search

Submit ratings bound to a valid search result receipt. Invalid or expired receipts return 422. Do not blindly replay feedback after an uncertain outcome.

post/v2/search/feedback

Request

  • Base URL: https://api.machinelibrary.ai
  • URL: https://api.machinelibrary.ai/v2/search/feedback
  • Auth: one of:
    • API key in header X-Api-Key
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://api.machinelibrary.ai/v2/oauth/authorize, token URL https://api.machinelibrary.ai/v2/oauth/token, scopes: search)

Request body

commentstring nullable
feedback_idstring required

Caller-generated UUID, reused on retries. Analytics deduplicates by this ID.

feedback_tokenstring required
trajectory_idstring required
usefulboolean nullable

Response

Feedback accepted into the quality event stream.

event_idstring required
trajectory_idstring required

Changes

No recorded changes to this operation across all 1 revision of this API.