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

# Files

> The official UN Tourism Key Tourism Statistics Excel files (13 files: inbound arrivals/expenditure/by region/by purpose/by transport/accommodation, outbound departures/expenditure, domestic trips/accommodation, hotel capacity and occupancy, employment SDG 8.9.2, tourism GDP SDG 8.9.1). One live HEAD per file returns Last-Modified as source_updated_at, ETag and S3 version id, and changed_since_catalog flags a re-publication since the embedded catalogue.

## Request contract

* **Method and path:** POST /apis/v1/untourism-int/statistics/files
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/untourism-int/statistics/files`

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

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "untourism-int.statistics.files",
  "method": "POST",
  "path": "/apis/v1/untourism-int/statistics/files",
  "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": {
              "file_ids": [
                "inbound_arrivals"
              ]
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "file_ids": {
              "description": "Restrict to these file ids. Omit for all files.",
              "items": {
                "type": "string"
              },
              "type": "array",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "series_group": {
              "description": "Restrict to one series group.\n\nProvider reference: allowed values [\"inbound\", \"outbound\", \"domestic\", \"industries\", \"employment\", \"macro\", \"null\"].",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "inbound",
                  "outbound",
                  "domestic",
                  "industries",
                  "employment",
                  "macro",
                  "null"
                ]
              }
            }
          },
          "type": "object"
        }
      }
    },
    "required": false
  },
  "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/untourism-int.json POST /apis/v1/untourism-int/statistics/files
openapi: 3.1.0
info:
  description: ''
  title: UN Tourism
  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:
    untourism-int:
      description: ''
      title: UN Tourism
      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: 76bcc60181f4468f2bf4a5eafdd9a2696f6fab3cc49fd2cf37f809d74780a0d2
        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/untourism-int/statistics/data
    - /apis/v1/untourism-int/statistics/files
    - /apis/v1/untourism-int/statistics/indicators
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:5d63bb8d511a7d503c56c3cb760a502e03982d2327bbd6b80fbf7ac13e25c0ff
    facts_hash: 76bcc60181f4468f2bf4a5eafdd9a2696f6fab3cc49fd2cf37f809d74780a0d2
    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: untourism-int
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/untourism-int/statistics/files:
    post:
      tags:
        - UN Tourism
      summary: Files
      description: >-
        The official UN Tourism Key Tourism Statistics Excel files (13 files:
        inbound arrivals/expenditure/by region/by purpose/by
        transport/accommodation, outbound departures/expenditure, domestic
        trips/accommodation, hotel capacity and occupancy, employment SDG 8.9.2,
        tourism GDP SDG 8.9.1). One live HEAD per file returns Last-Modified as
        source_updated_at, ETag and S3 version id, and changed_since_catalog
        flags a re-publication since the embedded catalogue.
      operationId: untourism-int.statistics.files
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  file_ids:
                    - inbound_arrivals
            schema:
              additionalProperties: true
              properties:
                file_ids:
                  description: Restrict to these file ids. Omit for all files.
                  items:
                    type: string
                  type: array
                  x-alexandria-option-metadata:
                    in: body
                series_group:
                  description: >-
                    Restrict to one series group.


                    Provider reference: allowed values ["inbound", "outbound",
                    "domestic", "industries", "employment", "macro", "null"].
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - inbound
                      - outbound
                      - domestic
                      - industries
                      - employment
                      - macro
                      - 'null'
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-09-11T00:00:00Z.
                  summary: Official provider example
                  value:
                    catalog_version: '2026-09-11'
                    complete: true
                    count: 1
                    database_page: >-
                      https://www.untourism.int/tourism-statistics/tourism-statistics-database
                    license: >-
                      UN Tourism content is copyrighted. The free Key Tourism
                      Statistics files are provided for non-commercial use with
                      attribution (see the file's suggested citation);
                      redistribution requires permission from UN Tourism. Terms:
                      https://www.untourism.int/copyright
                    next_cursor: null
                    observed_at_ms: 1789084800000
                    records:
                      - catalog_last_modified: '2026-07-17T12:04:21Z'
                        catalog_version_id: yg4q8RqBEmpqmX52.NTcsmJ2VGsNTVe7
                        changed_since_catalog: false
                        citation: >-
                          World Tourism Organization (2026) All Countries:
                          Inbound Tourism: Arrivals 1995 - 2024 (07.2026). UN
                          Tourism Statistics Database, Madrid. Data updated on
                          17 July 2026. More information:
                          https://www.untourism.int/tourism-statistics/tourism-data-inbound-tourism
                        columns:
                          - indicator_code
                          - indicator_label
                          - indicator_previous_code
                          - reporter_area_code
                          - reporter_area_label
                          - partner_area_code
                          - partner_area_label
                          - year
                          - value
                          - flag
                          - flag_label
                          - unit
                          - notes
                        content: >-
                          All Countries: Inbound Tourism: Arrivals 1995 - 2024
                          (07.2026)
                        content_length: 601529
                        content_type: >-
                          application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
                        edition: '07.2026'
                        error: null
                        etag: 9c0f4ab0a22baa6f3b45fce22e668698
                        file_id: inbound_arrivals
                        indicator_count: 4
                        observed_at_ms: 1789084800000
                        page_url: >-
                          https://www.untourism.int/tourism-statistics/tourism-data-inbound-tourism
                        release_date: '2026-07-17'
                        release_label: 17 July 2026
                        row_count_at_catalog: 13774
                        series_group: inbound
                        source_updated_at: '2026-07-17T12:04:21Z'
                        source_url: >-
                          https://pre-webunwto.s3.eu-west-1.amazonaws.com/s3fs-public/2026-07/UN_Tourism_inbound_arrivals_17_07_2026.xlsx
                        status: 200
                        title: >-
                          Inbound tourism: total arrivals (overnight, same-day,
                          cruise)
                        url: >-
                          https://pre-webunwto.s3.eu-west-1.amazonaws.com/s3fs-public/2026-07/UN_Tourism_inbound_arrivals_17_07_2026.xlsx
                        version_id: yg4q8RqBEmpqmX52.NTcsmJ2VGsNTVe7
                        year_max: 2024
                        year_min: 1995
                    retrieved_at: '2026-09-11T00:00:00Z'
                    schema_version: 1.0.0
                    series_group: null
                    source_updated_at: '2026-07-17T12:04:21Z'
                    warnings: []
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            The official UN Tourism Key Tourism Statistics Excel files (13
            files: inbound arrivals/expenditure/by region/by purpose/by
            transport/accommodation, outbound departures/expenditure, domestic
            trips/accommodation, hotel capacity and occupancy, employment SDG
            8.9.2, tourism GDP SDG 8.9.1). One live HEAD per file returns
            Last-Modified as source_updated_at, ETag and S3 version id, and
            changed_since_catalog flags a re-publication since the embedded
            catalogue.


            The response contains the tool result directly.


            The provider identifies `records` as the primary payload key.


            | Documented field | Provider type | Description |

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

            | `catalog_last_modified` | string |  |

            | `catalog_version_id` | string |  |

            | `changed_since_catalog` | boolean |  |

            | `citation` | string |  |

            | `columns` | string[] |  |

            | `content` | string |  |

            | `content_length` | number |  |

            | `content_type` | string |  |

            | `edition` | string |  |

            | `error` | string |  |

            | `etag` | string |  |

            | `file_id` | string |  |

            | `indicator_count` | number |  |

            | `observed_at_ms` | number |  |

            | `page_url` | string |  |

            | `release_date` | string |  |

            | `release_label` | string |  |

            | `row_count_at_catalog` | number |  |

            | `series_group` | string |  |

            | `source_updated_at` | string |  |

            | `source_url` | string |  |

            | `status` | number |  |

            | `title` | string |  |

            | `url` | string |  |

            | `version_id` | string |  |

            | `year_max` | number |  |

            | `year_min` | number |  |



            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.