Montana State Library MSDI framework layers · Search
ftpgeoinfo-msl-mt-gov/gis-layers/searchSearch property, job and marketplace listings with Montana State Library MSDI framework layers · Search from Alexandria through one Spiral API key. Answer a question about specific parcels, addresses or roads without collecting the whole layer. 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 |
|---|---|---|---|
layer required | text | — | parcels | public_lands | conservation_easements | addresses | roads | boundaries:<layer id>. Pattern: ^(parcels|public_lands|conservation_easements|addresses|roads|boundaries:[0-9]{1,3})$. |
where required | text | — | ArcGIS SQL-92 where clause over the layer's fields. Semicolons, comments (--, /*) and the words SELECT/UNION/INSERT/UPDATE/DELETE/DROP/EXEC are refused. |
cursor | text | — | next_cursor from the previous page. Carries the layer, the segment/filter, the pinned publication (editingInfo.dataLastEditDate) and the last OBJECTID. When the layer has been republished since, the call fails with invalid_input and issue code |
segment | text | — | Optional county restriction (parcels: CountyName; addresses: County; roads: County_L). Pattern: ^[A-Za-z][A-Za-z .'-]*$. |
page_size | number 1 to 2000 | — | Rows per page; default and maximum is the layer's maxRecordCount (2000; 1000 for addresses). A 2000-row parcel page is about 2.3 MB. |
exclude_owner | true or false | — | parcels only: do not request the MCA 2-6-1017 owner fields (OwnerName, OwnerAddress1-3, OwnerCity, OwnerState, OwnerZipCode, DbaName, CareOfTaxpayer); |
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": "ftpgeoinfo-msl-mt-gov/gis-layers/search",
"input": {
"layer": "<layer>",
"where": "<where>"
}
}'Frequently asked questions
How much does Montana State Library MSDI framework layers · 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 Montana State Library MSDI framework layers · Search through an API?
Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "ftpgeoinfo-msl-mt-gov/gis-layers/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 Montana State Library MSDI framework layers · Search?
No. Spiral runs it on its own Alexandria account and charges your Spiral balance.
Can my AI agent use Montana State Library MSDI framework layers · Search?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.