Applies to:
HTTP 421 Client Error: Misdirected Request when making requests to https://api.braintrust.dev in self-hosted or enterprise deployments. Cause: Your organization uses a custom data plane URL, and the default API endpoint returns 421 when it detects this configuration. Resolution: Use your organization’s custom data plane API URL instead of the default endpoint.
Resolution Steps
Step 1: Find your custom API URL
Navigate to Settings → Organization → Data Plane → API URL and copy the custom API URL displayed.Step 2: Update your API requests
Replacehttps://api.braintrust.dev with your custom API URL in all requests.