Relativity6Platform Docs
GET/v2/risk/{job_id}Beta

Get job status

Returns the current state of a risk job, an incremental list of progress events, and — once the job is completed — the full risk result. Poll this endpoint until status is completed or failed. Pass the after query parameter set to the last cursor you received to fetch only new progress events.

Beta. This endpoint is available for production integrations, but fields, categories, and credit weights may change without a version pin.

Base URLhttps://api.relativity6.com

Authentication

Send your API key in the x-api-key header. Send the same API key you used to submit the job.

Request body

FieldTypeRequiredDescription
afternumber (query)OptionalReturn only progress events with sequence greater than this value. Use the cursor from your previous poll (0 on the first request).Default: 0

Response

FieldTypeRequiredDescription
job_idstringRequiredThe job id from the submit response.
statusstringRequiredLifecycle state. Stop polling once completed or failed.queued · running · completed · failed
company_namestringOptionalCompany name echoed from the submitted request.
created_atstring (ISO 8601)OptionalWhen the job was accepted.
started_atstring (ISO 8601)OptionalWhen background processing began.
completed_atstring (ISO 8601)OptionalWhen the job reached a terminal state.
cursornumberRequiredSequence number of the most recent event in this response. Pass it as after on your next poll.
eventsProgressEvent[]RequiredOrdered progress events newer than the after cursor. Each event includes a type (run_started, stage_started, stage_completed, stage_error, category_started, category_completed, run_completed, run_failed), a timestamp, and elapsed_ms.
poll_urlstringOptionalRelative path to continue polling this job.
responseobjectOptionalThe full risk result. Present only when status is completed.Treat response as null until status is completed.
metadataobjectRequiredRun metadata for this assessment.
request_idstringRequiredStable id for this run (matches the job id).
versionstringRequiredAlways "v2".v2
generated_atstring (ISO 8601)RequiredWhen the result was finalized.
duration_msnumberRequiredWall-clock processing time in milliseconds.
endpointstringRequiredAlways "/v2/risk"./v2/risk
served_from_cachebooleanOptionalTrue when this body was served from the request cache.
cache_captured_atstring (ISO 8601)OptionalWhen the cached body was originally captured.
entityobjectRequiredResolved business identity for this assessment.
entity_idstringRequiredStable id for the assessed business.
snapshot_idstringOptionalSnapshot id for the stored result, when persisted.
primary_namestringRequiredPrimary display name for the business.
is_newbooleanRequiredTrue when this run created a new entity record for your organization.
entitlementsobjectRequiredWhat was requested versus what your account is entitled to run.
requestedstring[]RequiredCategories or capabilities requested for this job.
enabledstring[]RequiredCategories that ran under your access.
not_entitledstring[]RequiredRequested categories skipped because they are not on your account.
summaryobjectOptionalExecutive summary synthesized across categories (top-level, not inside categories).
statusstringRequiredExecution status for the summary section.executed · cached · skipped_not_entitled · skipped_not_requested · degraded · not_requested
overviewobjectRequiredNarrative summary for underwriting review.
summarystringRequiredPlain-language synthesis.
risk_levelstringRequiredOverall severity for this section.low · medium · high
confidencenumberRequiredEpistemic certainty for these conclusions (0–1).
dataobjectRequiredStructured underwriting signals.
top_findingsSignal[]OptionalMaterial facts driving the rating.
reasons_to_underwriteSignal[]OptionalEvidence-backed reasons to bind.
reasons_not_to_underwriteSignal[]OptionalEvidence-backed reasons to decline or restrict.
open_questionsOpenQuestion[]OptionalUnresolved gaps to verify before bind.
source_idsstring[]OptionalReferences into the top-level sources bibliography.
categoriesobjectRequiredPer-category results keyed by category id (for example, company_firmographics). Absent keys were not requested or not entitled.
<category_id>CategoryResultOptionalOne assessed section. Each includes status, overview, data, and source_ids.
statusstringRequiredWhether and how this category executed.executed · cached · skipped_not_entitled · skipped_not_requested · degraded · not_requested
overviewobjectRequiredCategory-level summary, risk_level, and confidence.
dataobjectRequiredCategory-specific structured fields.
source_idsstring[]OptionalReferences into response.sources for this category.
sourcesSource[]RequiredCanonical bibliography for the assessment. Categories cite rows via source_ids — there is no per-category embedded source list.
idstringRequiredStable source row id referenced by source_ids.
urlstringOptionalPublic URL when available.
titlestringOptionalHuman-readable label.
source_typestringRequiredSource bucket — no vendor names on the wire.web = open web research; marvin2 = Relativity6 Data Source; records = public records.web · marvin2 · records
display_namestringOptionalOptional display label.
pulled_atstring (ISO 8601)OptionalWhen this source was retrieved.
_adminobjectOptionalInternal diagnostics for Relativity6 staff only. Present only when the authenticated organization is the Relativity6 system-admin org and the request sets admin.debug to true.Never available to customer organizations. Omit in production client integrations.
entity_idstringOptionalResolved entity id for the assessed company, available on completion.
snapshot_idstringOptionalSnapshot id for the stored result, available on completion.
errorstringOptionalHuman-readable failure reason. Present only when status is failed.

Errors

StatusDescription
401Missing or invalid API key.
403The job belongs to a different organization.
404No job exists with this id.
500Server error.

Example

Example response