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

# Advisories

> Which destinations are Level 4 Do Not Travel, or what the U.S. government currently advises about travel to a country found by name. For one destination by code or advisory URL use advisory; for entry requirements, laws, health and embassy contacts use country_information.

## Request contract

* **Method and path:** POST /apis/v1/travel-state-gov/travel-advisories/advisories
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/travel-state-gov/travel-advisories/advisories`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/travel-state-gov.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "travel-state-gov.travel-advisories.advisories",
  "method": "POST",
  "path": "/apis/v1/travel-state-gov/travel-advisories/advisories",
  "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": {
              "query": "North Korea"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "level": {
              "description": "Keep only advisories at this level: 1 exercise normal precautions, 2 exercise increased caution, 3 reconsider travel, 4 do not travel.\n\nProvider reference: minimum 1; maximum 4.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 4,
                "min": 1
              }
            },
            "query": {
              "description": "Keep only destinations whose name contains this text (case-insensitive), e.g. `korea` or `guinea`.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            }
          },
          "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/travel-state-gov.json POST /apis/v1/travel-state-gov/travel-advisories/advisories
openapi: 3.1.0
info:
  description: ''
  title: U.S. State Department Travel Advisories (travel.state.gov)
  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:
    travel-state-gov:
      description: ''
      title: U.S. State Department Travel Advisories (travel.state.gov)
      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: 6eaf4d3b69a20a1918d622e7b4945c4e0f374a1c2d35b6d1813aa71cd32e913a
        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/travel-state-gov/travel-advisories/advisories
    - /apis/v1/travel-state-gov/travel-advisories/advisory
    - /apis/v1/travel-state-gov/travel-advisories/country-information
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:598dc9774d99115398e57ca8e6abcd5ba9b0cb35be515fcbd16f61cf98b659df
    facts_hash: 6eaf4d3b69a20a1918d622e7b4945c4e0f374a1c2d35b6d1813aa71cd32e913a
    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: travel-state-gov
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/travel-state-gov/travel-advisories/advisories:
    post:
      tags:
        - U.S. State Department Travel Advisories (travel.state.gov)
      summary: Advisories
      description: >-
        Which destinations are Level 4 Do Not Travel, or what the U.S.
        government currently advises about travel to a country found by name.
        For one destination by code or advisory URL use advisory; for entry
        requirements, laws, health and embassy contacts use country_information.
      operationId: travel-state-gov.travel-advisories.advisories
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  query: North Korea
            schema:
              additionalProperties: true
              properties:
                level:
                  description: >-
                    Keep only advisories at this level: 1 exercise normal
                    precautions, 2 exercise increased caution, 3 reconsider
                    travel, 4 do not travel.


                    Provider reference: minimum 1; maximum 4.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 4
                    min: 1
                query:
                  description: >-
                    Keep only destinations whose name contains this text
                    (case-insensitive), e.g. `korea` or `guinea`.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-07.
                  summary: Official provider example
                  value:
                    advisories:
                      - code: KN
                        country: North Korea
                        destination_code: prk
                        level: 4
                        level_label: Do Not Travel
                        published: '2025-04-28T20:00:00-04:00'
                        summary: >-
                          Do not travel to North Korea due to wrongful detention
                          and other risks.

                          Do not travel to North Korea due to the continuing
                          serious risk of arrest, long-term detention, and the
                          threat of wrongful detention of U.S. citizens.

                          Do not travel to the Democratic People’s Republic of
                          Korea for any reason.

                          - U.S. passports cannot be used to travel to, in, or
                          through the Democratic People's Republic of Korea
                          (DPRK or North Korea) unless they are specially
                          validated for such travel by the Secretary of State.

                          - Special validations are granted only in very limited
                          circumstances. Review the information on how to apply
                          for the special validation.

                          Because the U.S. government does not have diplomatic
                          relations with North Korea, it cannot provide direct
                          help to U.S. citizens in North Korea in emergencies.

                          - Sweden serves as the U.S. protecting power in North
                          Korea through its Embassy in Pyongyang and provides
                          limited consular services to U.S. citizens.
                          Additionally, the North Korean government has often
                          delayed or denied Swedish officials access to U.S.
                          citizens who are detained.

                          - The Federal Aviation Administration (FAA) has issued
                          a Notice to Airmen (NOTAM) or a Special Federal
                          Aviation Regulation (SFAR). This is due to the risks
                          to civil aviation operating within or in the vicinity
                          of North Korea.

                          - For more information U.S. citizens should consult
                          the Federal Aviation Administration’s Prohibitions,
                          Restrictions and Notices.
                        title: 'North Korea - Level 4: Do Not Travel'
                        updated: '2025-04-28T20:00:00-04:00'
                        url: >-
                          https://travel.state.gov/content/tsg_aem/us/en/home/international-travel/travel-advisories/destination.prk.html
                    published_total: 223
                    source_url: https://cadataapi.state.gov/api/TravelAdvisories
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            List every current State Department travel advisory with its level
            (1-4), destination, plain-text advice, page link and publication
            dates, optionally filtered by level and/or a destination-name
            substring. A filter that matches nothing returns an empty list. The
            feed itself contains a few duplicate destinations (a current
            destination page and an older legacy page for the same place, e.g.
            Burma, Cambodia, Tunisia); rows with a non-null destination_code are
            the current pages.


            The response contains the tool result directly.


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


            | Documented field | Provider type | Description |

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

            | `code` | string | Destination code the feed files this advisory
            under (Category). Mostly FIPS 10-4, but some rows use other codes
            and codes can be shared: KN covers North Korea and Saint Kitts and
            Nevis, IS covers Israel, the West Bank and Gaza. |

            | `country` | string | Destination name from the advisory title,
            e.g. `Burma`, `Gaza`, `Hong Kong`. |

            | `destination_code` | string | Code in a current
            `destination.<code>.html` page URL, usually ISO 3166-1 alpha-3 (deu,
            prk; xks for Kosovo). Null for rows that still link to a
            legacy-layout page. |

            | `level` | number | Advisory level: 1 exercise normal precautions,
            2 exercise increased caution, 3 reconsider travel, 4 do not travel.
            |

            | `level_label` | string |  |

            | `published` | string | Publication timestamp as the feed states
            it. |

            | `summary` | string | Advisory text converted from the feed's HTML
            to plain text; list items start with `- `. |

            | `title` | string | Advisory title as published, whitespace
            collapsed. |

            | `updated` | string | Last update timestamp as the feed states it.
            |

            | `url` | string | The advisory page on travel.state.gov. |



            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.