The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { BulkAssignKeysRequest } from "@openrouter/sdk/models";
let value: BulkAssignKeysRequest = {
keyHashes: [
"c56454edb818d6b14bc0d61c46025f1450b0f4012d12304ab40aacb519fcbc93",
],
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
keyHashes | string[] | :heavy_check_mark: | Array of API key hashes to assign to the guardrail | [ “c56454edb818d6b14bc0d61c46025f1450b0f4012d12304ab40aacb519fcbc93” ] |