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

# Get Historical Current Conditions

> Get Historical Current Conditions

## Request contract

* **Method and path:** POST /apis/v1/accu-weather/get-historical-current-conditions
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/accu-weather/get-historical-current-conditions`

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

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "accu-weather.get-historical-current-conditions",
  "method": "POST",
  "path": "/apis/v1/accu-weather/get-historical-current-conditions",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "properties": {
            "details": {
              "default": false,
              "description": "Whether to include extended observation details.",
              "type": "boolean"
            },
            "get_photos": {
              "default": false,
              "description": "Whether to include representative weather photos.",
              "type": "boolean"
            },
            "hours": {
              "default": 6,
              "description": "Historical window in hours. Use 6 or 24.",
              "enum": [
                6,
                24
              ],
              "examples": [
                6,
                24
              ],
              "type": "integer"
            },
            "language": {
              "default": "en-us",
              "description": "Language code for localized fields.",
              "examples": [
                "en-us"
              ],
              "type": "string"
            },
            "location_key": {
              "description": "AccuWeather location key.",
              "examples": [
                "349727"
              ],
              "type": "string"
            }
          },
          "required": [
            "location_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.0004 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.


## OpenAPI

````yaml openapi/accu-weather.json POST /apis/v1/accu-weather/get-historical-current-conditions
openapi: 3.1.0
info:
  description: ''
  title: AccuWeather
  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:
    accu-weather:
      description: ''
      title: AccuWeather
      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: 5781dfb550d2098ff8623ee80fcdce60f473cad692c33c4ebc2dffcb2bca6ead
        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/accu-weather/autocomplete-locations
    - /apis/v1/accu-weather/get-administrative-area
    - /apis/v1/accu-weather/get-country
    - /apis/v1/accu-weather/get-current-conditions
    - /apis/v1/accu-weather/get-daily-forecast
    - /apis/v1/accu-weather/get-daily-indices
    - /apis/v1/accu-weather/get-historical-current-conditions
    - /apis/v1/accu-weather/get-hourly-forecast
    - /apis/v1/accu-weather/get-index
    - /apis/v1/accu-weather/get-index-group
    - /apis/v1/accu-weather/get-location
    - /apis/v1/accu-weather/get-radar-satellite-imagery
    - /apis/v1/accu-weather/get-region
    - /apis/v1/accu-weather/get-translation-group
    - /apis/v1/accu-weather/get-tropical-storm-current-position
    - /apis/v1/accu-weather/list-active-tropical-storms
    - /apis/v1/accu-weather/list-administrative-areas
    - /apis/v1/accu-weather/list-countries
    - /apis/v1/accu-weather/list-index-groups
    - /apis/v1/accu-weather/list-indices
    - /apis/v1/accu-weather/list-neighboring-cities
    - /apis/v1/accu-weather/list-regions
    - /apis/v1/accu-weather/list-supported-languages
    - /apis/v1/accu-weather/list-top-cities
    - /apis/v1/accu-weather/list-top-city-conditions
    - /apis/v1/accu-weather/list-translation-groups
    - /apis/v1/accu-weather/list-tropical-storm-forecasts
    - /apis/v1/accu-weather/list-tropical-storm-positions
    - /apis/v1/accu-weather/list-tropical-storm-statuses
    - /apis/v1/accu-weather/list-tropical-storms-by-year
    - /apis/v1/accu-weather/list-weather-alarms
    - /apis/v1/accu-weather/list-weather-alerts
    - /apis/v1/accu-weather/resolve-language-identifier
    - /apis/v1/accu-weather/search-administrative-areas
    - /apis/v1/accu-weather/search-city-by-ip-address
    - /apis/v1/accu-weather/search-locations
    - /apis/v1/accu-weather/search-locations-by-coordinates
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:2e4f27b5d401c371ead10b5f00a254bc075b10f523e1f8a5705bc7e5f28149ff
    facts_hash: 5781dfb550d2098ff8623ee80fcdce60f473cad692c33c4ebc2dffcb2bca6ead
    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: accu-weather
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/accu-weather/get-historical-current-conditions:
    post:
      tags:
        - AccuWeather
      summary: Get Historical Current Conditions
      operationId: accu-weather.get-historical-current-conditions
      requestBody:
        content:
          application/json:
            schema:
              properties:
                details:
                  default: false
                  description: Whether to include extended observation details.
                  type: boolean
                get_photos:
                  default: false
                  description: Whether to include representative weather photos.
                  type: boolean
                hours:
                  default: 6
                  description: Historical window in hours. Use 6 or 24.
                  enum:
                    - 6
                    - 24
                  examples:
                    - 6
                    - 24
                  type: integer
                language:
                  default: en-us
                  description: Language code for localized fields.
                  examples:
                    - en-us
                  type: string
                location_key:
                  description: AccuWeather location key.
                  examples:
                    - '349727'
                  type: string
              required:
                - location_key
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__public_data
          description: Tool result data
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
      x-codeSamples:
        - label: Reference example
          lang: text
          source: >-
            # Fixed reference example. Playground inputs do not update this
            sample.

            curl --request POST \
              --url https://api.aisa.one/apis/v1/accu-weather/get-historical-current-conditions \
              --header 'Authorization: Bearer <token>' \
              --header 'Content-Type: application/json' \
              --data '{
              "location_key": "349727"
            }'
components:
  schemas:
    Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__public_data:
      $ref: >-
        #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__32f31f9566992000
    Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__32f31f9566992000:
      properties:
        conditions:
          items:
            $ref: >-
              #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__071878e81682f3b9
          type: array
      type: object
    Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__071878e81682f3b9:
      properties:
        apparent_temperature:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__cec878b77931fe0b
        ceiling:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__cec878b77931fe0b
        cloud_cover:
          maximum: 100
          minimum: 0
          type: integer
        dew_point:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__cec878b77931fe0b
        epoch_time:
          type: integer
        has_precipitation:
          type: boolean
        heat_index:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__cec878b77931fe0b
        indoor_relative_humidity:
          maximum: 100
          minimum: 0
          type: integer
        is_day_time:
          type: boolean
        link:
          type: string
        local_observation_date_time:
          type: string
        mobile_link:
          type: string
        obstructions_to_visibility:
          type: string
        past_24_hour_temperature_departure:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__cec878b77931fe0b
        photos:
          items:
            $ref: >-
              #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__c67e2d7d37f9fb4c
          type: array
        precip_1_hour:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__cec878b77931fe0b
        precipitation_summary:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__d4ad2a4f5a191ec6
        precipitation_type:
          anyOf:
            - type: string
            - type: 'null'
        pressure:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__cec878b77931fe0b
        pressure_tendency:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__f6ffc7518c356825
        real_feel_temperature:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__f5390ae62eb501e0
        real_feel_temperature_shade:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__f5390ae62eb501e0
        relative_humidity:
          maximum: 100
          minimum: 0
          type: integer
        temperature:
          anyOf:
            - $ref: >-
                #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__cec878b77931fe0b
            - type: 'null'
        temperature_summary:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__8b1e6da2c96ea505
        uv_index:
          minimum: 0
          type: integer
        uv_index_float:
          minimum: 0
          type: number
        uv_index_text:
          type: string
        visibility:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__cec878b77931fe0b
        weather_icon:
          type: integer
        weather_text:
          type: string
        wet_bulb_globe_temperature:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__cec878b77931fe0b
        wet_bulb_temperature:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__cec878b77931fe0b
        wind:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__258e537276bdc089
        wind_chill_temperature:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__cec878b77931fe0b
        wind_gust:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__b15a2c42995468a2
      required:
        - local_observation_date_time
        - epoch_time
        - weather_text
        - weather_icon
        - has_precipitation
        - precipitation_type
        - is_day_time
        - temperature
        - mobile_link
        - link
      type: object
    Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__cec878b77931fe0b:
      properties:
        imperial:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__172138653ca7a9a9
        metric:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__172138653ca7a9a9
      required:
        - metric
        - imperial
      type: object
    Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__c67e2d7d37f9fb4c:
      properties:
        date_taken:
          type: string
        description:
          type: string
        landscape_link:
          type: string
        portrait_link:
          type: string
        source:
          type: string
      type: object
    Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__d4ad2a4f5a191ec6:
      properties:
        past_12_hours:
          anyOf:
            - $ref: >-
                #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__cec878b77931fe0b
            - type: 'null'
        past_18_hours:
          anyOf:
            - $ref: >-
                #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__cec878b77931fe0b
            - type: 'null'
        past_24_hours:
          anyOf:
            - $ref: >-
                #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__cec878b77931fe0b
            - type: 'null'
        past_3_hours:
          anyOf:
            - $ref: >-
                #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__cec878b77931fe0b
            - type: 'null'
        past_6_hours:
          anyOf:
            - $ref: >-
                #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__cec878b77931fe0b
            - type: 'null'
        past_9_hours:
          anyOf:
            - $ref: >-
                #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__cec878b77931fe0b
            - type: 'null'
        past_hour:
          anyOf:
            - $ref: >-
                #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__cec878b77931fe0b
            - type: 'null'
        precipitation:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__cec878b77931fe0b
      required:
        - precipitation
        - past_hour
        - past_3_hours
        - past_6_hours
        - past_9_hours
        - past_12_hours
        - past_18_hours
        - past_24_hours
      type: object
    Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__f6ffc7518c356825:
      properties:
        code:
          enum:
            - F
            - S
            - R
          type: string
        localized_text:
          type: string
      required:
        - localized_text
        - code
      type: object
    Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__f5390ae62eb501e0:
      properties:
        imperial:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__ae987980fed3ccda
        metric:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__ae987980fed3ccda
      required:
        - metric
        - imperial
      type: object
    Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__8b1e6da2c96ea505:
      properties:
        past_12_hour_range:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__9ad671c7c115c967
        past_24_hour_range:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__9ad671c7c115c967
        past_6_hour_range:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__9ad671c7c115c967
      required:
        - past_6_hour_range
        - past_12_hour_range
        - past_24_hour_range
      type: object
    Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__258e537276bdc089:
      properties:
        direction:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__cca6f3f509c368c8
        speed:
          anyOf:
            - $ref: >-
                #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__cec878b77931fe0b
            - type: 'null'
      required:
        - direction
        - speed
      type: object
    Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__b15a2c42995468a2:
      properties:
        speed:
          anyOf:
            - $ref: >-
                #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__cec878b77931fe0b
            - type: 'null'
      required:
        - speed
      type: object
    Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__172138653ca7a9a9:
      properties:
        unit:
          type: string
        unit_type:
          type: integer
        value:
          type: number
      required:
        - value
        - unit
        - unit_type
      type: object
    Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__ae987980fed3ccda:
      properties:
        phrase:
          type: string
        unit:
          type: string
        unit_type:
          type: integer
        value:
          type: number
      required:
        - value
        - unit
        - unit_type
      type: object
    Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__9ad671c7c115c967:
      properties:
        maximum:
          anyOf:
            - $ref: >-
                #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__cec878b77931fe0b
            - type: 'null'
        minimum:
          anyOf:
            - $ref: >-
                #/components/schemas/Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__cec878b77931fe0b
            - type: 'null'
      required:
        - minimum
        - maximum
      type: object
    Response576A0Ea506F3_connect_ACCU_WEATHER_GET_HISTORICAL_CURRENT_CONDITIONS__output__cca6f3f509c368c8:
      properties:
        degrees:
          maximum: 360
          minimum: 0
          type: integer
        english:
          type: string
        localized:
          type: string
      required:
        - degrees
        - localized
        - english
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.