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

> Fetch or re-check a single record returned by records_list (its source_record_id is oecd:<dataflow_ref>:<series key>:<period>).

## Request contract

* **Method and path:** POST /apis/v1/sdmx-oecd-org/datasets/records-get
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/sdmx-oecd-org/datasets/records-get`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/sdmx-oecd-org.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "sdmx-oecd-org.datasets.records-get",
  "method": "POST",
  "path": "/apis/v1/sdmx-oecd-org/datasets/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": {
              "dataflow": "OECD.CTP.TPS:DSD_REV_COMP_OECD@DF_RSOECD(2.0)",
              "period": "2022",
              "series_key": "USA.TAX_REV.S13._T._T.XDC.A"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "dataflow": {
              "description": "AGENCY:ID(VERSION) or AGENCY:ID (latest).",
              "type": "string"
            },
            "period": {
              "description": "TIME_PERIOD, e.g. 2024 or 2026-09. Pattern: ^[0-9]{4}(-(0[1-9]|1[0-2]|Q[1-4]|S[12]|W[0-5][0-9])(-(0[1-9]|[12][0-9]|3[01]))?)?$.",
              "type": "string"
            },
            "series_key": {
              "description": "Full series key, every position filled, e.g. USA.M.SHARE.IX._Z._Z._Z._Z.N or USA.TAX_REV.S13._T._T.PT_B1GQ.A. Pattern: ^[A-Za-z0-9_@-]+(\\.[A-Za-z0-9_@-]+)*$.",
              "type": "string"
            }
          },
          "required": [
            "dataflow",
            "period",
            "series_key"
          ],
          "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/sdmx-oecd-org.json POST /apis/v1/sdmx-oecd-org/datasets/records-get
openapi: 3.1.0
info:
  description: ''
  title: OECD Data Explorer SDMX API
  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:
    sdmx-oecd-org:
      description: ''
      title: OECD Data Explorer SDMX API
      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: 9ae65f14fd2e55ff7c9ef4040112d915d6e3c89fdd9682f63cec9be588e616f5
        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/sdmx-oecd-org/datasets/codelist-get
    - /apis/v1/sdmx-oecd-org/datasets/dataflows-list
    - /apis/v1/sdmx-oecd-org/datasets/records-get
    - /apis/v1/sdmx-oecd-org/datasets/records-list
    - /apis/v1/sdmx-oecd-org/datasets/source-status
    - /apis/v1/sdmx-oecd-org/datasets/structure-get
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:0268be5852703fac92e8c8edda4385fd15075c4fe85c228a210752f0ee7d8aab
    facts_hash: 9ae65f14fd2e55ff7c9ef4040112d915d6e3c89fdd9682f63cec9be588e616f5
    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: sdmx-oecd-org
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/sdmx-oecd-org/datasets/records-get:
    post:
      tags:
        - OECD Data Explorer SDMX API
      summary: Records get
      description: >-
        Fetch or re-check a single record returned by records_list (its
        source_record_id is oecd:<dataflow_ref>:<series key>:<period>).
      operationId: sdmx-oecd-org.datasets.records-get
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  dataflow: OECD.CTP.TPS:DSD_REV_COMP_OECD@DF_RSOECD(2.0)
                  period: '2022'
                  series_key: USA.TAX_REV.S13._T._T.XDC.A
            schema:
              additionalProperties: true
              properties:
                dataflow:
                  description: AGENCY:ID(VERSION) or AGENCY:ID (latest).
                  type: string
                period:
                  description: >-
                    TIME_PERIOD, e.g. 2024 or 2026-09. Pattern:
                    ^[0-9]{4}(-(0[1-9]|1[0-2]|Q[1-4]|S[12]|W[0-5][0-9])(-(0[1-9]|[12][0-9]|3[01]))?)?$.
                  type: string
                series_key:
                  description: >-
                    Full series key, every position filled, e.g.
                    USA.M.SHARE.IX._Z._Z._Z._Z.N or
                    USA.TAX_REV.S13._T._T.PT_B1GQ.A. Pattern:
                    ^[A-Za-z0-9_@-]+(\.[A-Za-z0-9_@-]+)*$.
                  type: string
              required:
                - dataflow
                - period
                - series_key
              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:
                    attribution: >-
                      Source: OECD Data Explorer,
                      https://data-explorer.oecd.org/ (SDMX API
                      https://sdmx.oecd.org/public/rest/). OECD terms:
                      https://www.oecd.org/en/about/terms-conditions.html; cite
                      the OECD and the dataflow; check the dataflow metadata for
                      third-party owners.
                    dataflow_ref: OECD.CTP.TPS:DSD_REV_COMP_OECD@DF_RSOECD(2.0)
                    observed_at_ms: 1792360085336
                    record:
                      attributes:
                        CURRENCY: USD
                        DECIMALS: '3'
                        OBS_STATUS: A
                        REVENUE_CODE: TOTALTAX
                        UNIT_MULT: '9'
                      dataflow_ref: OECD.CTP.TPS:DSD_REV_COMP_OECD@DF_RSOECD(2.0)
                      dimensions:
                        CTRY_SPECIFIC_REVENUE: _T
                        FREQ: A
                        MEASURE: TAX_REV
                        REF_AREA: USA
                        SECTOR: S13
                        STANDARD_REVENUE: _T
                        UNIT_MEASURE: XDC
                      mapped:
                        amount: 7293844860000
                        ctry_specific_revenue: _T
                        currency: USD
                        jurisdiction_id: USA
                        kind: revenue_statistics
                        level_of_government: General government
                        level_of_government_code: S13
                        measure: TAX_REV
                        obs_status: A
                        pct_of_gdp: null
                        period: '2022'
                        revenue_code: TOTALTAX
                        tax_category_code: _T
                        unit_measure: XDC
                        unit_mult: 9
                      obs_value: 7293.84486
                      publication_id: >-
                        OECD.CTP.TPS:DSD_REV_COMP_OECD@DF_RSOECD(2.0)|sha256:9e7b0c7926dad2e21faf34923d0ed851605875d29d27c83488fb77d933aec691
                      retrieved_at: '2026-10-18T21:48:05Z'
                      series_key: USA.TAX_REV.S13._T._T.XDC.A
                      source_record_id: >-
                        oecd:OECD.CTP.TPS:DSD_REV_COMP_OECD@DF_RSOECD(2.0):USA.TAX_REV.S13._T._T.XDC.A:2022
                      source_url: >-
                        https://sdmx.oecd.org/public/rest/data/OECD.CTP.TPS,DSD_REV_COMP_OECD@DF_RSOECD,2.0/USA.TAX_REV.S13._T._T.XDC.A?startPeriod=2022&endPeriod=2022
                      time_period: '2022'
                    retrieved_at: '2026-10-18T21:48:05Z'
                    source_url: >-
                      https://sdmx.oecd.org/public/rest/data/OECD.CTP.TPS,DSD_REV_COMP_OECD@DF_RSOECD,2.0/USA.TAX_REV.S13._T._T.XDC.A?startPeriod=2022&endPeriod=2022
                    version: '2.0'
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            One observation by its source identity: dataflow, full series key
            (no wildcards, no `+`) and TIME_PERIOD, from GET data/{flow}/{series
            key}?startPeriod=P&endPeriod=P as SDMX-CSV. not_found when OECD has
            no observation for that series and period.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

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

            | `attribution` | string |  |

            | `dataflow_ref` | string |  |

            | `observed_at_ms` | number |  |

            | `record` | object |  |

            | `retrieved_at` | string |  |

            | `source_url` | string |  |

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