Perplexity
Answers with web search, search results and embeddings
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- API key (pplx-…)SecretRequired
Where to find them
- At console.perplexity.ai, in the “API Keys” section, generate a new key.
- Copy it. It is pay-per-use: add a payment method or credit in the console's billing section.
Tools (1)
Perplexity API request
PERPLEXITY_SEND_REQUESTAuthenticated call to the Perplexity API (https://api.perplexity.ai). Any endpoint of the API is allowed. Examples: POST /v1/agent {"preset": "fast", "input": "…"} (answers by searching the web; presets fast, low, medium, high and xhigh; the text is in output[].content[] of type output_text, with the sources in annotations), POST /search {"query": "…", "max_results": 5} (web results), POST /v1/embeddings {"model": "pplx-embed-v1-0.6b", "input": ["…"]}, GET /v1/models, POST /router/v1/chat/completions {model, messages} (OpenAI format).
Required scopes
No scopes required
Input
Perplexity API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

