Asynchronous mode
An API call that includes themode=async key-value pair will be satisfied asynchronously:
View AI example
View AI example
View browser example
View browser example
View AI example
View AI example
View browser example
View browser example
retrieving status indicates that the search, conversation, or request is in progress:
failed status indicates that the search, conversation, or request was unsuccessful and the call
should be retried:
| Key | Required | Value |
|---|---|---|
mode | ⬜ | The synchronous or asynchronous mode of content retrieval, sync or async; sync is the default mode |
id | ⬜ | The identifier provided by the search, AI, or browser endpoints of an asynchronous job to retrieve |
| Key | Value |
|---|---|
id | The identifier to retrieve an asynchronous job with |
status | The status of an asynchronous job, retrieving or failed |