LLM Flight Booking Assistant

auth

Authentication and authorization

User login

post

Body

application/json
usernamestring
passwordstring(password)

Response

application/json

Login successful

tokenstring
expiresIninteger(int32)
post/auth/login

Body

{}
 
application/json

flightStatus

WEBHOOK
post

Body

application/json

FlightStatusUpdate

flightIdstring(uuid)required
statusstringrequired

Allowed values:scheduledboardingdeparteddelayedarrivedcancelled

timestampstring(date-time)required

Response

204

Status received

post

Body

{ "flightId": "flightId", "status": "scheduled", "timestamp": "timestamp" }
204

IATACode

string

IATA airport code

Match pattern:^[A-Z]{3}$

Example:DEN

Example

Flight

object
idstring(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