Skip to content

Parameters

parameters

Parameter Models for Scrape.do's ChatGPT Plugin Endpoint

Defines the pydantic model containing the parameters accepted by the Scrape.do ChatGPT Scraper API endpoint

Model Definitions

Model structure comes from the Official Documentation Page and the Async API Plugins overview

ChatGPTChatParameters

Bases: BaseModel

Input parameters accepted by the chatgpt/chat endpoint

Driver
  • q is the search/prompt query (max 1024 characters)
Async-Documented Extras
  • model, geoCode, and raw_sse are listed only in the Async API Plugins overview, not the per-endpoint sync docs

  • They are exposed here so callers can opt into them on either surface

Attributes:

Name Type Description
q str

Chat prompt / query (max 1024 characters)

model Optional[str]

ChatGPT model identifier (async-documented; e.g. gpt-4o-mini)

geoCode Optional[str]

Country code for geo-targeting (async-documented)

raw_sse Optional[Literal[0, 1]]

Include raw Server-Sent-Events payload when set to 1 (async-documented)