Create Agent Response
Creates an agent response in Perplexity.
POST
Query
Field selectionChoose which fields should be included in the response. Learn more
string
Comma-separated response fields to include.
Body
Arguments
stringrequired
Input content. Perplexity also accepts array-form input items; this action currently models the common string input path.
Uncommon arguments
string
System instructions for the model.
string
Model ID in provider/model format.
string
Preset configuration name such as fast-search or pro-search.
number
Maximum tokens to generate.
number
Maximum research loop steps.
boolean
When true, returns SSE events instead of JSON.
string
ISO 639-1 language code for the preferred response language.