preview_annotations
Preview annotation overlays and metadata for a dataset image. Filter by annotation type, IDs, or size to inspect specific detections.
Instructions
Return an in-memory annotation overlay and metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_width | No | Optional requested width limit. | |
| dataset_id | Yes | Owning dataset identifier. | |
| image_path | Yes | Dataset-relative source image path. | |
| max_height | No | Optional requested height limit. | |
| annotation_ids | No | Optional identifiers to render. | |
| annotation_type | No | Geometry type filter or ``all``. | all |
| include_deleted_categories | No | Whether deleted-category annotations render. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| data | Yes | Add the number of annotations rendered into an overlay preview. |