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

# Show quote



## OpenAPI

````yaml /car-api-reference/openapi.json get /quote-requests/{id}
openapi: 3.0.1
info:
  title: OpenAPI For Motor Insurance
  description: API's that you need to use to issue insurance policies to your clients
  license:
    name: MIT
  version: 1.0.0
servers:
  - x-fern-server-name: Sandbox
    url: https://sandbox.yasmina.ai/api/v1/car-comp
  - x-fern-server-name: Production
    url: https://production.yasmina.ai/api/v1/car-comp
security:
  - Oauth2: []
paths:
  /quote-requests/{id}:
    get:
      tags:
        - Quotes
      summary: Show quote
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: integer
      responses:
        '200':
          description: Single quote details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteResponse'
        '404':
          description: Quote not found
components:
  schemas:
    QuoteResponse:
      type: object
      properties:
        owner_id:
          type: integer
          description: The owner’s national ID or Iqama ID
        phone:
          type: string
          description: The owner's phone number
        birthdate:
          type: string
          format: date
          description: >-
            The owner's birthdate. Hijri for Saudi nationals, Gregorian for
            others
        car_sequence_number:
          type: integer
          description: The car sequence number from 9 digits
        custom_number:
          type: string
          description: >-
            Custom car number for newly imported cars (present when
            `custom_number` was used in the request)
        is_ownership_transfer:
          type: boolean
          description: Whether it was a car transfer or not
        car_estimated_cost:
          type: number
          description: The estimated cost of the car
        car_model_year:
          type: integer
          description: The car model year
        start_date:
          type: string
          format: date
          description: >-
            Requested policy start date in YYYY-MM-DD. Returned if provided in
            the quote request.
        drivers:
          type: array
          description: >-
            List of drivers associated with this quote request. Returned if
            drivers were provided in the request.
          items:
            type: object
            properties:
              owner_id:
                type: string
                description: Driver's national ID (10 digits starting with 1, 2, or 7)
              birthdate:
                type: string
                format: date
                description: Driver's birthdate in YYYY-MM-DD format
              driving_percentage:
                type: integer
                description: Percentage of driving for this driver (25, 50, 75, or 100)
        quotes:
          description: >-
            An array representing each insurance company quote. Each item has
            the company name, the prices, and the benefits.
          type: array
          items:
            type: object
            properties:
              company_name:
                type: string
              company_name_ar:
                type: string
                description: >-
                  Arabic name of the insurance company. Use this field instead
                  of `company_name` when rendering Arabic UIs.
              type:
                type: string
                enum:
                  - TPL
                  - TPL +
                  - Comprehensive
                description: >-
                  Normalised insurance category used to group and filter quotes.
                  Always one of `TPL`, `TPL +`, or `Comprehensive`.
              insurance_type_display:
                type: string
                description: >-
                  The insurance type label exactly as the insurance provider
                  intends it to be displayed. While `type` normalises all
                  non-TPL / non-Comprehensive values into `TPL +`, this field
                  preserves the original provider string (e.g. "TPL Plus",
                  "Third Party Plus") and should be shown in the UI wherever the
                  provider's own wording is preferred.
              insurance_type_display_ar:
                type: string
                description: >-
                  Arabic translation of `insurance_type_display`. Use this field
                  for Arabic UIs. Falls back to the English value for
                  provider-specific types that do not have a translation.
              company_logo_url:
                type: string
                format: uri
                description: CDN URL for the insurance company's logo.
              square_company_logo_url:
                type: string
                format: uri
                description: CDN URL for the insurance company's square logo.
              prices:
                type: array
                description: >-
                  An array representing each price. This will have the premium
                  and the deductible
                items:
                  $ref: '#/components/schemas/QuotePrice'
              benefits:
                type: array
                description: >-
                  An array representing the different benefits offered by the
                  company. Some of them are free and comes with the insurance,
                  some are paid and optional
                items:
                  $ref: '#/components/schemas/Benefit'
        client_id:
          description: Your own client ID
          type: string
          format: uuid
        updated_at:
          description: In case of an update on this quote, this date will change
          type: string
          format: date-time
        created_at:
          description: When was the quote requested
          type: string
          format: date-time
        id:
          description: >-
            Yasmina ID for the quote. You can use it to delete items or showing
            it again to the customer
          type: integer
    QuotePrice:
      type: object
      properties:
        quote_price_id:
          type: string
          format: uuid
        deductible:
          type: number
        subtotal:
          type: number
        vat_percentage:
          type: number
          example: 15
        vat:
          type: number
        total:
          type: number
    Benefit:
      type: object
      properties:
        quote_benefit_id:
          type: string
          format: uuid
        id:
          type: string
        name:
          type: string
        name_ar:
          type: string
          description: >-
            Arabic name of the benefit. Use this field instead of `name` when
            rendering Arabic UIs.
        amount:
          type: number
        vat:
          type: number
        url:
          type: string
          nullable: true
  securitySchemes:
    Oauth2:
      description: JWT Authorization header using the Bearer scheme
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: /oauth/token
          scopes: {}

````