Look up one lead by ID
find_lead_by_glidOne record in full, by its Lead ID (e.g. GL-CO-00042).
Use this when you already hold a Lead ID — from a file, a CRM, a receipt —
and want everything we know about that business and its owner: the
business, the primary contact, both scores, every attribute, and where
each field came from.
Args:
glid: The Lead ID, e.g. `GL-CO-00042` — the `lead_ref` field on every
record. Case-insensitive.
Returns:
The full lead detail dict, including a `_meta` provenance block
(schema_version, freshness incl. this record's last update, source,
score_versions, access_level). Includes `history`: every event the state
has published about this business, newest first, each with
`published_date`, `event` (plain words) and `effective_date` when it
differs; for a business that changed form, `prior_entity_ref` and
`prior_entity_formation_date` name the record it came from. The
`entity` carries `filing_kind` and `lead_class`. The history is free
without a key; only the person is masked. Raises ValueError if the id
is not shaped like a Lead ID or no record matches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||