---
title: "Enable CORS (`/v1/project_logs/{project_id}/insert`)"
method: OPTIONS
path: "/v1/project_logs/{project_id}/insert"
tags: ["CORS"]
---

# Enable CORS (`/v1/project_logs/{project_id}/insert`)

`OPTIONS /v1/project_logs/{project_id}/insert`

Enable CORS

## Path parameters

- `project_id` string, uuid, required — Project 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/project_logs/:project_id/insert/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)
