Skip to main content
POST
Oxylabs LLM (Push-Pull async) submit

授权

Authorization
string
header
必填

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

请求头

Idempotency-Key
string
必填

Trimmed UTF-8 length must be 1 through 191 bytes.

Pattern: \S
X-AISA-Max-Price-USD
string

Optional maximum customer authorization in USD, validated by the runtime price parser.

X-AISA-Cost-Mode
enum<string>

Return a read-only cost quote instead of submitting a job.

可用选项:
quote

请求体

application/json
prompt
string
必填

Non-empty after trimming. The trimmed UTF-8 byte limit is selected by source; this is a byte limit, not a JSON Schema character limit.

Pattern: \S
source
string
必填

Supported LLM source; surrounding whitespace is accepted by the runtime validator.

Pattern: ^\s*(chatgpt|gemini|perplexity)\s*$
context
any
geo_location
string | null
locale
string | null
parse
boolean | null
render
string | null
user_agent_type
string | null

响应

Read-only cost quote when X-AISA-Cost-Mode is quote; no job is created.

currency
string | null
必填
estimate_kind
string | null
必填
estimated_at
string<date-time> | null
必填
estimated_cost_micros_usd
integer | null
必填
may_exceed_estimate
boolean | null
必填
object
string | null
必填
max_cost_micros_usd
integer | null
metadata
object | null
pricing_version
string | null