Skip to main content
POST
/
v1
/
proxy
/
{path+}
Proxy any OpenAI request (fallback)
curl --request POST \
  --url https://api.braintrust.dev/v1/proxy/{path+} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '"<any>"'
"<any>"

Authorizations

Authorization
string
header
required

Most Braintrust endpoints are authenticated by providing your API key as a header Authorization: Bearer [api_key] to your HTTP request. You can create an API key in the Braintrust organization settings page.

Path Parameters

path+
string[]
required

The path to proxy

Body

application/json · any

The request body

The body is of type any.

Response

200 - application/json

Proxy response (supports both streaming and non-streaming formats)

The response is of type any.