Objects

GET - Read Object

Returns a single object with detailed location and telemetry fields.

Endpoint

GET /objects/:id

When to Use

Use this endpoint when opening an object detail page or requesting a single object snapshot by ID.

Authentication

This endpoint requires an API key. Send either x-api-key: <api_key> or Authorization: Bearer <api_key>.
Requests are rate-limited per organization.

Path Parameters

ParameterTypeRequiredDescription
idnumberYesObject ID to retrieve.

Query Parameters

This endpoint does not require query parameters.

Request Body

This endpoint does not require a request body.

Example Request

curl --request GET \
  --url https://api.jitra.app/public/v1/objects/101 \
  --header 'x-api-key: <api_key>'

Example Response

Successful response (200 OK):

{
  "statusCode": 200,
  "result": {
    "id": 101,
    "name": "Truck 01",
    "ident": "B-1234-XYZ",
    "latitude": -6.2,
    "longitude": 106.8,
    "altitude": 15,
    "angle": 230,
    "speed": 42,
    "time_server": "2026-05-17T01:00:00.000Z",
    "time_device": "2026-05-17T00:59:58.000Z",
    "time_last_idle": "2026-05-17T00:55:00.000Z",
    "time_last_move": "2026-05-17T00:40:00.000Z",
    "time_last_stop": "2026-05-17T00:20:00.000Z",
    "engine_hours": 1723.4,
    "engine_hours_type": "engine_hours",
    "odometer": 120034.7,
    "odometer_type": "odometer",
    "vehicle_data": {
      "vin": "MH4ABC12345678901",
      "plate_number": "B1234XYZ"
    },
    "mileage": 256.4,
    "address": "Jakarta",
    "accuracy": {
      "device_timezone": "Asia/Jakarta",
      "maximum_hdop": 5,
      "minimum_difference_point": 5,
      "minimum_gps_level": 3,
      "idle_speed_threshold": 5,
      "minimum_moving_speed": 10,
      "distance_source": "gps",
      "stop_detection_method": "speed"
    },
    "created_at": "2024-01-01T00:00:00.000Z"
  }
}

Response Fields

All fields below are taken from the result object.

FieldTypeDescription
idnumberObject ID.
namestringObject display name.
identstringUnique object identifier.
latitudenumberLatitude value.
longitudenumberLongitude value.
altitudenumberAltitude value.
anglenumberHeading angle.
speednumberSpeed value.
time_serverstring (ISO 8601 datetime)Last server timestamp.
time_devicestring (ISO 8601 datetime)Last device timestamp.
time_last_idlestring (ISO 8601 datetime)Last idle timestamp.
time_last_movestring (ISO 8601 datetime)Last moving timestamp.
time_last_stopstring (ISO 8601 datetime)Last stop timestamp.
engine_hoursnumberEngine-hours value.
engine_hours_typestringEngine-hours source/type value.
odometernumberOdometer value.
odometer_typestringOdometer source/type value.
vehicle_dataobjectVehicle metadata.
vehicle_data.vinstringVehicle VIN.
vehicle_data.plate_numberstringVehicle plate number.
mileagenumberMileage value.
addressstringLatest known address.
accuracyobjectTracking accuracy settings.
accuracy.device_timezonestringDevice timezone.
accuracy.maximum_hdopnumberMaximum allowed HDOP.
accuracy.minimum_difference_pointnumberMinimum point distance difference.
accuracy.minimum_gps_levelnumberMinimum GPS level.
accuracy.idle_speed_thresholdnumberIdle speed threshold.
accuracy.minimum_moving_speednumberMinimum moving speed.
accuracy.distance_sourcestringDistance calculation source.
accuracy.stop_detection_methodstringStop detection method.
created_atstring (ISO 8601 datetime)Record creation timestamp.

Error Responses

Main Error Responses

HTTP StatusExample errorCodeWhen It Happens
401ERR999API key is missing, invalid, or expired.
400PUBLIC.400_xxxThe request format or parameter values are invalid.

Other Error Responses

HTTP StatuserrorCodeWhen It Happens
404PUBLIC.404_001The object ID is not found in the authenticated organization.
429ERR999Too many requests for the current organization throttle window.

Notes

This endpoint combines persisted object data with the latest realtime values when available.