Enrichment Run
Enrichment fills in missing information on a record from Lightfield’s data providers.
Enrich a record
enrichment_run.enrich(strentity_id, EnrichmentRunEnrichParams**kwargs) -> EnrichmentRunEnrichResponse
POST/v1/enrichmentRun/{entitySlug}/{entityId}
Get enrichment run status
enrichment_run.get_enrichment_run(strrun_id) -> EnrichmentRunGetEnrichmentRunResponse
GET/v1/enrichmentRun/{runId}
ModelsExpand Collapse
class EnrichmentRunEnrichResponse: …
class EnrichmentRunEnrichResponse: …
enrichment_run: Optional[EnrichmentRun]The run, or null when the request was skipped.
enrichment_run: Optional[EnrichmentRun]
The run, or null when the request was skipped.
status: Literal["queued", "running", "completed", 2 more]Where the run is: queued and running are in flight; completed, failed and timed_out are final.
status: Literal["queued", "running", "completed", 2 more]
Where the run is: queued and running are in flight; completed, failed and timed_out are final.
reason: Optional[Literal["no_targets", "no_operations"]]Why the request was skipped: no_targets when the workspace enriches nothing this record is missing, no_operations when no provider can be scheduled for the targeted fields — because none looks them up on request, or because the record lacks the inputs (such as an email or domain) a lookup would need. Null otherwise.
reason: Optional[Literal["no_targets", "no_operations"]]
Why the request was skipped: no_targets when the workspace enriches nothing this record is missing, no_operations when no provider can be scheduled for the targeted fields — because none looks them up on request, or because the record lacks the inputs (such as an email or domain) a lookup would need. Null otherwise.
class EnrichmentRunGetEnrichmentRunResponse: …
class EnrichmentRunGetEnrichmentRunResponse: …
status: Literal["queued", "running", "completed", 2 more]Where the run is: queued and running are in flight; completed, failed and timed_out are final.
status: Literal["queued", "running", "completed", 2 more]
Where the run is: queued and running are in flight; completed, failed and timed_out are final.