# Retrieve a vehicle

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /openapi/vehicles/{id}/:
    get:
      summary: Retrieve a vehicle
      deprecated: false
      description: Get information about a specific vehicle.
      operationId: vehicles_retrieve
      tags:
        - Vehicles
        - Vehicles
      parameters:
        - name: id
          in: path
          description: ''
          required: true
          example: ''
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Vehicle'
              examples:
                Vehicle(single):
                  summary: Vehicle (single)
                  value:
                    id: 770e8400-e29b-41d4-a716-446655440002
                    status: active
                    vin: 1HGBH41JXMN109186
                    name: Truck-001
                    make: Freightliner
                    model: Cascadia
                    year: '2022'
                    licensePlate:
                      state: TX
                      number: ABC-1234
          headers: {}
          x-apidog-name: OK
      security: []
      x-apidog-folder: Vehicles
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/586350/apis/api-8318761-run
components:
  schemas:
    Vehicle:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
        status:
          type: string
          readOnly: true
          description: Status of the vehicle
        vin:
          type: string
          maxLength: 17
        name:
          type: string
          description: Unit number of the vehicle
        make:
          type: string
          maxLength: 50
          nullable: true
        model:
          type: string
          maxLength: 100
          nullable: true
        year:
          type: string
          description: Year of the vehicle
        licensePlate:
          allOf:
            - $ref: '#/components/schemas/LicensePlate'
          description: License plate of the vehicle
      required:
        - id
        - status
        - vin
        - name
        - year
        - licensePlate
      x-apidog-orders:
        - id
        - status
        - vin
        - name
        - make
        - model
        - year
        - licensePlate
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    LicensePlate:
      type: object
      properties:
        state:
          type: string
          description: State
        number:
          type: string
      required:
        - state
        - number
      x-apidog-orders:
        - state
        - number
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://api.firsteld.com
    description: Prod Env
security: []

```
