Skip to main content
POST
Submit feedback for a search job
Use search feedback after a search result is used or fails to help. Feedback improves result quality and can refund 1 credit for the first feedback submission on a search job, subject to team limits. Use valuableResults to mark useful results by where they appeared in the response. Each entry names the source group (web, images, or news) and the result’s 1-indexed position within that group, because each group is numbered from 1 independently. List every useful result: unlisted results are treated as not useful, and positions beyond what a group returned are ignored. This works for news and image results that have no url. Use valuableSources for useful URLs, including ones that were not among the returned results.

Example Request

Authorizations

Authorization
string
header
required

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

Path Parameters

jobId
string<uuid>
required

Search job id returned by /search.

Body

application/json

For 'good', include valuableSources or valuableResults. For 'partial', include valuableSources, valuableResults, or missingContent. For 'bad', include missingContent or querySuggestions.

rating
enum<string>
required
Available options:
good,
partial,
bad
valuableSources
object[]
Maximum array length: 50
valuableResults
object[]

Results that were useful, each addressed by the data group it appears in and its 1-indexed position within that group. Results are returned grouped (data.web, data.images, data.news) and each group is numbered from 1 independently, so source is required. List every useful result; unlisted results are treated as not useful. Positions beyond what the group actually returned are ignored.

Maximum array length: 50
missingContent
object[]
Maximum array length: 20
querySuggestions
string
Maximum string length: 2000
origin
string
default:api
integration
string | null

Response

Feedback recorded

success
boolean
required
Example:

true

feedbackId
string<uuid>
required
creditsRefunded
number
required
alreadySubmitted
boolean
dailyCapReached
boolean
creditsRefundedToday
number
dailyRefundCap
number
warning
string