Show off your agentic readiness — the badge auto-updates when your score changes.
llms.txt Content
# Perplexity
## Docs
- [Create Agent Response](https://docs.perplexity.ai/api-reference/agent-post.md): Generate a response for the provided input with optional web search and reasoning.
- [Get Async Chat Completion](https://docs.perplexity.ai/api-reference/async-sonar-api-request-get.md): Retrieve the response for a given asynchronous chat completion request.
- [List Async Chat Completions](https://docs.perplexity.ai/api-reference/async-sonar-get.md): Retrieve a list of all asynchronous chat completion requests for a given user.
- [Create Async Chat Completion](https://docs.perplexity.ai/api-reference/async-sonar-post.md): Submit an asynchronous chat completion request.
- [Create Contextualized Embeddings](https://docs.perplexity.ai/api-reference/contextualized-embeddings-post.md): Generate contextualized embeddings for document chunks. Chunks from the same document share context awareness, improving retrieval quality for document-based applications.
- [Create Embeddings](https://docs.perplexity.ai/api-reference/embeddings-post.md): Generate embeddings for a list of texts. Use these embeddings for semantic search, clustering, and other machine learning applications.
- [Generate Auth Token](https://docs.perplexity.ai/api-reference/generate-auth-token-post.md): Generates a new authentication token for API access.
- [List Models](https://docs.perplexity.ai/api-reference/models-get.md): List the models available for the Agent API. Returns model identifiers that can be used with the `POST /v1/agent` endpoint. The response follows the OpenAI List Models format for compatibility with third-party tools.
- [Revoke Auth Token](https://docs.perplexity.ai/api-reference/revoke-auth-token-post.md): Revokes an existing authentication token.
- [Search the Web](https://docs.perplexity.ai/api-reference/search-post.md): Search the web and retrieve relevant web page contents.
- [Create Chat Completion](https://docs.perplexity.ai/api-reference/sonar-post.md): Generate a chat completi
OpenAPI Spec (preview)
{
"openapi": "3.1.0",
"info": {
"title": "Perplexity AI API",
"description": "Perplexity AI API",
"version": "1.0.0"
},
"servers": [
{
"url": "https://api.perplexity.ai",
"description": "Perplexity AI API"
}
],
"paths": {
"/v1/sonar": {
"post": {
"summary": "Create Chat Completion",
"description": "Generate a chat completion response for the given conversation.",
"operationId": "chat_completions_chat_completions_post",