---
title: "Get the sensor of a track."
method: GET
path: "/tracks/{trackId}/sensor"
tags: ["Tracks", "Sensors"]
---

# Get the sensor of a track.

`GET /tracks/{trackId}/sensor`

Get the sensor of a track.

## Response `200`

The Sensor.

- SensorJson — unresolved $ref

## Other responses

- `400` — The request was malformed.
- `404` — The Resource could not be found.
- `5XX` — An internal server error occurred.

## Changes

- **2021-12-14** `41dac4f34d9e` — 4 info
  - api tag `Sensors` added
  - api tag `Tracks` added
  - api tag `sensors` removed
  - api tag `tracks` removed
- **2021-12-08** `6b395925cb6a` — 1 info
  - added the media type `text/yaml` for the response with the status `200`
- **2021-12-07** `9e60f373a1f0` — 1 breaking, 4 warning, 4 info
  - removed the media type `text/yaml` for the response with the status `200`
  - the optional response header `Link` removed for the status `200`
  - the optional response header `Link` removed for the status `400`
  - the optional response header `Link` removed for the status `404`
  - …5 more

[Change history](https://skmtc.dev/envirocar/apis/envirocar-rest-api/changes/tracks/:trackId/sensor/get.md)

---

[API](https://skmtc.dev/envirocar/apis/envirocar-rest-api.md) · [All operations](https://skmtc.dev/envirocar/apis/envirocar-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/envirocar/envirocar-rest-api/revisions/c647cca2f102/schema)
