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

# List provider fleets (deprecated)

> **Deprecated** — use `GET /fleets` for org fleet groupings. This endpoint lists legacy GPS-provider sync fleets (Karma) still used by the internal sync pipeline.



## OpenAPI

````yaml /openapi.json get /projects
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:
  /projects:
    get:
      tags:
        - Projects (deprecated)
      summary: List provider fleets (deprecated)
      description: >-
        **Deprecated** — use `GET /fleets` for org fleet groupings. This
        endpoint lists legacy GPS-provider sync fleets (Karma) still used by the
        internal sync pipeline.
      parameters:
        - schema:
            type: string
            pattern: ^\d+$
            description: Page size, 1-200. Defaults to 50.
          required: false
          name: limit
          in: query
        - schema:
            type: string
          required: false
          name: cursor
          in: query
        - schema:
            type: string
            enum:
              - 'true'
              - 'false'
          required: false
          name: include_inactive
          in: query
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectListResponse'
        '401':
          description: API key missing or invalid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorObject'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorObject'
      deprecated: true
      security:
        - ApiKeyAuth: []
components:
  schemas:
    ProjectListResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Project'
        pagination:
          $ref: '#/components/schemas/PaginationCursor'
      required:
        - data
        - pagination
    ErrorObject:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: unauthorized
            message:
              type: string
              example: Missing Authorization header.
            details: {}
          required:
            - code
            - message
      required:
        - error
    Project:
      type: object
      properties:
        id:
          type: string
          format: uuid
        external_id:
          type: integer
          description: Provider project id (legacy `fleet_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
    PaginationCursor:
      type: object
      properties:
        next_cursor:
          type:
            - string
            - 'null'
          description: >-
            Opaque cursor for the next page. Null when there are no more
            results.
          example: eyJpZCI6IjAxQUI...
        has_more:
          type: boolean
      required:
        - next_cursor
        - has_more
    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.

````