---
title: "Bulk update threads"
method: POST
path: "/v1/fleet/threads/bulk-modify"
tags: ["fleet threads"]
---

# Bulk update threads

`POST /v1/fleet/threads/bulk-modify`

Applies one thread update payload to multiple threads in a single call. `data` uses the same shape as the single-thread update payload. The request may include at most 50 thread IDs. Returns one result per thread in the same order as `thread_ids`; the overall response is 200 even when individual threads fail.

## Request body

- ThreadsBulkUpdateThreadsRequest
  - `data` ThreadsUpdateThreadRequest
    - `metadata` ThreadsUpdateThreadMetadata
      - `is_pinned` ThreadsOptionalFieldBool
        - `set` boolean
        - `value` boolean
      - `is_test_run` ThreadsOptionalFieldBool
        - `set` boolean
        - `value` boolean
      - `read_status` ThreadsOptionalFieldBool
        - `set` boolean
        - `value` boolean
      - `sandbox_recreated_at` ThreadsOptionalFieldString
        - `set` boolean
        - `value` string
      - `skip_memory_write_protection` ThreadsOptionalFieldBool
        - `set` boolean
        - `value` boolean
    - `title` ThreadsOptionalFieldString
      - `set` boolean
      - `value` string
  - `thread_ids` string[]

## Response `200`

OK

- ThreadsBulkUpdateThreadsResponse
  - `results` ThreadsBulkUpdateThreadResult[]
    - `error_code` string
    - `id` string, uuid
    - `message` string
    - `status` 'success' | 'failure'

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `502` — Bad Gateway

---

[API](https://skmtc.net/langchain-ai/apis/langsmith.md) · [All operations](https://skmtc.net/langchain-ai/apis/langsmith/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/langchain-ai/langsmith/revisions/a0acb3a6a101/schema)
