Example Usage
import { VaultSecretListResponse } from "@openrouter/sdk/models";
let value: VaultSecretListResponse = {
data: [
{
createdAt: new Date("2026-09-15T17:44:00.000Z"),
fingerprint:
"sha256:9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
hosts: [
"api.github.com",
],
name: "github_token",
},
{
createdAt: new Date("2026-08-01T09:30:00.000Z"),
fingerprint: null,
hosts: null,
name: "legacy_token",
},
],
hasMore: false,
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
data | models.VaultSecret[] | :heavy_check_mark: | N/A |
hasMore | boolean | :heavy_check_mark: | True when more secrets exist beyond this page. Request the next page with offset increased by the number of returned entries. |