run_status
/run_statusLegacy. Use GET /runs/{id} for new work.
Check the current status of a run.
Tip: Webhooks are more efficient than polling. Pass webhook_url when starting a run to receive results automatically.
Polling interval: If you must poll, we recommend 5–10 seconds between requests. Early time estimates may be unreliable — actual completion is often faster than initial projections.
Quick Example
curl -X GET "https://api.riveterhq.com/v1/run_status?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 response fields depend on the run type — see the response schema variants.
Query parameters
run_keystringrequiredThe run key (UUID) of the run to check
Responses
200Status retrieved successfully
EnrichmentStatusResponse model →
request_statusstringrequiredStatus of the request
messagestringrequiredHuman-readable message
run_keystringrequiredUnique identifier for this run
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 big (chunked) run over 5,000 rows is still in progress; final once the run finishes.
chunks_processedintegernullableNumber of input chunks finished so far. Present on every enrichment run; 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_namestringrequiredName of the enrichment
enrichment_uuidstring uuidrequiredUUID of the enrichment
error_messagestringnullableError message if an error occurred
stopped_reasonstringWhy the run has status
stopped. Only present on stopped runs.user_request: stopped through the API or the app.credit_limit: the account ran out of credits.error: the run failed (internal error, or every enrichment cell failed); error_message has the detail.riveter_app_linkstringrequiredDirect link to view this run in the Riveter application
completion_estimateobjectProgress estimate. estimated_time_of_completion is only present mid-run; the fixed three-key shape lives in run_status.completion_estimate.
Attributes
total_rowsintegerInput rows in the run
total_cells_expectedintegercompleted_cellsintegernullablefully_completed_rowsintegernullableRows whose every enrichment cell has a value; null on a stopped run once its rows are merged
percent_completestringestimated_seconds_remainingnumbernullableestimated_time_of_completionstring date-timenullableelapsed_secondsnumberStable 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_secondsnumbernullablewebhook_urlstringPresent only when the run was started with a webhook_url
ExtractionRunStatusResponse model →
request_statusstringrequiredmessagestringHuman-readable run state ("Run is in progress", "Run completed", ...)
run_keystringrequiredstatusstringrequiredRun status. A failed extraction run reports "stopped" here — check run_state and error_message for the distinction.
run_statestringrequiredState of the underlying extraction run
records_countintegernullableNumber of records produced (null until the run completes)
extraction_plan_uuidstringextraction_plan_namestringerror_messagestringnullablecredits_usednumberriveter_app_linkstringDirect link to view this run in the Riveter application
completion_estimateobjectAttributes
percent_completestring"0.0%" while in flight, "100.0%" once terminal — extraction runs have no per-record progress
estimated_seconds_remainingnumbernullableelapsed_secondsnumberStable 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_secondsnumbernullablewebhook_urlstringPresent when the run was started with a webhook_url
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.