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

# trip-status

> Fetch the full lifecycle state of a trip — items, travelers, quote, fulfillment, and any booking references

Inspect the current state of a trip without modifying it. Reach for it when you need to confirm what items are on the trip, verify the travelers attached to a booking, or check whether a checkout has finalized after the user paid. The response covers items, traveler details, quote status, and any booking references that have been issued.


## OpenAPI

````yaml api-reference/public-api.yaml GET /v1/trip/{trip_id}
openapi: 3.0.0
info:
  title: Jinko Public API
  version: 0.1.0
  description: >-
    Curated public REST surface for Jinko. Authenticated with jnk_ API keys. See
    https://docs.gojinko.com for guides.
servers: []
security: []
paths:
  /v1/trip/{trip_id}:
    get:
      tags:
        - Pricing & booking
      summary: >-
        Fetch the full lifecycle state of a trip — items, travelers, quote,
        fulfillment, and any booking references
      parameters:
        - schema:
            type: string
          required: true
          name: trip_id
          in: path
      responses:
        '200':
          description: The trip
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetTripResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: BAD_REQUEST
                  message: Malformed JSON in request body.
                  doc_url: https://docs.gojinko.com/concepts/errors
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: AUTH_REQUIRED
                  message: Invalid or expired API key.
                  doc_url: https://docs.gojinko.com/api-reference/authentication
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: BAD_REQUEST
                  message: >-
                    origins: origins is required; trip_type: trip_type is
                    required
                  doc_url: https://docs.gojinko.com/concepts/errors
        '429':
          description: Rate limit or quota exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: RATE_LIMITED
                  message: Rate limit or quota exceeded.
                  doc_url: https://docs.gojinko.com/concepts/errors
        '502':
          description: Upstream service error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: UPSTREAM_ERROR
                  message: Upstream travel provider returned an error. Please retry.
                  doc_url: https://docs.gojinko.com/concepts/errors
      security:
        - ApiKeyAuth: []
        - BearerAuth: []
components:
  schemas:
    GetTripResponse:
      type: object
      properties:
        trip_id:
          type: string
          example: trip_1048576
        status:
          type: string
          example: draft
        travelers:
          type: array
          items:
            nullable: true
        contact:
          type: object
          properties:
            email:
              type: string
            phone:
              type: string
        items:
          type: array
          items:
            nullable: true
        total_amount:
          type: object
          properties:
            amount:
              type: number
              example: 318.4
            value:
              type: number
            currency:
              type: string
              example: USD
            decimal_places:
              type: integer
              example: 2
        quote:
          type: object
          properties:
            quoted_cart_id:
              type: number
            status:
              type: string
            expires_at:
              type: string
          example:
            quoted_cart_id: 2097152
            status: quoted
            expires_at: '2026-06-01T13:04:56Z'
        fulfillment:
          type: object
          properties:
            fulfillment_cart_id:
              type: number
            status:
              type: string
            phase:
              type: string
        bookings:
          type: array
          items:
            nullable: true
        created_at:
          type: string
          example: '2026-06-01T12:30:00Z'
        updated_at:
          type: string
          example: '2026-06-01T12:34:56Z'
      required:
        - trip_id
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            doc_url:
              type: string
          required:
            - code
            - message
      required:
        - error
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
    BearerAuth:
      type: http
      scheme: bearer

````