---
title: "Cancel Bulk Export"
method: PATCH
path: "/api/v1/bulk-exports/{bulk_export_id}"
tags: ["bulk-exports"]
---

# Cancel Bulk Export

`PATCH /api/v1/bulk-exports/{bulk_export_id}`

Cancel a bulk export by ID

## Path parameters

- `bulk_export_id` string, uuid, required

## Request body

- BulkExportUpdate
  - `status` 'Cancelled'

## Response `200`

Successful Response

- BulkExport
  - `bulk_export_destination_id` string, uuid, required
  - `session_id` string, uuid, nullable
  - `all_experiments` boolean
  - `start_time` string, date-time, required
  - `end_time` string, date-time, nullable
  - `filter` string, nullable
  - `format` 'Parquet'
  - `format_version` 'v1' | 'v2_beta' — Enum for bulk export format versions.
  - `compression` 'none' | 'gzip' | 'snappy' | 'zstandard'
  - `interval_hours` integer, nullable
  - `export_fields` string[], nullable
  - `id` string, uuid, required
  - `tenant_id` string, uuid, required
  - `status` 'Cancelled' | 'Completed' | 'Created' | 'IntervalScheduled' | 'Failed' | 'TimedOut' | 'Running', required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `finished_at` string, date-time, nullable, required
  - `source_bulk_export_id` string, uuid, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-05-27** `a0acb3a6a101` — 2 breaking, 1 info
  - the response property `session_id` became optional for the status `200`
  - response property `session_id` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - added the optional property `all_experiments` to the response with the `200` status

[Change history](https://skmtc.dev/langchain-ai/apis/langsmith/changes/api/v1/bulk-exports/:bulk_export_id/patch.md)

---

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