ListGuardrailsResponse - TypeScript SDK
ListGuardrailsResponse - TypeScript SDK
ListGuardrailsResponse type definition
ListGuardrailsResponse - TypeScript SDK
1 import { ListGuardrailsResponse } from "@openrouter/sdk/models"; 2 3 let 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 };
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
data | models.Guardrail[] | ✔️ | List of guardrails | |
totalCount | number | ✔️ | Total number of guardrails | 25 |