---
title: "Update dataset"
method: PATCH
path: "/api/datasets/{id}/"
tags: ["Datasets"]
---

# Update dataset

`PATCH /api/datasets/{id}/`

Update a specific dataset by ID.

## Path parameters

- `id` integer, required

## Request body

- PatchedDatasetRequest
  - `columns` unknown
  - `created_by` UserSimpleRequest — A ModelSerializer that takes additional arguments for "fields", "omit" and "expand" in order to control which fields are displayed, and whether to replace simple values with complex, nested serializations
    - `email` string, email
    - `first_name` string
    - `last_name` string
    - `username` string, required
  - `description` string, nullable — Dataset description
  - `organization` integer, nullable
  - `title` string — Dataset title
  - `total_entities` integer, nullable
  - `vector_db_dataset_name` string — Dataset name for weaviate schema

## Response `200`

- Dataset
  - `columns` unknown
  - `created_at` string, date-time, required — Creation time
  - `created_by` UserSimple — A ModelSerializer that takes additional arguments for "fields", "omit" and "expand" in order to control which fields are displayed, and whether to replace simple values with complex, nested serializations
    - `avatar` string, nullable, required
    - `email` string, email
    - `first_name` string
    - `id` integer, required
    - `last_name` string
    - `username` string, required
  - `description` string, nullable — Dataset description
  - `id` integer, required
  - `organization` integer, nullable
  - `title` string, required — Dataset title
  - `total_entities` integer, nullable
  - `updated_at` string, date-time, required — Last updated time
  - `vector_db_dataset_name` string — Dataset name for weaviate schema

---

[API](https://skmtc.net/humansignal/apis/label-studio-api.md) · [All operations](https://skmtc.net/humansignal/apis/label-studio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/humansignal/label-studio-api/versions/1b113b8df950/schema)
