Check a crawl
writ_crawl_statusCheck a crawl's progress and pull its collected rows inline by id. Set wait=true to hold one call until it finishes instead of polling in a loop.
Instructions
Status of a crawl by id — page counts, status, the dataset workflow id. With wait=true it is ONE held call (≤75s) that returns when the crawl converges, WITH the collected rows inline (data, shaped by output): the answer to a crawl tool's 504 / crawl-id handle. Never poll this in a loop — pass wait=true and, if it is still running at the ceiling, call it once more the same way.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Hold until the crawl is terminal and inline its rows (default false). | |
| limit | No | Rows to inline when it converged (default 50). | |
| output | No | RESPONSE SHAPE — set this whenever the answer is for a program or an API you are building, not for you to read. {shape: 'envelope' (default: Writ's full answer, projected) | 'table' ({columns, rows, total}) | 'records' (bare list of records) | 'record' (the newest record alone — one entity, a usage meter, a dashboard), fields: ['used', 'percent_used as pct', 'items.0.price as first_price'] (ordered pick, renames, dotted paths; missing → null so keys are stable), exclude: ['depth'], include_meta: false (page metadata content_kind/depth/thumbnails are STRIPPED unless true), key: 'usage' (wrap)}. On writ_crawl_site with save_as it is SAVED as the API's default shape. | |
| crawl_id | Yes | Crawl id from writ_crawl_site. | |
| preview_chars | No | Cut inline text cells to this many chars (default 12000; 0 = full). | |
| timeout_seconds | No | Ceiling for wait=true (≤75). |