Skip to main content
GET
Search Decisions

Authorizations

X-API-Key
string
header
required

Query Parameters

cursor
string | null

Cursor for pagination

size
integer
default:10
Required range: 1 <= x <= 100
include_count
boolean
default:false

Count first-page matches in the top-level total_count object: {"value": 970, "relation": "eq"}. "eq" means an exact count up to 10,000. Above 10,000, value is 10,000 and relation is "gte", meaning at least that many matches. total_count is null when false, when a cursor is supplied, or when the count query times out.

decision_from
string<date>
required

Return decisions with decision_date on or after this date. Date format: YYYY-MM-DD.

decision_to
string<date>
required

Return decisions with decision_date on or before this date. Date format: YYYY-MM-DD.

geo_id
string
required

Filter decisions by geographic area. Accepts:

  • US state code (e.g. CA)
  • Shovels geolocation ID for an address, city, county, or jurisdiction (e.g. a4xysKbZwqg)

ZIP and ZIP+4 inputs are not supported — the upstream rezone source emits no ZIP information, so decisions cannot be filtered by ZIP.

Resolve addresses and places to geolocation IDs via:

Free-form text such as "123 Main St" is not accepted.

asset_class
string[] | null

Filter by one or more asset classes (e.g. Residential, Commercial, Mixed-Use).

category
string[] | null

Filter by one or more decision categories (e.g. Rezoning, Variance).

subcategory
string[] | null

Filter by one or more decision subcategories.

property_type
string[] | null

Filter by one or more property types.

min_project_value
integer | null

Minimum project value in cents (inclusive).

Required range: x >= 0
max_project_value
integer | null

Maximum project value in cents (inclusive).

Required range: x >= 0
decision_q
string | null

Full-text query against decision title and description, tokenized with PostgreSQL plainto_tsquery('english', ...).

Maximum string length: 100

Response

A list of decisions.

Schema for paginated decisions details response.

items
DecisionsRead · object[]
required

The list of items returned in the response following given criteria.

size
integer
required

The number of items returned in the response.

next_cursor
string | null
required

The cursor for retrieving the next page of results.

total_count
TotalCount · object | null

Top-level count object, not an integer: {"value": 970, "relation": "eq"}. "eq" means an exact count up to 10,000. "gte" means at least 10,000 matches, with value set to 10,000. Counted only when requested on the first page without a cursor. null when not requested, on later pages, or when the count query times out.

Example: