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

# Weather alerts

> Is there a weather warning for this place or province right now.

## Request contract

* **Method and path:** POST /apis/v1/api-weather-gc-ca/weather/weather-alerts
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/api-weather-gc-ca/weather/weather-alerts`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/api-weather-gc-ca.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "api-weather-gc-ca.weather.weather-alerts",
  "method": "POST",
  "path": "/apis/v1/api-weather-gc-ca/weather/weather-alerts",
  "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": {}
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "city_id": {
              "description": "ECCC city page id, province code plus number: on-143 Toronto, qc-147 Montreal, bc-74 Vancouver, ab-52 Calgary, ns-19 Halifax. Find ids with find_cities. Pattern: ^[A-Za-z]{2}-[0-9A-Za-z]+$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "include_ended": {
              "description": "Keep alerts ECCC has marked ended.",
              "type": "boolean",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "lang": {
              "default": "en",
              "description": "Language of names and texts: en (English) or fr (French). Numbers are the same in both.\n\nProvider reference: allowed values [\"en\", \"fr\"]; default \"en\".",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "en",
                  "fr"
                ]
              }
            },
            "lat": {
              "description": "Latitude in decimal degrees (Canada spans about 41 to 84). Give with lon.\n\nProvider reference: minimum -90; maximum 90.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 90,
                "min": -90
              }
            },
            "lon": {
              "description": "Longitude in decimal degrees, west negative (Canada spans about -142 to -52). Give with lat.\n\nProvider reference: minimum -180; maximum 180.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 180,
                "min": -180
              }
            },
            "province": {
              "description": "Two-letter province or territory code. Pattern: ^[A-Za-z]{2}$.",
              "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/api-weather-gc-ca.json POST /apis/v1/api-weather-gc-ca/weather/weather-alerts
openapi: 3.1.0
info:
  description: ''
  title: >-
    Environment and Climate Change Canada weather and climate
    (api.weather.gc.ca)
  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:
    api-weather-gc-ca:
      description: ''
      title: >-
        Environment and Climate Change Canada weather and climate
        (api.weather.gc.ca)
      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: 58f6d9d454da686b5dc2b006acb4a3b31635bceff7f38be29db4ea328604e6e6
        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/api-weather-gc-ca/weather/air-quality
    - /apis/v1/api-weather-gc-ca/weather/city-weather
    - /apis/v1/api-weather-gc-ca/weather/climate-daily
    - /apis/v1/api-weather-gc-ca/weather/climate-monthly
    - /apis/v1/api-weather-gc-ca/weather/climate-normals
    - /apis/v1/api-weather-gc-ca/weather/climate-stations
    - /apis/v1/api-weather-gc-ca/weather/find-cities
    - /apis/v1/api-weather-gc-ca/weather/marine-forecast
    - /apis/v1/api-weather-gc-ca/weather/weather-alerts
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:2e11e5b9fb5e08b87c8c7ee3900176eea35e5d4d996c6ec1ac7eef34b111505d
    facts_hash: 58f6d9d454da686b5dc2b006acb4a3b31635bceff7f38be29db4ea328604e6e6
    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: api-weather-gc-ca
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/api-weather-gc-ca/weather/weather-alerts:
    post:
      tags:
        - >-
          Environment and Climate Change Canada weather and climate
          (api.weather.gc.ca)
      summary: Weather alerts
      description: Is there a weather warning for this place or province right now.
      operationId: api-weather-gc-ca.weather.weather-alerts
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value: {}
            schema:
              additionalProperties: true
              properties:
                city_id:
                  description: >-
                    ECCC city page id, province code plus number: on-143
                    Toronto, qc-147 Montreal, bc-74 Vancouver, ab-52 Calgary,
                    ns-19 Halifax. Find ids with find_cities. Pattern:
                    ^[A-Za-z]{2}-[0-9A-Za-z]+$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                include_ended:
                  description: Keep alerts ECCC has marked ended.
                  type: boolean
                  x-alexandria-option-metadata:
                    in: body
                lang:
                  default: en
                  description: >-
                    Language of names and texts: en (English) or fr (French).
                    Numbers are the same in both.


                    Provider reference: allowed values ["en", "fr"]; default
                    "en".
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - en
                      - fr
                lat:
                  description: >-
                    Latitude in decimal degrees (Canada spans about 41 to 84).
                    Give with lon.


                    Provider reference: minimum -90; maximum 90.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 90
                    min: -90
                lon:
                  description: >-
                    Longitude in decimal degrees, west negative (Canada spans
                    about -142 to -52). Give with lat.


                    Provider reference: minimum -180; maximum 180.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 180
                    min: -180
                province:
                  description: >-
                    Two-letter province or territory code. Pattern:
                    ^[A-Za-z]{2}$.
                  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-25.
                  summary: Official provider example
                  value:
                    alerts:
                      - area: Akulivik
                        area_id: fea1-1092
                        code: WDW
                        colour: yellow
                        confidence: High
                        effective_at: '2026-10-25T21:15:00.000Z'
                        event_end_at: '2026-10-26T06:00:00.000Z'
                        expires_at: '2026-10-26T08:02:09.043Z'
                        id: 80754585727344543202610240504_fea1-1092
                        impact: Moderate
                        name: wind warning
                        province: QC
                        published_at: '2026-10-25T21:25:09.043Z'
                        short_name: Wind
                        status: continued
                        status_code: continued
                        text: >-
                          What: High northwesterly winds gusting up to 90
                          kilometres per hour


                          When: This evening


                          Additional information:

                          Winds will gradually weaken overnight tonight.


                          Local utility outages are possible. Some property
                          damage is possible.


                          Secure loose objects.


                          Please continue to monitor alerts and forecasts issued
                          by Environment Canada. To report severe weather, send
                          an email to QCstorm@ec.gc.ca or post reports on social
                          media using #QCStorm.
                        type: warning
                      - area: Puvirnituq
                        area_id: fea1-1093
                        code: WDW
                        colour: yellow
                        confidence: High
                        effective_at: '2026-10-25T21:15:00.000Z'
                        event_end_at: '2026-10-26T06:00:00.000Z'
                        expires_at: '2026-10-26T08:02:09.043Z'
                        id: 80754585727344543202610240504_fea1-1093
                        impact: Moderate
                        name: wind warning
                        province: QC
                        published_at: '2026-10-25T21:25:09.043Z'
                        short_name: Wind
                        status: continued
                        status_code: continued
                        text: >-
                          What: High northwesterly winds gusting up to 90
                          kilometres per hour


                          When: This evening


                          Additional information:

                          Winds will gradually weaken overnight tonight.


                          Local utility outages are possible. Some property
                          damage is possible.


                          Secure loose objects.


                          Please continue to monitor alerts and forecasts issued
                          by Environment Canada. To report severe weather, send
                          an email to QCstorm@ec.gc.ca or post reports on social
                          media using #QCStorm.
                        type: warning
                      - area: Schefferville
                        area_id: fea1-984
                        code: WDW
                        colour: yellow
                        confidence: High
                        effective_at: '2026-10-25T21:21:00.000Z'
                        event_end_at: '2026-10-26T11:21:00.000Z'
                        expires_at: '2026-10-26T13:22:37.019Z'
                        id: 164838122102965285202610250504_fea1-984
                        impact: Moderate
                        name: wind warning
                        province: QC
                        published_at: '2026-10-25T21:24:37.019Z'
                        short_name: Wind
                        status: continued
                        status_code: continued
                        text: >-
                          What: High westerly winds gusting up to 90 kilometres
                          per hour


                          When: This evening


                          Additional information:

                          Winds will gradually weaken overnight tonight.


                          Local utility outages are possible.


                          Secure loose objects.


                          Please continue to monitor alerts and forecasts issued
                          by Environment Canada. To report severe weather, send
                          an email to QCstorm@ec.gc.ca or post reports on social
                          media using #QCStorm.
                        type: warning
                      - area: Kangiqsujuaq - Raglan Lake
                        area_id: fea1-1099
                        code: WDW
                        colour: yellow
                        confidence: High
                        effective_at: '2026-10-26T16:00:00.000Z'
                        event_end_at: '2026-10-27T11:00:00.000Z'
                        expires_at: '2026-10-26T13:24:18.999Z'
                        id: 163551526102965285202610250504_fea1-1099
                        impact: Moderate
                        name: wind warning
                        province: QC
                        published_at: '2026-10-25T21:24:18.999Z'
                        short_name: Wind
                        status: issued
                        status_code: issued
                        text: >-
                          What: High northwesterly winds gusting up to 90
                          kilometres per hour


                          When: Monday


                          Additional information:

                          Winds will gradually ease overnight Monday night


                          Local utility outages are possible. Disruptions to
                          services and travel are possible.


                          Secure loose objects.


                          Please continue to monitor alerts and forecasts issued
                          by Environment Canada. To report severe weather, send
                          an email to QCstorm@ec.gc.ca or post reports on social
                          media using #QCStorm.
                        type: warning
                      - area: Quaqtaq
                        area_id: fea1-1100
                        code: WDW
                        colour: yellow
                        confidence: High
                        effective_at: '2026-10-26T16:00:00.000Z'
                        event_end_at: '2026-10-27T11:00:00.000Z'
                        expires_at: '2026-10-26T13:24:18.999Z'
                        id: 163551526102965285202610250504_fea1-1100
                        impact: Moderate
                        name: wind warning
                        province: QC
                        published_at: '2026-10-25T21:24:18.999Z'
                        short_name: Wind
                        status: issued
                        status_code: issued
                        text: >-
                          What: High northwesterly winds gusting up to 90
                          kilometres per hour


                          When: Monday


                          Additional information:

                          Winds will gradually ease overnight Monday night


                          Local utility outages are possible. Disruptions to
                          services and travel are possible.


                          Secure loose objects.


                          Please continue to monitor alerts and forecasts issued
                          by Environment Canada. To report severe weather, send
                          an email to QCstorm@ec.gc.ca or post reports on social
                          media using #QCStorm.
                        type: warning
                      - area: Kangirsuk
                        area_id: fea1-1101
                        code: WDW
                        colour: yellow
                        confidence: High
                        effective_at: '2026-10-26T16:00:00.000Z'
                        event_end_at: '2026-10-27T11:00:00.000Z'
                        expires_at: '2026-10-26T13:24:18.999Z'
                        id: 163551526102965285202610250504_fea1-1101
                        impact: Moderate
                        name: wind warning
                        province: QC
                        published_at: '2026-10-25T21:24:18.999Z'
                        short_name: Wind
                        status: issued
                        status_code: issued
                        text: >-
                          What: High northwesterly winds gusting up to 90
                          kilometres per hour


                          When: Monday


                          Additional information:

                          Winds will gradually ease overnight Monday night


                          Local utility outages are possible. Disruptions to
                          services and travel are possible.


                          Secure loose objects.


                          Please continue to monitor alerts and forecasts issued
                          by Environment Canada. To report severe weather, send
                          an email to QCstorm@ec.gc.ca or post reports on social
                          media using #QCStorm.
                        type: warning
                      - area: Aupaluk
                        area_id: fea1-1102
                        code: WDW
                        colour: yellow
                        confidence: High
                        effective_at: '2026-10-26T16:00:00.000Z'
                        event_end_at: '2026-10-27T11:00:00.000Z'
                        expires_at: '2026-10-26T13:24:18.999Z'
                        id: 163551526102965285202610250504_fea1-1102
                        impact: Moderate
                        name: wind warning
                        province: QC
                        published_at: '2026-10-25T21:24:18.999Z'
                        short_name: Wind
                        status: issued
                        status_code: issued
                        text: >-
                          What: High northwesterly winds gusting up to 90
                          kilometres per hour


                          When: Monday


                          Additional information:

                          Winds will gradually ease overnight Monday night


                          Local utility outages are possible. Disruptions to
                          services and travel are possible.


                          Secure loose objects.


                          Please continue to monitor alerts and forecasts issued
                          by Environment Canada. To report severe weather, send
                          an email to QCstorm@ec.gc.ca or post reports on social
                          media using #QCStorm.
                        type: warning
                      - area: Tasiujaq
                        area_id: fea1-1103
                        code: WDW
                        colour: yellow
                        confidence: High
                        effective_at: '2026-10-26T16:00:00.000Z'
                        event_end_at: '2026-10-27T11:00:00.000Z'
                        expires_at: '2026-10-26T13:24:18.999Z'
                        id: 163551526102965285202610250504_fea1-1103
                        impact: Moderate
                        name: wind warning
                        province: QC
                        published_at: '2026-10-25T21:24:18.999Z'
                        short_name: Wind
                        status: issued
                        status_code: issued
                        text: >-
                          What: High northwesterly winds gusting up to 90
                          kilometres per hour


                          When: Monday


                          Additional information:

                          Winds will gradually ease overnight Monday night


                          Local utility outages are possible. Disruptions to
                          services and travel are possible.


                          Secure loose objects.


                          Please continue to monitor alerts and forecasts issued
                          by Environment Canada. To report severe weather, send
                          an email to QCstorm@ec.gc.ca or post reports on social
                          media using #QCStorm.
                        type: warning
                      - area: Ivujivik
                        area_id: fea1-1091
                        code: BZW
                        colour: yellow
                        confidence: High
                        effective_at: '2026-10-25T20:35:00.000Z'
                        event_end_at: '2026-10-26T14:03:00.000Z'
                        expires_at: '2026-10-26T12:40:20.165Z'
                        id: 203631065102965285202610250504_fea1-1091
                        impact: Moderate
                        name: blizzard warning
                        province: QC
                        published_at: '2026-10-25T20:40:20.165Z'
                        short_name: Blizzard
                        status: issued
                        status_code: issued
                        text: >-
                          What: blizzard conditions with poor visibilities in
                          blowing snow are expected.


                          When: Tonight


                          Additional information:

                          Conditions will improve gradually tomorrow.


                          Travel will likely be hazardous.


                          Limit travel and outdoor activities, if possible.


                          Blizzard warnings are issued when widespread poor
                          visibility in blowing snow is expected.


                          Please continue to monitor alerts and forecasts issued
                          by Environment Canada. To report severe weather, send
                          an email to QCstorm@ec.gc.ca or post reports on social
                          media using #QCStorm.
                        type: warning
                      - area: Salluit
                        area_id: fea1-1098
                        code: BZW
                        colour: yellow
                        confidence: High
                        effective_at: '2026-10-25T20:35:00.000Z'
                        event_end_at: '2026-10-26T14:03:00.000Z'
                        expires_at: '2026-10-26T12:40:20.165Z'
                        id: 203631065102965285202610250504_fea1-1098
                        impact: Moderate
                        name: blizzard warning
                        province: QC
                        published_at: '2026-10-25T20:40:20.165Z'
                        short_name: Blizzard
                        status: issued
                        status_code: issued
                        text: >-
                          What: blizzard conditions with poor visibilities in
                          blowing snow are expected.


                          When: Tonight


                          Additional information:

                          Conditions will improve gradually tomorrow.


                          Travel will likely be hazardous.


                          Limit travel and outdoor activities, if possible.


                          Blizzard warnings are issued when widespread poor
                          visibility in blowing snow is expected.


                          Please continue to monitor alerts and forecasts issued
                          by Environment Canada. To report severe weather, send
                          an email to QCstorm@ec.gc.ca or post reports on social
                          media using #QCStorm.
                        type: warning
                      - area: Northern Peninsula East
                        area_id: fea1-878
                        code: WDW
                        colour: yellow
                        confidence: High
                        effective_at: '2026-10-26T00:00:00.000Z'
                        event_end_at: '2026-10-26T06:00:00.000Z'
                        expires_at: '2026-10-26T08:00:57.942Z'
                        id: 1608102061545548275202610240507_fea1-878
                        impact: Moderate
                        name: wind warning
                        province: NL
                        published_at: '2026-10-25T18:36:57.942Z'
                        short_name: Wind
                        status: continued
                        status_code: continued
                        text: >-
                          Damaging winds are expected.


                          Locations: Northern Peninsula East.


                          Maximum wind gusts: westerly 80 km/h, except 110 in
                          the Canada Bay area.


                          Time span: later this evening until after midnight.


                          Local utility outages are possible.


                          Secure loose objects.


                          Wind warnings are issued when there is a significant
                          risk of damaging winds.


                          Please continue to monitor alerts and forecasts issued
                          by Environment Canada. To report severe weather, send
                          an email to NLstorm@ec.gc.ca or post reports on social
                          media using #NLwx.
                        type: warning
                    attribution: 'Data Source: Environment and Climate Change Canada'
                    city: null
                    count: 11
                    lang: en
                    licence_url: https://eccc-msc.github.io/open-data/licence/readme_en/
                    observed_at_ms: 1792969237389
                    scope: canada
                    source_url: >-
                      https://api.weather.gc.ca/collections/weather-alerts/items?f=json&limit=1000
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Active ECCC public weather alerts (warnings, watches, advisories and
            statements, the data behind weather.gc.ca/warnings) for a city page
            (city_id), a point (lat/lon: alerts whose area contains it), a
            province or territory, or all of Canada when no selector is given.
            Alert text is returned exactly as issued, as the ECCC licence
            requires. Ended alerts are dropped unless include_ended. No alert in
            effect is an empty list; an unknown city_id is not_found.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

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

            | `alerts` | object[] | Newest publication first; one row per alert
            area. |

            | `attribution` | string | Attribution the ECCC Data Servers End-use
            Licence requires when the data is republished. |

            | `city` | object | The city page when city_id was given. |

            | `count` | number |  |

            | `lang` | string | Language of the texts. |

            | `licence_url` | string | The ECCC Data Servers End-use Licence. |

            | `observed_at_ms` | number | When this program read the source,
            epoch milliseconds. |

            | `scope` | string |  |

            | `source_url` | string | The api.weather.gc.ca request this answer
            was read from. |



            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.