Travel routing

Submit feedback for a completed flight search

Creates or replaces feedback for a completed run owned by the authenticated account. selectedItineraryId, when supplied, must belong to that run. End-user and Agent Connection access remains scoped exactly as it was for execution.

post/wrapped/credits/locus-travel/flight-search/{runId}/feedback

Request

  • Base URL
    https://api.paywithlocus.com/api
  • URL
    https://api.paywithlocus.com/api/wrapped/credits/locus-travel/flight-search/{runId}/feedback
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Path parameters

runIdstring uuid required

Headers

X-Locus-Session-Idstring

Required only when the end-user JWT carries sid. Send the original high-entropy session value; sid is its SHA-256 fingerprint. Ignored for secret-key authentication.

X-Locus-End-Userstring

Case-sensitive immutable ID in the tenant namespace. Prefer an identity-provider subject, not an email address.

Secret or sandbox keys must repeat the run's end-user identity, when any.

Request body

helpfulboolean required
selectedItineraryIdstring
reason'price' | 'schedule' | 'missing_option' | 'provider_quality' | 'other'
notestring

Response

Feedback saved

successunknown required

Changes

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