---
title: "Proxy a model to chat/completions or completions automatically"
method: POST
path: "/v1/proxy/auto"
tags: ["Proxy"]
---

# Proxy a model to chat/completions or completions automatically

`POST /v1/proxy/auto`

Proxy a request to either chat/completions or completions automatically based on the model. Will cache if temperature=0 or seed is set.

## Request body

- unknown

## Response `200`

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

- unknown

## Changes

- **2024-09-30** `ac2727014d93` — 1 breaking, 1 info
  - the response's body became nullable
  - the request's body became nullable
- **2024-07-30** `9635568dd298` — 1 info
  - endpoint added

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