Ask Perplexity
Input
question requiredThe question to ask, sent as the first message of a new thread.
Output
answer requiredThe answer as rendered, with its paragraphs, lists and tables flattened to text in reading order. Inline citation chips read as the publisher name Perplexity shows, e.g. 'coursera +2'.
sources requiredEvery page the search returned, cited or not - the candidate pool, in the order the Links view lists it. `sources` minus `citations` is what Perplexity retrieved and then passed over; a URL in neither was never retrieved. Empty when the answer searched nothing.
question requiredcitations requiredThe sources cited inline by the answer, in the order they appear, deduplicated by URL. A subset of `sources` whenever the answer searched.
threadUrl requiredURL of the thread the answer was written into, so the run can be audited afterwards.
answerChars requiredresearchSteps requiredPerplexity's own description of each step of its research plan, in order, e.g. 'Searching for fermentation differences'. These are written for the reader in the interface language, not the raw queries the search issued - Perplexity does not expose those. Empty when the answer was written without a research plan.
