FD
Flight Delay Prediction
/travel/predictions/flight-delay
Return the delay segment where the flight is likely to lay.
Return the delay segment where the flight is likely to lay.
liveunknown~3s typical
flight-delay-predictionflight
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run oa-amadeus-com-amadeus-flight-delay-prediction /travel/predictions/flight-delay for me.
Input
| Field | Type | Description |
|---|---|---|
| originLocationCode* | string | city/airport [IATA code](http://www.iata.org/publications/Pages/code-search.aspx) from which the traveler is departing, e.g. PAR for Paris default null |
| destinationLocationCode* | string | city/airport [IATA code](http://www.iata.org/publications/Pages/code-search.aspx) to which the traveler is going, e.g. PAR for Paris default null |
| departureDate* | string | 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 default null |
| departureTime* | string | local time relative to originLocationCode on which the traveler will depart from the origin. Time respects ISO 8601 standard. e.g. 13:22:00 default null |
| arrivalDate* | string | 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 default null |
| arrivalTime* | string | local time relative to destinationLocationCode on which the traveler will arrive to destination. Time respects ISO 8601 standard. e.g. 13:22:00 default null |
| aircraftCode* | string | IATA aircraft code (http://www.flugzeuginfo.net/table_accodes_iata_en.php) default null |
| carrierCode* | string | airline / carrier code default null |
| flightNumber* | string | flight number as assigned by the carrier default null |
| duration* | string | flight duration in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) PnYnMnDTnHnMnS format, e.g. PT2H10M default null |
Call it
curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
-H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
-d '{"provider":"oa-amadeus-com-amadeus-flight-delay-prediction","endpoint":"/travel/predictions/flight-delay","input":{"originLocationCode":"...","destinationLocationCode":"...","departureDate":"...","departureTime":"...","arrivalDate":"...","arrivalTime":"...","aircraftCode":"...","carrierCode":"...","flightNumber":"...","duration":"..."}}'cli
npx cracked-ai run -p oa-amadeus-com-amadeus-flight-delay-prediction -e /travel/predictions/flight-delay -i '{"originLocationCode":"...","destinationLocationCode":"...","departureDate":"...","departureTime":"...","arrivalDate":"...","arrivalTime":"...","aircraftCode":"...","carrierCode":"...","flightNumber":"...","duration":"..."}'mcp
run_tool({ provider: "oa-amadeus-com-amadeus-flight-delay-prediction", endpoint: "/travel/predictions/flight-delay", input: {"originLocationCode":"...","destinationLocationCode":"...","departureDate":"...","departureTime":"...","arrivalDate":"...","arrivalTime":"...","aircraftCode":"...","carrierCode":"...","flightNumber":"...","duration":"..."} })Try it
Runs against your signed-in workspace balance. Sign in if you have not.