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

# List Trip Tracking Points

> Returns the accepted GPS tracking history for a trip.



## OpenAPI

````yaml /api-reference/ops/openapi.json get /api/v1/ops/trips/{tripId}/tracking-points
openapi: 3.0.0
info:
  title: OABUS OPS API
  description: OABUS API
  version: '1.0'
  contact: {}
servers: []
security: []
tags: []
paths:
  /api/v1/ops/trips/{tripId}/tracking-points:
    get:
      tags:
        - Trip
      summary: List Trip Tracking Points
      description: Returns the accepted GPS tracking history for a trip.
      operationId: listTripTrackingPoints
      parameters:
        - name: tripId
          required: true
          in: path
          schema:
            type: string
            format: uuid
            description: Trip identifier
            example: 0195e7a1-8b5c-7d3e-9f4a-2c6b8d0e1f3a
        - name: acceptedAt
          required: false
          in: query
          schema:
            description: Accepted at range
            example: '>=2024-01-01;<=2024-12-31'
            type: string
        - name: fromSequence
          required: false
          in: query
          schema:
            description: Return points from this sequence
            example: 0
            type: integer
        - name: limit
          required: false
          in: query
          schema:
            default: 500
            description: Maximum number of points
            example: 500
            type: number
        - name: page
          required: false
          in: query
          schema:
            default: 1
            description: Page number
            example: 1
            type: number
        - name: fields
          required: false
          in: query
          description: >-
            Comma-separated list of fields to include in the response. Supports
            dot notation for nested projection (e.g.
            `id,name,user.email,trips.route.id`). Unknown fields are silently
            dropped.
          schema:
            type: string
      responses:
        '200':
          $ref: '#/components/responses/ListTripTrackingPoints200Response'
        '400':
          $ref: '#/components/responses/ListTripTrackingPoints400Response'
        '401':
          $ref: '#/components/responses/ListTripTrackingPoints401Response'
        '403':
          $ref: '#/components/responses/ListTripTrackingPoints403Response'
        '500':
          $ref: '#/components/responses/ListTripTrackingPoints500Response'
      security:
        - bearer: []
        - bearer: []
components:
  responses:
    ListTripTrackingPoints200Response:
      content:
        application/json:
          schema:
            type: object
            properties:
              data:
                type: array
                items:
                  type: object
                  properties:
                    tripTrackingPointId:
                      type: string
                      format: uuid
                      description: Trip tracking point identifier
                      example: 01980e33-5bf9-7c09-9f18-c0e7d87b7d12
                    tripId:
                      type: string
                      format: uuid
                      description: Trip identifier
                      example: 0197a80f-2d8f-7710-b243-b67fb477a1c0
                    tripTrackingId:
                      description: Trip tracking identifier
                      example: 0197a812-12e1-77fb-a2d1-b6fbf0570f89
                      nullable: true
                      type: string
                      format: uuid
                    cooperativeId:
                      type: string
                      format: uuid
                      description: Cooperative identifier
                      example: 0197a800-24e6-76a2-90ed-ff0f6fba7b0c
                    transportOperatorId:
                      type: string
                      format: uuid
                      description: Transport operator identifier
                      example: 01980d30-6a3c-7a42-9182-17ad6324d3aa
                    driverId:
                      type: string
                      format: uuid
                      description: Driver identifier
                      example: 0197a807-1ec7-75e8-8ff8-df64dd070046
                    latitude:
                      type: number
                      minimum: -90
                      maximum: 90
                      description: Latitude
                      example: -23.55052
                    longitude:
                      type: number
                      minimum: -180
                      maximum: 180
                      description: Longitude
                      example: -46.63331
                    accuracyMeters:
                      description: Accuracy in meters
                      example: 12
                      nullable: true
                      type: integer
                    speedKmh:
                      description: Speed in km/h
                      example: 42.7
                      nullable: true
                      type: number
                      minimum: 0
                    headingDegrees:
                      description: Heading in degrees
                      example: 126.4
                      nullable: true
                      type: number
                      minimum: 0
                      maximum: 360
                    source:
                      type: string
                      enum:
                        - DRIVER_APP_FOREGROUND
                        - DRIVER_APP_BACKGROUND
                      description: Trip tracking source
                      example: DRIVER_APP_BACKGROUND
                    sequence:
                      type: integer
                      description: Trip-scoped ping sequence
                      example: 42
                    acceptedAt:
                      type: string
                      format: date-time
                      description: Accepted at
                      example: '2026-07-04T08:15:10.000Z'
                    createdAt:
                      type: string
                      format: date-time
                      description: Created at
                      example: '2026-07-04T08:15:10.000Z'
                    recordedAt:
                      description: Device recorded time
                      example: '2026-07-04T08:15:08.000Z'
                      nullable: true
                      type: string
                      format: date-time
                  required:
                    - tripTrackingPointId
                    - tripId
                    - cooperativeId
                    - transportOperatorId
                    - driverId
                    - latitude
                    - longitude
                    - source
                    - sequence
                    - acceptedAt
                    - createdAt
                  additionalProperties: false
                  description: Trip tracking point
              meta:
                type: object
                properties:
                  limit:
                    type: number
                    description: Items per page
                    example: 10
                  page:
                    type: number
                    description: Current page
                    example: 1
                  totalItems:
                    type: number
                    description: Total items
                    example: 100
                  totalPages:
                    type: number
                    description: Total pages
                    example: 10
                required:
                  - limit
                  - page
                  - totalItems
                  - totalPages
                additionalProperties: false
            required:
              - data
              - meta
            additionalProperties: false
            description: List trip tracking points
      description: OK
    ListTripTrackingPoints400Response:
      content:
        application/json:
          example:
            errors:
              - message: required
                path: name
            message: Bad Request Error
            statusCode: 400
          schema:
            properties:
              message:
                type: string
              statusCode:
                enum:
                  - 400
                type: number
              errors:
                items:
                  properties:
                    message:
                      type: string
                    path:
                      type: string
                  required:
                    - message
                    - path
                  type: object
                type: array
            required:
              - message
              - statusCode
            type: object
      description: Bad Request Error
    ListTripTrackingPoints401Response:
      content:
        application/json:
          example:
            message: Missing or invalid access token
            statusCode: 401
          schema:
            properties:
              message:
                type: string
              statusCode:
                enum:
                  - 401
                type: number
            required:
              - message
              - statusCode
            type: object
      description: Unauthorized
    ListTripTrackingPoints403Response:
      content:
        application/json:
          example:
            message: Insufficient permissions
            statusCode: 403
          schema:
            properties:
              message:
                type: string
              statusCode:
                enum:
                  - 403
                type: number
            required:
              - message
              - statusCode
            type: object
      description: Forbidden
    ListTripTrackingPoints500Response:
      content:
        application/json:
          example:
            message: Internal Server Error
            statusCode: 500
          schema:
            properties:
              message:
                type: string
              statusCode:
                enum:
                  - 500
                type: number
            required:
              - message
              - statusCode
            type: object
      description: Internal Server Error
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````