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

> To fetch or re-check a single value, e.g. CAINC1 line 3 (per capita personal income) for Wibaux County, MT (30109) in 2024, or the United States (00000) for the EDA distress ratio.

## 请求规范

* **方法与路径:** POST /apis/v1/apps-bea-gov/economic-statistics/records-get
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/apps-bea-gov/economic-statistics/records-get`

[完整 OpenAPI 定义](https://aisa.one/docs/openapi/zh/apps-bea-gov.json)

有效请求声明（包括认证和引用的 schema）：

```json theme={null}
{
  "operationId": "apps-bea-gov.economic-statistics.records-get",
  "method": "POST",
  "path": "/apis/v1/apps-bea-gov/economic-statistics/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": {
              "geo_fips": "30109",
              "line_code": "3",
              "table": "CAINC1",
              "year": "2024"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "geo_fips": {
              "description": "5-digit county FIPS (30109), state total SS000 (30000), 00000 United States, or a BEA region 91000-98000. Pattern: ^[0-9]{5}$.",
              "type": "string"
            },
            "line_code": {
              "description": "Pattern: ^[0-9]{1,4}$.",
              "type": "string"
            },
            "table": {
              "description": "table\n\nProvider reference: allowed values [\"CAINC1\", \"CAINC4\", \"CAINC5N\", \"CAINC6N\", \"CAINC30\", \"CAINC91\", \"CAGDP1\", \"CAGDP2\", \"CAGDP8\", \"CAGDP9\", \"CAGDP11\"].",
              "type": "string"
            },
            "year": {
              "description": "Pattern: ^[12][0-9]{3}$.",
              "type": "string"
            }
          },
          "required": [
            "geo_fips",
            "line_code",
            "table",
            "year"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

按实际用量收费。 默认请求预估费用：\$0.0005 USD。 最终费用以实际用量为准。 账户适用价格可能不同；支持报价的接口可按实际请求获取报价。


## OpenAPI

````yaml openapi/zh/apps-bea-gov.json POST /apis/v1/apps-bea-gov/economic-statistics/records-get
openapi: 3.1.0
info:
  description: ''
  title: BEA Regional Economic Accounts (county personal income, employment, GDP)
  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:
    apps-bea-gov:
      description: ''
      title: BEA Regional Economic Accounts (county personal income, employment, GDP)
      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: 9da820e2648f3140b51c74ca1de2e9e6d666fb69bed9e7c9926bf4be389577d5
        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/apps-bea-gov/economic-statistics/records-get
    - /apis/v1/apps-bea-gov/economic-statistics/records-list
    - /apis/v1/apps-bea-gov/economic-statistics/source-status
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:7d25077f76bc6195555905de640fc061189148af97d0003f3da2549d2ba55f1a
    facts_hash: 9da820e2648f3140b51c74ca1de2e9e6d666fb69bed9e7c9926bf4be389577d5
    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: apps-bea-gov
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/apps-bea-gov/economic-statistics/records-get:
    post:
      tags:
        - >-
          BEA Regional Economic Accounts (county personal income, employment,
          GDP)
      summary: Records get
      description: >-
        To fetch or re-check a single value, e.g. CAINC1 line 3 (per capita
        personal income) for Wibaux County, MT (30109) in 2024, or the United
        States (00000) for the EDA distress ratio.
      operationId: apps-bea-gov.economic-statistics.records-get
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  geo_fips: '30109'
                  line_code: '3'
                  table: CAINC1
                  year: '2024'
            schema:
              additionalProperties: true
              properties:
                geo_fips:
                  description: >-
                    5-digit county FIPS (30109), state total SS000 (30000),
                    00000 United States, or a BEA region 91000-98000. Pattern:
                    ^[0-9]{5}$.
                  type: string
                line_code:
                  description: 'Pattern: ^[0-9]{1,4}$.'
                  type: string
                table:
                  description: >-
                    table


                    Provider reference: allowed values ["CAINC1", "CAINC4",
                    "CAINC5N", "CAINC6N", "CAINC30", "CAINC91", "CAGDP1",
                    "CAGDP2", "CAGDP8", "CAGDP9", "CAGDP11"].
                  type: string
                year:
                  description: 'Pattern: ^[12][0-9]{3}$.'
                  type: string
              required:
                - geo_fips
                - line_code
                - table
                - year
              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:
                    last_updated: '2026-02-05'
                    last_updated_note: >-
                      Last updated: February 5, 2026-- new statistics for 2024;
                      revised statistics for 2020-2023.
                    notes:
                      - seq: '2'
                        text: >-
                          2. Per capita personal income is total personal income
                          divided by total midyear population.
                      - seq: '19'
                        text: >-
                          Note. All dollar estimates are in thousands of current
                          dollars (not adjusted for inflation). Statistics
                          presented in thousands of dollars do not indicate more
                          precision than statistics presented in millions of
                          dollars.
                      - seq: '22'
                        text: >-
                          Last updated: February 5, 2026-- new statistics for
                          2024; revised statistics for 2020-2023.
                    observed_at_ms: 1792320194606
                    publication_id: CAINC1:2026-02-05
                    record:
                      code: CAINC1-3
                      data_value: '50865'
                      flag: null
                      geo_fips: '30109'
                      geo_name: Wibaux, MT
                      line_code: '3'
                      line_description: Per capita personal income (Dollars)
                      note_refs:
                        - '2'
                      publication_id: CAINC1:2026-02-05
                      retrieved_at: '2026-10-18T10:43:14Z'
                      source_record_id: bea:CAINC1-3:30109:2024
                      source_url: >-
                        https://apps.bea.gov/itable/?ReqID=70&step=30&isuri=1&major_area=4&area=30109&year=2024&tableid=20&state=30000&statistic=3&unit_of_measure=levels&yearbegin=-1&year_end=-1
                      table: CAINC1
                      time_period: '2024'
                      unit: Dollars
                      value: 50865
                    retrieved_at: '2026-10-18T10:43:14Z'
                    source_url: >-
                      https://apps.bea.gov/itable/?ReqID=70&step=30&isuri=1&major_area=4&area=30109&year=2024&tableid=20&state=30000&statistic=3&unit_of_measure=levels&yearbegin=-1&year_end=-1
                    table: CAINC1
                    table_id: 20
                    title: >-
                      CAINC1 County personal income summary: personal income,
                      population, per capita personal income
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            One BEA county record by its own id: table, line code, GeoFips and
            year (source_record_id bea:<TableName>-<LineCode>:<GeoFips>:<Year>).
            One request. not_found when BEA has no cell for the combination
            (unknown county, line or year: the backend answers 'Combination of
            selections returns no data').


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

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

            | `last_updated` | string |  |

            | `last_updated_note` | string |  |

            | `notes` | object[] |  |

            | `observed_at_ms` | number |  |

            | `publication_id` | string |  |

            | `record` | object |  |

            | `retrieved_at` | string |  |

            | `source_url` | string |  |

            | `table` | string |  |

            | `table_id` | number |  |

            | `title` | 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.