Get Jurisdiction
openstates_get_jurisdictionFetch full metadata for a specific jurisdiction including all legislative sessions, their identifiers, and coverage dates. Use when you need to know the exact session identifier for a state before filtering bill searches — session formats vary widely (e.g., "2025", "2025rs", "2025s1"). Jurisdiction IDs follow OCD format: ocd-jurisdiction/country:us/state:{abbr}/government (e.g., ocd-jurisdiction/country:us/state:wa/government). State names (e.g., "Washington") and two-letter abbreviations (e.g., "wa") are also accepted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include | No | Related data to inline. "legislative_sessions" returns all historical and current sessions with identifiers and date ranges. "organizations" lists the jurisdiction's legislative chambers and executive bodies. "latest_runs" shows last scraper run metadata. | |
| jurisdiction_id | Yes | OCD jurisdiction ID, state name (e.g., "Washington"), or two-letter abbreviation (e.g., "wa"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | OCD jurisdiction ID. | |
| url | No | Official legislature URL. | |
| name | No | Jurisdiction name. | |
| error | No | Present when the call failed. Absent on success. | |
| latest_runs | No | Recent scraper runs when include=latest_runs is requested. | |
| organizations | No | Legislative chambers and executive bodies when include=organizations is requested. | |
| classification | No | Jurisdiction type. | |
| latest_bill_update | No | ISO 8601 timestamp of most recent bill data update. | |
| latest_people_update | No | ISO 8601 timestamp of most recent people data update. | |
| legislative_sessions | No | All legislative sessions when include=legislative_sessions is requested. |