Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
---
title: "Perplexity AI authentication"
description: "Current API-key setup for the Perplexity AI toolkit."
keywords: ["for-you","perplexityai","platform","authentication","errors-and-troubleshooting","toolkits-and-providers"]
sources: [{"sourcePath":"toolkits/perplexityai/public.md","sourceHeading":"Perplexity AI uses the `generic_api_key` connection field"}]
lastVerifiedAt: "2026-08-17"
reviewAfter: "2026-11-15"
freshness: "evergreen"
topics: ["authentication","errors-and-troubleshooting","toolkits-and-providers"]
toolkitSlugs: ["perplexityai"]
aliases: []
---
## Perplexity AI uses the `generic_api_key` connection field
The current `perplexityai` toolkit uses API-key authentication. Create the key
in Perplexity's console and provide it as `generic_api_key` during connection
initiation. The key is shown once by the provider, so store it in the
customer's secret manager and never send it to support.
If a first-party Perplexity tool succeeds but an equivalent Proxy Execute call
returns 401 with the same connection, collect both Log IDs and the redacted
request path. That comparison distinguishes a proxy auth-injection problem from
an invalid provider key without asking the customer to rotate a working key.