Search pages
curl --request POST \
--url https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/search-pages \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"terms": "eddie lin"
}
'import requests
url = "https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/search-pages"
payload = { "terms": "eddie lin" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({terms: 'eddie lin'})
};
fetch('https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/search-pages', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/search-pages",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'terms' => 'eddie lin'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/search-pages"
payload := strings.NewReader("{\n \"terms\": \"eddie lin\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/search-pages")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"terms\": \"eddie lin\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/search-pages")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"terms\": \"eddie lin\"\n}"
response = http.request(request)
puts response.read_body{
"facets": [
{
"category": "Departments",
"count": 3,
"label": "Archives",
"value": "1884"
},
{
"category": "Departments",
"count": 1,
"label": "Clerk",
"value": "1889"
},
{
"category": "Documents",
"count": 185,
"label": "Documents",
"value": "_document_"
}
],
"from": 1,
"hit_count": 10,
"hits": [
{
"asset_id": null,
"changed": "2026-09-04T22:04:44",
"excerpt": "Eddie Lin's term began immediately upon certification on Nov. 25 and will last through 2027. Council district: 2 In office ...",
"score": 0.0524174459,
"title": "About Councilmember Eddie Lin",
"url": "https://www.seattle.gov/council/members/eddie-lin/about-eddie-lin",
"xid": "x182341"
},
{
"asset_id": null,
"changed": "2026-09-04T22:05:36",
"excerpt": "District 2 (South Seattle, Yesler Terrace to Rainier Beach) Welcome! It is an honor to serve as your District 2 representative on the ...",
"score": 0.032012675,
"title": "Eddie Lin",
"url": "https://www.seattle.gov/council/members/eddie-lin",
"xid": "x182337"
},
{
"asset_id": null,
"changed": "2026-09-04T22:05:00",
"excerpt": "Contact Councilmember Eddie Lin's Staff",
"score": 0.032012675,
"title": "Councilmember Eddie Lin's Staff",
"url": "https://www.seattle.gov/council/members/eddie-lin/staff",
"xid": "x182340"
},
{
"asset_id": null,
"changed": "2026-09-04T22:05:13",
"excerpt": "Councilmember Eddie Lin's committee schedule",
"score": 0.011451941,
"title": "Eddie's Committees & Calendar",
"url": "https://www.seattle.gov/council/members/eddie-lin/committees-and-calendar",
"xid": "x182339"
},
{
"asset_id": null,
"changed": "2026-09-04T22:05:11",
"excerpt": "Names, election dates, and term lengths of Seattle's elected officials, including the Mayor, City Councilmembers, City Attorney, and ...",
"score": 0.00511180749,
"title": "Terms of Office for Elected Officials",
"url": "https://www.seattle.gov/city-clerk/agendas-and-legislative-resources/terms-of-office-for-elected-officials",
"xid": "x76513"
},
{
"asset_id": null,
"changed": "2026-09-04T22:04:48",
"excerpt": "The City Charter was amended by voters in November 2013 via Charter Amendment 19. This provided that City Council would consist of nine ...",
"score": 0.00511180749,
"title": "2016-Present",
"url": "https://www.seattle.gov/city-archives/seattle-facts/city-officials/city-council-members/city-council-2016-present",
"xid": "x66052"
},
{
"asset_id": null,
"changed": "2026-09-04T22:05:40",
"excerpt": "Sign up for multiple Seattle City Councilmembers' newsletters If you'd like to receive Councilmembers' newsletters, enter your ...",
"score": 0.00446905,
"title": "Newsletter Signup",
"url": "https://www.seattle.gov/council/news-and-media/newsletter-signup",
"xid": "x100772"
},
{
"asset_id": null,
"changed": "2026-09-04T22:04:56",
"excerpt": "Historical materials in the archives related to Council District 2 in southeast Seattle Listed here is a small selection of records ...",
"score": 0.00446905,
"title": "Guide to SMA Resources for Council District 2",
"url": "https://www.seattle.gov/city-archives/search-collections/resources-by-council-district/guide-to-council-district-2",
"xid": "x110031"
},
{
"asset_id": null,
"changed": "2026-09-04T22:05:18",
"excerpt": "Seattle’s Comprehensive Plan is a roadmap for where and how our city will grow and invest in our communities over the next 20 years and ...",
"score": 0.00446905,
"title": "Seattle's Comprehensive Plan",
"url": "https://www.seattle.gov/council/topics/comprehensive-plan",
"xid": "x159759"
},
{
"asset_id": null,
"changed": "2026-09-04T22:05:00",
"excerpt": "Seattle is committed to protecting its people, especially those most impacted by recent federal policy changes, including our LGBTQIA+ and ...",
"score": 0.00446905,
"title": "Federal changes: Protecting our Seattle",
"url": "https://www.seattle.gov/council/topics/federal-changes-protecting-our-seattle",
"xid": "x175039"
}
],
"next_page": 2,
"observed_at_ms": 1790276734522,
"page": 1,
"pagesize": 10,
"source_url": "https://www.seattle.gov/searchresults?terms=eddie+lin&pagesize=10&page=1",
"terms": "eddie lin",
"to": 10,
"total": 208
}City of Seattle
Search pages
Find seattle.gov pages or documents about a topic, person or program, then read one with page_content.
POST
https://api.aisa.one
/
apis
/
v1
/
seattle-gov
/
seattle-city-government
/
search-pages
Search pages
curl --request POST \
--url https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/search-pages \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"terms": "eddie lin"
}
'import requests
url = "https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/search-pages"
payload = { "terms": "eddie lin" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({terms: 'eddie lin'})
};
fetch('https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/search-pages', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/search-pages",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'terms' => 'eddie lin'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/search-pages"
payload := strings.NewReader("{\n \"terms\": \"eddie lin\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/search-pages")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"terms\": \"eddie lin\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/search-pages")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"terms\": \"eddie lin\"\n}"
response = http.request(request)
puts response.read_body{
"facets": [
{
"category": "Departments",
"count": 3,
"label": "Archives",
"value": "1884"
},
{
"category": "Departments",
"count": 1,
"label": "Clerk",
"value": "1889"
},
{
"category": "Documents",
"count": 185,
"label": "Documents",
"value": "_document_"
}
],
"from": 1,
"hit_count": 10,
"hits": [
{
"asset_id": null,
"changed": "2026-09-04T22:04:44",
"excerpt": "Eddie Lin's term began immediately upon certification on Nov. 25 and will last through 2027. Council district: 2 In office ...",
"score": 0.0524174459,
"title": "About Councilmember Eddie Lin",
"url": "https://www.seattle.gov/council/members/eddie-lin/about-eddie-lin",
"xid": "x182341"
},
{
"asset_id": null,
"changed": "2026-09-04T22:05:36",
"excerpt": "District 2 (South Seattle, Yesler Terrace to Rainier Beach) Welcome! It is an honor to serve as your District 2 representative on the ...",
"score": 0.032012675,
"title": "Eddie Lin",
"url": "https://www.seattle.gov/council/members/eddie-lin",
"xid": "x182337"
},
{
"asset_id": null,
"changed": "2026-09-04T22:05:00",
"excerpt": "Contact Councilmember Eddie Lin's Staff",
"score": 0.032012675,
"title": "Councilmember Eddie Lin's Staff",
"url": "https://www.seattle.gov/council/members/eddie-lin/staff",
"xid": "x182340"
},
{
"asset_id": null,
"changed": "2026-09-04T22:05:13",
"excerpt": "Councilmember Eddie Lin's committee schedule",
"score": 0.011451941,
"title": "Eddie's Committees & Calendar",
"url": "https://www.seattle.gov/council/members/eddie-lin/committees-and-calendar",
"xid": "x182339"
},
{
"asset_id": null,
"changed": "2026-09-04T22:05:11",
"excerpt": "Names, election dates, and term lengths of Seattle's elected officials, including the Mayor, City Councilmembers, City Attorney, and ...",
"score": 0.00511180749,
"title": "Terms of Office for Elected Officials",
"url": "https://www.seattle.gov/city-clerk/agendas-and-legislative-resources/terms-of-office-for-elected-officials",
"xid": "x76513"
},
{
"asset_id": null,
"changed": "2026-09-04T22:04:48",
"excerpt": "The City Charter was amended by voters in November 2013 via Charter Amendment 19. This provided that City Council would consist of nine ...",
"score": 0.00511180749,
"title": "2016-Present",
"url": "https://www.seattle.gov/city-archives/seattle-facts/city-officials/city-council-members/city-council-2016-present",
"xid": "x66052"
},
{
"asset_id": null,
"changed": "2026-09-04T22:05:40",
"excerpt": "Sign up for multiple Seattle City Councilmembers' newsletters If you'd like to receive Councilmembers' newsletters, enter your ...",
"score": 0.00446905,
"title": "Newsletter Signup",
"url": "https://www.seattle.gov/council/news-and-media/newsletter-signup",
"xid": "x100772"
},
{
"asset_id": null,
"changed": "2026-09-04T22:04:56",
"excerpt": "Historical materials in the archives related to Council District 2 in southeast Seattle Listed here is a small selection of records ...",
"score": 0.00446905,
"title": "Guide to SMA Resources for Council District 2",
"url": "https://www.seattle.gov/city-archives/search-collections/resources-by-council-district/guide-to-council-district-2",
"xid": "x110031"
},
{
"asset_id": null,
"changed": "2026-09-04T22:05:18",
"excerpt": "Seattle’s Comprehensive Plan is a roadmap for where and how our city will grow and invest in our communities over the next 20 years and ...",
"score": 0.00446905,
"title": "Seattle's Comprehensive Plan",
"url": "https://www.seattle.gov/council/topics/comprehensive-plan",
"xid": "x159759"
},
{
"asset_id": null,
"changed": "2026-09-04T22:05:00",
"excerpt": "Seattle is committed to protecting its people, especially those most impacted by recent federal policy changes, including our LGBTQIA+ and ...",
"score": 0.00446905,
"title": "Federal changes: Protecting our Seattle",
"url": "https://www.seattle.gov/council/topics/federal-changes-protecting-our-seattle",
"xid": "x175039"
}
],
"next_page": 2,
"observed_at_ms": 1790276734522,
"page": 1,
"pagesize": 10,
"source_url": "https://www.seattle.gov/searchresults?terms=eddie+lin&pagesize=10&page=1",
"terms": "eddie lin",
"to": 10,
"total": 208
}Request contract
- Method and path: POST /apis/v1/seattle-gov/seattle-city-government/search-pages
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/search-pages
{
"operationId": "seattle-gov.seattle-city-government.search-pages",
"method": "POST",
"path": "/apis/v1/seattle-gov/seattle-city-government/search-pages",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"pagesize": 10,
"terms": "eddie lin"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"cats": {
"description": "Optional facet filter: a taxonomy id from a previous result's `facets[].value` (e.g. `1889`), `_document_` for documents only, or several joined with commas.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"page": {
"default": 1,
"description": "page\n\nProvider reference: minimum 1; maximum 1000; default 1.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 1000,
"min": 1
}
},
"pagesize": {
"default": 10,
"description": "Hits per page. Only the sizes the site paginates correctly are accepted: the server accepts other values on page 1 but renders empty pages after it.\n\nProvider reference: allowed values [\"10\", \"25\"]; default 10.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"10",
"25"
]
}
},
"terms": {
"description": "Search words (the site's `terms` parameter).",
"type": "string"
}
},
"required": [
"terms"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
application/json
Response
seattle.gov site search (server-rendered /searchresults): hits with title, URL, excerpt, relevance score, last-changed timestamp and Ingeniux page id, the total, page window and the taxonomy facets offered for narrowing (cats). Page ids feed page_content. page + pagesize (10 or 25) paginate; next_page is null on the last page.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
facets | object[] | |
from | number | |
hit_count | number | |
hits | object[] | |
next_page | number | |
observed_at_ms | number | |
page | number | |
pagesize | number | |
source_url | string | |
terms | string | |
to | number | |
total | number |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.