> ## Documentation Index
> Fetch the complete documentation index at: https://api-doc.track.graviton.ma/llms.txt
> Use this file to discover all available pages before exploring further.

# Get an accessible object



## OpenAPI

````yaml /openapi.json get /objects/{imei}
openapi: 3.0.3
info:
  title: Graviton Geo V1 Client API
  version: 2.0.0
  description: >-
    Client API for Graviton Geo V1. Use an API token to access your fleet,
    tracking, resources, commands, and reports. The REST API base path is
    /api/v2.
servers:
  - url: https://fleet.graviton.ma/api/v2
    description: Production
security:
  - ApiKey: []
tags:
  - name: System
  - name: Account
  - name: Fleet
  - name: Tracking
  - name: Commands
  - name: Places
  - name: People and groups
  - name: Events
  - name: Maintenance
  - name: Sensors
  - name: Reports
  - name: Templates
paths:
  /objects/{imei}:
    parameters:
      - $ref: '#/components/parameters/Imei'
    get:
      tags:
        - Fleet
      summary: Get an accessible object
      operationId: get_objects_imei
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                required:
                  - success
                  - data
                properties:
                  success:
                    type: boolean
                    enum:
                      - true
                  data:
                    $ref: '#/components/schemas/FleetObject'
                  meta:
                    $ref: '#/components/schemas/Meta'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
components:
  parameters:
    Imei:
      name: imei
      in: path
      required: true
      schema:
        type: string
        pattern: ^[A-Za-z0-9_-]{1,20}$
  schemas:
    FleetObject:
      type: object
      properties:
        imei:
          type: string
          description: Object identifier. Treat it as a string.
        protocol:
          type: string
        active:
          type: boolean
          description: Whether the object is active.
        active_dt:
          type: string
        manager_id:
          oneOf:
            - type: number
            - type: string
          description: Numeric value; legacy values may be serialized as strings.
        dt_server:
          type: string
          description: Stored UTC timestamp in YYYY-MM-DD HH:MM:SS format.
        dt_tracker:
          type: string
          description: Stored UTC timestamp in YYYY-MM-DD HH:MM:SS format.
        lat:
          oneOf:
            - type: number
            - type: string
          description: Numeric value; legacy values may be serialized as strings.
        lng:
          oneOf:
            - type: number
            - type: string
          description: Numeric value; legacy values may be serialized as strings.
        altitude:
          oneOf:
            - type: number
            - type: string
          description: Numeric value; legacy values may be serialized as strings.
        angle:
          oneOf:
            - type: number
            - type: string
          description: Numeric value; legacy values may be serialized as strings.
        speed:
          oneOf:
            - type: number
            - type: string
          description: Numeric value; legacy values may be serialized as strings.
        loc_valid:
          oneOf:
            - type: string
            - type: number
            - type: boolean
          description: Stored location-validity indicator.
        params:
          type: string
          description: Tracker parameter payload stored as serialized text.
        name:
          type: string
        installation_dt:
          type: string
        icon:
          type: string
        map_arrows:
          type: string
        map_icon:
          type: string
        tail_color:
          type: string
        tail_points:
          type: string
        device:
          type: string
        sim_number:
          type: string
        model:
          type: string
        vin:
          type: string
        plate_number:
          type: string
        odometer_type:
          type: string
        engine_hours_type:
          type: string
        odometer:
          oneOf:
            - type: number
            - type: string
          description: Numeric value; legacy values may be serialized as strings.
        engine_hours:
          oneOf:
            - type: number
            - type: string
          description: Numeric value; legacy values may be serialized as strings.
        fcr:
          oneOf:
            - type: number
            - type: string
          description: Numeric value; legacy values may be serialized as strings.
        time_adj:
          oneOf:
            - type: number
            - type: string
          description: Numeric value; legacy values may be serialized as strings.
        accuracy:
          oneOf:
            - type: number
            - type: string
          description: Numeric value; legacy values may be serialized as strings.
      additionalProperties: true
    Meta:
      type: object
      properties:
        request_id:
          type: string
        page:
          type: integer
        per_page:
          type: integer
        total:
          type: integer
        pages:
          type: integer
    ErrorEnvelope:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          enum:
            - false
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
            message:
              type: string
            details:
              type: object
              additionalProperties: true
        meta:
          $ref: '#/components/schemas/Meta'
  responses:
    Error:
      description: API error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        Your Graviton API token. Send Authorization: Bearer YOUR_API_TOKEN or
        Authorization: YOUR_API_TOKEN. Each token has individual permissions; a
        valid token without the permission required by the method and route
        returns 403 TOKEN_PERMISSION_DENIED.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.