Flight timeline
get_flight_timelineRetrieve a flight leg's airline-reported change history to see what changed or why it is delayed.
Instructions
The airline's own change history for one flight leg, newest first, as {flightKey, count, data}; each entry has occurredAt, title, source and events in the airline's words (e.g. "Actual Gate Arrival changed to 13:35"). Use it for "what changed" or "why is it late" questions. get_flight already contains the same timeline, so call this only when the history alone is needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Local departure date at the origin airport, YYYY-MM-DD. A flight that leaves at 23:50 and lands the next morning belongs to the day it left. Live records cover a few days back to about two days ahead. | |
| origin | No | Departure airport, IATA code (e.g. "IST"; the upstream code such as "ISL" also works). Picks the leg when the flight number operates more than one leg that day. | |
| carrier | Yes | Airline code: the 2-character IATA code (e.g. "TK") or 3-character ICAO code (e.g. "THY"). For flight "TK1848" this is "TK". | |
| destination | No | Arrival airport, IATA code (e.g. "JFK"). Narrows further when several legs leave the same airport. | |
| flightNumber | Yes | Flight number without the airline code: 1 to 4 digits and an optional letter suffix. For "TK1848" this is "1848". Leading zeros are ignored. |