query
Retrieve data from any Knesset table using OData v4 filters, sorting, and pagination. Returns up to 200 rows per call, with relation expansion and field selection.
Instructions
Query any Knesset table with OData v4 options. Returns up to 200 rows per call; when more exist the result includes next_skip. Text fields are Hebrew.
Example: table=KNS_CommitteeSession, filter="CommitteeID eq 4191 and StartDate ge 2026-01-01T00:00:00Z", orderby="StartDate desc", expand="KNS_CmtSessionItem($select=Name)".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Rows to return | |
| skip | No | Rows to skip, for paging (use next_skip from the previous call) | |
| count | No | Also return the total number of matching rows | |
| table | Yes | Table name, e.g. KNS_Bill | |
| expand | No | Links to include, e.g. KNS_Person($select=FirstName,LastName). No ';'. | |
| filter | No | OData $filter, e.g. KnessetNum eq 25 and contains(Name,'דיור') | |
| select | No | Comma-separated fields to return (recommended, keeps output small) | |
| orderby | No | e.g. 'StartDate desc' |