TypeScript SDKOperations

ListGuardrailsResponse - TypeScript SDK

ListGuardrailsResponse method reference

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

List of guardrails

Example Usage

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

Fields

FieldTypeRequiredDescriptionExample
dataoperations.ListGuardrailsData[]✔️List of guardrails
totalCountnumber✔️Total number of guardrails25