How This Helps
The Task Manager API gives you programmatic access to all dataset operations — creation, enrichment, re-indexing, snapshot operations, and more. Monitor progress, abort long-running tasks, and retry failed ones without switching to the UI.
Prerequisites
- A Visual Layer Cloud account with API access.
- A valid JWT token. See Authentication.
List Tasks
Retrieve a paginated list of tasks across all datasets you have access to.Query Parameters
Example
Response
Task Object Fields
Get Filter Options
Retrieve the available values for each filter field. Use this to populate filter dropdowns in custom integrations.Query Parameters
Example
Response
Abort a Task
Cancel a running dataset creation task. The task stops processing and its status changes toABORTED.
Path Parameters
Example
Response
Returns the updated task object withstatus set to ABORTED.
Only Dataset Creation tasks can be aborted. Tasks in the final commit phase or in a completed state (
COMPLETED, FAILED, ABORTED) cannot be aborted and return a 409 Conflict response.Retry a Task
Restart a failed or aborted dataset creation task. The task resets toINITIALIZING and re-triggers the processing pipeline with the same configuration.
Path Parameters
Example
Response
Returns the updated task object withstatus set to INITIALIZING.
Only Dataset Creation tasks in
FAILED or ABORTED status can be retried. All previously uploaded media is preserved and reprocessed. A 400 Bad Request is returned if the task is not in a retryable state.Task Types
The following task types appear in thetask_type field:
Task Statuses
The following values appear in thestatus field:
Python Example
Response Codes
See Error Handling for the error response format and Python handling patterns.Related Resources
Task Manager (UI)
Monitor and manage tasks from the Visual Layer interface.
Retrieve Dataset Status
Check the current processing state of a dataset.