Legistar council legislation and meetings · Legislation search
legistar-com/legislation/legislation_searchSearch public records with Legistar council legislation and meetings · Legislation search from Alexandria through one Spiral API key. Legislation search. It runs in the background and returns structured JSON. Pay as you go, with no subscription.
Pricing
$0.00873 per call.
Limits
- Runs
- In the background
- Returns
- json
- Longest queue wait
- 1 hour
- Run deadline
- 5 minutes
- Longest run, end to end
- 225 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
client required | text | — | Legistar client slug: the subdomain of the city's or county's legistar.com portal (seattle for seattle.legistar.com). Open clients verified 2026-10-27 include seattle, denver, pittsburgh, baltimore, oakland, milwaukee, mecklenburg, sanjose, cabq, boston, metro, nashville, columbus, kingcounty, louisville, stpaul, pima, phoenix, alexandria, sonoma-county and madison. nyc and phila need a Legistar token (upstream_blocked); an unknown slug is not_found. Pattern: ^[a-z0-9][a-z0-9-]{1,39}$. |
page | number 1 to 200 | 1 | 1-based page; has_more says whether the next page exists. |
sort | one of passed_desc, introduced_desc, modified_desc, agenda_desc, file_asc | — | Ordering. Defaults to modified_desc with modified_since, passed_desc with a passed window, otherwise introduced_desc. |
type | text | — | Substring of the matter type name (Ordinance, Resolution, Council Bill, Bill, Appointment). Type names differ per client. |
query | text | — | Case-insensitive substring of the matter title: an address or street (406 South Quitman), rezone, zoning, short-term rental. |
status | text | — | Substring of the status name (Passed, Adopted, Failed, In Committee). |
body_id | number 1 to … | — | Only matters whose current body has this BodyId (see bodies). |
page_size | number 1 to 100 | 20 | Records per page, 1 to 100. |
passed_since | text | — | Only matters passed on or after this date (MatterPassedDate). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
passed_until | text | — | Only matters passed on or before this date. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
modified_since | text | — | Only matters created or changed at or after this instant (MatterLastModifiedUtc): YYYY-MM-DD (midnight UTC) or RFC 3339 such as 2026-10-20T08:30:00Z or 2026-10-20T01:30:00-07:00. Pass the newest last_modified_utc you have seen to poll for changes; defaults the order to modified_desc. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}([Tt][0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]{1,7})?([Zz]|[+-][0-9]{2}:[0-9]{2}))?$. |
introduced_since | text | — | Only matters introduced on or after this date (MatterIntroDate). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
introduced_until | text | — | Only matters introduced on or before this date. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "alexandria",
"model": "legistar-com/legislation/legislation_search",
"input": {
"client": "<client>"
}
}'Frequently asked questions
How much does Legistar council legislation and meetings · Legislation search cost?
$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use Legistar council legislation and meetings · Legislation search through an API?
Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "legistar-com/legislation/legislation_search"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with Alexandria to use Legistar council legislation and meetings · Legislation search?
No. Spiral runs it on its own Alexandria account and charges your Spiral balance.
Can my AI agent use Legistar council legislation and meetings · Legislation search?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.