Perplexity Jobs
perplexity_jobsManage research runs started by perplexity_research: list jobs, check status, retrieve results, or cancel. Poll periodically; does not wait for completion.
Instructions
Manage research runs started by perplexity_research. Actions: list (newest first), status (one fetch of a running job, with progress), result (the stored answer, sources and cost of a finished job) and cancel (stops a running job for good). Nothing here waits for a run to progress: call again later.
status, result and cancel fetch a job that is not finished at most once and then store what it shows; a finished job is served from the local database with no request. The first call that sees a run finished attempts to record its cost as spend, once: list with refresh true settles up to 10 running jobs, and a run nobody observes is never recorded. A run the provider no longer knows becomes lost after a second not-found at least 10 minutes after submit, and its spend cannot be recorded. Actions never create a project: list in an absent project is empty, the others fail with not_found. Details: call perplexity_help.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | list: jobs to return, 1 to 100 (default 20) | |
| action | Yes | list, status, result or cancel | |
| job_id | No | status, result, cancel: the job from perplexity_research | |
| project | No | Project the job belongs to (default: default) | |
| refresh | No | list: first observe the project's running jobs (up to 10, the least recently checked first) so finished runs are recorded as spend |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | No | The job's stored record | |
| jobs | No | Jobs found (list only) | |
| usage | No | result: tokens and cost of a finished run | |
| action | Yes | The action that ran | |
| answer | No | result: the stored answer text | |
| job_id | No | The job the action concerns; null for list | |
| status | No | The state the action reports (null for list): queued, in_progress, completed, failed, incomplete, cancelled, lost, cancelling (cancel only, never stored) or an unknown API status verbatim | |
| message | No | What the result means or to do next | |
| project | Yes | The project the action ran in | |
| sources | No | result: pages the run touched | |
| progress | No | Steps shown by the snapshot this call fetched | |
| warnings | No | Things worth knowing about this result | |
| truncated | No | Whether limit cut the list | |
| jobs_total | No | All jobs in the project (list) | |
| not_refreshed | No | list with refresh: running jobs not refreshed (beyond 10, or failed) |