Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
List of guardrails

Example Usage

import { ListGuardrailsResponse } from "@openrouter/sdk/models/operations";

let value: ListGuardrailsResponse = {
  data: [
    {
      id: "550e8400-e29b-41d4-a716-446655440000",
      name: "Production Guardrail",
      createdAt: "2025-08-24T10:30:00Z",
    },
  ],
  totalCount: 1,
};

Fields

FieldTypeRequiredDescriptionExample
dataoperations.ListGuardrailsData[]:heavy_check_mark:List of guardrails
totalCountnumber:heavy_check_mark:Total number of guardrails25