> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# UpdatePrivateEndpointRequest

Only the fields present change. `base_url`, `upstream_model_id`, `declared_zdr` and `declared_region` are accepted on a draft only; `pricing` and `declared_parameters` replace their value; `settings` is itself a partial update where `null` clears a limit or restores the provider default.

## Example Usage

```typescript theme={null}
import { UpdatePrivateEndpointRequest } from "@openrouter/sdk/models";

let value: UpdatePrivateEndpointRequest = {};
```

## Fields

| Field | Type | Required | Description | Example |
| - | - | - | - | - |
| `baseUrl` | *string* | ➖ | HTTPS base URL of your deployment. Required unless the provider derives its URL from the BYOK credential (Azure, Amazon Bedrock, Google Vertex). | [https://contoso.openai.azure.com](https://contoso.openai.azure.com) |
| `declaredParameters` | [models.PrivateEndpointDeclaredParameter](../models/privateendpointdeclaredparameter.mdx)\[] | ➖ | Parameters the upstream supports beyond the tested ones. Replaces the earlier declaration; tested parameters stay. Order and repeated names are ignored, but the list holds at most as many entries as there are declarable parameters, repeats included. `tool_choice` requires `tools` to be tested or declared. | \[ "temperature", "seed" ] |
| `declaredRegion` | [models.UpdatePrivateEndpointRequestDeclaredRegion](../models/updateprivateendpointrequestdeclaredregion.mdx) | ➖ | Attest where this deployment processes data. | us |
| `declaredZdr` | *boolean* | ➖ | Attest that this deployment retains no prompt or completion data. | |
| `pricing` | [models.PrivateEndpointPricing](../models/privateendpointpricing.mdx) | ➖ | N/A | \{ "cache\_read": "0.00000025", "cache\_write": "0.000003125", "completion": "0.00001", "prompt": "0.0000025" } |
| `settings` | [models.UpdatePrivateEndpointSettingsRequest](../models/updateprivateendpointsettingsrequest.mdx) | ➖ | N/A | \{ "context\_length": 128000, "reasoning": \{ "supported": true } } |
| `upstreamModelId` | *string* | ➖ | Model or deployment identifier sent to the upstream provider. | gpt-4o-prod |
