---
title: "Publish Trip"
method: POST
path: "/v1/trips/{trip_id}/publish"
tags: ["mcp-server"]
---

# Publish Trip

`POST /v1/trips/{trip_id}/publish`

## Request

- Base URL: `https://stardrift.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://stardrift.ai/v1/trips/{trip_id}/publish`
- Auth: none declared

## Path parameters

- `trip_id` string, uuid, required

## Request body

- PublishRequest
  - `visibility` 'draft' | 'private' | 'public', required
  - `slug` string, nullable

## Response `200`

Successful Response

- ApiMcpServerTripSummary
  - `id` string, uuid, required
  - `title` string, nullable, required
  - `slug` string, nullable, required
  - `visibility` string, required
  - `is_published` boolean, required
  - `start_date` string, date, nullable
  - `end_date` string, date, nullable
  - `updated_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-24** `1060a62bfafc`: 3 info
  - added the optional property `end_date` to the response with the `200` status
  - added the optional property `start_date` to the response with the `200` status
  - added the optional property `updated_at` to the response with the `200` status
- **2026-09-18** `7367652ab574`: 1 breaking, 3 info
  - request property `visibility` was restricted to a list of enum values
  - added the new `draft` enum value to the request property `visibility`
  - added the new `private` enum value to the request property `visibility`
  - added the new `public` enum value to the request property `visibility`

[Operation history](https://skmtc.dev/stardrift/apis/stardrift-api/changes/v1/trips/:trip_id/publish/post.md)

---

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