Run result
get_run_resultFetch a Riveter run's result by ID, with optional long-polling up to 50 seconds to wait for completion and retrieve output once available.
Instructions
run result
The run plus output, null until the run finishes.
Pass ?wait=N (max 50) to long-poll: the request holds until the run finishes or the budget elapses, whichever comes first.
Output shape by run type
enrichment — an object mapping column headers to arrays of cell objects:
{ "Company": [{"value": "Apple"}], "CEO": [{"value": "Tim Cook"}] }dataset_build — the same columnar shape as enrichment
extraction — the extracted records as an array of JSON objects (matching your
output_record_json_schema)quick_search — the search result object
{ "results": [{ "title", "link", "snippet" }, ...], "knowledge_graph"? }, the same data the synchronousPOST /quick_searchresponse already carried. (Runs started on the legacy async/web_searchendpoint share this run type but return the columnar enrichment shape with asearch_resultscolumn.)search_agent — the answer object
{ "result": <string or object> };resultmatches the request'soutput_schemawhen one was given, otherwise it's free text.enrichment on a dataset (
POST /enrichwithdataset_id) —{ "rows": [...] }: only the rows the fill ran, in position order, each in the/datasets/{id}/rowsshape (id,position,input,cellslimited to the columns the fill covered,credits).GET /datasets/{id}/rowsis the live view. Above 5,000 rows, or after the rows expire (30 days),outputisnullandoutput_files(signed CSV and JSONL links to the whole grid;pendinguntil the export lands, valid one hour, seeexpires_at) are the output.enrichment started on
POST /enrich_rows, or onPOST /enrichwithinput— the columnar shape while rows are ≤ 5,000, plus the sameoutput_files. Above 5,000 rows, or after the rows expire (30 days),outputisnulland the files are the output.
Workflow: output is null until the run finishes. Pass wait (seconds, max 50) to long-poll instead of sleeping between calls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The run id (run_...) | |
| wait | No | Long-poll budget in seconds (0–50, default 0) |