LLM Flight Booking Assistant
User login
post
Body
application/json
Body
application/json
usernamestring
passwordstring(password)
Response
application/json
Response
application/json
Login successful
tokenstring
expiresIninteger(int32)
post/auth/login
Authentication
UnauthenticatedBody
{}
application/json
flightStatus
WEBHOOKpost
Body
application/json
Body
application/json
FlightStatusUpdate
flightIdstring(uuid)required
statusstringrequired
Allowed values:scheduledboardingdeparteddelayedarrivedcancelled
timestampstring(date-time)required
Response
204
Response
204
Status received
post
Body
{
"flightId": "flightId",
"status": "scheduled",
"timestamp": "timestamp"
}
204
IATACode
stringIATA airport code
Match pattern:^[A-Z]{3}$
Example:DEN
Example
Flight
objectidstring(uuid)required
airlinestringrequired
flightNumberstringrequired
originobjectrequired
Show Child Parameters
destinationobjectrequired
Show Child Parameters
departureTimestring(date-time)required
arrivalTimestring(date-time)required
durationMinutesinteger
>= 0
aircraftstring
seatsAvailableinteger
Example
Airport
objectcodestring
IATA airport code
Match pattern:^[A-Z]{3}$
Example:DEN
namestring
citystring
countrystring
Example