Skip to main content
GET
/
decisions
Get Decisions By Id
curl --request GET \
  --url https://api.shovels.ai/v2/decisions \
  --header 'X-API-Key: <api-key>'
{
  "items": [
    {
      "id": "<string>",
      "address_id": "<string>",
      "city_id": "<string>",
      "county_id": "<string>",
      "jurisdiction_id": "<string>",
      "street": "<string>",
      "city": "<string>",
      "state": "<string>",
      "latitude": 123,
      "longitude": 123,
      "title": "<string>",
      "decision_date": "2023-12-25",
      "description": "<string>",
      "source_url": "<string>",
      "asset_class": "<string>",
      "category": "<string>",
      "subcategory": "<string>",
      "property_type": "<string>",
      "why_it_matters": "<string>",
      "applicant_name": "<string>",
      "owner_name": "<string>",
      "representative_name": "<string>",
      "developer_name": "<string>",
      "zoning_previous": "<string>",
      "zoning_new": "<string>",
      "allowed_uses": "<string>",
      "project_value": 123,
      "lot_size": 123
    }
  ],
  "size": 123,
  "next_cursor": "<string>",
  "total_count": {
    "value": 1
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.shovels.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Query Parameters

id
string[]
required

Filter by the decision's ID. Up to 50 IDs per request.

Required array length: 1 - 50 elements

Response

A list of decisions matching the requested IDs.

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

Total result count (capped at 10,000). Present on first-page responses when include_count=true. null if the count query timed out.