> ## 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 tag assignments

> Returns Paso Rápido tag assignments for your org, ordered by `id` desc. Supports filtering by `tag_number`, `status` and `has_gps`.



## OpenAPI

````yaml /openapi.json get /paso-rapido/tags
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:
  /paso-rapido/tags:
    get:
      tags:
        - Paso Rápido
      summary: List tag assignments
      description: >-
        Returns Paso Rápido tag assignments for your org, ordered by `id` desc.
        Supports filtering by `tag_number`, `status` and `has_gps`.
      parameters:
        - schema:
            type: string
            pattern: ^\d+$
            description: Page size, 1-200. Defaults to 50.
          required: false
          name: limit
          in: query
        - schema:
            type: string
            description: Opaque cursor from a previous call's `pagination.next_cursor`.
          required: false
          name: cursor
          in: query
        - schema:
            type: string
            pattern: ^\d+$
            description: Filter by exact tag number.
          required: false
          name: tag_number
          in: query
        - schema:
            type: string
            enum:
              - Valido
              - Inhabilitado
            description: Filter by status.
          required: false
          name: status
          in: query
        - schema:
            type: string
            enum:
              - 'true'
              - 'false'
            description: Filter by GPS state.
          required: false
          name: has_gps
          in: query
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagListResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorObject'
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorObject'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    TagListResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
        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
    Tag:
      type: object
      properties:
        id:
          type: integer
        org_id:
          type: string
          format: uuid
        tag_number:
          type: integer
        has_gps:
          type: boolean
        vehicle_external_id:
          type:
            - integer
            - 'null'
          description: >-
            External id of the GPS vehicle (legacy `vehicle_id`). Null for
            non-GPS tags.
        vehicle_title:
          type:
            - string
            - 'null'
        vehicle_license_plate:
          type:
            - string
            - 'null'
        category:
          type: integer
        assignment_category:
          type:
            - string
            - 'null'
        type:
          type: string
        date:
          type: string
        issued_at:
          type:
            - string
            - 'null'
        expires_at:
          type:
            - string
            - 'null'
        status:
          type: string
        notes:
          type:
            - string
            - 'null'
        created_at:
          type: string
        updated_at:
          type: string
      required:
        - id
        - org_id
        - tag_number
        - has_gps
        - vehicle_external_id
        - vehicle_title
        - vehicle_license_plate
        - category
        - assignment_category
        - type
        - date
        - issued_at
        - expires_at
        - status
        - notes
        - created_at
        - updated_at
    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
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: ulk_<prefix>_<secret>
      description: >-
        Authorization: Bearer ulk_<prefix>_<secret>. Cree la clave en
        Configuración → API.

````