> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getbluejay.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# PUT /v1/datasets/{dataset_id}/items/{item_id}

> Update Item

Replace an item's title and content. Changed generated content has its audio queued again; a changed script on an uploaded item gets a new reference over the same audio.## Path parameters

\<table><thead><tr><th>Name</th>
            \<th>Type</th>
            \<th>Required</th>
            \<th>Description</th></tr></thead>
        \<tbody /></table>

## Headers

\<table><thead><tr><th>Name</th>
            \<th>Type</th>
            \<th>Required</th>
            \<th>Description</th></tr></thead>
        \<tbody /></table>

## Request body

\<table><thead><tr><th>Name</th>
            \<th>Type</th>
            \<th>Required</th>
            \<th>Description</th></tr></thead>
        \<tbody /></table>

## Response

\<table><thead><tr><th>Name</th>
            \<th>Type</th>
            \<th>Required</th>
            \<th>Description</th></tr></thead>
        \<tbody /></table>

## Status codes| Status | Meaning |
| - | - |
| `200` | Successful Response |
| `422` | Validation Error |## Example request```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
curl --request PUT \
  --url https://api.getbluejay.ai/v1/datasets/{dataset_id}/items/{item_id} \
  --header 'X-API-Key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
    "title": "<string>",
    "content": {
      "audio_source": "generated",
      "speakers": [
        {
          "role": "<string>",
          "persona_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
        }
      ],
      "script": [
        {
          "speaker": "<string>",
          "text": "<string>",
          "pause_before_ms": 0
        }
      ],
      "environment": {
        "background": "<string>",
        "level": "quiet",
        "device": "close_mic"
      }
    }
  }'
```## Example response```json 200 theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "dataset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "title": "<string>",
  "content": {},
  "status": "pending",
  "render_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "source": "generated",
  "duration_ms": 123,
  "error_message": "<string>",
  "created_at": "2026-01-01T00:00:00Z",
  "updated_at": "2026-01-01T00:00:00Z"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.