Skip to main content

How This Helps

Enrichment runs AI models against your dataset media to unlock advanced capabilities — caption-based search, object detection, face detection, and semantic similarity. Each enrichment operation produces a new dataset copy with the model outputs applied, leaving the original unchanged.
Use status_new for all status checks. The status field is being retired. See Retrieve Dataset Status.

Prerequisites

  • A Visual Layer Cloud account with API access.
  • A valid JWT token. See Authentication.
  • A dataset in READY status with its ID (visible in the browser URL when viewing a dataset: https://app.visual-layer.com/dataset/<dataset_id>/data).

List Available Models

Retrieve the models available for enrichment on a dataset.

Example

Response

Returns an array of model objects. Each object includes:
Check the dependencies field before selecting models. VL-Object-Captioner, for example, requires OBJECT_DETECTION to be applied first.

Check Applied Enrichments

Retrieve the enrichment configuration currently applied to a dataset.

Example

Response

A status of NEW means no enrichments have been applied yet. An applied dataset shows the enrichment model IDs in dataset_enrichment_models.enrichment_models.

Start Enrichment

Apply one or more AI models to a dataset. Enrichment creates a new dataset copy with the model outputs applied — the original dataset is not modified.

Request Body

Use the id values from list_models as the model IDs, and the corresponding type values as the keys.

Example

Response

The response returns the dataset_id of the new enriched copy. Poll the status endpoint for this new dataset until status_new reaches READY before running search or export operations on it.
The source dataset enters READ ONLY status while enrichment runs. The enriched copy is a separate dataset — it has its own dataset_id and appears as a new entry in your dataset inventory.

Python Example


Response Codes

See Error Handling for the error response format and Python handling patterns.

Retrieve Dataset Status

Poll the enriched dataset until processing completes.

Semantic Search

Use caption and semantic embeddings generated by enrichment for search.