---
title: "Arrange Rail"
method: POST
path: "/v1/teams/{team_id}/stations/arrange"
tags: ["stations"]
---

# Arrange Rail

`POST /v1/teams/{team_id}/stations/arrange`

Write where each top-level row sits, and file pages into desks, at once.

## Path parameters

- `team_id` string, uuid, required

## Headers

- `authorization` string, nullable
- `x-darwin-token` string, nullable

## Request body

- RailArrangement
  - `rows` ArrangeRow[]
    - `name` string, required
    - `rail` integer, nullable
    - `channel` string, nullable

## Response `200`

Successful Response

- RailArranged — The files the drop rewrote, and the one commit that holds all of them.
  - `written` string[]
  - `commit` string

## Other responses

- `422` — Validation Error

## Changes

> 33 revisions in range; 1 not diffed.

- **2026-09-26** `faea4a09e09c` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/stormy/apis/stormy-control-plane/changes/v1/teams/:team_id/stations/arrange/post.md)

---

[API](https://skmtc.dev/stormy/apis/stormy-control-plane.md) · [All operations](https://skmtc.dev/stormy/apis/stormy-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/stormy/apis/stormy-control-plane/revisions/52151384d62a?raw)
