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

# Source status

> Before a full records_list sweep, to learn whether a table has a new vintage (BEA releases county personal income and GDP once a year, with revisions landing in place), what the latest data year is, and which line codes a table offers.

## 请求规范

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

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

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

```json theme={null}
{
  "operationId": "apps-bea-gov.economic-statistics.source-status",
  "method": "POST",
  "path": "/apis/v1/apps-bea-gov/economic-statistics/source-status",
  "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": {
              "table": "CAINC1"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "table": {
              "description": "BEA Regional county table name. CAINC1 personal income summary (lines 1 personal income, 2 population, 3 per capita personal income); CAINC4 income by major component; CAINC5N earnings by NAICS industry; CAINC6N compensation by industry; CAINC30 economic profile (total employment incl. proprietors); CAINC91 gross flow of earnings; CAGDP1 GDP summary; CAGDP2 GDP by industry (current dollars); CAGDP8 chain-type quantity indexes; CAGDP9 real GDP by industry; CAGDP11 contributions to percent change in real GDP.\n\nProvider reference: allowed values [\"CAINC1\", \"CAINC4\", \"CAINC5N\", \"CAINC6N\", \"CAINC30\", \"CAINC91\", \"CAGDP1\", \"CAGDP2\", \"CAGDP8\", \"CAGDP9\", \"CAGDP11\"].",
              "type": "string"
            }
          },
          "required": [
            "table"
          ],
          "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/source-status
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/source-status:
    post:
      tags:
        - >-
          BEA Regional Economic Accounts (county personal income, employment,
          GDP)
      summary: Source status
      description: >-
        Before a full records_list sweep, to learn whether a table has a new
        vintage (BEA releases county personal income and GDP once a year, with
        revisions landing in place), what the latest data year is, and which
        line codes a table offers.
      operationId: apps-bea-gov.economic-statistics.source-status
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  table: CAINC1
            schema:
              additionalProperties: true
              properties:
                table:
                  description: >-
                    BEA Regional county table name. CAINC1 personal income
                    summary (lines 1 personal income, 2 population, 3 per capita
                    personal income); CAINC4 income by major component; CAINC5N
                    earnings by NAICS industry; CAINC6N compensation by
                    industry; CAINC30 economic profile (total employment incl.
                    proprietors); CAINC91 gross flow of earnings; CAGDP1 GDP
                    summary; CAGDP2 GDP by industry (current dollars); CAGDP8
                    chain-type quantity indexes; CAGDP9 real GDP by industry;
                    CAGDP11 contributions to percent change in real GDP.


                    Provider reference: allowed values ["CAINC1", "CAINC4",
                    "CAINC5N", "CAINC6N", "CAINC30", "CAINC91", "CAGDP1",
                    "CAGDP2", "CAGDP8", "CAGDP9", "CAGDP11"].
                  type: string
              required:
                - table
              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:
                    first_year: '1969'
                    last_updated: '2026-02-05'
                    last_updated_note: >-
                      Last updated: February 5, 2026-- new statistics for 2024;
                      revised statistics for 2020-2023.
                    latest_year: '2024'
                    line_codes:
                      - description: Personal income (thousands of dollars)
                        line_code: '1'
                      - description: Population (persons)
                        line_code: '2'
                      - description: Per capita personal income (dollars)
                        line_code: '3'
                    national_record_count: 168
                    national_records_sha256: >-
                      f2ed0b14d8ad81f5db0ba7de2d55d46d79535abbdf661067bf513e0d0190a559
                    observed_at_ms: 1792320187354
                    publication_id: CAINC1:2026-02-05
                    retrieved_at: '2026-10-18T10:43:07Z'
                    source_url: >-
                      https://apps.bea.gov/itable/?ReqID=70&step=30&isuri=1&major_area=4&area=00000&year=-1&tableid=20&state=0&statistic=-1&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
                    years:
                      - '2024'
                      - '2023'
                      - '2022'
                      - '2021'
                      - '2020'
                      - '2019'
                      - '2018'
                      - '2017'
                      - '2016'
                      - '2015'
                      - '2014'
                      - '2013'
                      - '2012'
                      - '2011'
                      - '2010'
                      - '2009'
                      - '2008'
                      - '2007'
                      - '2006'
                      - '2005'
                      - '2004'
                      - '2003'
                      - '2002'
                      - '2001'
                      - '2000'
                      - '1999'
                      - '1998'
                      - '1997'
                      - '1996'
                      - '1995'
                      - '1994'
                      - '1993'
                      - '1992'
                      - '1991'
                      - '1990'
                      - '1989'
                      - '1988'
                      - '1987'
                      - '1986'
                      - '1985'
                      - '1984'
                      - '1983'
                      - '1982'
                      - '1981'
                      - '1980'
                      - '1979'
                      - '1978'
                      - '1977'
                      - '1976'
                      - '1975'
                      - '1974'
                      - '1973'
                      - '1972'
                      - '1971'
                      - '1970'
                      - '1969'
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Cheap version check for one BEA county table: the current vintage
            (publication_id = <TableName>:<last updated date>, from the table's
            'Last updated' note), the latest and first data year, the list of
            years and line codes the table serves, and a SHA-256 over the
            canonical United States (GeoFips 00000) records as a drift signal.
            One request (the national rows, all years). No file URL or publisher
            hash exists: the data is only served through the interactive
            backend.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

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

            | `first_year` | string |  |

            | `last_updated` | string |  |

            | `last_updated_note` | string | The full 'Last updated: ...' note,
            e.g. which years are new and which are revised. |

            | `latest_year` | string |  |

            | `line_codes` | object[] | Line codes (statistics) the table
            offers, in table order. |

            | `national_record_count` | number | Number of United States
            (GeoFips 00000) records across all lines and years, as fetched for
            the hash. |

            | `national_records_sha256` | string | SHA-256 over the canonical
            national records (code\|geo_fips\|time_period\|data_value, one per
            line, newline-terminated). Changes when BEA revises or extends the
            table. |

            | `observed_at_ms` | number |  |

            | `publication_id` | string | <TableName>:<YYYY-MM-DD of the 'Last
            updated' note>; the version every record and cursor is pinned to. |

            | `retrieved_at` | string |  |

            | `source_url` | string |  |

            | `table` | string |  |

            | `table_id` | number | iTable TableId behind the table name (CAINC1
            = 20, CAGDP2 = 501, ...). |

            | `title` | string | Table title as published (footnote marks
            stripped). |

            | `years` | string[] | Every data year the table serves, newest
            first. |



            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.