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

# Get a GPS fleet by id



## OpenAPI

````yaml /openapi.json get /fleets/{id}
openapi: 3.1.0
info:
  title: United Logistics API
  version: 0.1.0
  description: >-
    Industry-grade public API for fleet, fuel, and toll operations. Every
    endpoint is scoped to the organization owning the API key. Authentication:
    bearer API key (`ulk_<prefix>_<secret>`). Rate limit: 60 requests/minute/key
    by default (override per key via the dashboard).
  contact:
    name: United Logistics Engineering
    email: sfuentes@assetmg.tech
servers:
  - url: https://app.unitedlogistics.com.do/api/v1
    description: Production
  - url: http://localhost:3000/api/v1
    description: Local development
security:
  - ApiKeyAuth: []
paths:
  /fleets/{id}:
    get:
      tags:
        - Fleets
      summary: Get a GPS fleet by id
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GpsFleetResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    GpsFleetResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/GpsFleet'
      required:
        - data
    GpsFleet:
      type: object
      properties:
        id:
          type: string
          format: uuid
        external_id:
          type: integer
          description: Provider fleet id (legacy Karma project id).
        provider:
          $ref: '#/components/schemas/Provider'
        name:
          type:
            - string
            - 'null'
        org_id:
          type:
            - string
            - 'null'
          format: uuid
        fetch_timestamp:
          type:
            - string
            - 'null'
        deactivated_at:
          type:
            - string
            - 'null'
        deactivation_reason:
          type:
            - string
            - 'null'
      required:
        - id
        - external_id
        - provider
        - name
        - org_id
        - fetch_timestamp
        - deactivated_at
        - deactivation_reason
    Provider:
      anyOf:
        - type: string
          enum:
            - karma
            - internal
        - type: string
          pattern: ^[a-z][a-z0-9][a-z0-9_-]{0,62}$
      description: >-
        Registered: karma (Karma sync), internal (created in the app). Custom
        integrators use a stable lowercase slug.
      example: karma
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: ulk_<prefix>_<secret>
      description: >-
        Authorization: Bearer ulk_<prefix>_<secret>. Cree la clave en
        Configuración → API.

````