Example Usage
import { UpdatePrivateEndpointPromptCaching } from "@openrouter/sdk/models";
let value: UpdatePrivateEndpointPromptCaching = {};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
cacheControl | boolean | âž– | Forward top-level, message, and tool cache_control markers. Defaults on after endpoint validation accepts these fields; otherwise off. Set false to opt out, or true to declare support explicitly. | false |
promptCacheKey | boolean | âž– | Send an OpenRouter-derived, customer-isolated prompt_cache_key, not the caller-supplied key. Defaults on after endpoint validation accepts the field; otherwise off. Set false to opt out, or true to declare support explicitly. HIPAA and unknown workspace posture withhold OpenRouter caching directives and the derived key; this does not control upstream retention. | false |