gateway

POST /

Request

Query parameters

asyncboolean

Queue the scrape and return a task ID immediately

betaboolean

Set false to use the legacy browser engine instead of the sync scraper; alternatively set beta: false in the JSON body

maxAgeinteger

Shared result cache, in milliseconds (also a top-level JSON body field on POST). 0 or absent: always scrape. N: answer from the latest cached scrape if it is at most N ms old (max 7 days), otherwise scrape and refresh it for everyone (X-Cache: HIT/MISS/BYPASS, Age). Billed like an uncached scrape

Request body

actionstring
agentstring
domainstring
promptstring
streamboolean
task_detailsobject
token_usageinteger
urlstring

Example request

{
  "action": "job_search",
  "agent": "general",
  "domain": "example.com",
  "prompt": "get all property details",
  "token_usage": 42,
  "url": "https://example.com"
}

Response

OK

object required

Changes

No recorded changes to this operation across all 1 revision of this API.