Page content
curl --request POST \
--url https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/page-content \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"xid": "x76513"
}
'import requests
url = "https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/page-content"
payload = { "xid": "x76513" }
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({xid: 'x76513'})
};
fetch('https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/page-content', 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/page-content",
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([
'xid' => 'x76513'
]),
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/page-content"
payload := strings.NewReader("{\n \"xid\": \"x76513\"\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/page-content")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"xid\": \"x76513\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/page-content")
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 \"xid\": \"x76513\"\n}"
response = http.request(request)
puts response.read_body{
"element_count": 2,
"elements": [
{
"attributes": {
"characterLimit": "",
"openByDefault": "false"
},
"children": [],
"name": "Title",
"value": "Terms of Office for Elected Officials"
},
{
"attributes": {
"characterLimit": "",
"openByDefault": "false"
},
"children": [],
"name": "Excerpt",
"value": "Names, election dates, and term lengths of Seattle's elected officials, including the Mayor, City Councilmembers, City Attorney, and Municipal Court Judges"
}
],
"expanded_at": "2026-09-24T12:01:02",
"name": "Terms of Office for Elected Officials",
"observed_at_ms": 1790276741128,
"source_url": "https://www.seattle.gov/api/content/x76513/elements/Title,Excerpt",
"url": "https://www.seattle.gov/city-clerk/agendas-and-legislative-resources/terms-of-office-for-elected-officials",
"view_name": "DepartmentDetail",
"xid": "x76513"
}City of Seattle
Page content
Read a page found by search_pages, or a component id from council_roster / councilmember, when the specialised functions do not cover it.
POST
https://api.aisa.one
/
apis
/
v1
/
seattle-gov
/
seattle-city-government
/
page-content
Page content
curl --request POST \
--url https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/page-content \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"xid": "x76513"
}
'import requests
url = "https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/page-content"
payload = { "xid": "x76513" }
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({xid: 'x76513'})
};
fetch('https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/page-content', 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/page-content",
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([
'xid' => 'x76513'
]),
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/page-content"
payload := strings.NewReader("{\n \"xid\": \"x76513\"\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/page-content")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"xid\": \"x76513\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/page-content")
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 \"xid\": \"x76513\"\n}"
response = http.request(request)
puts response.read_body{
"element_count": 2,
"elements": [
{
"attributes": {
"characterLimit": "",
"openByDefault": "false"
},
"children": [],
"name": "Title",
"value": "Terms of Office for Elected Officials"
},
{
"attributes": {
"characterLimit": "",
"openByDefault": "false"
},
"children": [],
"name": "Excerpt",
"value": "Names, election dates, and term lengths of Seattle's elected officials, including the Mayor, City Councilmembers, City Attorney, and Municipal Court Judges"
}
],
"expanded_at": "2026-09-24T12:01:02",
"name": "Terms of Office for Elected Officials",
"observed_at_ms": 1790276741128,
"source_url": "https://www.seattle.gov/api/content/x76513/elements/Title,Excerpt",
"url": "https://www.seattle.gov/city-clerk/agendas-and-legislative-resources/terms-of-office-for-elected-officials",
"view_name": "DepartmentDetail",
"xid": "x76513"
}Request contract
- Method and path: POST /apis/v1/seattle-gov/seattle-city-government/page-content
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/seattle-gov/seattle-city-government/page-content
{
"operationId": "seattle-gov.seattle-city-government.page-content",
"method": "POST",
"path": "/apis/v1/seattle-gov/seattle-city-government/page-content",
"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": {
"elements": [
"Title",
"Excerpt"
],
"xid": "x76513"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"elements": {
"description": "Element names to return, e.g. [\"Title\", \"Excerpt\", \"BodyCopy\"]. Omit for the full record (large pages embed feeds and can exceed 800 KB).",
"items": {
"type": "string"
},
"type": "array",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"xid": {
"description": "Ingeniux id, e.g. `x143957` (roster page) or `x182357` (a contact component). Pattern: ^x[0-9]{1,9}$.",
"type": "string"
}
},
"required": [
"xid"
],
"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
Any seattle.gov CMS record (page or component) by Ingeniux id through the site's own content API: attributes (id, name, view, friendly URL, render time) and the element tree (name, value, attributes, children). Optionally restrict to named elements (the API silently omits names that do not exist). Unknown ids are not_found.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
element_count | number | |
elements | object[] | |
expanded_at | string | |
name | string | |
observed_at_ms | number | |
source_url | string | |
url | string | Friendly URL of a page; null for components. |
view_name | string | CMS schema/view, e.g. DepartmentPortal; null for components. |
xid | string |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.