ListGuardrailsResponse - TypeScript SDK

ListGuardrailsResponse type definition

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

Example Usage

1import { ListGuardrailsResponse } from "@openrouter/sdk/models";
2
3let value: ListGuardrailsResponse = {
4 data: [
5 {
6 createdAt: "2025-08-24T10:30:00Z",
7 id: "550e8400-e29b-41d4-a716-446655440000",
8 name: "Production Guardrail",
9 workspaceId: "0df9e665-d932-5740-b2c7-b52af166bc11",
10 },
11 ],
12 totalCount: 1,
13};

Fields

FieldTypeRequiredDescriptionExample
datamodels.Guardrail[]✔️List of guardrails
totalCountnumber✔️Total number of guardrails25