Skip to content
Toolwire

Perplexity

Answers with web search, search results and embeddings

AI and machine learningCatalog1 tool · 0 triggers

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

    1. At console.perplexity.ai, in the “API Keys” section, generate a new key.
    2. Copy it. It is pay-per-use: add a payment method or credit in the console's billing section.

    Get credentials (opens in a new tab)

Tools (1)

  • Perplexity API requestPERPLEXITY_SEND_REQUEST

    Authenticated 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
    NameTypeDescription
    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.