Example Usage
import { CapacityGuardrailPolicyDetailResponse } from "@openrouter/sdk/models";
let value: CapacityGuardrailPolicyDetailResponse = {
data: {
apiKeyHashes: [
"c56454edb818d6b14bc0d61c46025f1450b0f4012d12304ab40aacb519fcbc93",
],
config: {
bucketBy: [
"member",
"model",
],
limits: [
{
limit: 100000,
models: "all",
unit: "tokens",
},
],
},
id: "550e8400-e29b-41d4-a716-446655440000",
memberIds: [
"user_2abcDEFghiJKLmnoPQRstu",
],
name: "Engineering monthly budget",
optedOutApiKeyHashes: [
"c56454edb818d6b14bc0d61c46025f1450b0f4012d12304ab40aacb519fcbc93",
],
overriddenApiKeyHashes: [
"c56454edb818d6b14bc0d61c46025f1450b0f4012d12304ab40aacb519fcbc93",
],
policyType: "rate_limit",
updatedAt: "1735616624553",
},
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
data | models.CapacityGuardrailPolicyDetail | ✔️ | N/A |