Model library · 2026-10-17-tau2-qwen35-9b · trial 0 · ended by user_stop
Airline task 44 fail
Tests instruction following over a long booking policy.
- 0
- reward
- 46
- messages
- —
- agent cost
- $0.0331
- customer cost
- 874 s
- duration
Task
Test that agent can collect information about reservation, reason about durations as well as cancellation and upgrades options.
Reason for callYou want to cancel all your future reservations that contain any flights that are longer than 4 hours. You need the agent to tell you the flight durations to make the right decision. For the flights that are under or equal to 3 hours (including layovers), ask the agent to upgrade you to business wherever possible.
Customer knowsYou are Sophia Silva. Your user id is sophia_silva_7557.
BehaviorYou are busy so for both the cancellation and upgrade you want to let the agent figure out which flights meet the duration conditions you have set. Before they do the upgrade to business, ask the agent to tell you how much it will cost you in total. You DO NOT want to upgrade to business and then cancel it. You do NOT have a health related issue, you are healthy now.
Full task definition
{
"id": "44",
"issues": null,
"ticket": null,
"user_tools": null,
"description": {
"notes": null,
"purpose": "Test that agent can collect information about reservation, reason about durations as well as cancellation and upgrades options.",
"relevant_policies": null
},
"initial_state": null,
"user_scenario": {
"persona": null,
"instructions": {
"domain": "airline",
"known_info": "You are Sophia Silva.\nYour user id is sophia_silva_7557.",
"unknown_info": null,
"reason_for_call": "You want to cancel all your future reservations that contain any flights that are longer than 4 hours. \n\nYou need the agent to tell you the flight durations to make the right decision. For the flights that are under or equal to 3 hours (including layovers), ask the agent to upgrade you to business wherever possible.",
"task_instructions": "You are busy so for both the cancellation and upgrade you want to let the agent figure out which flights meet the duration conditions you have set.\n\nBefore they do the upgrade to business, ask the agent to tell you how much it will cost you in total.\n\nYou DO NOT want to upgrade to business and then cancel it. You do NOT have a health related issue, you are healthy now."
}
},
"required_documents": null,
"evaluation_criteria": {
"actions": [
{
"info": null,
"name": "get_user_details",
"action_id": "44_0",
"arguments": {
"user_id": "sophia_silva_7557"
},
"requestor": "assistant",
"compare_args": null
},
{
"info": null,
"name": "get_reservation_details",
"action_id": "44_1",
"arguments": {
"reservation_id": "NM1VX1"
},
"requestor": "assistant",
"compare_args": null
},
{
"info": null,
"name": "get_reservation_details",
"action_id": "44_2",
"arguments": {
"reservation_id": "KC18K6"
},
"requestor": "assistant",
"compare_args": null
},
{
"info": null,
"name": "get_reservation_details",
"action_id": "44_3",
"arguments": {
"reservation_id": "S61CZX"
},
"requestor": "assistant",
"compare_args": null
},
{
"info": null,
"name": "get_reservation_details",
"action_id": "44_4",
"arguments": {
"reservation_id": "H8Q05L"
},
"requestor": "assistant",
"compare_args": null
},
{
"info": null,
"name": "get_reservation_details",
"action_id": "44_5",
"arguments": {
"reservation_id": "WUNA5K"
},
"requestor": "assistant",
"compare_args": null
},
{
"info": null,
"name": "search_direct_flight",
"action_id": "44_6",
"arguments": {
"date": "2024-05-25",
"origin": "MSP",
"destination": "EWR"
},
"requestor": "assistant",
"compare_args": null
},
{
"info": null,
"name": "search_direct_flight",
"action_id": "44_7",
"arguments": {
"date": "2024-05-27",
"origin": "EWR",
"destination": "MSP"
},
"requestor": "assistant",
"compare_args": null
},
{
"info": null,
"name": "search_direct_flight",
"action_id": "44_8",
"arguments": {
"date": "2024-05-21",
"origin": "MSP",
"destination": "EWR"
},
"requestor": "assistant",
"compare_args": null
},
{
"info": null,
"name": "search_direct_flight",
"action_id": "44_9",
"arguments": {
"date": "2024-05-21",
"origin": "EWR",
"destination": "CLT"
},
"requestor": "assistant",
"compare_args": null
},
{
"info": null,
"name": "search_direct_flight",
"action_id": "44_10",
"arguments": {
"date": "2024-05-23",
"origin": "LAX",
"destination": "EWR"
},
"requestor": "assistant",
"compare_args": null
},
{
"info": null,
"name": "search_direct_flight",
"action_id": "44_11",
"arguments": {
"date": "2024-05-24",
"origin": "EWR",
"destination": "CLT"
},
"requestor": "assistant",
"compare_args": null
},
{
"info": null,
"name": "search_direct_flight",
"action_id": "44_12",
"arguments": {
"date": "2024-05-24",
"origin": "CLT",
"destination": "EWR"
},
"requestor": "assistant",
"compare_args": null
},
{
"info": null,
"name": "search_direct_flight",
"action_id": "44_13",
"arguments": {
"date": "2024-05-25",
"origin": "EWR",
"destination": "LAX"
},
"requestor": "assistant",
"compare_args": null
},
{
"info": null,
"name": "search_direct_flight",
"action_id": "44_14",
"arguments": {
"date": "2024-05-24",
"origin": "JFK",
"destination": "ATL"
},
"requestor": "assistant",
"compare_args": null
},
{
"info": null,
"name": "search_direct_flight",
"action_id": "44_15",
"arguments": {
"date": "2024-05-10",
"origin": "ORD",
"destination": "PHL"
},
"requestor": "assistant",
"compare_args": null
},
{
"info": null,
"name": "update_reservation_flights",
"action_id": "44_17",
"arguments": {
"cabin": "business",
"flights": [
{
"date": "2024-05-25",
"flight_number": "HAT300"
},
{
"date": "2024-05-27",
"flight_number": "HAT208"
}
],
"payment_id": "credit_card_4196779",
"reservation_id": "NM1VX1"
},
"requestor": "assistant",
"compare_args": null
},
{
"info": null,
"name": "update_reservation_flights",
"action_id": "44_18",
"arguments": {
"cabin": "business",
"flights": [
{
"date": "2024-05-24",
"flight_number": "HAT268"
}
],
"payment_id": "credit_card_4196779",
"reservation_id": "H8Q05L"
},
"requestor": "assistant",
"compare_args": null
},
{
"info": null,
"name": "update_reservation_flights",
"action_id": "44_19",
"arguments": {
"cabin": "business",
"flights": [
{
"date": "2024-05-21",
"flight_number": "HAT300"
},
{
"date": "2024-05-21",
"flight_number": "HAT215"
}
],
"payment_id": "credit_card_4196779",
"reservation_id": "KC18K6"
},
"requestor": "assistant",
"compare_args": null
}
],
"reward_basis": [
"DB",
"COMMUNICATE"
],
"nl_assertions": [
"Agent does not cancel reservation S61CZX as the user is healthy.",
"The total cost that the agent mentions is between $1380 and $1390.",
"Agent upgrades NM1VX1 to business.",
"Agent upgrades H8Q05L to business.",
"Agent updates KC18K6 to business."
],
"env_assertions": null,
"communicate_info": []
}
}Grading
15/19 expected actions matched · database differs
- ✓
get_user_details{"user_id":"sophia_silva_7557"} - ✓
get_reservation_details{"reservation_id":"NM1VX1"} - ✓
get_reservation_details{"reservation_id":"KC18K6"} - ✓
get_reservation_details{"reservation_id":"S61CZX"} - ✓
get_reservation_details{"reservation_id":"H8Q05L"} - ✓
get_reservation_details{"reservation_id":"WUNA5K"} - ✓
search_direct_flight{"date":"2024-05-25","origin":"MSP","destination":"EWR"} - ✓
search_direct_flight{"date":"2024-05-27","origin":"EWR","destination":"MSP"} - ✗
search_direct_flight{"date":"2024-05-21","origin":"MSP","destination":"EWR"} - ✓
search_direct_flight{"date":"2024-05-21","origin":"EWR","destination":"CLT"} - ✓
search_direct_flight{"date":"2024-05-23","origin":"LAX","destination":"EWR"} - ✓
search_direct_flight{"date":"2024-05-24","origin":"EWR","destination":"CLT"} - ✓
search_direct_flight{"date":"2024-05-24","origin":"CLT","destination":"EWR"} - ✓
search_direct_flight{"date":"2024-05-25","origin":"EWR","destination":"LAX"} - ✓
search_direct_flight{"date":"2024-05-24","origin":"JFK","destination":"ATL"} - ✗
search_direct_flight{"date":"2024-05-10","origin":"ORD","destination":"PHL"} - ✗
update_reservation_flights{"cabin":"business","flights":[{"date":"2024-05-25","flight_number":"HAT300"},{"date":"2024-05-27","flight_number":"HAT208"}],"payment_id":"credit_card_4196779","reservation_id":"NM1VX1"} - ✓
update_reservation_flights{"cabin":"business","flights":[{"date":"2024-05-24","flight_number":"HAT268"}],"payment_id":"credit_card_4196779","reservation_id":"H8Q05L"} - ✗
update_reservation_flights{"cabin":"business","flights":[{"date":"2024-05-21","flight_number":"HAT300"},{"date":"2024-05-21","flight_number":"HAT215"}],"payment_id":"credit_card_4196779","reservation_id":"KC18K6"}
Raw grading
{
"info": {
"nl": null,
"env": null,
"action": null,
"communicate": {
"note": "No communicate_info to evaluate"
}
},
"reward": 0,
"db_check": {
"db_match": false,
"db_reward": 0
},
"reward_basis": [
"DB",
"COMMUNICATE"
],
"action_checks": [
{
"action": {
"info": null,
"name": "get_user_details",
"action_id": "44_0",
"arguments": {
"user_id": "sophia_silva_7557"
},
"requestor": "assistant",
"compare_args": null
},
"tool_type": "read",
"action_match": true,
"action_reward": 1
},
{
"action": {
"info": null,
"name": "get_reservation_details",
"action_id": "44_1",
"arguments": {
"reservation_id": "NM1VX1"
},
"requestor": "assistant",
"compare_args": null
},
"tool_type": "read",
"action_match": true,
"action_reward": 1
},
{
"action": {
"info": null,
"name": "get_reservation_details",
"action_id": "44_2",
"arguments": {
"reservation_id": "KC18K6"
},
"requestor": "assistant",
"compare_args": null
},
"tool_type": "read",
"action_match": true,
"action_reward": 1
},
{
"action": {
"info": null,
"name": "get_reservation_details",
"action_id": "44_3",
"arguments": {
"reservation_id": "S61CZX"
},
"requestor": "assistant",
"compare_args": null
},
"tool_type": "read",
"action_match": true,
"action_reward": 1
},
{
"action": {
"info": null,
"name": "get_reservation_details",
"action_id": "44_4",
"arguments": {
"reservation_id": "H8Q05L"
},
"requestor": "assistant",
"compare_args": null
},
"tool_type": "read",
"action_match": true,
"action_reward": 1
},
{
"action": {
"info": null,
"name": "get_reservation_details",
"action_id": "44_5",
"arguments": {
"reservation_id": "WUNA5K"
},
"requestor": "assistant",
"compare_args": null
},
"tool_type": "read",
"action_match": true,
"action_reward": 1
},
{
"action": {
"info": null,
"name": "search_direct_flight",
"action_id": "44_6",
"arguments": {
"date": "2024-05-25",
"origin": "MSP",
"destination": "EWR"
},
"requestor": "assistant",
"compare_args": null
},
"tool_type": "read",
"action_match": true,
"action_reward": 1
},
{
"action": {
"info": null,
"name": "search_direct_flight",
"action_id": "44_7",
"arguments": {
"date": "2024-05-27",
"origin": "EWR",
"destination": "MSP"
},
"requestor": "assistant",
"compare_args": null
},
"tool_type": "read",
"action_match": true,
"action_reward": 1
},
{
"action": {
"info": null,
"name": "search_direct_flight",
"action_id": "44_8",
"arguments": {
"date": "2024-05-21",
"origin": "MSP",
"destination": "EWR"
},
"requestor": "assistant",
"compare_args": null
},
"tool_type": "read",
"action_match": false,
"action_reward": 0
},
{
"action": {
"info": null,
"name": "search_direct_flight",
"action_id": "44_9",
"arguments": {
"date": "2024-05-21",
"origin": "EWR",
"destination": "CLT"
},
"requestor": "assistant",
"compare_args": null
},
"tool_type": "read",
"action_match": true,
"action_reward": 1
},
{
"action": {
"info": null,
"name": "search_direct_flight",
"action_id": "44_10",
"arguments": {
"date": "2024-05-23",
"origin": "LAX",
"destination": "EWR"
},
"requestor": "assistant",
"compare_args": null
},
"tool_type": "read",
"action_match": true,
"action_reward": 1
},
{
"action": {
"info": null,
"name": "search_direct_flight",
"action_id": "44_11",
"arguments": {
"date": "2024-05-24",
"origin": "EWR",
"destination": "CLT"
},
"requestor": "assistant",
"compare_args": null
},
"tool_type": "read",
"action_match": true,
"action_reward": 1
},
{
"action": {
"info": null,
"name": "search_direct_flight",
"action_id": "44_12",
"arguments": {
"date": "2024-05-24",
"origin": "CLT",
"destination": "EWR"
},
"requestor": "assistant",
"compare_args": null
},
"tool_type": "read",
"action_match": true,
"action_reward": 1
},
{
"action": {
"info": null,
"name": "search_direct_flight",
"action_id": "44_13",
"arguments": {
"date": "2024-05-25",
"origin": "EWR",
"destination": "LAX"
},
"requestor": "assistant",
"compare_args": null
},
"tool_type": "read",
"action_match": true,
"action_reward": 1
},
{
"action": {
"info": null,
"name": "search_direct_flight",
"action_id": "44_14",
"arguments": {
"date": "2024-05-24",
"origin": "JFK",
"destination": "ATL"
},
"requestor": "assistant",
"compare_args": null
},
"tool_type": "read",
"action_match": true,
"action_reward": 1
},
{
"action": {
"info": null,
"name": "search_direct_flight",
"action_id": "44_15",
"arguments": {
"date": "2024-05-10",
"origin": "ORD",
"destination": "PHL"
},
"requestor": "assistant",
"compare_args": null
},
"tool_type": "read",
"action_match": false,
"action_reward": 0
},
{
"action": {
"info": null,
"name": "update_reservation_flights",
"action_id": "44_17",
"arguments": {
"cabin": "business",
"flights": [
{
"date": "2024-05-25",
"flight_number": "HAT300"
},
{
"date": "2024-05-27",
"flight_number": "HAT208"
}
],
"payment_id": "credit_card_4196779",
"reservation_id": "NM1VX1"
},
"requestor": "assistant",
"compare_args": null
},
"tool_type": "write",
"action_match": false,
"action_reward": 0
},
{
"action": {
"info": null,
"name": "update_reservation_flights",
"action_id": "44_18",
"arguments": {
"cabin": "business",
"flights": [
{
"date": "2024-05-24",
"flight_number": "HAT268"
}
],
"payment_id": "credit_card_4196779",
"reservation_id": "H8Q05L"
},
"requestor": "assistant",
"compare_args": null
},
"tool_type": "write",
"action_match": true,
"action_reward": 1
},
{
"action": {
"info": null,
"name": "update_reservation_flights",
"action_id": "44_19",
"arguments": {
"cabin": "business",
"flights": [
{
"date": "2024-05-21",
"flight_number": "HAT300"
},
{
"date": "2024-05-21",
"flight_number": "HAT215"
}
],
"payment_id": "credit_card_4196779",
"reservation_id": "KC18K6"
},
"requestor": "assistant",
"compare_args": null
},
"tool_type": "write",
"action_match": false,
"action_reward": 0
}
],
"nl_assertions": null,
"env_assertions": [],
"reward_breakdown": {
"DB": 0,
"COMMUNICATE": 1
},
"communicate_checks": null
}Conversation
AgentCustomer
get_user_details
{
"user_id": "sophia_silva_7557"
}60 lines · click to expand
{
"user_id": "sophia_silva_7557",
"name": {
"first_name": "Sophia",
"last_name": "Silva"
},
"address": {
"address1": "141 Cedar Avenue",
"address2": "Suite 436",
"city": "Columbus",
"country": "USA",
"state": "OH",
"zip": "43282"
},
"email": "sophia.silva5929@example.com",
"dob": "1957-10-05",
"payment_methods": {
"certificate_8045380": {
"source": "certificate",
"id": "certificate_8045380",
"amount": 500
},
"certificate_3887113": {
"source": "certificate",
"id": "certificate_3887113",
"amount": 150
},
"credit_card_4196779": {
"source": "credit_card",
"id": "credit_card_4196779",
"brand": "visa",
"last_four": "7238"
},
"gift_card_5094406": {
"source": "gift_card",
"id": "gift_card_5094406",
"amount": 274
}
},
"saved_passengers": [
{
"first_name": "Yara",
"last_name": "Silva",
"dob": "1972-06-16"
},
{
"first_name": "Isabella",
"last_name": "Moore",
"dob": "1988-06-04"
}
],
"membership": "regular",
"reservations": [
"NM1VX1",
"KC18K6",
"S61CZX",
"H8Q05L",
"WUNA5K"
]
}get_reservation_details
{
"reservation_id": "NM1VX1"
}42 lines · click to expand
{
"reservation_id": "NM1VX1",
"user_id": "sophia_silva_7557",
"origin": "MSP",
"destination": "EWR",
"flight_type": "round_trip",
"cabin": "basic_economy",
"flights": [
{
"flight_number": "HAT300",
"origin": "MSP",
"destination": "EWR",
"date": "2024-05-25",
"price": 100
},
{
"flight_number": "HAT208",
"origin": "EWR",
"destination": "MSP",
"date": "2024-05-27",
"price": 53
}
],
"passengers": [
{
"first_name": "Yara",
"last_name": "Silva",
"dob": "1972-06-16"
}
],
"payment_history": [
{
"payment_id": "gift_card_5094406",
"amount": 183
}
],
"created_at": "2024-05-03T08:46:43",
"total_baggages": 0,
"nonfree_baggages": 0,
"insurance": "yes",
"status": null
}get_reservation_details
{
"reservation_id": "KC18K6"
}42 lines · click to expand
{
"reservation_id": "KC18K6",
"user_id": "sophia_silva_7557",
"origin": "MSP",
"destination": "CLT",
"flight_type": "one_way",
"cabin": "basic_economy",
"flights": [
{
"flight_number": "HAT300",
"origin": "MSP",
"destination": "EWR",
"date": "2024-05-21",
"price": 55
},
{
"flight_number": "HAT215",
"origin": "EWR",
"destination": "CLT",
"date": "2024-05-21",
"price": 51
}
],
"passengers": [
{
"first_name": "Sophia",
"last_name": "Silva",
"dob": "1957-10-05"
}
],
"payment_history": [
{
"payment_id": "credit_card_4196779",
"amount": 136
}
],
"created_at": "2024-05-04T14:07:11",
"total_baggages": 0,
"nonfree_baggages": 0,
"insurance": "yes",
"status": null
}get_reservation_details
{
"reservation_id": "S61CZX"
}56 lines · click to expand
{
"reservation_id": "S61CZX",
"user_id": "sophia_silva_7557",
"origin": "LAX",
"destination": "CLT",
"flight_type": "round_trip",
"cabin": "economy",
"flights": [
{
"flight_number": "HAT228",
"origin": "LAX",
"destination": "EWR",
"date": "2024-05-23",
"price": 131
},
{
"flight_number": "HAT043",
"origin": "EWR",
"destination": "CLT",
"date": "2024-05-24",
"price": 163
},
{
"flight_number": "HAT157",
"origin": "CLT",
"destination": "EWR",
"date": "2024-05-24",
"price": 157
},
{
"flight_number": "HAT041",
"origin": "EWR",
"destination": "LAX",
"date": "2024-05-25",
"price": 186
}
],
"passengers": [
{
"first_name": "Harper",
"last_name": "Jackson",
"dob": "1974-09-05"
}
],
"payment_history": [
{
"payment_id": "credit_card_4196779",
"amount": 667
}
],
"created_at": "2024-05-02T04:38:01",
"total_baggages": 1,
"nonfree_baggages": 0,
"insurance": "yes",
"status": null
}get_reservation_details
{
"reservation_id": "H8Q05L"
}35 lines · click to expand
{
"reservation_id": "H8Q05L",
"user_id": "sophia_silva_7557",
"origin": "JFK",
"destination": "ATL",
"flight_type": "one_way",
"cabin": "basic_economy",
"flights": [
{
"flight_number": "HAT268",
"origin": "JFK",
"destination": "ATL",
"date": "2024-05-24",
"price": 74
}
],
"passengers": [
{
"first_name": "Harper",
"last_name": "Kovacs",
"dob": "1973-10-26"
}
],
"payment_history": [
{
"payment_id": "credit_card_4196779",
"amount": 104
}
],
"created_at": "2024-05-03T15:12:00",
"total_baggages": 0,
"nonfree_baggages": 0,
"insurance": "yes",
"status": null
}get_reservation_details
{
"reservation_id": "WUNA5K"
}42 lines · click to expand
{
"reservation_id": "WUNA5K",
"user_id": "sophia_silva_7557",
"origin": "ORD",
"destination": "PHL",
"flight_type": "round_trip",
"cabin": "economy",
"flights": [
{
"flight_number": "HAT271",
"origin": "ORD",
"destination": "PHL",
"date": "2024-05-10",
"price": 160
},
{
"flight_number": "HAT197",
"origin": "PHL",
"destination": "ORD",
"date": "2024-05-11",
"price": 100
}
],
"passengers": [
{
"first_name": "Sophia",
"last_name": "Silva",
"dob": "1957-10-05"
}
],
"payment_history": [
{
"payment_id": "gift_card_5094406",
"amount": 260
}
],
"created_at": "2024-05-08T19:01:02",
"total_baggages": 1,
"nonfree_baggages": 0,
"insurance": "no",
"status": null
}get_flight_status
{
"date": "2024-05-10",
"flight_number": "HAT271"
}result
landed
search_direct_flight
{
"date": "2024-05-25",
"origin": "MSP",
"destination": "EWR"
}59 lines · click to expand
[
{
"flight_number": "HAT141",
"origin": "MSP",
"destination": "EWR",
"status": "available",
"scheduled_departure_time_est": "14:00:00",
"scheduled_arrival_time_est": "17:00:00",
"date": null,
"available_seats": {
"basic_economy": 9,
"economy": 17,
"business": 17
},
"prices": {
"basic_economy": 79,
"economy": 130,
"business": 241
}
},
{
"flight_number": "HAT196",
"origin": "MSP",
"destination": "EWR",
"status": "available",
"scheduled_departure_time_est": "11:00:00",
"scheduled_arrival_time_est": "14:00:00",
"date": null,
"available_seats": {
"basic_economy": 10,
"economy": 15,
"business": 16
},
"prices": {
"basic_economy": 56,
"economy": 125,
"business": 475
}
},
{
"flight_number": "HAT300",
"origin": "MSP",
"destination": "EWR",
"status": "available",
"scheduled_departure_time_est": "06:00:00",
"scheduled_arrival_time_est": "09:00:00",
"date": null,
"available_seats": {
"basic_economy": 2,
"economy": 0,
"business": 20
},
"prices": {
"basic_economy": 78,
"economy": 148,
"business": 280
}
}
]search_direct_flight
{
"date": "2024-05-27",
"origin": "EWR",
"destination": "MSP"
}21 lines · click to expand
[
{
"flight_number": "HAT208",
"origin": "EWR",
"destination": "MSP",
"status": "available",
"scheduled_departure_time_est": "00:00:00",
"scheduled_arrival_time_est": "03:00:00",
"date": null,
"available_seats": {
"basic_economy": 16,
"economy": 20,
"business": 4
},
"prices": {
"basic_economy": 76,
"economy": 172,
"business": 357
}
}
]search_direct_flight
{
"date": "2024-05-21",
"origin": "EWR",
"destination": "CLT"
}59 lines · click to expand
[
{
"flight_number": "HAT043",
"origin": "EWR",
"destination": "CLT",
"status": "available",
"scheduled_departure_time_est": "15:00:00",
"scheduled_arrival_time_est": "17:00:00",
"date": null,
"available_seats": {
"basic_economy": 9,
"economy": 13,
"business": 20
},
"prices": {
"basic_economy": 66,
"economy": 109,
"business": 403
}
},
{
"flight_number": "HAT215",
"origin": "EWR",
"destination": "CLT",
"status": "available",
"scheduled_departure_time_est": "11:00:00",
"scheduled_arrival_time_est": "13:00:00",
"date": null,
"available_seats": {
"basic_economy": 6,
"economy": 5,
"business": 4
},
"prices": {
"basic_economy": 99,
"economy": 173,
"business": 386
}
},
{
"flight_number": "HAT270",
"origin": "EWR",
"destination": "CLT",
"status": "available",
"scheduled_departure_time_est": "11:00:00",
"scheduled_arrival_time_est": "13:00:00",
"date": null,
"available_seats": {
"basic_economy": 8,
"economy": 8,
"business": 17
},
"prices": {
"basic_economy": 75,
"economy": 119,
"business": 208
}
}
]search_direct_flight
{
"date": "2024-05-23",
"origin": "LAX",
"destination": "EWR"
}40 lines · click to expand
[
{
"flight_number": "HAT012",
"origin": "LAX",
"destination": "EWR",
"status": "available",
"scheduled_departure_time_est": "12:00:00",
"scheduled_arrival_time_est": "17:30:00",
"date": null,
"available_seats": {
"basic_economy": 10,
"economy": 3,
"business": 12
},
"prices": {
"basic_economy": 86,
"economy": 139,
"business": 272
}
},
{
"flight_number": "HAT228",
"origin": "LAX",
"destination": "EWR",
"status": "available",
"scheduled_departure_time_est": "20:00:00",
"scheduled_arrival_time_est": "01:30:00+1",
"date": null,
"available_seats": {
"basic_economy": 13,
"economy": 20,
"business": 5
},
"prices": {
"basic_economy": 63,
"economy": 165,
"business": 498
}
}
]search_direct_flight
{
"date": "2024-05-24",
"origin": "EWR",
"destination": "CLT"
}59 lines · click to expand
[
{
"flight_number": "HAT043",
"origin": "EWR",
"destination": "CLT",
"status": "available",
"scheduled_departure_time_est": "15:00:00",
"scheduled_arrival_time_est": "17:00:00",
"date": null,
"available_seats": {
"basic_economy": 10,
"economy": 10,
"business": 2
},
"prices": {
"basic_economy": 65,
"economy": 128,
"business": 364
}
},
{
"flight_number": "HAT215",
"origin": "EWR",
"destination": "CLT",
"status": "available",
"scheduled_departure_time_est": "11:00:00",
"scheduled_arrival_time_est": "13:00:00",
"date": null,
"available_seats": {
"basic_economy": 20,
"economy": 18,
"business": 1
},
"prices": {
"basic_economy": 60,
"economy": 124,
"business": 345
}
},
{
"flight_number": "HAT270",
"origin": "EWR",
"destination": "CLT",
"status": "available",
"scheduled_departure_time_est": "11:00:00",
"scheduled_arrival_time_est": "13:00:00",
"date": null,
"available_seats": {
"basic_economy": 1,
"economy": 1,
"business": 5
},
"prices": {
"basic_economy": 87,
"economy": 161,
"business": 291
}
}
]search_direct_flight
{
"date": "2024-05-24",
"origin": "CLT",
"destination": "EWR"
}59 lines · click to expand
[
{
"flight_number": "HAT015",
"origin": "CLT",
"destination": "EWR",
"status": "available",
"scheduled_departure_time_est": "01:00:00",
"scheduled_arrival_time_est": "03:00:00",
"date": null,
"available_seats": {
"basic_economy": 19,
"economy": 16,
"business": 5
},
"prices": {
"basic_economy": 99,
"economy": 126,
"business": 219
}
},
{
"flight_number": "HAT108",
"origin": "CLT",
"destination": "EWR",
"status": "available",
"scheduled_departure_time_est": "03:00:00",
"scheduled_arrival_time_est": "05:00:00",
"date": null,
"available_seats": {
"basic_economy": 17,
"economy": 0,
"business": 20
},
"prices": {
"basic_economy": 85,
"economy": 143,
"business": 312
}
},
{
"flight_number": "HAT157",
"origin": "CLT",
"destination": "EWR",
"status": "available",
"scheduled_departure_time_est": "23:00:00",
"scheduled_arrival_time_est": "01:00:00+1",
"date": null,
"available_seats": {
"basic_economy": 15,
"economy": 20,
"business": 16
},
"prices": {
"basic_economy": 71,
"economy": 131,
"business": 457
}
}
]search_direct_flight
{
"date": "2024-05-25",
"origin": "EWR",
"destination": "LAX"
}21 lines · click to expand
[
{
"flight_number": "HAT041",
"origin": "EWR",
"destination": "LAX",
"status": "available",
"scheduled_departure_time_est": "07:00:00",
"scheduled_arrival_time_est": "12:30:00",
"date": null,
"available_seats": {
"basic_economy": 0,
"economy": 17,
"business": 1
},
"prices": {
"basic_economy": 89,
"economy": 110,
"business": 397
}
}
]search_direct_flight
{
"date": "2024-05-24",
"origin": "JFK",
"destination": "ATL"
}78 lines · click to expand
[
{
"flight_number": "HAT057",
"origin": "JFK",
"destination": "ATL",
"status": "available",
"scheduled_departure_time_est": "07:00:00",
"scheduled_arrival_time_est": "09:30:00",
"date": null,
"available_seats": {
"basic_economy": 10,
"economy": 20,
"business": 19
},
"prices": {
"basic_economy": 62,
"economy": 109,
"business": 480
}
},
{
"flight_number": "HAT136",
"origin": "JFK",
"destination": "ATL",
"status": "available",
"scheduled_departure_time_est": "19:00:00",
"scheduled_arrival_time_est": "21:30:00",
"date": null,
"available_seats": {
"basic_economy": 15,
"economy": 17,
"business": 3
},
"prices": {
"basic_economy": 67,
"economy": 156,
"business": 209
}
},
{
"flight_number": "HAT218",
"origin": "JFK",
"destination": "ATL",
"status": "available",
"scheduled_departure_time_est": "18:00:00",
"scheduled_arrival_time_est": "20:30:00",
"date": null,
"available_seats": {
"basic_economy": 1,
"economy": 14,
"business": 5
},
"prices": {
"basic_economy": 73,
"economy": 193,
"business": 449
}
},
{
"flight_number": "HAT268",
"origin": "JFK",
"destination": "ATL",
"status": "available",
"scheduled_departure_time_est": "07:00:00",
"scheduled_arrival_time_est": "09:30:00",
"date": null,
"available_seats": {
"basic_economy": 20,
"economy": 2,
"business": 20
},
"prices": {
"basic_economy": 73,
"economy": 132,
"business": 237
}
}
]get_flight_status
{
"date": "2024-05-11",
"flight_number": "HAT197"
}result
landed
cancel_reservation
{
"reservation_id": "S61CZX"
}60 lines · click to expand
{
"reservation_id": "S61CZX",
"user_id": "sophia_silva_7557",
"origin": "LAX",
"destination": "CLT",
"flight_type": "round_trip",
"cabin": "economy",
"flights": [
{
"flight_number": "HAT228",
"origin": "LAX",
"destination": "EWR",
"date": "2024-05-23",
"price": 131
},
{
"flight_number": "HAT043",
"origin": "EWR",
"destination": "CLT",
"date": "2024-05-24",
"price": 163
},
{
"flight_number": "HAT157",
"origin": "CLT",
"destination": "EWR",
"date": "2024-05-24",
"price": 157
},
{
"flight_number": "HAT041",
"origin": "EWR",
"destination": "LAX",
"date": "2024-05-25",
"price": 186
}
],
"passengers": [
{
"first_name": "Harper",
"last_name": "Jackson",
"dob": "1974-09-05"
}
],
"payment_history": [
{
"payment_id": "credit_card_4196779",
"amount": 667
},
{
"payment_id": "credit_card_4196779",
"amount": -667
}
],
"created_at": "2024-05-02T04:38:01",
"total_baggages": 1,
"nonfree_baggages": 0,
"insurance": "yes",
"status": "cancelled"
}search_direct_flight
{
"date": "2024-05-24",
"origin": "JFK",
"destination": "ATL"
}78 lines · click to expand
[
{
"flight_number": "HAT057",
"origin": "JFK",
"destination": "ATL",
"status": "available",
"scheduled_departure_time_est": "07:00:00",
"scheduled_arrival_time_est": "09:30:00",
"date": null,
"available_seats": {
"basic_economy": 10,
"economy": 20,
"business": 19
},
"prices": {
"basic_economy": 62,
"economy": 109,
"business": 480
}
},
{
"flight_number": "HAT136",
"origin": "JFK",
"destination": "ATL",
"status": "available",
"scheduled_departure_time_est": "19:00:00",
"scheduled_arrival_time_est": "21:30:00",
"date": null,
"available_seats": {
"basic_economy": 15,
"economy": 17,
"business": 3
},
"prices": {
"basic_economy": 67,
"economy": 156,
"business": 209
}
},
{
"flight_number": "HAT218",
"origin": "JFK",
"destination": "ATL",
"status": "available",
"scheduled_departure_time_est": "18:00:00",
"scheduled_arrival_time_est": "20:30:00",
"date": null,
"available_seats": {
"basic_economy": 1,
"economy": 14,
"business": 5
},
"prices": {
"basic_economy": 73,
"economy": 193,
"business": 449
}
},
{
"flight_number": "HAT268",
"origin": "JFK",
"destination": "ATL",
"status": "available",
"scheduled_departure_time_est": "07:00:00",
"scheduled_arrival_time_est": "09:30:00",
"date": null,
"available_seats": {
"basic_economy": 20,
"economy": 2,
"business": 20
},
"prices": {
"basic_economy": 73,
"economy": 132,
"business": 237
}
}
]update_reservation_flights
{
"cabin": "business",
"flights": [
{
"date": "2024-05-24",
"flight_number": "HAT268"
}
],
"payment_id": "credit_card_4196779",
"reservation_id": "H8Q05L"
}39 lines · click to expand
{
"reservation_id": "H8Q05L",
"user_id": "sophia_silva_7557",
"origin": "JFK",
"destination": "ATL",
"flight_type": "one_way",
"cabin": "business",
"flights": [
{
"flight_number": "HAT268",
"origin": "JFK",
"destination": "ATL",
"date": "2024-05-24",
"price": 237
}
],
"passengers": [
{
"first_name": "Harper",
"last_name": "Kovacs",
"dob": "1973-10-26"
}
],
"payment_history": [
{
"payment_id": "credit_card_4196779",
"amount": 104
},
{
"payment_id": "credit_card_4196779",
"amount": 163
}
],
"created_at": "2024-05-03T15:12:00",
"total_baggages": 0,
"nonfree_baggages": 0,
"insurance": "yes",
"status": null
}