> ## 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

# Records get

> Re-read a single row from a `source_record_id` (`<source>:<hash>:<occurrence>`) obtained from `records_list` on a whole-file source.

## Request contract

* **Method and path:** POST /apis/v1/batch-openaddresses-io/addresses/records-get
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/batch-openaddresses-io/addresses/records-get`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/batch-openaddresses-io.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "batch-openaddresses-io.addresses.records-get",
  "method": "POST",
  "path": "/apis/v1/batch-openaddresses-io/addresses/records-get",
  "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": {
              "hash": "96dff2f15d2c8079",
              "source": "us/ak/bristol_bay_borough"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "hash": {
              "description": "16-hex row hash. Pattern: ^[0-9a-f]{16}$.",
              "type": "string"
            },
            "job_id": {
              "description": "Read this job's output instead of the latest successful one (old jobs stay readable).\n\nProvider reference: minimum 1.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "min": 1
              }
            },
            "layer": {
              "default": "addresses",
              "description": "OpenAddresses layer of the source. This program shapes `addresses` rows; other layers are listed and status-checked but their records are not decoded.\n\nProvider reference: allowed values [\"addresses\", \"buildings\", \"parcels\", \"centerlines\"]; default \"addresses\".",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "addresses",
                  "buildings",
                  "parcels",
                  "centerlines"
                ]
              }
            },
            "name": {
              "description": "Coverage name when a source has more than one data entry per layer (e.g. `us/mn/statewide` addresses has `default` and `state`); the function says so when it is needed.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "occurrence": {
              "default": 0,
              "description": "0-based index among rows sharing the hash.\n\nProvider reference: minimum 0; default 0.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "min": 0
              }
            },
            "source": {
              "description": "OpenAddresses source path, e.g. `us/ak/bristol_bay_borough` or `us/me/statewide` (lowercase `<country>/<region>/<name>`, no `.json`). Pattern: ^[a-z]{2}(/[a-z0-9_.-]+){1,3}$.",
              "type": "string"
            }
          },
          "required": [
            "hash",
            "source"
          ],
          "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/batch-openaddresses-io.json POST /apis/v1/batch-openaddresses-io/addresses/records-get
openapi: 3.1.0
info:
  description: ''
  title: OpenAddresses per-source runs
  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:
    batch-openaddresses-io:
      description: ''
      title: OpenAddresses per-source runs
      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: 632983d825507d6816323ab26455c1e13a5aa27c23694d88597d5dd92937beb3
        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/batch-openaddresses-io/addresses/records-get
    - /apis/v1/batch-openaddresses-io/addresses/records-list
    - /apis/v1/batch-openaddresses-io/addresses/source-history
    - /apis/v1/batch-openaddresses-io/addresses/source-status
    - /apis/v1/batch-openaddresses-io/addresses/sources-list
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:13aee868ca1cb24fb7b97e930f5f9ac4fcc94f8ce81128db05fb22fcfbd35d27
    facts_hash: 632983d825507d6816323ab26455c1e13a5aa27c23694d88597d5dd92937beb3
    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: batch-openaddresses-io
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/batch-openaddresses-io/addresses/records-get:
    post:
      tags:
        - OpenAddresses per-source runs
      summary: Records get
      description: >-
        Re-read a single row from a `source_record_id`
        (`<source>:<hash>:<occurrence>`) obtained from `records_list` on a
        whole-file source.
      operationId: batch-openaddresses-io.addresses.records-get
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  hash: 96dff2f15d2c8079
                  source: us/ak/bristol_bay_borough
            schema:
              additionalProperties: true
              properties:
                hash:
                  description: '16-hex row hash. Pattern: ^[0-9a-f]{16}$.'
                  type: string
                job_id:
                  description: >-
                    Read this job's output instead of the latest successful one
                    (old jobs stay readable).


                    Provider reference: minimum 1.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    min: 1
                layer:
                  default: addresses
                  description: >-
                    OpenAddresses layer of the source. This program shapes
                    `addresses` rows; other layers are listed and status-checked
                    but their records are not decoded.


                    Provider reference: allowed values ["addresses",
                    "buildings", "parcels", "centerlines"]; default "addresses".
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - addresses
                      - buildings
                      - parcels
                      - centerlines
                name:
                  description: >-
                    Coverage name when a source has more than one data entry per
                    layer (e.g. `us/mn/statewide` addresses has `default` and
                    `state`); the function says so when it is needed.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                occurrence:
                  default: 0
                  description: |-
                    0-based index among rows sharing the hash.

                    Provider reference: minimum 0; default 0.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    min: 0
                source:
                  description: >-
                    OpenAddresses source path, e.g. `us/ak/bristol_bay_borough`
                    or `us/me/statewide` (lowercase `<country>/<region>/<name>`,
                    no `.json`). Pattern: ^[a-z]{2}(/[a-z0-9_.-]+){1,3}$.
                  type: string
              required:
                - hash
                - source
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-18.
                  summary: Official provider example
                  value:
                    content_hash: 56ef87a63d0865b4e4bfe86fd75c9e66
                    data_id: 3771
                    job_id: 936682
                    layer: addresses
                    licence: null
                    line_offset: 3
                    observed_at_ms: 1792352229615
                    publication_id: '936682'
                    record:
                      accuracy: ''
                      attribution: null
                      city: NAKNEK
                      district: ''
                      hash: 96dff2f15d2c8079
                      id: ''
                      lat: 58.7332097
                      layer: addresses
                      licence_class: none_stated
                      lon: -157.0361641
                      number: '1040'
                      occurrence: 0
                      postcode: '99633'
                      publication_id: '936682'
                      region: ALASKA
                      retrieved_at: '2026-10-18T19:37:09Z'
                      source: us/ak/bristol_bay_borough
                      source_record_id: us/ak/bristol_bay_borough:96dff2f15d2c8079:0
                      source_url: >-
                        https://v2.openaddresses.io/batch-prod/job/936682/source.geojson.gz
                      street: POOH RD
                      unit: ''
                    retrieved_at: '2026-10-18T19:37:09Z'
                    source: us/ak/bristol_bay_borough
                    source_url: >-
                      https://v2.openaddresses.io/batch-prod/job/936682/source.geojson.gz
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            One address row of a whole-file source by its OpenAddresses row hash
            (and occurrence index when the hash repeats), read from the latest
            successful job's `source.geojson.gz`. Sources whose output exceeds 8
            MiB are rejected with `invalid_input`: use `records_list` with a
            `bbox` instead.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

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

            | `content_hash` | string |  |

            | `data_id` | number |  |

            | `job_id` | number |  |

            | `layer` | string |  |

            | `licence` | object | The job's licence as OpenAddresses records
            it, normalised; null when the job carries `license: false`. |

            | `line_offset` | number | 0-based line of the row in the file. |

            | `observed_at_ms` | number |  |

            | `publication_id` | string |  |

            | `record` | object |  |

            | `retrieved_at` | string | RFC 3339 UTC time of the upstream read.
            |

            | `source` | string |  |

            | `source_url` | string | The OpenAddresses URL this answer was read
            from (never a presigned URL). |



            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.