Get Task Results
get_task_resultsRetrieve one page of documents and current extraction data for a Suparse task, including while processing; use cursor to paginate and refresh later.
Instructions
Inspect one page of documents already available for an extraction task_id, including while processing. Each documents[].id is a document ID usable by fetch_document_result, fetch_json_results, or download_results; extraction_data contains that document's current data. Pass next_cursor as cursor with the same task_id to get the next page. next_cursor null ends this snapshot, not task processing; use wait_for_task_extraction to determine completion. To refresh later, omit cursor and deduplicate by document ID. This returns a page, not a complete export.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum documents in this page: 1 to 100, default 25. | |
| cursor | No | Opaque next_cursor from a previous page of this task. Omit or pass null to start a fresh snapshot; never construct a cursor. | |
| api_url | No | ||
| task_id | Yes | Remote Suparse task ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| documents | Yes | ||
| next_cursor | Yes |