Canparl Get Member
canparl_get_memberRead one House MP by a returned OpenParliament slug or official current personId. Pass exactly one identifier from canparl_search_members detailLookup. Official profiles survive unavailable OpenParliament enrichment. Recent ballots come newest first from the official House member-votes feed when the member has one official personId, filterable by votesSession (default: the member's latest session) and votesBillCode; otherwise from OpenParliament. Sponsored bills and recent ballots are independently pageable; set their limits to zero for profile-only lookup.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Returned OpenParliament slug, politician path, or HTTPS OpenParliament profile URL; never a guessed name. A digit-only value equal to a current official personId, or its /politicians/<digits>/ path or profile URL, is read as that personId. | |
| personId | No | Decimal official current person ID; distinct from an OpenParliament slug. | |
| billsOffset | No | Zero-based sponsored bill page offset. | |
| recentVotes | No | Ballot rows to return, 0–10 per call; zero disables, and larger values up to 10000 return 10 with a notice. | |
| votesOffset | No | Zero-based ballot page offset. | |
| votesSession | No | Official ballot session such as 44-1; omitted means the member's latest session in the feed. Needs one official personId. | |
| votesBillCode | No | Keep official ballots on this bill, including a split-bill suffix such as C-15A; accepts c15, C 15, or bill C-15. Needs one official personId. | |
| sponsoredBills | No | Sponsored bill rows to hydrate, 0–5 per call; zero disables, and larger values up to 10000 hydrate 5 with a notice. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | No | Bounded workloads after the per-call caps. | |
| error | No | Present when the call failed. Absent on success. | |
| shown | No | Returned activity counts. | |
| member | No | Public member profile. | |
| notice | No | Workload clamp, coverage, and recovery guidance. | |
| truncated | No | Independent source continuations. | |
| provenance | No | All successful source retrieval metadata. | |
| memberships | No | Source membership history, or null if unavailable. | |
| recentVotes | No | Independently pageable activity section. | |
| unavailable | No | Explicit unavailable enrichment outcomes. | |
| appliedFilters | No | Normalized lookup and independent activity controls. | |
| openParliament | No | OpenParliament identity outcome. | |
| sponsoredBills | No | Independently pageable activity section. |