---
title: "Upsert a list of round trips / one-way of train schedules"
method: POST
path: "/round_trips"
tags: ["round_trips"]
---

# Upsert a list of round trips / one-way of train schedules

`POST /round_trips`

## Request body

- RoundTrips — Represents a collection of round trips and one-way
  - `one_ways` integer[] — List of one-way trains
  - `round_trips` array[] — List of round trips, each represented by a tuple
    - integer[]

## Response `204`

Round trips were successfully upserted

## Changes

> 77 revisions in range; 2 not diffed.

- **2026-06-26** `60a22beb0909` — 1 info
  - endpoint added
- **2026-06-18** `a6c0f93e1713` — 1 breaking
  - api path removed without deprecation
- **2026-06-18** `1bd462694f6d` — 1 info
  - endpoint added
- **2026-06-10** `d3c96c71cacc` — 1 breaking
  - api path removed without deprecation
- **2026-06-10** `534e56b95a11` — 1 info
  - endpoint added

[Full history](https://skmtc.dev/openrailassociation/apis/osrd-editoast/changes/round_trips/post.md)

---

[API](https://skmtc.dev/openrailassociation/apis/osrd-editoast.md) · [All operations](https://skmtc.dev/openrailassociation/apis/osrd-editoast/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openrailassociation/osrd-editoast/revisions/e1fc96bc11fd/schema)
