---
title: "Enable CORS (`/v1/dataset/{dataset_id}/fetch`)"
method: OPTIONS
path: "/v1/dataset/{dataset_id}/fetch"
tags: ["CORS"]
---

# Enable CORS (`/v1/dataset/{dataset_id}/fetch`)

`OPTIONS /v1/dataset/{dataset_id}/fetch`

Enable CORS

## Path parameters

- `dataset_id` string, uuid, required — Dataset id

## Response `200`

Response for CORS method

## Other responses

- `400` — The request was unacceptable, often due to missing a required parameter

## Changes

- **2024-09-30** `ac2727014d93` — 1 breaking
  - the response's body became nullable
- **2024-05-06** `44b51ad3239a` — 1 info
  - added the media type `application/json` for the response with the status `400`

[Change history](https://skmtc.dev/braintrustdata/apis/braintrust-api/changes/v1/dataset/:dataset_id/fetch/options.md)

---

[API](https://skmtc.dev/braintrustdata/apis/braintrust-api.md) · [All operations](https://skmtc.dev/braintrustdata/apis/braintrust-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/braintrustdata/braintrust-api/revisions/9d216c8243fe/schema)
