superset_annotation_create
Create timeline annotations on Superset charts by specifying an annotation layer, short description, start and end datetimes. Ideal for marking events or periods on time-series visualizations.
Instructions
Create an annotation (timeline event) in the specified layer.
Annotations are displayed as vertical lines or areas on time-series charts.
Args: annotation_layer_id: Annotation layer ID (from annotation_layer_list). short_descr: Brief event description (displayed on the chart). start_dttm: Start datetime in ISO format. Example: "2024-01-01T00:00:00" end_dttm: End datetime in ISO format. Example: "2024-01-01T23:59:59" For a point-in-time event, set start_dttm = end_dttm. long_descr: Detailed event description (optional). json_metadata: JSON string with additional metadata (optional).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_dttm | Yes | ||
| long_descr | No | ||
| start_dttm | Yes | ||
| short_descr | Yes | ||
| json_metadata | No | ||
| annotation_layer_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |