Cosmos API
    • Overview
    • Getting started
    • Authentication
    • Environments
    • Rate Limits & Quotas
    • Error Handling
    • Idempotency & State management
    • Forward Compatibility
    • Upsert flight legs
      POST
    • Schemas
      • IngestRequest
      • FlightLeg
      • Delay
      • PassengersPerCabinClass
      • SpecialServices
      • TurnaroundFeedbackCheck
      • IngestResponse
      • MishandledBag
      • IngestResult
      • IngestSummary
      • ValidationError
      • ErrorResponse
    Open appWebsiteStatusLinkedin
    Open appWebsiteStatusLinkedin

    IngestRequest

    {
        "flight_legs": [
            {
                "external_id": "partner-ref-001",
                "airline": "AB",
                "flight_number": "6210",
                "origin": "MUC",
                "destination": "TXL",
                "scheduled_departure_at": "2026-03-24T08:30:00Z",
                "actual_departure_at": "2026-03-24T08:45:00Z",
                "cancelled_at": "2026-06-06T06:45:00Z",
                "aircraft_type": "320",
                "registration": "D-ASGK",
                "gate": "B12",
                "passenger_count": 164,
                "seat_occupancy_factor": 0.87,
                "original_destination": "SXF",
                "loaded_bag_count": 230,
                "inbound_delay_minutes": 25,
                "remarks": [
                    {
                        "type": "ops",
                        "content": "Tech stop due to weather"
                    }
                ],
                "position": "remote",
                "service_type": "A",
                "delays": [
                    {
                        "code": 93,
                        "minutes": 15,
                        "subcode": "A"
                    }
                ],
                "passengers_per_cabin_class": {
                    "economy": 140,
                    "business": 20,
                    "premium_economy": 0,
                    "first": 4
                },
                "special_services": {
                    "wheelchair": 2,
                    "unaccompanied_minor": 1,
                    "pad": 0,
                    "infants": 3
                },
                "turnaround_feedback_checks": [
                    {
                        "category": "Stand Preparation",
                        "code": "SP1",
                        "result": "passed"
                    }
                ],
                "timestamps": [
                    {
                        "name": "passenger_door_opened",
                        "at": "2026-03-24T07:48:00Z"
                    }
                ],
                "mishandled_bags": [
                    {
                        "tag_number": "XZ123456789",
                        "rl": 51,
                        "fs": "ABC",
                        "rdt": "2026-03-24",
                        "type": "AHL",
                        "is_cleared": false,
                        "file_ref_ahl": "ABCCL12345",
                        "file_ref_fwd": null,
                        "passenger_routing_fd": null,
                        "create_date_ahl": "2026-03-24T10:15:00Z",
                        "create_date_fwd": null
                    }
                ]
            }
        ]
    }
    Built with