Example Usage
import { UpdatePrivateEndpointRequest } from "@openrouter/sdk/models";
let value: UpdatePrivateEndpointRequest = {
upstreamModelId: "gpt-4o-prod",
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
baseUrl | string | :heavy_minus_sign: | 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 |
declaredRegion | models.UpdatePrivateEndpointRequestDeclaredRegion | :heavy_minus_sign: | Attest where this deployment processes data. | us |
declaredZdr | boolean | :heavy_minus_sign: | Attest that this deployment retains no prompt or completion data. | |
upstreamModelId | string | :heavy_check_mark: | Model or deployment identifier sent to the upstream provider. | gpt-4o-prod |