Model library · 2026-10-17-tau2-qwen35-9b · trial 1 · ended by user_stop
Airline task 14 pass
Tests instruction following over a long booking policy.
- 1
- reward
- 30
- messages
- —
- agent cost
- $0.0498
- customer cost
- 1204 s
- duration
Task
Test the capacity of the agent to look for the cheapest flights with constraints on dates, cities and cabin. Test the capacity of agent to follow rule that max 1 certificate can be used for payment. Test capacity of agents to reason about money amounts. The user has multiple certificates, gift cards and 2 credit cards one file. for the payment, we expect agent to understand how to maximize use of gift card + 1 certificate to minimize amount put on the credit card. The total cost of the new flight will be $2613. The correct split is to use first both gift cards for $327, the $500 certificate, and put the remaining $1786 dollars on the master card.
Reason for callYou want to know how much you have on your gift cards and certificates. Then you want to change your upcoming reservation.
Customer knowsYour name is Mohamed Silva. Your user id is mohamed_silva_9265.
BehaviorYou want to know the sum of gift card balances and sum of certificate balances. If the agent gives you individual balances, you want the sums. Then you want to change your recent reservation. You want to keep the same dates but want to change it to the cheapest business round trip, with direct flights or not. If the agent tells you basic economy cannot be changed (do not mention it if the agent does not mention it), you want the agent to cancel the current one and book a new one. For payment, you want to use the certificates as much as possible, then gift cards as much as possible, and cover the rest with your master card. But you want to know how much your master card will be charged. You do not need baggage or insurance. You want to minimize master card payment so you will only book the new flight if the mastercard charges are less than $2000. You are calm.
Full task definition
{
"id": "14",
"issues": null,
"ticket": null,
"user_tools": null,
"description": {
"notes": null,
"purpose": "Test the capacity of the agent to look for the cheapest flights with constraints on dates, cities and cabin. \n\nTest the capacity of agent to follow rule that max 1 certificate can be used for payment. \n\n\nTest capacity of agents to reason about money amounts.\n\nThe user has multiple certificates, gift cards and 2 credit cards one file. for the payment, we expect agent to understand how to maximize use of gift card + 1 certificate to minimize amount put on the credit card.\n\nThe total cost of the new flight will be $2613. The correct split is to use first both gift cards for $327, the $500 certificate, and put the remaining $1786 dollars on the master card.",
"relevant_policies": null
},
"initial_state": null,
"user_scenario": {
"persona": null,
"instructions": {
"domain": "airline",
"known_info": "Your name is Mohamed Silva.\n\nYour user id is mohamed_silva_9265.",
"unknown_info": null,
"reason_for_call": "You want to know how much you have on your gift cards and certificates. Then you want to change your upcoming reservation.",
"task_instructions": "You want to know the sum of gift card balances and sum of certificate balances.\n\nIf the agent gives you individual balances, you want the sums.\n\nThen you want to change your recent reservation. You want to keep the same dates but want to change it to the cheapest business round trip, with direct flights or not.\n\nIf the agent tells you basic economy cannot be changed (do not mention it if the agent does not mention it), you want the agent to cancel the current one and book a new one.\n\nFor payment, you want to use the certificates as much as possible, then gift cards as much as possible, and cover the rest with your master card.\n\nBut you want to know how much your master card will be charged.\n\nYou do not need baggage or insurance.\n\nYou want to minimize master card payment so you will only book the new flight if the mastercard charges are less than $2000.\n\nYou are calm."
}
},
"required_documents": null,
"evaluation_criteria": {
"actions": [
{
"info": null,
"name": "cancel_reservation",
"action_id": "14_0",
"arguments": {
"reservation_id": "K1NW8N"
},
"requestor": "assistant",
"compare_args": null
},
{
"info": null,
"name": "book_reservation",
"action_id": "14_1",
"arguments": {
"cabin": "business",
"origin": "JFK",
"flights": [
{
"date": "2024-05-26",
"flight_number": "HAT023"
},
{
"date": "2024-05-28",
"flight_number": "HAT204"
},
{
"date": "2024-05-28",
"flight_number": "HAT100"
}
],
"user_id": "mohamed_silva_9265",
"insurance": "no",
"passengers": [
{
"dob": "1960-11-26",
"last_name": "Silva",
"first_name": "Mohamed"
},
{
"dob": "1986-09-12",
"last_name": "Sanchez",
"first_name": "Raj"
},
{
"dob": "1980-03-27",
"last_name": "Wilson",
"first_name": "Liam"
}
],
"destination": "SFO",
"flight_type": "round_trip",
"total_baggages": 0,
"payment_methods": [
{
"amount": 500,
"payment_id": "certificate_3765853"
},
{
"amount": 198,
"payment_id": "gift_card_8020792"
},
{
"amount": 129,
"payment_id": "gift_card_6136092"
},
{
"amount": 1786,
"payment_id": "credit_card_2198526"
}
],
"nonfree_baggages": 0
},
"requestor": "assistant",
"compare_args": null
}
],
"reward_basis": [
"DB",
"COMMUNICATE"
],
"nl_assertions": [
"Agent communicates that total gift card balance is $327.",
"Agent communicates that total certificate balance if $1000.",
"Agent should cancel reservation K1NW8N.",
"Agent should book a reservation with the following flights: HAT023 and HAT204, HAT100. No insurance. No baggage. Departure on 2024-05-26, return on 2024-05-28.",
"Agent communicated that the $1786 will be charged to the mastercard."
],
"env_assertions": null,
"communicate_info": [
"327",
"1000",
"1786"
]
}
}Grading
2/2 expected actions matched · database matches
- ✓
cancel_reservation{"reservation_id":"K1NW8N"} - ✓
book_reservation{"cabin":"business","origin":"JFK","flights":[{"date":"2024-05-26","flight_number":"HAT023"},{"date":"2024-05-28","flight_number":"HAT204"},{"date":"2024-05-28","flight_number":"HAT100"}],"user_id":"mohamed_silva_9265","insurance":"no","passengers":[{"dob":"1960-11-26","last_name":"Silva","first_name":"Mohamed"},{"dob":"1986-09-12","last_name":"Sanchez","first_name":"Raj"},{"dob":"1980-03-27","last_name":"Wilson","first_name":"Liam"}],"destination":"SFO","flight_type":"round_trip","total_baggages":0,"payment_methods":[{"amount":500,"payment_id":"certificate_3765853"},{"amount":198,"payment_id":"gift_card_8020792"},{"amount":129,"payment_id":"gift_card_6136092"},{"amount":1786,"payment_id":"credit_card_2198526"}],"nonfree_baggages":0}
Raw grading
{
"info": {
"nl": null,
"env": null,
"action": null,
"communicate": null
},
"reward": 1,
"db_check": {
"db_match": true,
"db_reward": 1
},
"reward_basis": [
"DB",
"COMMUNICATE"
],
"action_checks": [
{
"action": {
"info": null,
"name": "cancel_reservation",
"action_id": "14_0",
"arguments": {
"reservation_id": "K1NW8N"
},
"requestor": "assistant",
"compare_args": null
},
"tool_type": "write",
"action_match": true,
"action_reward": 1
},
{
"action": {
"info": null,
"name": "book_reservation",
"action_id": "14_1",
"arguments": {
"cabin": "business",
"origin": "JFK",
"flights": [
{
"date": "2024-05-26",
"flight_number": "HAT023"
},
{
"date": "2024-05-28",
"flight_number": "HAT204"
},
{
"date": "2024-05-28",
"flight_number": "HAT100"
}
],
"user_id": "mohamed_silva_9265",
"insurance": "no",
"passengers": [
{
"dob": "1960-11-26",
"last_name": "Silva",
"first_name": "Mohamed"
},
{
"dob": "1986-09-12",
"last_name": "Sanchez",
"first_name": "Raj"
},
{
"dob": "1980-03-27",
"last_name": "Wilson",
"first_name": "Liam"
}
],
"destination": "SFO",
"flight_type": "round_trip",
"total_baggages": 0,
"payment_methods": [
{
"amount": 500,
"payment_id": "certificate_3765853"
},
{
"amount": 198,
"payment_id": "gift_card_8020792"
},
{
"amount": 129,
"payment_id": "gift_card_6136092"
},
{
"amount": 1786,
"payment_id": "credit_card_2198526"
}
],
"nonfree_baggages": 0
},
"requestor": "assistant",
"compare_args": null
},
"tool_type": "write",
"action_match": true,
"action_reward": 1
}
],
"nl_assertions": null,
"env_assertions": [],
"reward_breakdown": {
"DB": 1,
"COMMUNICATE": 1
},
"communicate_checks": [
{
"met": true,
"info": "327",
"justification": "Information '327' communicated in the message:\n 'I can see your user details. Let me summarize your payment method balances:\n\n**Gift Cards:**\n- gift_card_8020792: $198.00\n- gift_card_6136092: $129.00\n- **Total for gift cards: $327.00**\n\n**Travel Certificates:**\n- certificate_3765853: $500.00\n- certificate_9984806: $250.00\n- certificate_2765295: $250.00\n- **Total for travel certificates: $1,000.00**\n\n**Credit Cards:**\n- credit_card_5843230 (Visa ending in 2395)\n- credit_card_2198526 (Mastercard ending in 9363)\n\nYou are a regular member and have one reservation: K1NW8N.\n\nIs there anything else you'd like to know or any assistance you need with your reservations or bookings?'"
},
{
"met": true,
"info": "1000",
"justification": "Information '1000' communicated in the message:\n 'I can see your user details. Let me summarize your payment method balances:\n\n**Gift Cards:**\n- gift_card_8020792: $198.00\n- gift_card_6136092: $129.00\n- **Total for gift cards: $327.00**\n\n**Travel Certificates:**\n- certificate_3765853: $500.00\n- certificate_9984806: $250.00\n- certificate_2765295: $250.00\n- **Total for travel certificates: $1,000.00**\n\n**Credit Cards:**\n- credit_card_5843230 (Visa ending in 2395)\n- credit_card_2198526 (Mastercard ending in 9363)\n\nYou are a regular member and have one reservation: K1NW8N.\n\nIs there anything else you'd like to know or any assistance you need with your reservations or bookings?'"
},
{
"met": true,
"info": "1786",
"justification": "Information '1786' communicated in the message:\n 'The reservation K1NW8N has been cancelled successfully.\n\nNow, I need to find the cheapest business class option for 3 passengers on:\n- May 26: JFK to SFO\n- May 28: SFO to JFK (connections OK)\n\nLet me first search for direct flights from JFK to SFO on 2024-05-26 (I already did this earlier, HAT023 is available with business price $364).\n\nNow, for the return flight on 2024-05-28, I need to find the cheapest business class option from SFO to JFK. I already searched for one-stop flights from SFO to JFK on 2024-05-28, and the cheapest business class option was HAT204 + HAT100 with business prices $248 + $259 = $507.\n\nBut let me verify this by checking the direct flights from SFO to JFK on 2024-05-28 (I already did this, and there were no direct flights).\n\nSo the cheapest business class option for the return is a one-stop flight: HAT204 (SFO→SEA) + HAT100 (SEA→JFK) with business prices $248 + $259 = $507.\n\nFor the outbound flight on 2024-05-26, the cheapest business class option is HAT023 (JFK→SFO) with business price $364.\n\nSo the total cost per passenger would be:\n- Outbound: $364\n- Return: $507\n- Total per passenger: $364 + $507 = $871\n- For 3 passengers: $871 × 3 = $2,613\n\nNow, let me calculate the payment breakdown:\n- Total cost: $2,613\n- Certificates: $1,000 (certificate_3765853: $500, certificate_9984806: $250, certificate_2765295: $250)\n- Remaining after certificates: $2,613 - $1,000 = $1,613\n- Gift cards: $327 (gift_card_8020792: $198, gift_card_6136092: $129)\n- Remaining after gift cards: $1,613 - $327 = $1,286\n- Mastercard (credit_card_2198526): $1,286\n\nSo the Mastercard charge would be $1,286, which is under $2,000.\n\nBut wait, I need to check the policy for booking:\n- \"Each reservation can use at most one travel certificate, at most one credit card, and at most three gift cards.\"\n\nSo for booking, I can use:\n- At most one travel certificate\n- At most one credit card\n- At most three gift cards\n\nYou have three certificates, but the policy says \"at most one travel certificate\". So I can only use one certificate, not all three.\n\nLet me re-read the policy:\n- \"Each reservation can use at most one travel certificate, at most one credit card, and at most three gift cards.\"\n\nSo for booking, I can use:\n- One travel certificate (not all three)\n- One credit card\n- Up to three gift cards\n\nBut you mentioned using \"certificates first (as much as possible)\". If I can only use one certificate, I should use the one with the highest balance, which is certificate_3765853 with $500.\n\nLet me recalculate:\n- Total cost: $2,613\n- One certificate (certificate_3765853): $500\n- Remaining: $2,613 - $500 = $2,113\n- Gift cards: I can use up to three gift cards. You have two gift cards: gift_card_8020792 ($198) and gift_card_6136092 ($129). Total: $327\n- Remaining after gift cards: $2,113 - $327 = $1,786\n- Mastercard (credit_card_2198526): $1,786\n\nSo the Mastercard charge would be $1,786, which is under $2,000.\n\nBut wait, the policy says \"at most one travel certificate\". So I can only use one certificate. Let me confirm which certificate to use. You have:\n- certificate_3765853: $500\n- certificate_9984806: $250\n- certificate_2765295: $250\n\nI should use the one with the highest balance, which is certificate_3765853 with $500.\n\nSo the payment breakdown would be:\n- certificate_3765853: $500\n- gift_card_8020792: $198\n- gift_card_6136092: $129\n- credit_card_2198526: $1,786\n\nTotal: $500 + $198 + $129 + $1,786 = $2,613\n\nThe Mastercard charge is $1,786, which is under $2,000.\n\nBut wait, I need to check if the policy allows using multiple gift cards. The policy says \"at most three gift cards\", so I can use up to three gift cards. You have two gift cards, so I can use both.\n\nSo the payment would be:\n- One certificate: certificate_3765853 ($500)\n- Two gift cards: gift_card_8020792 ($198) and gift_card_6136092 ($129)\n- One credit card: credit_card_2198526 ($1,786)\n\nTotal: $500 + $198 + $129 + $1,786 = $2,613\n\nThe Mastercard charge is $1,786, which is under $2,000.\n\nNow, I need to book the new reservation. Let me gather the details:\n\n- User ID: mohamed_silva_9265\n- Origin: JFK\n- Destination: SFO\n- Flight type: round_trip\n- Cabin: business\n- Flights:\n - HAT023: JFK to SFO on 2024-05-26\n - HAT204: SFO to SEA on 2024-05-28\n - HAT100: SEA to JFK on 2024-05-28\n- Passengers: Mohamed Silva (1960-11-26), Raj Sanchez (1986-09-12), Liam Wilson (1980-03-27)\n- Payment methods: certificate_3765853, gift_card_8020792, gift_card_6136092, credit_card_2198526\n- Total baggages: 0 (no baggage)\n- Nonfree baggages: 0\n- Insurance: no\n\nBut wait, I need to check the baggage allowance. You are a regular member, and for business class, you get 2 free checked bags per passenger. But you said you don't need baggage, so total_baggages = 0 and nonfree_baggages = 0.\n\nAlso, I need to confirm the flights. The flights should be:\n- HAT023: JFK to SFO on 2024-05-26\n- HAT204: SFO to SEA on 2024-05-28\n- HAT100: SEA to JFK on 2024-05-28\n\nBut wait, this is a round trip from JFK to SFO, but the flights include a stop in SEA. Is this allowed?\n\nThe policy says:\n- \"Other reservations can be modified without changing the origin, destination, and trip type.\"\n\nFor booking, the origin is JFK and destination is SFO, and the trip type is round_trip. The flights can include stops, as long as the origin and destination are JFK and SFO.\n\nSo this should be allowed.\n\nNow, let me book the reservation.\n\nBut first, I need to confirm the details with you:\n\n- New reservation with:\n - Origin: JFK\n - Destination: SFO\n - Flight type: round_trip\n - Cabin: business\n - Flights: HAT023 (JFK→SFO on 2024-05-26), HAT204 (SFO→SEA on 2024-05-28), HAT100 (SEA→JFK on 2024-05-28)\n - 3 passengers: Mohamed Silva, Raj Sanchez, Liam Wilson\n - Payment: certificate_3765853 ($500), gift_card_8020792 ($198), gift_card_6136092 ($129), credit_card_2198526 ($1,786)\n - Total cost: $2,613\n - Mastercard charge: $1,786 (under $2,000)\n - No baggage, no insurance\n\nPlease confirm if this is correct, and if you want to proceed with the booking.\n\nActually, I realize I need to check the flight details more carefully. The flights should be in the correct order for a round trip.\n\nFor a round trip from JFK to SFO, the flights should be:\n- Outbound: JFK to SFO (HAT023 on 2024-05-26)\n- Return: SFO to JFK (which is HAT204 + HAT100 on 2024-05-28)\n\nSo the flights array should be:\n- [{\"flight_number\": \"HAT023\", \"origin\": \"JFK\", \"destination\": \"SFO\", \"date\": \"2024-05-26\"}, {\"flight_number\": \"HAT204\", \"origin\": \"SFO\", \"destination\": \"SEA\", \"date\": \"2024-05-28\"}, {\"flight_number\": \"HAT100\", \"origin\": \"SEA\", \"destination\": \"JFK\", \"date\": \"2024-05-28\"}]\n\nThis is correct.\n\nNow, let me proceed with the booking.\n\nBut first, I need to confirm with you. Please confirm:\n\n- Book a new reservation with:\n - User ID: mohamed_silva_9265\n - Origin: JFK\n - Destination: SFO\n - Flight type: round_trip\n - Cabin: business\n - Flights: HAT023 (JFK→SFO on 2024-05-26), HAT204 (SFO→SEA on 2024-05-28), HAT100 (SEA→JFK on 2024-05-28)\n - Passengers: Mohamed Silva (1960-11-26), Raj Sanchez (1986-09-12), Liam Wilson (1980-03-27)\n - Payment methods: certificate_3765853, gift_card_8020792, gift_card_6136092, credit_card_2198526\n - Total baggages: 0\n - Nonfree baggages: 0\n - Insurance: no\n - Total cost: $2,613\n - Mastercard charge: $1,786\n\nPlease confirm with \"yes\" if you want to proceed.'"
}
]
}Conversation
AgentCustomer
get_user_details
{
"user_id": "mohamed_silva_9265"
}72 lines · click to expand
{
"user_id": "mohamed_silva_9265",
"name": {
"first_name": "Mohamed",
"last_name": "Silva"
},
"address": {
"address1": "638 Elm Street",
"address2": "Suite 548",
"city": "Los Angeles",
"country": "USA",
"state": "CA",
"zip": "91365"
},
"email": "mohamed.silva9198@example.com",
"dob": "1960-11-26",
"payment_methods": {
"credit_card_5843230": {
"source": "credit_card",
"id": "credit_card_5843230",
"brand": "visa",
"last_four": "2395"
},
"gift_card_8020792": {
"source": "gift_card",
"id": "gift_card_8020792",
"amount": 198
},
"certificate_3765853": {
"source": "certificate",
"id": "certificate_3765853",
"amount": 500
},
"gift_card_6136092": {
"source": "gift_card",
"id": "gift_card_6136092",
"amount": 129
},
"certificate_9984806": {
"source": "certificate",
"id": "certificate_9984806",
"amount": 250
},
"credit_card_2198526": {
"source": "credit_card",
"id": "credit_card_2198526",
"brand": "mastercard",
"last_four": "9363"
},
"certificate_2765295": {
"source": "certificate",
"id": "certificate_2765295",
"amount": 250
}
},
"saved_passengers": [
{
"first_name": "Raj",
"last_name": "Sanchez",
"dob": "1986-09-12"
},
{
"first_name": "Liam",
"last_name": "Wilson",
"dob": "1980-03-27"
}
],
"membership": "regular",
"reservations": [
"K1NW8N"
]
}get_reservation_details
{
"reservation_id": "K1NW8N"
}59 lines · click to expand
{
"reservation_id": "K1NW8N",
"user_id": "mohamed_silva_9265",
"origin": "JFK",
"destination": "SFO",
"flight_type": "round_trip",
"cabin": "basic_economy",
"flights": [
{
"flight_number": "HAT023",
"origin": "JFK",
"destination": "SFO",
"date": "2024-05-26",
"price": 53
},
{
"flight_number": "HAT204",
"origin": "SFO",
"destination": "SEA",
"date": "2024-05-28",
"price": 71
},
{
"flight_number": "HAT021",
"origin": "SEA",
"destination": "JFK",
"date": "2024-05-28",
"price": 65
}
],
"passengers": [
{
"first_name": "Mohamed",
"last_name": "Silva",
"dob": "1960-11-26"
},
{
"first_name": "Raj",
"last_name": "Sanchez",
"dob": "1986-09-12"
},
{
"first_name": "Liam",
"last_name": "Wilson",
"dob": "1980-03-27"
}
],
"payment_history": [
{
"payment_id": "gift_card_6136092",
"amount": 567
}
],
"created_at": "2024-05-14T16:03:16",
"total_baggages": 0,
"nonfree_baggages": 0,
"insurance": "no",
"status": null
}search_direct_flight
{
"date": "2024-05-26",
"origin": "JFK",
"destination": "SFO"
}21 lines · click to expand
[
{
"flight_number": "HAT023",
"origin": "JFK",
"destination": "SFO",
"status": "available",
"scheduled_departure_time_est": "14:00:00",
"scheduled_arrival_time_est": "20:00:00",
"date": null,
"available_seats": {
"basic_economy": 8,
"economy": 14,
"business": 6
},
"prices": {
"basic_economy": 69,
"economy": 162,
"business": 364
}
}
]search_direct_flight
{
"date": "2024-05-28",
"origin": "SFO",
"destination": "SEA"
}21 lines · click to expand
[
{
"flight_number": "HAT204",
"origin": "SFO",
"destination": "SEA",
"status": "available",
"scheduled_departure_time_est": "08:00:00",
"scheduled_arrival_time_est": "10:00:00",
"date": null,
"available_seats": {
"basic_economy": 4,
"economy": 1,
"business": 17
},
"prices": {
"basic_economy": 100,
"economy": 121,
"business": 248
}
}
]search_direct_flight
{
"date": "2024-05-28",
"origin": "SEA",
"destination": "JFK"
}78 lines · click to expand
[
{
"flight_number": "HAT021",
"origin": "SEA",
"destination": "JFK",
"status": "available",
"scheduled_departure_time_est": "19:00:00",
"scheduled_arrival_time_est": "01:00:00+1",
"date": null,
"available_seats": {
"basic_economy": 20,
"economy": 16,
"business": 16
},
"prices": {
"basic_economy": 88,
"economy": 108,
"business": 453
}
},
{
"flight_number": "HAT089",
"origin": "SEA",
"destination": "JFK",
"status": "available",
"scheduled_departure_time_est": "10:00:00",
"scheduled_arrival_time_est": "16:00:00",
"date": null,
"available_seats": {
"basic_economy": 4,
"economy": 5,
"business": 7
},
"prices": {
"basic_economy": 69,
"economy": 147,
"business": 477
}
},
{
"flight_number": "HAT100",
"origin": "SEA",
"destination": "JFK",
"status": "available",
"scheduled_departure_time_est": "13:00:00",
"scheduled_arrival_time_est": "19:00:00",
"date": null,
"available_seats": {
"basic_economy": 8,
"economy": 20,
"business": 9
},
"prices": {
"basic_economy": 94,
"economy": 108,
"business": 259
}
},
{
"flight_number": "HAT276",
"origin": "SEA",
"destination": "JFK",
"status": "available",
"scheduled_departure_time_est": "18:00:00",
"scheduled_arrival_time_est": "00:00:00+1",
"date": null,
"available_seats": {
"basic_economy": 19,
"economy": 1,
"business": 8
},
"prices": {
"basic_economy": 53,
"economy": 197,
"business": 430
}
}
]search_direct_flight
{
"date": "2024-05-28",
"origin": "SFO",
"destination": "JFK"
}result
[]
search_onestop_flight
{
"date": "2024-05-28",
"origin": "SFO",
"destination": "JFK"
}282 lines · click to expand
[
[
{
"flight_number": "HAT082",
"origin": "SFO",
"destination": "IAH",
"status": "available",
"scheduled_departure_time_est": "23:00:00",
"scheduled_arrival_time_est": "03:00:00+1",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 5,
"economy": 5,
"business": 10
},
"prices": {
"basic_economy": 54,
"economy": 135,
"business": 404
}
},
{
"flight_number": "HAT025",
"origin": "IAH",
"destination": "JFK",
"status": "available",
"scheduled_departure_time_est": "04:00:00",
"scheduled_arrival_time_est": "07:30:00",
"date": "2024-05-29",
"available_seats": {
"basic_economy": 16,
"economy": 7,
"business": 14
},
"prices": {
"basic_economy": 62,
"economy": 163,
"business": 462
}
}
],
[
{
"flight_number": "HAT082",
"origin": "SFO",
"destination": "IAH",
"status": "available",
"scheduled_departure_time_est": "23:00:00",
"scheduled_arrival_time_est": "03:00:00+1",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 5,
"economy": 5,
"business": 10
},
"prices": {
"basic_economy": 54,
"economy": 135,
"business": 404
}
},
{
"flight_number": "HAT068",
"origin": "IAH",
"destination": "JFK",
"status": "available",
"scheduled_departure_time_est": "11:00:00",
"scheduled_arrival_time_est": "14:30:00",
"date": "2024-05-29",
"available_seats": {
"basic_economy": 3,
"economy": 12,
"business": 19
},
"prices": {
"basic_economy": 81,
"economy": 199,
"business": 444
}
}
],
[
{
"flight_number": "HAT082",
"origin": "SFO",
"destination": "IAH",
"status": "available",
"scheduled_departure_time_est": "23:00:00",
"scheduled_arrival_time_est": "03:00:00+1",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 5,
"economy": 5,
"business": 10
},
"prices": {
"basic_economy": 54,
"economy": 135,
"business": 404
}
},
{
"flight_number": "HAT085",
"origin": "IAH",
"destination": "JFK",
"status": "available",
"scheduled_departure_time_est": "06:00:00",
"scheduled_arrival_time_est": "09:30:00",
"date": "2024-05-29",
"available_seats": {
"basic_economy": 3,
"economy": 4,
"business": 8
},
"prices": {
"basic_economy": 74,
"economy": 163,
"business": 352
}
}
],
[
{
"flight_number": "HAT204",
"origin": "SFO",
"destination": "SEA",
"status": "available",
"scheduled_departure_time_est": "08:00:00",
"scheduled_arrival_time_est": "10:00:00",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 4,
"economy": 1,
"business": 17
},
"prices": {
"basic_economy": 100,
"economy": 121,
"business": 248
}
},
{
"flight_number": "HAT021",
"origin": "SEA",
"destination": "JFK",
"status": "available",
"scheduled_departure_time_est": "19:00:00",
"scheduled_arrival_time_est": "01:00:00+1",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 20,
"economy": 16,
"business": 16
},
"prices": {
"basic_economy": 88,
"economy": 108,
"business": 453
}
}
],
[
{
"flight_number": "HAT204",
"origin": "SFO",
"destination": "SEA",
"status": "available",
"scheduled_departure_time_est": "08:00:00",
"scheduled_arrival_time_est": "10:00:00",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 4,
"economy": 1,
"business": 17
},
"prices": {
"basic_economy": 100,
"economy": 121,
"business": 248
}
},
{
"flight_number": "HAT089",
"origin": "SEA",
"destination": "JFK",
"status": "available",
"scheduled_departure_time_est": "10:00:00",
"scheduled_arrival_time_est": "16:00:00",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 4,
"economy": 5,
"business": 7
},
"prices": {
"basic_economy": 69,
"economy": 147,
"business": 477
}
}
],
[
{
"flight_number": "HAT204",
"origin": "SFO",
"destination": "SEA",
"status": "available",
"scheduled_departure_time_est": "08:00:00",
"scheduled_arrival_time_est": "10:00:00",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 4,
"economy": 1,
"business": 17
},
"prices": {
"basic_economy": 100,
"economy": 121,
"business": 248
}
},
{
"flight_number": "HAT100",
"origin": "SEA",
"destination": "JFK",
"status": "available",
"scheduled_departure_time_est": "13:00:00",
"scheduled_arrival_time_est": "19:00:00",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 8,
"economy": 20,
"business": 9
},
"prices": {
"basic_economy": 94,
"economy": 108,
"business": 259
}
}
],
[
{
"flight_number": "HAT204",
"origin": "SFO",
"destination": "SEA",
"status": "available",
"scheduled_departure_time_est": "08:00:00",
"scheduled_arrival_time_est": "10:00:00",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 4,
"economy": 1,
"business": 17
},
"prices": {
"basic_economy": 100,
"economy": 121,
"business": 248
}
},
{
"flight_number": "HAT276",
"origin": "SEA",
"destination": "JFK",
"status": "available",
"scheduled_departure_time_est": "18:00:00",
"scheduled_arrival_time_est": "00:00:00+1",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 19,
"economy": 1,
"business": 8
},
"prices": {
"basic_economy": 53,
"economy": 197,
"business": 430
}
}
]
]cancel_reservation
{
"reservation_id": "K1NW8N"
}63 lines · click to expand
{
"reservation_id": "K1NW8N",
"user_id": "mohamed_silva_9265",
"origin": "JFK",
"destination": "SFO",
"flight_type": "round_trip",
"cabin": "basic_economy",
"flights": [
{
"flight_number": "HAT023",
"origin": "JFK",
"destination": "SFO",
"date": "2024-05-26",
"price": 53
},
{
"flight_number": "HAT204",
"origin": "SFO",
"destination": "SEA",
"date": "2024-05-28",
"price": 71
},
{
"flight_number": "HAT021",
"origin": "SEA",
"destination": "JFK",
"date": "2024-05-28",
"price": 65
}
],
"passengers": [
{
"first_name": "Mohamed",
"last_name": "Silva",
"dob": "1960-11-26"
},
{
"first_name": "Raj",
"last_name": "Sanchez",
"dob": "1986-09-12"
},
{
"first_name": "Liam",
"last_name": "Wilson",
"dob": "1980-03-27"
}
],
"payment_history": [
{
"payment_id": "gift_card_6136092",
"amount": 567
},
{
"payment_id": "gift_card_6136092",
"amount": -567
}
],
"created_at": "2024-05-14T16:03:16",
"total_baggages": 0,
"nonfree_baggages": 0,
"insurance": "no",
"status": "cancelled"
}book_reservation59 lines · click to expand
{
"cabin": "business",
"origin": "JFK",
"flights": [
{
"date": "2024-05-26",
"flight_number": "HAT023"
},
{
"date": "2024-05-28",
"flight_number": "HAT204"
},
{
"date": "2024-05-28",
"flight_number": "HAT100"
}
],
"user_id": "mohamed_silva_9265",
"insurance": "no",
"passengers": [
{
"dob": "1960-11-26",
"last_name": "Silva",
"first_name": "Mohamed"
},
{
"dob": "1986-09-12",
"last_name": "Sanchez",
"first_name": "Raj"
},
{
"dob": "1980-03-27",
"last_name": "Wilson",
"first_name": "Liam"
}
],
"destination": "SFO",
"flight_type": "round_trip",
"total_baggages": 0,
"payment_methods": [
{
"amount": 500,
"payment_id": "certificate_3765853"
},
{
"amount": 198,
"payment_id": "gift_card_8020792"
},
{
"amount": 129,
"payment_id": "gift_card_6136092"
},
{
"amount": 1786,
"payment_id": "credit_card_2198526"
}
],
"nonfree_baggages": 0
}71 lines · click to expand
{
"reservation_id": "HATHAT",
"user_id": "mohamed_silva_9265",
"origin": "JFK",
"destination": "SFO",
"flight_type": "round_trip",
"cabin": "business",
"flights": [
{
"flight_number": "HAT023",
"origin": "JFK",
"destination": "SFO",
"date": "2024-05-26",
"price": 364
},
{
"flight_number": "HAT204",
"origin": "SFO",
"destination": "SEA",
"date": "2024-05-28",
"price": 248
},
{
"flight_number": "HAT100",
"origin": "SEA",
"destination": "JFK",
"date": "2024-05-28",
"price": 259
}
],
"passengers": [
{
"first_name": "Mohamed",
"last_name": "Silva",
"dob": "1960-11-26"
},
{
"first_name": "Raj",
"last_name": "Sanchez",
"dob": "1986-09-12"
},
{
"first_name": "Liam",
"last_name": "Wilson",
"dob": "1980-03-27"
}
],
"payment_history": [
{
"payment_id": "certificate_3765853",
"amount": 500
},
{
"payment_id": "gift_card_8020792",
"amount": 198
},
{
"payment_id": "gift_card_6136092",
"amount": 129
},
{
"payment_id": "credit_card_2198526",
"amount": 1786
}
],
"created_at": "2024-05-15T15:00:00",
"total_baggages": 0,
"nonfree_baggages": 0,
"insurance": "no",
"status": null
}