> ## Documentation Index
> Fetch the complete documentation index at: https://docs.r28.ai/charter/llms.txt
> Use this file to discover all available pages before exploring further.

# search_feedback

> Submit feedback for a prior search job to improve future results.

<div className="tool-route"><span className="tool-row-method" data-method="POST">POST</span><code>{"https://api.firecrawl.dev/v2/search/{jobId}/feedback"}</code></div>

```python firecrawl_search_feedback.py theme={null}
from charter.packs import firecrawl

result = await firecrawl.search_feedback.ainvoke({"jobId": ..., "rating": ...})
```

## Path parameters

<div className="reference-table">
  | Field                                                         | Type     | Description                        |
  | ------------------------------------------------------------- | -------- | ---------------------------------- |
  | `jobId` <span className="required" title="required">\*</span> | `string` | Search job id returned by /search. |
</div>

## Body

<div className="reference-table">
  | Field                                                          | Type                                                                        | Description                                                                                         |
  | -------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
  | `rating` <span className="required" title="required">\*</span> | `"good" \| "partial" \| "bad"`                                              | Overall rating for the search results.                                                              |
  | `valuableSources`                                              | [ValuableSource](/charter/charter/packs/firecrawl/search/objects#valuablesource)\[] | Sources that were especially useful. <span className="field-constraints">max 50 items</span>        |
  | `missingContent`                                               | [MissingContent](/charter/charter/packs/firecrawl/search/objects#missingcontent)\[] | Topics or content missing from the results. <span className="field-constraints">max 20 items</span> |
  | `querySuggestions`                                             | `string`                                                                    | Suggested alternative queries. <span className="field-constraints">max length 2000</span>           |
  | `origin`                                                       | `string`                                                                    | Origin label for the feedback. The server applies 'api' when this is absent.                        |
  | `integration`                                                  | `string`                                                                    | Optional integration identifier.                                                                    |
</div>
