run_data
/run_dataLegacy. Use GET /runs/{id}/result for new work.
Retrieve the processed data from a completed run.
Quick Example
curl -X GET "https://api.riveterhq.com/v1/run_data?run_key=YOUR_RUN_KEY" \
-H "Authorization: Bearer YOUR_API_KEY"The run key comes from the endpoint that started the run — e.g. /run_enrichment or /run_extraction. The shape of formatted_data depends on the run type — see the response schema variants.
Query parameters
run_keystringrequiredThe run key (UUID) of the run to retrieve data for
Responses
200Run data retrieved successfully
EnrichmentDataResponse model →
request_statusstringrequiredStatus of the request
messagestringrequiredHuman-readable message
run_keystringrequiredUnique identifier for this run
formatted_dataone ofrequiredColumnar results. May be
nullwhile the run is stillprocessing(large runs); poll/run_statusand read the data once the run issuccessorstopped.Attributes
One ofEnrichmentFormattedData model →
valuestring | object | array | number | booleanrequirednullableCell result. Plain columns return text; columns configured with format "json" return the parsed JSON value (object or array). Cells not yet processed mid-run can be null.
- null
Legacy nested status object on /run_data (clients read status.status). Its key set varies by run type — prefer the top-level run_status object (RunStatusObject), which has a fixed shape everywhere.
Attributes
statusstringrequiredCurrent status of the run
credits_usednumberrequiredNumber of credits consumed by this run
total_cells_expectedintegerrequiredTotal number of cells that need to be processed (rows × columns)
completed_cellsintegerrequiredNumber of cells successfully completed
not_found_cellsintegernullableNumber of cells with 'not found' results. Null while a run over 5,000 rows is still in progress; final once the run finishes.
chunks_processedintegernullableNumber of input chunks finished so far; null until processing starts.
project_namestringrequiredName of the enrichment (also available as enrichment_name)
project_uuidstring uuidrequiredUUID of the enrichment (also available as enrichment_uuid)
enrichment_namestringName of the enrichment
enrichment_uuidstring uuidUUID of the enrichment
error_messagestringnullableError message if an error occurred
riveter_app_linkstringrequiredDirect link to view this run in the Riveter application
Stable nested status object. The SAME key set is returned for every run type (enrichment, big run, list build, extraction, scrape, search) and on every surface — /run_status, /run_data, /monitor_recent_run_data, run kickoff responses, and webhook payloads. Keys a run type can't provide are null rather than omitted.
Attributes
run_keystringrequiredrun_typestringrequirede.g. external_api, dataset_build, extraction_plan_run, scrape_only, search_only
statusstringrequirederror_messagestringrequirednullablecredits_usednumberrequiredCredits consumed, including fractional credits
total_cells_expectedintegerrequirednullablecompleted_cellsintegerrequirednullablenot_found_cellsintegerrequirednullableenrichment_uuidstring uuidrequirednullableenrichment_namestringrequirednullableriveter_app_linkstringrequirednullablestarted_atstring date-timerequirednullablefinished_atstring date-timerequirednullablecompletion_estimateobjectrequiredAttributes
percent_completestringnullablee.g. "42.5%"
estimated_seconds_remainingnumbernullableelapsed_secondsnumbernullableExtractionRunDataResponse model →
request_statusstringrequiredmessagestringrun_keystringrequiredformatted_dataarray of objectrequirednullableArray of record objects matching the plan's output_record_json_schema. Records can contain nested objects and arrays. null until the run is terminal and has produced records.
statusobjectrequiredRun status details — same fields as ExtractionRunStatusResponse, minus request_status/message/run_key
Stable nested status object. The SAME key set is returned for every run type (enrichment, big run, list build, extraction, scrape, search) and on every surface — /run_status, /run_data, /monitor_recent_run_data, run kickoff responses, and webhook payloads. Keys a run type can't provide are null rather than omitted.
Attributes
run_keystringrequiredrun_typestringrequirede.g. external_api, dataset_build, extraction_plan_run, scrape_only, search_only
statusstringrequirederror_messagestringrequirednullablecredits_usednumberrequiredCredits consumed, including fractional credits
total_cells_expectedintegerrequirednullablecompleted_cellsintegerrequirednullablenot_found_cellsintegerrequirednullableenrichment_uuidstring uuidrequirednullableenrichment_namestringrequirednullableriveter_app_linkstringrequirednullablestarted_atstring date-timerequirednullablefinished_atstring date-timerequirednullablecompletion_estimateobjectrequiredAttributes
percent_completestringnullablee.g. "42.5%"
estimated_seconds_remainingnumbernullableelapsed_secondsnumbernullable
400Bad request - invalid input or missing required parameters
request_statusstringrequiredStatus of the request
messagestringrequiredHuman-readable error message
errorsarray of stringList of specific error details
error_typestringrequiredStable, snake_case error identifier. duplicate_run / duplicate_run_key are 409 conflicts from starting a run; credit_limit / insufficient_credits are billing failures; the plan_* / discovery_* / invalid_* / locked values are specific to extraction plan endpoints.
401Unauthorized - invalid or missing API key
request_statusstringrequiredStatus of the request
messagestringrequiredHuman-readable error message
errorsarray of stringList of specific error details
error_typestringrequiredStable, snake_case error identifier. duplicate_run / duplicate_run_key are 409 conflicts from starting a run; credit_limit / insufficient_credits are billing failures; the plan_* / discovery_* / invalid_* / locked values are specific to extraction plan endpoints.
403Forbidden - API access not enabled for account
request_statusstringrequiredStatus of the request
messagestringrequiredHuman-readable error message
errorsarray of stringList of specific error details
error_typestringrequiredStable, snake_case error identifier. duplicate_run / duplicate_run_key are 409 conflicts from starting a run; credit_limit / insufficient_credits are billing failures; the plan_* / discovery_* / invalid_* / locked values are specific to extraction plan endpoints.
404Resource not found
request_statusstringrequiredStatus of the request
messagestringrequiredHuman-readable error message
errorsarray of stringList of specific error details
error_typestringrequiredStable, snake_case error identifier. duplicate_run / duplicate_run_key are 409 conflicts from starting a run; credit_limit / insufficient_credits are billing failures; the plan_* / discovery_* / invalid_* / locked values are specific to extraction plan endpoints.
422Unprocessable entity - validation failed
request_statusstringrequiredStatus of the request
messagestringrequiredHuman-readable error message
errorsarray of stringList of specific error details
error_typestringrequiredStable, snake_case error identifier. duplicate_run / duplicate_run_key are 409 conflicts from starting a run; credit_limit / insufficient_credits are billing failures; the plan_* / discovery_* / invalid_* / locked values are specific to extraction plan endpoints.