---
title: "Update the global Anthropic Proxy backend setting"
method: PATCH
path: "/v1/settings/anthropic-proxy"
tags: ["Anthropic"]
---

# Update the global Anthropic Proxy backend setting

`PATCH /v1/settings/anthropic-proxy`

## Request

- Base URL: `http://localhost:9998`
- URL: `http://localhost:9998/v1/settings/anthropic-proxy`
- Auth: HTTP bearer

Sets the global `endpointConfigId` used as the fallback when a
token has no per-token binding and no `model: "toolpiper:tp-<id>"`
prefix is present. Pass `null` to clear (proxy will then 503 for
unbound tokens until a binding is set).

## Request body

- object
  - `endpointConfigId` string, nullable

## Response `200`

Updated settings

- AnthropicProxySettings
  - `endpointConfigId` string, nullable, required: Currently selected global Anthropic Proxy backend.
  - `endpointName` string, nullable: Resolved display name for the selected EndpointConfig (UI hint).
  - `endpointModel` string, nullable: Resolved model the selected EndpointConfig will dispatch to.

## Other responses

- `400`: Invalid request
- `404`: Unknown endpointConfigId

---

[API](https://skmtc.dev/modelpiper/apis/toolpiper-api.md) · [All operations](https://skmtc.dev/modelpiper/apis/toolpiper-api/llms.txt) · [OpenAPI document](https://skmtc.dev/modelpiper/apis/toolpiper-api/revisions/6722bf56385c?raw)
