﻿# Perplexity app and API: separate the user workflow from integration

Distinguish the Perplexity consumer app from its developer APIs, including access, current API families, source outputs, and migration from older Sonar examples.

Author: Retrivium editorial team
Updated: 2026-11-03
Canonical URL: https://retrivium.ai/journal/guide-perplexity-consumer-api-separation/
Language: en

A team can successfully research a question in the Perplexity application and still need a separate design for adding search to its own software. The application provides a human-facing workflow. The developer platform provides programmatic contracts that determine what a request returns and which parts of the research process the application must own.

## Start with the intended consumer

The [consumer introduction](https://www.perplexity.ai/help-center/en/articles/10352155-what-is-perplexity) describes conversational answers supported by web sources. That can fit a person investigating a topic and refining questions interactively. An integration has additional requirements: predictable structures, request authentication, source attribution, error handling, and an explicit way to continue or finish work. A useful app demonstration does not validate those integration requirements.

## Separate access and accounting

The [API quickstart](https://docs.perplexity.ai/docs/getting-started/quickstart) describes API keys and pay-as-you-go API usage without requiring a consumer subscription. Treat the two access surfaces separately when explaining setup. Do not assume an application plan supplies the credentials, limits, or usage accounting needed by a server. Likewise, the existence of an API key says nothing about which consumer interface controls are visible in a particular account.

## Choose the returned artifact

Current documentation distinguishes Search, Agent, Orchestrator, Embeddings, and Decisions APIs. The useful choice begins with the artifact: ranked web evidence, a grounded generated answer, model access, vectors, or a bounded typed decision. Search evidence can feed an existing model; a generated answer moves more synthesis into the service. Neither choice is universally better. They place application responsibility at different boundaries.

## Do not transplant app terminology blindly

A consumer mode, a project, and a developer request are not interchangeable resources. A project's instructions or files should not be assumed to accompany an unrelated API request. Specify how context enters the integration and how the returned evidence reaches the user. If the design needs persistent state, check the relevant API's documented state mechanism rather than relying on what the chat application remembers.

## Recheck older Sonar examples

Legacy tutorials often center on Sonar Chat Completions. The current [Sonar migration guide](https://docs.perplexity.ai/docs/agent-api/migrate-from-sonar/how-to) maps the move to the Agent API, including request and response differences. A migration should compare the evidence and continuation behavior the application actually relies on. Replacing a base address while keeping old assumptions about fields and parameters can produce a superficially connected but incorrectly interpreted integration.

## Validate without inventing availability

Documentation review can establish a design and a small set of contract checks; it does not prove that an untested account has every advertised capability. The article on [provider response normalization](/journal/learn-openrouter-response-contract/) explains why interface compatibility needs field-level attention. The guide to [deprecation and contract migration](/journal/provider-api-contract-deprecation-migration/) provides the related process for preserving consumers while an integration changes. Record the exact interface checked before making a live compatibility claim.
