← Back to Perplexity
List Async Chat Completions
Lists all asynchronous chat completion requests for the authenticated user.
Perplexity·$0.01 per call
Example code
// Using @orth/sdk - The simplest way to call APIs
// Install: npm install @orth/sdk
import Orthogonal from "@orth/sdk";
const orthogonal = new Orthogonal({
apiKey: process.env.ORTHOGONAL_API_KEY,
});
const output = await orthogonal.run({
api: "perplexity",
path: "/async/chat/completions"
});
console.log(output);Query parameters
limit
integer
Maximum number of requests to return.
next_token
string
Token for fetching the next page of results. Ensure this token is URL-encoded when passed as a query parameter.