{"files":{"SKILL.md":"---\nname: flight-delay-prediction\ndescription: \"Flight Delay Prediction API skill. Use when working with Flight Delay Prediction for travel. Covers 1 endpoint.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Flight Delay Prediction\nAPI version: 1.0.6\n\n## Auth\nNo authentication required.\n\n## Base URL\nhttps://test.api.amadeus.com/v1\n\n## Setup\n1. No auth setup needed\n2. GET /travel/predictions/flight-delay -- return the delay segment where the flight is likely to lay.\n3. Explore available endpoints below\n\n## Endpoints\n1 endpoint across 1 group. See references/api-spec.lap for full details.\n\n### Travel\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /travel/predictions/flight-delay | Return the delay segment where the flight is likely to lay. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all flight-delay?\" -> GET /travel/predictions/flight-delay\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Error responses include status codes and descriptions in the spec\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Flight Delay Prediction\n@base https://test.api.amadeus.com/v1\n@version 1.0.6\n@endpoints 1\n@toc travel(1)\n\n@endpoint GET /travel/predictions/flight-delay\n@desc Return the delay segment where the flight is likely to lay.\n@required {originLocationCode: any # city/airport [IATA code](http://www.iata.org/publications/Pages/code-search.aspx) from which the traveler is departing, e.g. PAR for Paris, destinationLocationCode: any # city/airport [IATA code](http://www.iata.org/publications/Pages/code-search.aspx) to which the traveler is going, e.g. PAR for Paris, departureDate: any # the date on which the traveler will depart from the origin to go to the destination. Dates are specified in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) YYYY-MM-DD format, e.g. 2019-12-25, departureTime: any # local time relative to originLocationCode on which the traveler will depart from the origin. Time respects ISO 8601 standard. e.g. 13:22:00, arrivalDate: any # the date on which the traveler will arrive to the destination from the origin. Dates are specified in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) YYYY-MM-DD format, e.g. 2019-12-25, arrivalTime: any # local time relative to destinationLocationCode on which the traveler will arrive to destination. Time respects ISO 8601 standard. e.g. 13:22:00, aircraftCode: any # IATA aircraft code (http://www.flugzeuginfo.net/table_accodes_iata_en.php), carrierCode: any # airline / carrier code, flightNumber: any # flight number as assigned by the carrier, duration: any # flight duration in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) PnYnMnDTnHnMnS format, e.g. PT2H10M}\n@returns(200) Success\n@errors {400: code    | title                                  ------- | -------------------------------------  477     | INVALID FORMAT 572     | INVALID OPTION 4926    | INVALID DATA RECEIVED                32171   | MANDATORY DATA MISSING}\n\n@end\n"}}