Perplexity AI integration
Perplexity AI provides conversational AI models for generating human-like text…
- Provider
- perplexityai
- Category
- Other
- Setup
- User-supplied API key
- Actions
- 9 available
Quick start
Call Perplexity AI from your generated app's worker code via the OverSkill composio client. The toolkit slug below maps to Perplexity AI's public Composio identifier — your app references it by name and OverSkill handles the OAuth round-trip.
// In your generated app's worker handler:
const composio = composioClient(env);
const result = await composio.execute(
"PERPLEXITYAI_ACTION_NAME",
{ /* action parameters — see Actions section below */ }
);
return new Response(JSON.stringify(result), {
headers: { "Content-Type": "application/json" }
});
Replace ACTION_NAME with one of the slugs listed in
the Actions section below. The composio client handles auth +
rate limits automatically — no API key is exposed to user code.
Setup
End-users supply their own Perplexity AI API key. OverSkill provides a pre-built connection form via the integration card — your app can call the composio client immediately once the user has connected.
Available actions
9 actions exposed via the
Perplexity AI integration. Each maps to a callable
slug — pass it to composio.execute(...) in your
worker code.
-
PERPLEXITYAI_CREATE_ASYNC_CHAT_COMPLETION -
PERPLEXITYAI_CREATE_CHAT_COMPLETION -
PERPLEXITYAI_CREATE_CONTEXTUALIZED_EMBEDDINGS -
PERPLEXITYAI_CREATE_EMBEDDINGS -
PERPLEXITYAI_EXECUTE_AGENT -
PERPLEXITYAI_GET_ASYNC_CHAT_COMPLETION -
PERPLEXITYAI_LIST_ASYNC_CHAT_COMPLETIONS -
PERPLEXITYAI_LIST_MODELS -
PERPLEXITYAI_SEARCH
Build with Perplexity AI
Open OverSkill, describe what you want to build, and reference Perplexity AI in your prompt — the AI will wire up the integration automatically.