> ## 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.

# Add Stay To Trip

> Record a booked stay — it lands in Bookings, not as a place card.

A hotel added through add_place_to_guide becomes an attraction: no dates, no
confirmation number, and it never appears alongside the flights and other
reservations. This is the same `add_stay` the in-app Add-stay flow calls, so
the stay is geocoded, canonical-stamped, date-synced and enqueued for
enrichment identically — only the authentication differs.



## OpenAPI

````yaml /openapi.json post /v1/trips/{trip_id}/stays
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/{trip_id}/stays:
    post:
      tags:
        - mcp-server
      summary: Add Stay To Trip
      description: >-
        Record a booked stay — it lands in Bookings, not as a place card.


        A hotel added through add_place_to_guide becomes an attraction: no
        dates, no

        confirmation number, and it never appears alongside the flights and
        other

        reservations. This is the same `add_stay` the in-app Add-stay flow
        calls, so

        the stay is geocoded, canonical-stamped, date-synced and enqueued for

        enrichment identically — only the authentication differs.
      operationId: add_stay_to_trip_v1_trips__trip_id__stays_post
      parameters:
        - name: trip_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Trip Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddStayRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddStayResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AddStayRequest:
      properties:
        address:
          type: string
          title: Address
        place_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Place Id
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        check_in_date:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Check In Date
        check_out_date:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Check Out Date
        check_in_time:
          anyOf:
            - type: string
              format: time
            - type: 'null'
          title: Check In Time
        check_out_time:
          anyOf:
            - type: string
              format: time
            - type: 'null'
          title: Check Out Time
        total_price:
          anyOf:
            - type: number
            - type: 'null'
          title: Total Price
        currency:
          type: string
          title: Currency
          default: USD
        confirmation_number:
          anyOf:
            - type: string
            - type: 'null'
          title: Confirmation Number
      type: object
      required:
        - address
      title: AddStayRequest
    AddStayResponse:
      properties:
        stay_id:
          type: string
          title: Stay Id
        hotel:
          additionalProperties: true
          type: object
          title: Hotel
      type: object
      required:
        - stay_id
        - hotel
      title: AddStayResponse
    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

````