Ouster Gemini Detect API
Perception HTTPS API specification
default
Sensor Management
- GET /perception/api/v1/sensor
Get list of Sensors
Get full list of sensors connected to perception pipeline
- Status Codes:
200 OK – OK
- DELETE /perception/api/v1/sensor
Clears all lidars
Removes all live and pcap sensors from perception pipelines and sources. Effectively puts system back into original state with respect to added sensors. Note this does not affect extrinsics, that should be cleared separately
- Status Codes:
200 OK – OK
- GET /perception/api/v1/sensor/{status}
Get list of active/inactive Sensors
Get list of sensors with given status ({active, inactive}) connected to perception pipeline.
- Parameters:
status (string) –
- Status Codes:
200 OK – OK
- PUT /perception/api/v1/sensor/{hostname}
Add a sensor
Add sensor to perception server
- Parameters:
hostname (string) –
- Status Codes:
200 OK – OK
Settings
- GET /perception/api/v1/settings
Get all settings
Get all current settings
- Status Codes:
200 OK – OK
- POST /perception/api/v1/settings
Set all settings.
Set entirely new settings file
- Status Codes:
200 OK – OK
- PUT /perception/api/v1/set_profile/{profile}
Set the current profile
Set the current profile
- Parameters:
profile (string) –
- Status Codes:
400 Bad Request – Bad Request
200 OK – OK
- GET /perception/api/v1/profile/{profile}
Get profile by name
Get profile by name
- Parameters:
profile (string) –
- Status Codes:
400 Bad Request – Bad Request
200 OK – OK
- PUT /perception/api/v1/profile/{profile}
Add/Update settings profile
Add/Update settings profile
- Parameters:
profile (string) –
- Status Codes:
400 Bad Request – Bad Request
200 OK – OK
- DELETE /perception/api/v1/profile/{profile}
Remove profile by name
Remove profile by name
- Parameters:
profile (string) –
- Status Codes:
400 Bad Request – Bad Request
200 OK – OK
- GET /perception/api/v1/profiles
Get list of profiles
Get list of profiles
- Status Codes:
400 Bad Request – Bad Request
200 OK – OK
- PUT /perception/api/v1/restore_profile/{profile}
Restore profile to default values
Restore profile to default values
- Parameters:
profile (string) –
- Status Codes:
400 Bad Request – Bad Request
200 OK – OK
Registration
- GET /perception/api/v1/extrinsics
Access all extrinsics data.
The REST endpoint/path used to get extrinsics data.
- Status Codes:
200 OK – OK
- PUT /perception/api/v1/extrinsics
Upload all extrinsics data.
The REST endpoint/path used to set all sensors extrinsic data.
- Status Codes:
200 OK – OK
- DELETE /perception/api/v1/extrinsics
Clear all extrinsics data.
The REST endpoint/path used to clear all sensors extrinsic data.
- Status Codes:
200 OK – OK
- GET /perception/api/v1/extrinsics/{sensor_id}
Access sensor extrinsics data.
The REST endpoint/path used to get extrinsics data for a given sensor_id
- Parameters:
sensor_id (integer) –
- Status Codes:
200 OK – OK
- PUT /perception/api/v1/extrinsics/{sensor_id}
Upload sensor extrinsics data.
The REST endpoint/path used to set extrinsics for a given sensor_id.
- Parameters:
sensor_id (integer) –
- Status Codes:
200 OK – OK
Execution
- PUT /perception/api/v1/execution/reset
Stop perception application. Operating system will restart the application
- Status Codes:
400 Bad Request – Bad Request
200 OK – OK
- POST /perception/api/v1/execution/play
Play streaming of perception data
- Status Codes:
400 Bad Request – Bad Request
200 OK – OK
- POST /perception/api/v1/execution/pause
Pause perception data stream
- Status Codes:
400 Bad Request – Bad Request
200 OK – OK
- POST /perception/api/v1/execution/step
Step data stream
Step forward a single frame in the data stream.
- Status Codes:
200 OK – OK
- PUT /perception/api/v1/execution/start_recording/{filename}
Start recording PCAP of all connected sensors with given filename
- Parameters:
filename (string) –
- Status Codes:
400 Bad Request – Bad Request
200 OK – OK
- GET /perception/api/v1/execution/stop_recording
Stop recording PCAP
- Status Codes:
400 Bad Request – Bad Request
200 OK – OK
- DELETE /perception/api/v1/execution/delete_recording/{filename}
Delete PCAP with given filename
- Parameters:
filename (string) –
- Status Codes:
400 Bad Request – Bad Request
200 OK – OK
- GET /perception/api/v1/execution/list_recordings
Get list of of all recordings in a directory
- Status Codes:
400 Bad Request – Bad Request
200 OK – OK
Point Zones
- GET /perception/api/v1/point_zones
Get all zones
Get all zones
- Status Codes:
400 Bad Request – Bad Request
200 OK – OK
- PUT /perception/api/v1/point_zones
Add zones
Replace the current point zones
- Status Codes:
200 OK – OK
Access
Diagnostics
- GET /perception/api/v1/alerts
Get alert data
Get alert data from the server.
- Status Codes:
200 OK – OK
- GET /perception/api/v1/alerts/active
Get active alert data
Get active alert data from the server.
- Status Codes:
200 OK – OK
- GET /perception/api/v1/alerts/logged
Get logged alert data
Get logged alert data from the server.
- Status Codes:
200 OK – OK
Static
Lidar Hub HTTPS API specification
Diagnostics
Settings
- PUT /lidar-hub/api/v1/default_settings
Restore application settings to default values
- Status Codes:
201 Created – OK
400 Bad Request – Bad Request
- POST /lidar-hub/api/v1/settings
Set all application settings.
- Status Codes:
201 Created – OK
400 Bad Request – Bad Request
- PUT /lidar-hub/api/v1/world
Set the World Geo-Coordinates
- Status Codes:
201 Created – OK
400 Bad Request – Bad Request
Cloud Storage
- POST /lidar-hub/api/v1/cloud_storage
Add/Update a Cloud Storage Profile
- Status Codes:
201 Created – OK
400 Bad Request – Bad Request
- PUT /lidar-hub/api/v1/cloud_storage
Set The Active Cloud Storage Profile
- Query Parameters:
profile (string) – Cloud Storage Profile.
- Status Codes:
201 Created – OK
400 Bad Request – Bad Request
Cloud Connectivity
- POST /lidar-hub/api/v1/certificate
Save a Certificate
- Query Parameters:
name (string) – Certificate Name
- Status Codes:
201 Created – OK
400 Bad Request – Bad Request
- POST /lidar-hub/api/v1/cloud_connectivity
Add/Update a Cloud Connectivity Profile
- Status Codes:
201 Created – OK
400 Bad Request – Bad Request
- PUT /lidar-hub/api/v1/cloud_connectivity
Set The Active Cloud Connectivity Profile
- Query Parameters:
profile (string) – Cloud Connectivity Profile.
- Status Codes:
201 Created – OK
400 Bad Request – Bad Request
- GET /lidar-hub/api/v1/streaming_connectivity
Get Streaming Connectivity Profiles
- Status Codes:
200 OK – OK
- POST /lidar-hub/api/v1/streaming_connectivity
Add/Update a Streaming Connectivity Profile
- Status Codes:
201 Created – OK
400 Bad Request – Bad Request
- PUT /lidar-hub/api/v1/streaming_connectivity
Set The Active Streaming Connectivity Profile
- Query Parameters:
profile (string) – Streaming Connectivity Profile.
- Status Codes:
201 Created – OK
400 Bad Request – Bad Request
Sensor Management
- GET /lidar-hub/api/v1/background_cloud
Retrieves the background point cloud for all sensors
- Query Parameters:
downsample_factor (number) – How much to downsample the background cloud (1 = no downsampling)
- Status Codes:
200 OK – OK
400 Bad Request – Bad Request
- GET /lidar-hub/api/v1/background_cloud/{sensor_id}
Retrieves the background point cloud for a single sensor
- Parameters:
sensor_id (string) – Lidar Sensor ID (serial number)
- Query Parameters:
downsample_factor (number) – How much to downsample the background cloud (1 = no downsampling)
- Status Codes:
200 OK – OK
400 Bad Request – Bad Request
Event Zones
- GET /lidar-hub/api/v1/event_zones/active
Query Active Occupancy by ID, Classification and Dwell
- Query Parameters:
ids (string) – Comma-delimited string of event zone IDs (default = 0: ALL)
classifications (string) – Comma-delimited string of Classifications (default = ALL)
min_dwell_secs (number) – Minimum dwell in seconds (default = 0.0)
- Status Codes:
200 OK – OK
- GET /lidar-hub/api/v1/event_zones/alerts
Get Active Alerts for All Event Zones
- Status Codes:
200 OK – OK
Execution
- PUT /lidar-hub/api/v1/ota/force_software_check
Force immediate check for a pending software OTA request
- Status Codes:
201 Created – OK
- GET /lidar-hub/api/v1/pcap_recording/buffer_active
Get State of PCAP Ring Buffer
- Status Codes:
200 OK – OK
500 Internal Server Error – Internal Server Error
- POST /lidar-hub/api/v1/pcap_recording/start
Starts a PCAP Recording.
- Status Codes:
201 Created – OK
400 Bad Request – Bad Request
405 Method Not Allowed – Method not allowed
- POST /lidar-hub/api/v1/pcap_recording/start_buffer
Starts the PCAP Ring Buffer.
- Query Parameters:
buffer_length_s (number) – Size of PCAP ring buffer in seconds. If not specified (default is 0), the ring buffer will be set to the size specified in the system settings.
- Status Codes:
201 Created – OK
400 Bad Request – Bad Request
- GET /lidar-hub/api/v1/pcap_recording/stop
Stops an active PCAP Recording.
- Query Parameters:
id (string) – User Recording ID
stop_trail_seconds (number) – Additional time in seconds to include in the recording following the stop request.
- Status Codes:
200 OK – OK
400 Bad Request – Bad Request
404 Not Found – Not Found
- PUT /lidar-hub/api/v1/pcap_recording/stop_buffer
Stops the PCAP Ring Buffer.
- Status Codes:
201 Created – OK
400 Bad Request – Bad Request
- PUT /lidar-hub/api/v1/reset
Restart the Lidar Hub
- Status Codes:
201 Created – OK
- POST /lidar-hub/api/v1/user_recording/start
Starts a User Recording.
- Status Codes:
201 Created – OK
400 Bad Request – Bad Request
405 Method Not Allowed – Method not allowed
- GET /lidar-hub/api/v1/user_recording/stop
Stops an active User Recording.
- Query Parameters:
id (string) – User Recording ID
stop_trail_seconds (number) – Additional time in seconds to include in the recording following the stop request.
- Status Codes:
200 OK – OK
400 Bad Request – Bad Request
404 Not Found – Not Found
Enrichments
- POST /lidar-hub/api/v1/enrichments
Provide a new enrichment payload
- Status Codes:
201 Created – OK
400 Bad Request – Bad Request
500 Internal Server Error – Internal Server Error