Example Usage
import { OrganizationSettings } from "@openrouter/sdk/models";
let value: OrganizationSettings = {
id: "org_2dHFtVWx2n56w6HkM0000000000",
isFilteredModelCatalogEnabled: true,
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
id | string | :heavy_check_mark: | ID of the organization the settings belong to | org_2dHFtVWx2n56w6HkM0000000000 |
isFilteredModelCatalogEnabled | boolean | :heavy_check_mark: | When true, GET /api/v1/models called with one of the organization’s API keys returns only the models that key can use (the /api/v1/models/user catalog), and the signed-in dashboard shows the same list. Anonymous requests always receive the public catalog. | true |