Search parliamentary members
riksdag_search_membersFind members and ministers by name, party, constituency and service status. Defaults to the service register; register all includes earlier source records through a larger cold request that may time out. Use numeric memberId with riksdag_get_member for assignment history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Requested rows; applied maximum 100. | |
| party | No | Party code or exact reference label. | |
| offset | No | Local row offset. | |
| sitting | No | Source service classification; all retains unknown status. | all |
| register | No | Register scope; all includes historical records and can require a large cold request that reaches the normal timeout. | service |
| revision | No | Revision returned by a preceding page. | |
| constituency | No | Exact constituency reference label or code, applied locally. | |
| nameContains | No | Strict all-token local name filter, ignoring case and diacritics. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| items | No | Filtered member-register rows. | |
| limit | No | Applied row limit. | |
| offset | No | Applied local offset. | |
| source | No | Required attribution to the Swedish Parliament. | |
| hasMore | No | Whether filtered rows remain. | |
| notices | No | All applicable notices, including an empty list. | |
| nextCall | No | Complete next-page call. | |
| revision | No | Complete candidate-set revision. | |
| truncated | No | Whether response fitting shortened the selected page. | |
| totalCount | No | Exact count after local filtering. | |
| retrievedAt | No | Source fetch time, retained unchanged on cache hits. | |
| returnedCount | No | Rows in this page. | |
| upstreamQuery | No | Upstream query echo; not proof that a filter was applied. | |
| candidateCount | No | Actual returned candidate records in the selected register scope. | |
| effectiveQuery | No | Deterministic normalized input, applied defaults and local filters. | |
| requestedLimit | No | Requested row limit before clamping and fitting. | |
| upstreamWarnings | No | Warnings supplied by the source. | |
| sourceReportedCount | No | Source-reported register hits; may differ from actual returned candidates in all scope. |