---
updatedAt: 2025-09-22T20:33:07.000Z
agentTools:
  projectIndex: https://docs.v7labs.com/llms.txt
---

# Update Dataset

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "darwin-api",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "https://darwin.v7labs.com/api"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-default": "ApiKey {{key}}",
        "x-bearer-format": ""
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/datasets/{id}": {
      "put": {
        "summary": "Update Dataset",
        "description": "",
        "operationId": "update-dataset",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Dataset ID",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "annotation_hotkeys": {
                    "type": "array",
                    "description": "List of hotkeys to assign to the specified dataset",
                    "items": {
                      "properties": {
                        "<key>": {
                          "type": "string",
                          "description": "Map keyboard <key> to action. Supported action values of format: \"select_class:<class_id>\""
                        }
                      },
                      "type": "object"
                    }
                  },
                  "annotators_can_create_tags": {
                    "type": "boolean",
                    "description": "Flag to specify whether annotators are allowed to create tags for the specified dataset"
                  },
                  "annotators_can_instantiate_workflows": {
                    "type": "boolean",
                    "description": "Flag to specify whether annotators can get assigned items in \"new\" status"
                  },
                  "anyone_can_double_assign": {
                    "type": "boolean",
                    "description": "Flag to specify whether users can be assigned to different stages in the same workflow"
                  },
                  "instructions": {
                    "type": "string",
                    "description": "Dataset instructions for annotators"
                  },
                  "name": {
                    "type": "string",
                    "description": "Dataset name"
                  },
                  "public": {
                    "type": "boolean",
                    "description": "Flag to specify whether the dataset should be publicly accessible"
                  },
                  "reviewers_can_annotate": {
                    "type": "boolean",
                    "description": "Flag to specify whether reviewers are allowed to create annotations in review stages"
                  },
                  "work_prioritization": {
                    "type": "string",
                    "description": "Specification for sorting items when annotators request new items. Supported values are \"priority:asc\", \"priority:desc\", \"inserted_at:asc\", \"inserted_at:asc\""
                  },
                  "work_size": {
                    "type": "integer",
                    "description": "Amount of images are assigned to annotators when they request new items",
                    "format": "int32"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"active\": true,\n  \"annotation_classes\": [],\n  \"annotation_hotkeys\": {},\n  \"annotators_can_create_tags\": false,\n  \"annotators_can_instantiate_workflows\": true,\n  \"anyone_can_double_assign\": false,\n  \"archived\": false,\n  \"archived_at\": null,\n  \"default_workflow_template_id\": 6875,\n  \"id\": 38530,\n  \"instructions\": \"Hello World!\",\n  \"name\": \"Dataset Name\",\n  \"num_classes\": 0,\n  \"num_images\": 0,\n  \"owner_id\": 2,\n  \"parent_id\": null,\n  \"progress\": 0.0,\n  \"public\": null,\n  \"reviewers_can_annotate\": false,\n  \"slug\": \"dataset-name\",\n  \"team_id\": 282,\n  \"team_slug\": \"v7-labs\",\n  \"thumbnails\": [],\n  \"work_prioritization\": \"priority:desc\",\n  \"work_size\": 30\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "active": {
                      "type": "boolean",
                      "example": true,
                      "default": true
                    },
                    "annotation_classes": {
                      "type": "array"
                    },
                    "annotation_hotkeys": {
                      "type": "object",
                      "properties": {}
                    },
                    "annotators_can_create_tags": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "annotators_can_instantiate_workflows": {
                      "type": "boolean",
                      "example": true,
                      "default": true
                    },
                    "anyone_can_double_assign": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "archived": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "archived_at": {},
                    "default_workflow_template_id": {
                      "type": "integer",
                      "example": 6875,
                      "default": 0
                    },
                    "id": {
                      "type": "integer",
                      "example": 38530,
                      "default": 0
                    },
                    "instructions": {
                      "type": "string",
                      "example": "Hello World!"
                    },
                    "name": {
                      "type": "string",
                      "example": "Dataset Name"
                    },
                    "num_classes": {
                      "type": "integer",
                      "example": 0,
                      "default": 0
                    },
                    "num_images": {
                      "type": "integer",
                      "example": 0,
                      "default": 0
                    },
                    "owner_id": {
                      "type": "integer",
                      "example": 2,
                      "default": 0
                    },
                    "parent_id": {},
                    "progress": {
                      "type": "integer",
                      "example": 0,
                      "default": 0
                    },
                    "public": {},
                    "reviewers_can_annotate": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "slug": {
                      "type": "string",
                      "example": "dataset-name"
                    },
                    "team_id": {
                      "type": "integer",
                      "example": 282,
                      "default": 0
                    },
                    "team_slug": {
                      "type": "string",
                      "example": "v7-labs"
                    },
                    "thumbnails": {
                      "type": "array"
                    },
                    "work_prioritization": {
                      "type": "string",
                      "example": "priority:desc"
                    },
                    "work_size": {
                      "type": "integer",
                      "example": 30,
                      "default": 0
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"errors\": {\n    \"detail\": \"Not found\",\n    \"message\": \"Not found\"\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "object",
                      "properties": {
                        "detail": {
                          "type": "string",
                          "example": "Not found"
                        },
                        "message": {
                          "type": "string",
                          "example": "Not found"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "curl",
              "code": "curl --request PUT \\\n\t--url  'https://darwin.v7labs.com/api/datasets/38530' \\\n  --header 'Authorization: ApiKey uIw_tyN.XXXXXXXXXXXXXXXXXXXXXX' \\\n  --header 'Content-Type: application/json' \\\n  --data '{\"instructions\": \"Hello World !\"}'"
            }
          ],
          "samples-languages": [
            "curl"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```