---
title: "PATCH /models/{modelId}/dataBundles/{dataBundleId}"
method: PATCH
path: "/models/{modelId}/dataBundles/{dataBundleId}"
---

# PATCH /models/{modelId}/dataBundles/{dataBundleId}

`PATCH /models/{modelId}/dataBundles/{dataBundleId}`

## Path parameters

- `dataBundleId` string, required
- `modelId` string, required

## Headers

- `Content-Type` string, required

## Request body

- PatchDataBundleId
  - `description` string, nullable
  - `name` string, nullable

## Response `200`

200 response

- DataBundle
  - `createdBy` string, nullable, required
  - `createdTime` string, nullable, required
  - `dataBundleId` string, required
  - `datasets` object[], required
    - `containsPersonallyIdentifiableInformation` boolean, required
    - `createdBy` string, nullable
    - `createdTime` string, nullable
    - `datasetId` string, required
    - `description` string, nullable, required
    - `groundTruthSummary` object
    - `metadata` object, nullable
    - `name` string, nullable
    - `numberOfDocuments` integer, required
    - `retentionInDays` integer, required
    - `storageLocation` 'EU', required
    - `updatedBy` string, nullable
    - `updatedTime` string, nullable
    - `version` integer, required
  - `description` string, nullable, required
  - `modelId` string, required
  - `name` string, nullable, required
  - `retentionInDays` integer
  - `status` 'running' | 'succeeded' | 'failed', required
  - `summary` object, nullable, required
  - `updatedBy` string, nullable, required
  - `updatedTime` string, nullable, required

## Other responses

- `400` — 400 response
- `403` — 403 response
- `404` — 404 response
- `415` — 415 response
- `500` — 500 response

## Changes

- **2022-09-29** `424af607ab69` — 2 breaking
  - the response property `datasets/items/metadata` became nullable for the status `200`
  - the response property `summary` became nullable for the status `200`
- **2022-09-13** `b8d771f64c04` — 1 info
  - added the optional property `retentionInDays` to the response with the `200` status
- **2022-02-04** `2261469a6890` — 1 info
  - added the optional property `datasets/items/metadata` to the response with the `200` status
- **2021-12-10** `c3dbcad72582` — 2 warning, 2 info
  - added the new `running` enum value to the `status` response property for the response status `200`
  - added the new `succeeded` enum value to the `status` response property for the response status `200`
  - removed the `processing` enum value from the `status` response property for the response status `200`
  - removed the `ready` enum value from the `status` response property for the response status `200`
- **2021-11-05** `9788e6bfa925` — 4 warning, 3 info
  - removed the optional property `datasets/items/metadata` from the response with the `200` status
  - removed the optional property `retentionInDays` from the response with the `200` status
  - added the new `processing` enum value to the `status` response property for the response status `200`
  - added the new `ready` enum value to the `status` response property for the response status `200`
  - …3 more

[Change history](https://skmtc.dev/lucidtechai/apis/lucidtech-api/changes/models/:modelId/dataBundles/:dataBundleId/patch.md)

---

[API](https://skmtc.dev/lucidtechai/apis/lucidtech-api.md) · [All operations](https://skmtc.dev/lucidtechai/apis/lucidtech-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lucidtechai/lucidtech-api/revisions/424af607ab69/schema)
