The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { CreateAuthKeysCodeResponse } from "@openrouter/sdk/models/operations";
let value: CreateAuthKeysCodeResponse = {
data: {
appId: 12345,
createdAt: "2025-08-24T10:30:00Z",
id: "auth_code_xyz789",
},
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
data | operations.CreateAuthKeysCodeData | :heavy_check_mark: | Auth code data | {"app_id": 12345,"created_at": "2025-08-24T10:30:00Z","id": "auth_code_xyz789"} |