---
title: "Enable CORS (`/v1/view/{view_id}`)"
method: OPTIONS
path: "/v1/view/{view_id}"
tags: ["CORS"]
---

# Enable CORS (`/v1/view/{view_id}`)

`OPTIONS /v1/view/{view_id}`

Enable CORS

## Path parameters

- `view_id` string, uuid, required — View 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-07-23** `9eeeeb30b963` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/braintrustdata/apis/braintrust-api/changes/v1/view/:view_id/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)
