Polyflight flights
Polyflight flights
Required scope: polyflight:read.
Paths
GET /api/operator/polyflight/flights
GET /api/operator/polyflight/flights/{flightIdOrCode}
GET /api/operator/polyflight/flights/export
The detail identifier accepts a flight UUID or 3–64 character alphanumeric/hyphen flight code. A flight outside the authenticated operator's participation returns not found.
List and export filters are date_from, date_to, comma-separated status, search, page, and page_size (default 50, maximum 200). List results return items, total, page, and pageSize.
Flight items contain flightId, flightCode, status/times, operatorId, ticket/user counts, decimal-string native stakeMinor, feeMinor, netStakeMinor, potentialPayoutMinor, won/lost/refund counts, and unpaidLiabilityMinor.
Export applies the same filters to all matching rows. It returns CSV by default; ?format=json returns the canonical paged JSON shape. All responses are private, no-store.
Playground: /api-playground/polyflight?request=polyflight-flights.
