API Reference Overview
Ouster sensors expose an HTTP API at /api/v1 served directly from the sensor. Use it to query sensor metadata, configure the sensor, manage firmware, and retrieve diagnostics. The OpenAPI description can be read from /api/v1/openapi.yaml.
All configuration parameter names are case-sensitive. Refer to the API reference pages for exact spelling. Examples throughout this documentation are tested on Linux. macOS and Windows users should adapt the command syntax accordingly.
Base URL
Requests use the sensor’s hostname or IP address as the base:
For example, a sensor with hostname os-992244000006.local:
Supported clients
The API accepts standard HTTP requests. Any of the following work:
API surface
The HTTP API is organized into five resource groups:
Sensor metadata
Read-only endpoints that return fixed sensor properties — serial number, firmware version, calibration data, beam geometry, and data format descriptors.
Sensor configuration
Read and modify sensor operating parameters. A POST to /api/v1/sensor/config applies one or more parameters simultaneously and triggers reinitialization. Individual parameters can also be targeted with GET, PUT, or DELETE on their specific path.
System
Restart the sensor, update firmware, and manage network settings.
Time
Query PTP and system time synchronization state.
Alerts and diagnostics
Retrieve active and historical alerts, download a full diagnostics bundle, and read live telemetry.
Quick example
Retrieve sensor info and apply a configuration change in two commands:
User-editable data
Firmware v3.1 added a user-editable data store (/api/v1/user/data) for embedding arbitrary metadata on the sensor — calibration notes, site tags, asset IDs, or any other ASCII/Unicode string up to 128 KB. This data persists across reboots and is independent of sensor configuration.
TCP API (deprecated)
The TCP API was deprecated in firmware v3.1. All supported functionality is available through the HTTP API. Contact Ouster Support if you need guidance migrating from the TCP API.

