recent_bills
Retrieve recently updated U.S. state legislative bills by jurisdiction. Filter by chamber, session, sponsor, classification, subject, or date range to find specific bills or track legislative activity.
Instructions
List U.S. state legislative bills from OpenStates. Defaults to the last days (default 7) of recently-updated bills. Optional filters: chamber, session, sponsor_entity_id (civic entity UUID, resolved to OpenStates OCD id), classification, subject, introduced_since/until, updated_since/until, sort. Any explicit date range overrides days. Pass a jurisdiction like 'us-tx' or 'us-ca'; '*' queries all cached jurisdictions locally. Useful for 'what did this legislator introduce' and 'recent bills on ' queries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Look-back window in days. Ignored when any explicit introduced_since/until or updated_since/until is set. | |
| sort | No | updated_desc | |
| limit | No | Optional row cap. Without explicit date filters, caps recency-sorted rows from a 365-day lookback. | |
| chamber | No | ||
| session | No | ||
| subject | No | ||
| jurisdiction | Yes | Jurisdiction like 'us-tx' or 'us-ca'. '*' queries all cached jurisdictions locally (no upstream fetch). | |
| updated_since | No | ||
| updated_until | No | ||
| classification | No | ||
| introduced_since | No | ||
| introduced_until | No | ||
| sponsor_entity_id | No | Civic entity UUID; resolved to OpenStates OCD person id before upstream fetch. |