{"files":{"SKILL.md":"---\nname: flight-price-analysis-api\ndescription: \"Flight Price Analysis API skill. Use when working with Flight Price Analysis for analytics. Covers 1 endpoint.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Flight Price Analysis API\nAPI version: 1.0.1\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 /analytics/itinerary-price-metrics -- get itinerary price metric\n3. Explore available endpoints below\n\n## Endpoints\n1 endpoint across 1 group. See references/api-spec.lap for full details.\n\n### Analytics\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /analytics/itinerary-price-metrics | GET itinerary price metric |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all itinerary-price-metrics?\" -> GET /analytics/itinerary-price-metrics\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 Price Analysis API\n@base https://test.api.amadeus.com/v1\n@version 1.0.1\n@endpoints 1\n@toc analytics(1)\n\n@endpoint GET /analytics/itinerary-price-metrics\n@desc GET itinerary price metric\n@required {originIataCode: str # airport code, following [IATA standard](http://www.iata.org/publications/Pages/code-search.aspx), from which the traveler will depart, destinationIataCode: str # airport code, following [IATA standard](http://www.iata.org/publications/Pages/code-search.aspx), to which the traveler is going., departureDate: str # 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.}\n@optional {currencyCode: str=EUR # the preferred currency for display. Currency is specified in the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) format, e.g. EUR for Euro, oneWay: bool=false # true to get price metrics for a one way trip, false to get price metrics for a round trip}\n@returns(200) Successful reply\n@errors {400: code    | title                                  ------- | -------------------------------------  477     | INVALID FORMAT 572     | INVALID OPTION                             32171   | MANDATORY DATA MISSING, 500: Internal Server Error}\n\n@end\n"}}