Skip to main content
POST
extract

Request contract

  • Method and path: POST /apis/v1/parallel/extract
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/parallel/extract
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Charged for the actual billable results. Default request estimate: $0.02 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

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

Body

application/json

Extract request.

urls
string[]
required

URLs to extract content from. Up to 20 URLs.

advanced_settings
AdvancedExtractSettings · object | null

Advanced configuration for fetch policy, excerpt settings, and full content settings. May impact result quality and latency unless used carefully. When omitted, excerpts are enabled and full content is disabled by default.

client_model
string | null

The model generating this request and consuming the results. Enables optimizations and tailors default settings for the model's capabilities.

Example:

"claude-opus-4-7"

max_chars_total
integer | null

Upper bound on total characters across excerpts from all extracted results.

objective
string | null

As in SearchRequest, a natural-language description of the underlying question or goal driving the request. Used together with search_queries to focus excerpts on the most relevant content.

search_queries
string[] | null

Optional keyword search queries, as in SearchRequest. Used together with objective to focus excerpts on the most relevant content.

session_id
string | null

Session identifier to track calls across separate search and extract calls, to be used as part of a larger task. Specifying it may give better contextual results for subsequent API calls.

Maximum string length: 1000

Response

Successful Response

Extract response.

errors
ExtractError · object[]
required

Extract errors: requested URLs not in the results.

extract_id
string
required

Extract request ID, e.g. extract_cad0a6d2dec046bd95ae900527d880e7

results
V1ExtractResult · object[]
required

Successful extract results.

session_id
string
required

Session identifier. Echoed back from the request if provided, otherwise generated by the server. Should be passed to future search and extract calls made by the agent as part of the same larger task.

Example:

"session_8a911eb27c7a4afaa20d0d9dc98d07c0"

usage
UsageItem · object[] | null

Usage metrics for the extract request.

warnings
Warning · object[] | null

Warnings for the extract request, if any.