> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stardrift.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Trip

> Create a new draft trip with `num_days` blank days, ready for
add_place/add_day_note.

Mirrors the in-app create path: a Trip plus its primary conversation link, then an empty
plan. Returns the trip summary, including the new trip_id.



## OpenAPI

````yaml /openapi.json post /v1/trips
openapi: 3.1.0
info:
  title: Stardrift API
  description: >-
    Read and edit the authenticated user's trips, itineraries, recorded
    bookings, and saved lists. Private records are owner-scoped. MCP tool names
    are documented separately from these HTTP operations.
  version: v1
servers:
  - url: https://stardrift.ai/api
security: []
paths:
  /v1/trips:
    post:
      tags:
        - mcp-server
      summary: Create Trip
      description: >-
        Create a new draft trip with `num_days` blank days, ready for

        add_place/add_day_note.


        Mirrors the in-app create path: a Trip plus its primary conversation
        link, then an empty

        plan. Returns the trip summary, including the new trip_id.
      operationId: create_trip_v1_trips_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateTripRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TripSummary'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    CreateTripRequest:
      properties:
        title:
          type: string
          title: Title
        num_days:
          type: integer
          maximum: 60
          minimum: 1
          title: Num Days
          default: 1
      type: object
      required:
        - title
      title: CreateTripRequest
    TripSummary:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
        slug:
          anyOf:
            - type: string
            - type: 'null'
          title: Slug
        visibility:
          type: string
          title: Visibility
        is_published:
          type: boolean
          title: Is Published
      type: object
      required:
        - id
        - title
        - slug
        - visibility
        - is_published
      title: TripSummary
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````