How This Helps
Poll this endpoint to determine when a dataset is ready for search, enrichment, or export operations. Both the dataset metadata and the current processing status are returned in a single call.
The
status field is being retired. Use status_new for all status checks and workflow logic. In a future update, status_new will be renamed to status.Prerequisites
- A valid JWT token. See Authentication.
- A dataset ID (visible in the browser URL:
https://app.visual-layer.com/dataset/<dataset_id>/data).
Get Dataset Status
Retrieve current status and metadata for a dataset.Example
Response
Key Response Fields
| Field | Description |
|---|---|
id | The dataset UUID. |
display_name | The human-readable dataset name. |
status_new | The current dataset status. Use this field for all workflow logic. |
progress | Processing progress percentage (0–100). |
n_images | Total number of images in the dataset. |
n_videos | Total number of videos in the dataset. |
n_objects | Total number of detected objects (if object detection enrichment was applied). |
fatal_error_msg | Error message if processing failed; otherwise null. |
Dataset Status Values
status_new | Description |
|---|---|
DRAFT | Dataset is being set up. Files may be uploading but processing has not started. |
INDEXING | Dataset is being indexed for search and retrieval. |
READ ONLY | Dataset is being updated — add media, enrichment, or reindex in progress. Browsing still works. |
PARTIAL INDEX | New media was added but the dataset has not yet been re-clustered. Trigger a reindex to reach READY. |
READY | Dataset is fully processed and available for search, enrichment, and export. |
ERROR | Processing failed. Check fatal_error_msg for details. |
Get Dataset Creation Status
For datasets created via the ingestion workflow (local file uploads), use this endpoint to track creation progress:Example
Response
Python Polling Example
The following example polls until a dataset reachesREADY status.
Response Codes
See Error Handling for the error response format and Python handling patterns.| HTTP Code | Meaning |
|---|---|
| 200 | Dataset metadata returned successfully. |
| 401 | Unauthorized — check your JWT token. |
| 404 | Dataset not found, or the authenticated user does not have access to it. |
Related Resources
Add Media to an Existing Dataset
Add new images or videos and monitor the resulting status transitions.
Authentication
Generate the JWT token required for all API calls.