> ## Documentation Index
> Fetch the complete documentation index at: https://psw.belli.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Flight Capacity

> Get per-flight capacity snapshot with projected/actual kgs and volume

Get per-flight capacity snapshot with projected/actual weights and volumes.

<ParamField status="200" type="CapacityResponse">
  <ParamField name="capacity" type="array">
    List of capacity snapshots
  </ParamField>
</ParamField>

### Reference Documentation

<Info>
  For more information on flight scheduling and capacity processes, please refer to:

  * Page 48 of "BRS Future Processes DRAFT": [https://belli.sg/3KqjOfV](https://belli.sg/3KqjOfV)
</Info>


## OpenAPI

````yaml GET /api/capacity
openapi: 3.0.3
info:
  title: Mock API
  version: 1.0.0
  description: >-
    Mock OpenAPI spec for QR API Service. All endpoints require API key
    authentication via 'Authorization: Bearer <token>' or 'x-api-key: <token>'
    headers.
servers:
  - url: https://1a557de0-701c-477d-bedd-433520441dae.mock.pstmn.io
    description: Production server
security:
  - ApiKeyAuth: []
  - ApiKeyHeader: []
tags:
  - name: auth-v1
    description: Authentication and user management
  - name: reference-data-v1
    description: Reference data and master data
  - name: flights-v1
    description: Flight schedules and capacity
  - name: quotes-v1
    description: Quotation and pricing
  - name: awb-stock-v1
    description: AWB Stock Management
  - name: bookings-v1
    description: Booking management
  - name: shipments-v1
    description: Shipment documents and tracking
  - name: compliance-v1
    description: Compliance and safety declarations
  - name: operations-v1
    description: Operational events and manifests
  - name: webhooks-v1
    description: Webhook management
  - name: admin-v1
    description: Administrative and audit functions
  - name: qr-exp-cgo-ext-availability-v1
    description: Legacy availability service
  - name: qr-exp-cgo-ext-booking-v1
    description: Legacy booking service
  - name: qr-exp-cgo-ext-flight-schedules-v1
    description: Legacy flight schedules service
  - name: qr-exp-cgo-shipments-v1
    description: Legacy shipments service
  - name: qr-exp-cgo-stock-v1
    description: Legacy stock service
  - name: qr-exp-cgo-tables-v1
    description: Legacy table data service
paths:
  /api/capacity:
    get:
      tags:
        - flights-v1
      summary: Get flight capacity snapshots
      description: Get per-flight capacity snapshot with projected/actual kgs and volume
      parameters:
        - name: flightNumber
          in: query
          schema:
            type: string
          description: Filter by flight number
        - name: origin
          in: query
          schema:
            type: string
          description: Filter by origin
        - name: destination
          in: query
          schema:
            type: string
          description: Filter by destination
        - name: date
          in: query
          schema:
            type: string
            format: date
          description: Filter by date
        - name: aircraftType
          in: query
          schema:
            type: string
          description: Filter by aircraft type
      responses:
        '200':
          description: Capacity snapshots
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CapacityResponse'
components:
  schemas:
    CapacityResponse:
      type: object
      properties:
        capacity:
          type: array
          items:
            $ref: '#/components/schemas/FlightCapacity'
    FlightCapacity:
      type: object
      properties:
        flightId:
          type: string
          example: QR001-20240101
        projectedWeight:
          type: number
          example: 50000
        actualWeight:
          type: number
          example: 45000
        projectedVolume:
          type: number
          example: 100
        actualVolume:
          type: number
          example: 90
        availableWeight:
          type: number
          example: 5000
        availableVolume:
          type: number
          example: 10
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
    ApiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````