openapi: 3.0.1 info: title: CVAT REST annotations jobs API description: REST API for CVAT (Computer Vision Annotation Tool), an open-source platform for annotating images, video, and 3D point clouds. The same API is served by self-hosted CVAT (MIT-licensed) and by the hosted CVAT Online service at app.cvat.ai. Endpoints cover projects, tasks, jobs, annotations, labels, organizations, memberships, and cloud storage. The full machine-readable schema is published by each server at /api/schema/ and the interactive docs at /api/docs/. This document captures a representative subset of the documented surface. termsOfService: https://www.cvat.ai/terms-of-use contact: name: CVAT Support url: https://www.cvat.ai license: name: MIT License url: https://en.wikipedia.org/wiki/MIT_License version: '2.0' servers: - url: https://app.cvat.ai/api description: CVAT Online (hosted) - url: http://localhost:8080/api description: Self-hosted CVAT (default) security: - tokenAuth: [] - basicAuth: [] tags: - name: jobs description: Assignable annotation units that subdivide a task. paths: /jobs: get: operationId: jobs_list tags: - jobs summary: List jobs parameters: - $ref: '#/components/parameters/Page' - $ref: '#/components/parameters/PageSize' - name: task_id in: query schema: type: integer responses: '200': description: A paginated list of jobs. content: application/json: schema: $ref: '#/components/schemas/PaginatedJobList' /jobs/{id}: parameters: - $ref: '#/components/parameters/PathId' get: operationId: jobs_retrieve tags: - jobs summary: Retrieve a job responses: '200': description: The requested job. content: application/json: schema: $ref: '#/components/schemas/Job' patch: operationId: jobs_partial_update tags: - jobs summary: Update a job description: Update job stage, state, or assignee. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/JobWriteRequest' responses: '200': description: The updated job. content: application/json: schema: $ref: '#/components/schemas/Job' components: schemas: BasicUser: type: object nullable: true properties: id: type: integer readOnly: true username: type: string first_name: type: string last_name: type: string Job: type: object properties: id: type: integer readOnly: true task_id: type: integer readOnly: true project_id: type: integer nullable: true readOnly: true assignee: $ref: '#/components/schemas/BasicUser' stage: type: string enum: - annotation - validation - acceptance state: type: string enum: - new - in progress - completed - rejected start_frame: type: integer readOnly: true stop_frame: type: integer readOnly: true type: type: string enum: - annotation - ground_truth PaginatedJobList: $ref: '#/components/schemas/PaginatedBase' PaginatedBase: type: object properties: count: type: integer next: type: string format: uri nullable: true previous: type: string format: uri nullable: true results: type: array items: type: object JobWriteRequest: type: object properties: assignee: type: integer nullable: true stage: type: string enum: - annotation - validation - acceptance state: type: string enum: - new - in progress - completed - rejected parameters: Page: name: page in: query schema: type: integer description: A page number within the paginated result set. PathId: name: id in: path required: true schema: type: integer description: A unique integer value identifying this resource. PageSize: name: page_size in: query schema: type: integer description: Number of results to return per page. securitySchemes: tokenAuth: type: apiKey in: header name: Authorization description: 'Token authentication. Send the header `Authorization: Token ` where the key is obtained from POST /auth/login.' basicAuth: type: http scheme: basic description: HTTP Basic authentication with CVAT username and password.