POST
Try in Playground/v1/raw_searchRequest Body
application/json| Field | Type | Required | Description |
|---|---|---|---|
query | string | Required | The search query to run against the web. |
format | "markdown" | "json" | Optional | Output format for search results. Defaults to `markdown`. |
use_safeguard | boolean | Optional | Enable prompt-injection detection on search results. |
Response
Successful response payload from the OpenAPI schema.
| Field | Type | Required | Description |
|---|---|---|---|
result | string | { title: string; url: string; content: string }[] | Required | By format: markdown: Search results markdown | json: Search results list. |
unsafe | boolean | Optional | True when safeguard marks content as unsafe. |
Pricing
Base cost: 1 credit • With safeguard: 2 credits