Introduction
The CVAT REST API provides programmatic access to all Computer Vision Annotation Tool features. You can use the API to create and manage projects, tasks, jobs, annotations, and more.Base URL
All API requests should be made to:API Version
The current API version is 2.58.1. The API version follows semantic versioning and is included in the response headers and documentation.Request Format
All requests should include the appropriateContent-Type header:
application/jsonfor JSON payloadsmultipart/form-datafor file uploadsapplication/vnd.cvat+jsonfor CVAT-specific content
Response Format
All API responses use theapplication/vnd.cvat+json content type and return JSON-formatted data.
Success Responses
- 200 OK - Request succeeded
- 201 Created - Resource created successfully
- 202 Accepted - Request accepted, processing asynchronously
- 204 No Content - Request succeeded with no response body
Error Responses
- 400 Bad Request - Invalid request parameters
- 401 Unauthorized - Authentication required
- 403 Forbidden - Insufficient permissions
- 404 Not Found - Resource not found
- 405 Method Not Allowed - HTTP method not supported
- 409 Conflict - Request conflicts with current state
- 410 Gone - Resource no longer available
Example Response
Pagination
List endpoints support pagination with the following query parameters:Page number within the paginated result set
Number of results to return per page
Paginated Response Format
Filtering
Many endpoints support advanced filtering using JSON Logic syntax:JSON Logic filter expression for complex queries
Example Filter
Get all resources created by a specific user:Sorting
List endpoints support sorting with thesort parameter:
Field name to sort by (prefix with
- for descending order)Example
Search
Many endpoints support text search:Search term to filter results
Organizations
When working within an organization context, include the organization identifier:Organization unique slug
Organization unique slug
Organization identifier
Asynchronous Operations
Some operations (imports, exports, backups) are processed asynchronously and return a request ID:Rate Limiting
API requests may be subject to rate limiting. Check response headers for rate limit information:X-RateLimit-Limit- Maximum requests allowedX-RateLimit-Remaining- Requests remainingX-RateLimit-Reset- Time when limit resets
Next Steps
Authentication
Learn how to authenticate API requests
Projects
Manage annotation projects
Tasks
Create and manage annotation tasks
Annotations
Work with annotation data