> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Geographies

> Geography resolver. Input: a place, county, state, tract or other geography name (e.g. 'Travis County, Texas'). Returns matching Census geographies with summary level, GEO_ID, FIPS parts and the exact `for`/`in` predicates to pass to `data`.

## Request contract

* **Method and path:** POST /apis/v1/census-gov/census/geographies
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/census-gov/census/geographies`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/census-gov.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "census-gov.census.geographies",
  "method": "POST",
  "path": "/apis/v1/census-gov/census/geographies",
  "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": {
              "query": "San Francisco"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "level": {
              "description": "Keep only this summary level: us, region, division, state, county, county subdivision, tract, block group, place, metropolitan statistical area/micropolitan statistical area, combined statistical area, urban area, public use microdata area, zip code tabulation area, school district (unified), american indian area/alaska native area/hawaiian home land.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "limit": {
              "default": 10,
              "description": "limit\n\nProvider reference: minimum 1; maximum 50; default 10.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 50,
                "min": 1
              }
            },
            "query": {
              "description": "query",
              "type": "string"
            }
          },
          "required": [
            "query"
          ],
          "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.


## OpenAPI

````yaml openapi/census-gov.json POST /apis/v1/census-gov/census/geographies
openapi: 3.1.0
info:
  description: ''
  title: US Census Bureau
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    census-gov:
      description: ''
      title: US Census Bureau
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: eaabe92020e77779a83c21c13467dbc8d97222591a3938cbb52d67ed4a3ca399
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/census-gov/census/data
    - /apis/v1/census-gov/census/datasets
    - /apis/v1/census-gov/census/geographies
    - /apis/v1/census-gov/census/popest-get
    - /apis/v1/census-gov/census/popest-list
    - /apis/v1/census-gov/census/popest-status
    - /apis/v1/census-gov/census/saipe-get
    - /apis/v1/census-gov/census/saipe-list
    - /apis/v1/census-gov/census/saipe-status
    - /apis/v1/census-gov/census/variables
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:87057e10a7fc2f9e702ee4693519b68dad96de5e093a92fe942fd1a157f483c6
    facts_hash: eaabe92020e77779a83c21c13467dbc8d97222591a3938cbb52d67ed4a3ca399
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: census-gov
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/census-gov/census/geographies:
    post:
      tags:
        - US Census Bureau
      summary: Geographies
      description: >-
        Geography resolver. Input: a place, county, state, tract or other
        geography name (e.g. 'Travis County, Texas'). Returns matching Census
        geographies with summary level, GEO_ID, FIPS parts and the exact
        `for`/`in` predicates to pass to `data`.
      operationId: census-gov.census.geographies
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  query: San Francisco
            schema:
              additionalProperties: true
              properties:
                level:
                  description: >-
                    Keep only this summary level: us, region, division, state,
                    county, county subdivision, tract, block group, place,
                    metropolitan statistical area/micropolitan statistical area,
                    combined statistical area, urban area, public use microdata
                    area, zip code tabulation area, school district (unified),
                    american indian area/alaska native area/hawaiian home land.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                limit:
                  default: 10
                  description: |-
                    limit

                    Provider reference: minimum 1; maximum 50; default 10.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 50
                    min: 1
                query:
                  description: query
                  type: string
              required:
                - query
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-09-11T00:00:00Z.
                  summary: Official provider example
                  value:
                    complete: false
                    count: 4
                    level: null
                    next_cursor: null
                    observed_at_ms: 1789084800000
                    query: San Francisco
                    records:
                      - fips:
                          county: '075'
                          state: '06'
                        for: county:075
                        geo_id: 0500000US06075
                        in:
                          - state:06
                        level: county
                        record_id: 0500000US06075
                        selected: true
                        source_url: >-
                          https://data.census.gov/api/search?q=San%20Francisco&services=geos&size=10
                        sumlevel: '050'
                        title: San Francisco County, California
                        ucgid: 050XX00US06075
                      - fips:
                          county: '075'
                          county_subdivision: '92790'
                          state: '06'
                        for: county subdivision:92790
                        geo_id: 0600000US0607592790
                        in:
                          - state:06
                          - county:075
                        level: county subdivision
                        record_id: 0600000US0607592790
                        selected: false
                        source_url: >-
                          https://data.census.gov/api/search?q=San%20Francisco&services=geos&size=10
                        sumlevel: '060'
                        title: San Francisco CCD, San Francisco County, California
                        ucgid: 060XX00US0607592790
                      - fips:
                          county: '019'
                          county_subdivision: '58486'
                          state: '27'
                        for: county subdivision:58486
                        geo_id: 0600000US2701958486
                        in:
                          - state:27
                          - county:019
                        level: county subdivision
                        record_id: 0600000US2701958486
                        selected: false
                        source_url: >-
                          https://data.census.gov/api/search?q=San%20Francisco&services=geos&size=10
                        sumlevel: '060'
                        title: San Francisco township, Carver County, Minnesota
                        ucgid: 060XX00US2701958486
                      - fips:
                          place: '67000'
                          state: '06'
                        for: place:67000
                        geo_id: 1600000US0667000
                        in:
                          - state:06
                        level: place
                        record_id: 1600000US0667000
                        selected: false
                        source_url: >-
                          https://data.census.gov/api/search?q=San%20Francisco&services=geos&size=10
                        sumlevel: '160'
                        title: San Francisco city, California
                        ucgid: 160XX00US0667000
                    retrieved_at: '2026-09-11T00:00:00Z'
                    schema_version: 1.0.0
                    source_updated_at: null
                    source_url: >-
                      https://data.census.gov/api/search?q=San%20Francisco&services=geos&size=10
                    warnings:
                      - >-
                        skipped `San Francisco city, California`
                        (E600000US0607567000): summary level not supported by
                        `data`
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Geography resolver. Input: a place, county, state, tract or other
            geography name (e.g. 'Travis County, Texas'). Returns matching
            Census geographies with summary level, GEO_ID, FIPS parts and the
            exact `for`/`in` predicates to pass to `data`.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

            | --- | --- | --- |

            | `complete` | boolean | Whether this response fully satisfied the
            request (not whether all pages were consumed). false when a
            supplementary source (metadata, geography levels) failed or when
            results were truncated. |

            | `count` | number |  |

            | `level` | string |  |

            | `next_cursor` | string | Opaque cursor for the next page; null at
            the end. Offsets strictly increase, so a cursor can never loop.
            Maximum depth 1,000,000 records. |

            | `observed_at_ms` | number |  |

            | `query` | string |  |

            | `records` | object[] |  |

            | `retrieved_at` | string | RFC 3339 UTC time of this call. |

            | `schema_version` | string |  |

            | `source_updated_at` | string | Catalog `modified` timestamp of the
            dataset (published without a zone, labelled Z as given); null when
            the source does not publish one. |

            | `source_url` | string |  |

            | `warnings` | string[] |  |



            These are the provider's documented fields. Field requiredness,
            nullability and nested object structures are specified only where
            the descriptions explicitly say so.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.