> ## Documentation Index
> Fetch the complete documentation index at: https://docs-v2.ard.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Get apiweatherarchivesmodels  runs

> Get available archive runs for a specific model and date



## OpenAPI

````yaml https://sahabah-prod.devops.arabiaweather.com/openapi.json get /api/weather/archives/models/{model}/{year}/{month}/{day}/runs
openapi: 3.1.0
info:
  title: sahabah-api
  description: ''
  license:
    name: ''
  version: 1.0.0
servers:
  - url: https://sahabah-prod.devops.arabiaweather.com
    description: Production API server
  - url: https://sahabah-stg.devops.arabiaweather.com
    description: Staging API server
security: []
tags:
  - name: System
    description: System health and monitoring endpoints
  - name: Aviation
    description: Aviation data parsing endpoints
  - name: Weather
    description: Weather data and forecasting endpoints
  - name: Reports
    description: Forecast accuracy analysis and reporting endpoints
paths:
  /api/weather/archives/models/{model}/{year}/{month}/{day}/runs:
    get:
      tags:
        - Weather
      description: Get available archive runs for a specific model and date
      operationId: get_archive_runs
      parameters:
        - name: model
          in: path
          description: Model name (e.g., GFS, ICON)
          required: true
          schema:
            type: string
        - name: year
          in: path
          description: Year (e.g., 2024)
          required: true
          schema:
            type: integer
            format: int32
            minimum: 0
        - name: month
          in: path
          description: Month (1-12)
          required: true
          schema:
            type: integer
            format: int32
            minimum: 0
        - name: day
          in: path
          description: Day (1-31)
          required: true
          schema:
            type: integer
            format: int32
            minimum: 0
        - name: x-api-key
          in: header
          description: API key for authentication
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Archive runs successfully retrieved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse_RunsResponse'
        '400':
          description: Invalid date parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppError'
        '401':
          description: Unauthorized
        '404':
          description: No runs found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppError'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppError'
      security:
        - x-api-key: []
components:
  schemas:
    SuccessResponse_RunsResponse:
      type: object
      required:
        - data
        - timestamp
        - request_id
        - build
      properties:
        build:
          type: string
        data:
          type: object
          required:
            - model
            - date
            - runs
          properties:
            date:
              type: string
            model:
              type: string
            runs:
              type: array
              items:
                type: string
        request_id:
          type: string
        timestamp:
          type: string
          format: date-time
    AppError:
      oneOf:
        - type: object
          required:
            - unauthorized
          properties:
            unauthorized:
              type: array
              items:
                type: object
              maxItems: 2
              minItems: 2
        - type: object
          required:
            - service-unavailable
          properties:
            service-unavailable:
              type: array
              items:
                type: object
              maxItems: 2
              minItems: 2
        - type: object
          required:
            - bad-request
          properties:
            bad-request:
              type: array
              items:
                type: object
              maxItems: 2
              minItems: 2
        - type: object
          required:
            - invalid-request
          properties:
            invalid-request:
              type: array
              items:
                type: object
              maxItems: 2
              minItems: 2
        - type: object
          required:
            - internal-error
          properties:
            internal-error:
              type: array
              items:
                type: object
              maxItems: 2
              minItems: 2

````