Skip to main content
Perplexity

Search documentation

Type to search this documentation.

List Async Chat Completions

GET/v1/async/sonarList Async Chat Completions

Retrieve a list of all asynchronous chat completion requests for a given user.

Responses

200Successful Responseapplication/json
objectListAsyncApiChatCompletionsResponse

ListAsyncApiChatCompletionsResponse

next_tokenvalue
Show child attributes
anyOf · 2 options
Option 1string
Option 2nullnullable
requestsarray of objectrequired
Show child attributes
Show array items
completed_atvalue
Show child attributes
anyOf · 2 options
Option 1integer
Option 2nullnullable
created_atintegerrequired
failed_atvalue
Show child attributes
anyOf · 2 options
Option 1integer
Option 2nullnullable
idstringrequired
modelstringrequired
started_atvalue
Show child attributes
anyOf · 2 options
Option 1integer
Option 2nullnullable
statusstringrequired

Status enum for async processing.

one of "CREATED", "IN_PROGRESS", "COMPLETED", "FAILED"

Example response
{
  "next_token": null,
  "requests": [
    {
      "completed_at": 0,
      "created_at": 0,
      "failed_at": 0,
      "id": "string",
      "model": "string",
      "started_at": 0,
      "status": "COMPLETED"
    }
  ]
}
422Validation Errorapplication/json
objectHTTPValidationError

HTTPValidationError

detailarray of object
Show child attributes
Show array items
locarray of valuerequired
Show child attributes
Show array items
anyOf · 2 options
Option 1string
Option 2integer
msgstringrequired
typestringrequired
Example response
{
  "detail": [
    {
      "loc": [
        0
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}
Documentation menu