Skip to main content

Perform a search in Perplexity

Perform a search in Perplexity.

Application

  • Perplexity

Inputs (what you have)

NameDescriptionData TypeRequired?Example
Search questionQuestions you would like to search within Perplexity. Example: Who own’s Wrk Technolgies?Text (Long)YesWho own’s Wrk Technolgies
Search domain filtersA JSON array of domains to limit search results to. You can enter up to 10 domains to either allow or deny. To deny a domain add a - at the beginning of the domain string. Example: ["wrk.com"]Text (Long)No["wrk.com", "-example.com"]
Search context sizeDetermines how much search context is retrieved for the modelPredefined Choice ListNoLow
Search recencyFilters search results based on timePredefined Choice ListNoWeek
User location latitudeThe latitude of the location the search will come from. Example: 45.509060Number with decimalsNo45.50906
User location longitudeThe longitude of the location the search will come from. Example: -73.553360Number with decimalsNo-73.55336
User location countryThe two letter ISO country code of the location the search will come from. Example: CAText (Short)NoCA
Return images?Return a JSON array of image links associated with the search questionTrue/FalseNo
Return related questions?Return a JSON array of related questions associated with the search questionTrue/FalseNo
JSON response schemaA JSON schema to format the response in. Example: {"type":"object","properties":{"name":{"type":"string"}},"required":["name"]}Text (Long)No{"type":"object","properties":{"name":{"type":"string"}},"required":["name"]}

Outputs (what you get)

NameDescriptionData TypeRequired?Example
Search responseResponse from the AI model regarding the search queryText (Long)NoThe owners are Wrk Technologies are..
CitationsJSON array of URLs related to the citations in the search responseText (Long)No[“https://wrk.com”]
Related images JSONJSON array of image links associated with the search questionText (Long)No[{"image_url":"https://oxfamilibrary.openrepository.com/bitstream/10546/111960/5/background-research-paper-predicted-climate-change-impacts-greatest-relevance-oxfam-250810-en.pdf.jpg","origin_url":"Background Research Paper on the Predicted Climate Change Impacts of Greatest Relevance to Oxfam - Oxfam Policy & Practice ","height":516,"width":365}]
Related questions JSONJSON array of related questions associated with the search questionText (Long)No["What are the key findings from the latest IPCC report"]

Outcomes

NameDescription
SuccessThis status is selected if the job has successfully completed.

Requirements

  • N/A