---
title: "Set flight info"
method: POST
path: "/tracking/sessions/set_flight_info/v1"
tags: ["/tracking", "/tracking/sessions/flights"]
---

# Set flight info

`POST /tracking/sessions/set_flight_info/v1`

Replaces the session's followed flights: deletes the existing session-owned FlightLeg documents and creates new ones from the supplied flight details. Each leg's Cirium flightId and status resolve lazily on read. Pass an empty list to clear all flights. | auth: api_key | authz: min_org_role=operator | (SessionSetFlightInfoReq1) -> (bool)

## Request body

- SessionSetFlightInfoReq1
  - `session_id` string, required
  - `flight_legs` FlightLegClientCreate1[], required — Ordered list of flights to follow for the session. Replaces any existing flight legs. Pass an empty list to clear all flight legs.
    - `schema_version` 1, required
    - `flight_number` string, required
    - `provenance` 'manual' | 'cirium' | 'flightaware', required
    - `origin_iata` string, required
    - `destination_iata` string, required
    - `scheduled_departure_utc` string, date-time, required
    - `carrier_iata` string, required
    - `carrier_icao` string, nullable
    - `scheduled_arrival_utc` string, date-time, nullable

## Response `200`

Successful Response

- boolean

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/chrt/apis/chrt-fastapi.md) · [All operations](https://skmtc.dev/chrt/apis/chrt-fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chrt/chrt-fastapi/revisions/ea04e157edb3/schema)
