Artificial Intelligence

Perplexity AI

Perplexity AI provides conversational AI models for generating human-like text responses

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Download Agent Response File

    Download a file delivered by an Agent response's share_file tool. Use the response ID and a file ID obtained from its file list. Returns a downloadable file rather than JSON-decoded or text-decoded provider bytes.

  • Evaluate Decisions

    Evaluate named yes/no, choice, and score questions against shared content. Returns typed answers, probabilities, confidence where applicable, and token usage. The state plus any single question must fit within 256K input tokens; the complete body must be under 32 MiB. This is a non-streaming operation.

  • Get Agent Response

    Retrieve a stored Agent response as a JSON snapshot (GET /v1/agent/{id}). Poll this action for background responses until their status is terminal. Only responses created with store omitted or true can be retrieved. An unknown ID, a response owned by another account, or store=false produces HTTP 404.

  • Get Async Chat Completion

    Get Async Chat Completion (GET /v1/async/sonar/{id}). Retrieves the result of an asynchronous chat completion request by its ID. Use this to poll for the result after creating an async job. The response includes the status and, when completed, the full completion.

  • Get Member Usage Analytics

    Get organization Perplexity usage per member in daily UTC buckets. Requires a separate organization analytics API key (the same key as the v1 analytics API), not a standard inference API key. The Analytics API must be enabled for the organization. credit_usage includes Model and Credit Source; query_volume includes Feature, Project and Comet. Only complete UTC days are returned, never the in-progress day. Recent days may be absent while the analytics store syncs. Follow next_page with the same query to retrieve more member rows; the requested window may span at most 90 days.

  • Get Orchestrator Model

    Retrieve one Orchestrator model by its full provider/model id. Returns model metadata and base input, output, and available cache token prices. A model unavailable on the Orchestrator API returns HTTP 404.

  • Get Skill

    Get a skill's metadata by identifier, optionally at a specific revision. Without revision, returns the active revision. The returned latest_revision identifies the current latest revision even when an older revision is requested.

  • Get Skill Download URL

    Get a short-lived URL to download a skill bundle as a ZIP, optionally for a specific revision; omit the revision to select the active revision. The response may also include revision and name metadata, and the bundle is not fetched.

  • Get Usage Analytics

    Get an organization's Perplexity Computer usage as a bucketed time series. Requires a separate organization analytics API key, generated by an org admin in Perplexity Settings → Organization → Computer, rather than a standard API inference key. Supply that key through the existing API-key authentication. Only complete UTC-grid buckets are returned; the in-progress bucket is omitted. Counts represent credits for credit_usage, queries for query_volume, distinct active members for daily_active_users, and threads for other datasets. Daily active-user counts are not additive across days. Analytics must be enabled for the organization (otherwise HTTP 404); rate limits apply across its keys.

  • List Agent Response Files

    List files an agent response delivered from its sandbox using share_file. Only the authenticated account's files are visible. Returns file metadata, not inline content; use the file content endpoint to download a file. An unknown response id or one owned by another account returns HTTP 404.

  • List Async Chat Completions

    List a page of legacy asynchronous Sonar chat completion requests for the authenticated user, including their statuses. The response may include a next-page token, but this action does not accept one.

  • List Models

    List Models (GET /v1/models). Lists models available for the Agent API. Returns model identifiers that can be used with the Agent endpoint. The response follows the OpenAI List Models format for compatibility. This is a public endpoint that does not require authentication.

  • List Orchestrator Models

    List available Orchestrator API models sorted by id, with base token prices. Requires a Perplexity API key. Prices are in USD per 1M tokens and include input, output, and available cache-write and effective cached-input rates. Use the returned full model ids with the Orchestrator API.

  • List Skill Revisions

    List a skill's revisions, newest first. Supply a skill identifier returned by create or List Skills. Returns revision tokens and available name and creation metadata. Pass next_page_token as page_token to retrieve another page.

  • List Skills

    List skills in the authenticated Project, newest first. Returns skill identifiers and available name, revision, and timestamp metadata. To retrieve another page, pass the returned next_page_token as page_token.

  • Perplexity Search (Raw Results)

    Search the Web (POST /search). Returns raw, ranked web search results directly from Perplexity's index without LLM processing. Faster and cheaper than chat completions when you need raw results. Supports filtering by domain, date, language, country, and recency. Max 20 results per request. Important: search_recency_filter and date filters (search_after_date_filter, search_before_date_filter, last_updated_after_filter, last_updated_before_filter) are mutually exclusive. Use one or the other, not both.