---
title: "GET /admin/reports/flights"
method: GET
path: "/admin/reports/flights"
tags: ["admin"]
---

# GET /admin/reports/flights

`GET /admin/reports/flights`

## Request

- Base URL: `https://app.getgoing.com`
- URL: `https://app.getgoing.com/admin/reports/flights`
- Auth: API key in header `Authorization`

## Query parameters

- `start_date` string, date
- `end_date` string, date
- `country_id` integer
- `department` string
- `invoice_profile_id` integer
- `employee_id` string
- `group_id` integer
- `office` string
- `cost_center` string
- `trip_purpose` string
- `accounting_unit` string
- `action_code` string
- `billable` string
- `internal_account` string
- `out_of_policy_reason` string
- `project_code` string
- `purchase_order_number` string
- `custom_field_1` string
- `custom_field_2` string
- `custom_field_3` string
- `trip_type` 'one_way' | 'round_trip' | 'multi_destination'
- `flight_path` string

## Response `200`

Request fulfilled, document follows

- DetailedFlightStatsPerTripSchema[]
  - `key` string
  - `total_airfare` number
  - `num_travelers` integer
  - `avg_ticket_price` number
  - `cabin_class` object
  - `extras_charges` number
  - `booked_in_advance` number
  - `max_num_of_stop` integer
  - `change_or_cancel_fees` number
  - `refund_amount` number
  - `num_trips` integer
  - `direct_flights` object
  - `have_changes` 'none' | 'changed' | 'cancelled'
  - `flexible` object
  - `changes` object
  - `emissions_total` integer
  - `trip_id` integer
  - `start_date` string, date
  - `end_date` string, date
  - `status` string, nullable

## Other responses

- `422`: Success

---

[API](https://skmtc.dev/getgoing/apis/getgoing-api.md) - [All operations](https://skmtc.dev/getgoing/apis/getgoing-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getgoing/apis/getgoing-api/revisions/7546f102cf69?raw)
