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

# Archive 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}/archive": {
      "put": {
        "summary": "Archive Dataset",
        "description": "",
        "operationId": "archive-dataset",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Dataset ID",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "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\": true,\n  \"archived_at\": \"2021-03-26T14:29:30\",\n  \"default_workflow_template_id\": 6875,\n  \"id\": 38530,\n  \"instructions\": \"\",\n  \"name\": \"Dataset Name_00a9c440-c701-412c-8cd5-6db4bde4434c\",\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_00a9c440-c701-412c-8cd5-6db4bde4434c\",\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": true,
                      "default": true
                    },
                    "archived_at": {
                      "type": "string",
                      "example": "2021-03-26T14:29:30"
                    },
                    "default_workflow_template_id": {
                      "type": "integer",
                      "example": 6875,
                      "default": 0
                    },
                    "id": {
                      "type": "integer",
                      "example": 38530,
                      "default": 0
                    },
                    "instructions": {
                      "type": "string",
                      "example": ""
                    },
                    "name": {
                      "type": "string",
                      "example": "Dataset Name_00a9c440-c701-412c-8cd5-6db4bde4434c"
                    },
                    "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_00a9c440-c701-412c-8cd5-6db4bde4434c"
                    },
                    "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
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```