Example Usage
import { OrganizationSettings } from "@openrouter/sdk/models";
let value: OrganizationSettings = {
id: "org_2dHFtVWx2n56w6HkM0000000000",
isFilteredModelCatalogEnabled: true,
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
id | string | ✔️ | ID of the organization the settings belong to | org_2dHFtVWx2n56w6HkM0000000000 |
isFilteredModelCatalogEnabled | boolean | ✔️ | When true, the signed-in dashboard lists only the models the organization can use. GET /api/v1/models called with an API key always returns only the models that key can use, whatever this setting says; anonymous requests receive the public catalog. | true |