Skip to main content
POST
Extract

Authorizations

Authorization
string
header
required

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

Body

application/json

A extract request.

urls
string[]
required

The URLs to fetch, as absolute http(s) URLs, in the order the documents come back: at most 20 different ones. A URL asked for again, also with or without a trailing slash on its path, is fetched once, as first given.

Required array length: 1 - 20 elements
Minimum string length: 1
Pattern: ^[Hh][Tt][Tt][Pp][Ss]?://\S+$
Example:
format
enum<string> | null

Which representation of each page to return. Unset is markdown wherever the provider has it.

Available options:
markdown,
html,
text
optimized_for
enum<string> | null

What to favour: speed, cost or coverage. Unset or empty is balanced.

Available options:
speed,
cost,
coverage,
balanced

Response

Successful Response

meta
ToolMeta · object
required

The tool that ran.

result
ExtractResponse · object
required

The extract's own answer.