Skip to main content

Overview

Tasks in CVAT represent individual annotation assignments. Each task contains media files (images or videos) and can be divided into multiple jobs for parallel annotation.

List Tasks

Retrieve a list of all tasks accessible to you.

Query Parameters

string
Filter by task name
string
Filter by owner username
string
Filter by assignee username
string
Filter by status: annotation, validation, or completed
integer
Filter by project ID
string
Filter by project name
string
Filter by annotation mode
string
Filter by dimension: 2d or 3d
string
Filter by dataset subset
string
Filter by validation mode: gt or gt_pool
Search tasks by multiple fields
string
Sort by field name (prefix with - for descending)
integer
Page number for pagination
integer
Number of results per page

Create a Task

Create a new annotation task. Note that the task will be created without media files - use the data endpoint to upload them.

Request Body

string
required
Task name
integer
ID of the parent project
array
Array of label definitions (required if not in a project)
integer
User ID of the task owner
integer
User ID of the task assignee
string
Bug tracker URL
string
Dataset subset (train, val, test)
integer
Number of frames per job segment
integer
Frame overlap between segments
object
Source storage configuration
object
Target storage configuration

Response

integer
Task ID
string
Task name
integer
Parent project ID
object
Task owner details
object
Task assignee details
string
Task status: annotation, validation, or completed
array
Array of label definitions
string
Task creation timestamp
string
Task last update timestamp

Get Task Details

Retrieve details of a specific task.

Path Parameters

integer
required
Unique task identifier

Update a Task

Update task properties, labels, or move between projects.

Path Parameters

integer
required
Unique task identifier

Request Body Examples

Update Task Properties

Move Task to Project

Transfer Task to Organization

Delete a Task

Delete a task along with all its jobs, annotations, and data.
Deleting a task permanently removes all associated jobs, annotations, and uploaded media files.

Path Parameters

integer
required
Unique task identifier

Upload Task Data

Upload media files (images or videos) to a task.

Path Parameters

integer
required
Unique task identifier

Form Parameters

array
required
Array of image or video files
integer
default:70
Image compression quality (0-100)
boolean
default:true
Use zip chunks for image sets
integer
Cloud storage ID for remote data
array
Server file paths for server-side data
array
Remote file URLs

Get Task Annotations

Retrieve all annotations for a task.

Path Parameters

integer
required
Unique task identifier

Response

integer
Annotation format version
array
Array of image-level tags
array
Array of shape annotations (rectangles, polygons, etc.)
array
Array of tracked objects across frames

Import Task Annotations

Import annotations from a file.

Path Parameters

integer
required
Unique task identifier

Query Parameters

string
Annotation format (e.g., “COCO 1.0”, “YOLO 1.1”)
string
Annotation filename (for cloud storage)
string
Import location: local or cloud_storage
integer
Cloud storage ID

Response

string
Request ID for tracking import status

Update Task Annotations

Update specific annotations (create, update, or delete).

Path Parameters

integer
required
Unique task identifier

Query Parameters

string
required
Action to perform: create, update, or delete

Replace Task Annotations

Replace all task annotations.

Delete Task Annotations

Delete all annotations from a task.

Export Task Dataset

Export task dataset in a specific format.

Query Parameters

string
required
Export format name
string
Output filename
boolean
default:false
Include images in export
string
Export location: local or cloud_storage
integer
Cloud storage ID

Response

string
Request ID for tracking export status

Get Task Data Metadata

Retrieve metadata about task media files.

Response

array
Array of frame metadata
integer
Total number of frames
integer
Image compression quality

Get Task Preview

Retrieve a preview image for a task.

Example: Complete Task Workflow