Skip to content

Expand alerts CSV export with sequence and camera context #591

@MateoLostanlen

Description

@MateoLostanlen

Follow-up to #577.

The current /alerts/export endpoint only exposes 5 columns (id, lat, lon, started_at, last_seen_at), which is too thin for studying past alerts.

We want the export to include every field relevant to alert analysis.

Proposed columns

Core

  • alert_id
  • started_at_date (UTC)
  • started_at_time (UTC)
  • last_seen_at (ISO)
  • duration_seconds
  • lat, lon (empty when null)
  • organization_id

Sequences (multi-value cells, |-separated, ordered by sequence.started_at ASC so positions align across columns)

  • sequence_ids
  • sequence_count
  • sequence_labels (is_wildfire: wildfire / other / unknown)
  • sequence_azimuths
  • pose_ids

Cameras (same ordering as sequences)

  • camera_ids
  • camera_names
  • camera_count

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions