Traffic Data
Search traffic records, manage exports, and inspect accessible sites
Get record by ID
Retrieve a single traffic record by its type-prefixed ID. The ID format is '{device_type}_{numeric_id}', e.g. 'sdr_18294735'.
Search traffic data
Search vehicle records and sensor meta data (temperatures, voltages) across all device types with cursor-based pagination. Use the 'include' parameter to select data types: vehicles (default), temperatures, voltages. Results are interleaved by timestamp. Time range limited to 30 days. Use POST /api/v1/traffic/exports for historical data beyond 30 days.
Create export
Create an asynchronous traffic data export job. The export runs as a background Celery task and produces a ZIP file containing CSV files per site and data type. Max 3 concurrent exports per user.
Get export status
Check the status of an export job. Returns job metadata including status (queued/running/completed/failed), download URL when complete, and error message if failed.
Download export
Download the ZIP file produced by a completed export job.
List sites
List all measuring sites the authenticated user has access to. Includes site metadata, coordinates, device type, and data time range.
Get site details
Get detailed metadata for a single measuring site including channels, device info, coordinates, and data time range.