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

> Get preview image for a model using provided query and style (style as a JSON object in 'style' query param)



## OpenAPI

````yaml https://sahabah-prod.devops.arabiaweather.com/openapi.json get /api/weather/models/{model}/preview
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/models/{model}/preview:
    get:
      tags:
        - Weather
      description: >-
        Get preview image for a model using provided query and style (style as a
        JSON object in 'style' query param)
      operationId: get_layer_preview_image
      parameters:
        - name: model
          in: path
          description: Weather model ID (e.g., gfs, ec25, icon, gem)
          required: true
          schema:
            type: string
        - name: query
          in: query
          description: Field expression to render
          required: true
          schema:
            type: string
        - name: style
          in: query
          description: Style object as JSON (all keys optional)
          required: false
          schema:
            type: string
        - name: x-api-key
          in: header
          description: API key for authentication
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Layer preview image successfully retrieved
          content:
            image/png: {}
        '400':
          description: Missing or invalid parameters
        '500':
          description: Internal server error
        '503':
          description: MODMS API unavailable
      security:
        - x-api-key: []
components: {}

````