POST
Try in Playground/v1/extractRequest Body
application/json| Field | Type | Required | Description |
|---|---|---|---|
url | string | Required | The URL to fetch and extract relevant chunks from. |
query | string | Required | What information to extract from the page content. |
format | "markdown" | "json" | Optional | Output format for extracted chunks. Defaults to `markdown`. |
use_safeguard | boolean | Optional | Enable prompt-injection detection on selected extracted content. |
Response
Successful response payload from the OpenAPI schema.
| Field | Type | Required | Description |
|---|---|---|---|
result | string | string[] | Required | By format: markdown: Relevant chunks markdown | json: Relevant chunks array. |
unsafe | boolean | Optional | True when safeguard marks content as unsafe. |
Pricing
Base cost: 1 credit • With safeguard: 2 credits