---
title: "Create a new fleet"
method: POST
path: "/vessels/fleets"
tags: ["vessels"]
---

# Create a new fleet

`POST /vessels/fleets`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/vessels/fleets`
- Auth: one of:
  - API key in cookie `session`
  - HTTP bearer

## Request body

- CreateVesselFleet
  - `name` string, required
  - `description` string
  - `status` 'active' | 'inactive'

## Response `201`

Fleet created

- VesselFleet
  - `id` integer, required
  - `name` string, required
  - `description` string, nullable
  - `vesselCount` integer
  - `status` 'active' | 'inactive', required
  - `createdAt` string, date-time

## Other responses

- `403`: Forbidden

## Changes

- **2026-04-18** `518dcf68679a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/changes/vessels/fleets/post.md)

---

[API](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api.md) - [All operations](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/llms.txt) - [OpenAPI document](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/revisions/6ad730b13e59?raw)
