provider.only is supported.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
provider.only is supported.
import { BatchProviderPreferences } from "@openrouter/sdk/models";
let value: BatchProviderPreferences = {};
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
only | models.BatchProviderPreferencesOnly[] | :heavy_minus_sign: | List of provider slugs to allow. If provided, this list is merged with your account-wide allowed provider settings for this request. | [ “openai”, “anthropic” ] |