GetKeyRequest - TypeScript SDK

GetKeyRequest type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

1import { GetKeyRequest } from "@openrouter/sdk/models/operations";
2
3let value: GetKeyRequest = {
4 hash:
5 "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",
6};

Fields

FieldTypeRequiredDescriptionExample
hashstring✔️The hash identifier of the API key to retrievesk-or-v1-0e6f44a47a05f1dad2ad7e88c4c1d6b77688157716fb1a5271146f7464951c96